Skip to content
Snippets Groups Projects
Commit f1d8e79e authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing compilation with mpi wrappers

parent 09e1a8b0
No related branches found
No related tags found
No related merge requests found
......@@ -55,12 +55,20 @@ find_package(LAPACK)
find_package(Eigen3)
find_package(SuiteSparse OPTIONAL_COMPONENTS UMFPACK)
set(CMAKE_SKIP_BUILD_RPATH TRUE)
if(PROFILE_WITH_SCOREP)
set(CMAKE_CXX_COMPILER_LAUNCHER "scorep")
set(CMAKE_CC_COMPILER_LAUNCHER "scorep")
set(CMAKE_CUDA_COMPILER_LAUNCHER "scorep")
endif()
if(NOT HIP_FOUND)
#if not HIP we set the MPI wrappers
set(CMAKE_C_COMPILER mpicc)
set(CMAKE_CXX_COMPILER mpic++)
endif()
if(CUDA_FOUND)
set(OPENFPM_INIT_FILE "initialize/initialize_wrapper_cuda.cu")
else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment