Documented _OPENMP preprocessor flag in readme#104
Conversation
|
Thank you @tgorni !! |
|
I do not get why _OPENMP is not enabled via CMake :-( Do you have any clue? |
|
My guess is that, while |
|
Hi all, I noticed OMP sometimes does not work with CMake. And honestly this is a mistery to me. This is the reason why I wrote backfall make.inc build. When you compile Turbo make it will work. The mistery here is the Makefile does exactly the same thing as CMake to my knowledge, but with CMake sometimes it does not work but with Makefile it does. Keep in mind, one has to do more tweeking when installing with make.inc, there are some example make.inc files that should work most of the times. We need to look at this more carefully. |
|
Hi, #105 solved this issue :-) |
When compiled for CPU only, TurboRVB detects automatically whether openmp is supported or not. However, the number of threads is always reported to be one in the output file, since the preprocessor flag _OPENMP is never enabled. The user is now warned of this behaviour in the README.