Compiling OpenMP on macOS

Panjeh

--

Note: Apple does not include OpenMP in the clang they ship, and the gcc in macos is just an alias to clang

Using the gcc compiler:

brew install gcc

Then you can use it by calling gcc-11

gcc-11 -fopenmp

--

--

No responses yet