MDAnalysis¶
OpenMP on macOS¶
Apple's Clang compiler does not support OpenMP, and g++ on macOS is an alias for clang++.
Therefore, compiling a simple OpenMP program with g++ -fopenmp fails on macOS.
g++ on macOS is an alias for clang++.
OpenMP Support with GCC¶
In order to use OpenMP on macOS, one needs to install gcc, for example via Homebrew.
MDAnalysis can then be installed with OpenMP support as follows:
Disabling OpenMP Support¶
OpenMP support can be explicitly disabled with