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

Fixing compilation with mpi wrappers

parent 34c5b048
No related merge requests found
Pipeline #2959 failed
......@@ -40,6 +40,10 @@ find_package(HIP)
if(HIP_FOUND)
set(DEFINE_HIP_GPU "#define HIP_GPU")
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++)
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