I have attached the relevant code snippets. However, trying to use cmake to configure the exemple fails as OpenMP cannot be found. Running the program prints out 4, which is the expected behavior. ![]() I have installed libomp from Homebrew, and I am able to compile and run main.cpp hereunder usingĬ++ -Xpreprocessor -fopenmp -lomp main.cpp Having updated my mac from High Sierra to Mojave 10.14 (18A391), CMake is now unable to find the OpenMP symbols using the default Clang compiler.
0 Comments
Leave a Reply. |