How to compile an MPI included c program using cmake
OpenMP Is this a question about OpenMP? Then all you have to do is compile with -fopenmp which you can do by appending it to CMAKE_C_FLAGS, for example: SET(CMAKE_C_FLAGS “${CMAKE_C_FLAGS} -fopenmp) MPI For MPI, you have to find mpi first find_package(MPI) #make it REQUIRED, if you want then add it’s header files to your search … Read more