OpenMP issue when building on a Mac
I've tried a few times to install this on my Mac and keep running into this OpenMP error. @4pf, do you have insight into what I should be doing? I think we talked about this on a call a bit ago, but I don't remember why the OpenMP requirement is there -- is it an AccFFT thing?
MAC119150:build 71d$ cmake -DCMAKE_BUILD_TYPE=Release ../meumapps/
-- Found Git: /usr/bin/git (found version "2.21.1 (Apple Git-122.3)")
-- Need Kokkos
-- checkout
-- configure
-- build
-- Enabled Kokkos devices: SERIAL
-- The CXX compiler identification is AppleClang 11.0.0.11000033
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found MPI_CXX: /usr/local/Cellar/open-mpi/4.0.3/lib/libmpi.dylib (found version "3.1")
-- Found MPI: TRUE (found version "3.1")
CMake Error at /usr/local/Cellar/cmake/3.18.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
Could NOT find OpenMP_CXX: Found unsuitable version "3.1", but required is
at least "4.5" (found -Xclang -fopenmp)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.18.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:456 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.18.2/share/cmake/Modules/FindOpenMP.cmake:529 (find_package_handle_standard_args)
CMakeLists.txt:24 (find_package)
-- Configuring incomplete, errors occurred!
See also "/Users/71d/Documents/workspace/meumappscpp/build/CMakeFiles/CMakeOutput.log".