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

Fixing compilation with mpi wrappers

parent 1c47103c
No related branches found
No related tags found
No related merge requests found
Pipeline #2961 failed
......@@ -52,8 +52,8 @@ if(HIP_FOUND)
set(DEFINE_CUDIFY_USE_HIP "#define CUDIFY_USE_HIP")
else()
#if not HIP we set the MPI wrappers
set(CMAKE_C_COMPILER mpicc)
set(CMAKE_CXX_COMPILER mpic++)
set(CMAKE_C_COMPILER ${MPI_C_COMPILER})
set(CMAKE_CXX_COMPILER ${MPI_CXX_COMPILER})
endif()
if(HIP_FOUND)
......
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