This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Multitheading in C++ Unavailable

+1 vote

Dear all,

I read the posts on multithreading with OpenMP, knowing that there might be some errors when enabling that.

However, it seems that in Fenics 1.5.0 OpenMP isn't enabled at all, as has_openmp() returns false.

It there any possibility of having multithreading working?

Thanks!

PS. Yes, I could use MPI, I know, and it works flawlessly on my system :)

asked Jul 24, 2015 by senseiwa FEniCS User (2,620 points)

1 Answer

+1 vote
 
Best answer

DOLFIN build you use isn't probably configured with OpenMP. You need to build DOLFIN with OpenMP enabled by yourself. Or you could also check if some of virtualization images provided on http://fenicsproject.org/download have OpenMP enabled.

answered Jul 27, 2015 by Jan Blechta FEniCS Expert (51,420 points)
selected Jul 27, 2015 by senseiwa
...