MDAnalysis¶
OpenMP on macOS¶
MDanalysis does not compile with OpenMP support on macOS.
Why?¶
When building, MDanalysis checks if the following program can be compiled with the current compiler:
On macOS, compiling such program with g++ -fopenmp
fails with the following error:
g++
on macOS is an alias for clang++
.
OpenMP Support with GCC¶
Install GCC using brew install gcc
(or any other package manager).
Disabling OpenMP Support¶
OpenMP support can be explicitly disabled with