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

Readding mpiwrapper in installation ... are too important, disable on hip

parent 38ef0779
No related branches found
No related tags found
No related merge requests found
Pipeline #2968 passed
......@@ -249,7 +249,7 @@ do
conf_options="$conf_options -DTEST_PERFORMANCE=ON"
;;
gpu)
conf_options="$conf_options -DCMAKE_CUDA_HOST_COMPILER=$(which mpic++)"
conf_options="$conf_options -DCMAKE_CUDA_HOST_COMPILER=$(which mpic++) "
if [ x"$CXXCUDA" == x"" ]; then
conf_options="$conf_options"
else
......@@ -259,6 +259,7 @@ do
;;
hip)
conf_options="$conf_options -DHIP_ENABLE=ON -DENABLE_GPU=ON"
enable_hip_conf=1
;;
asan)
conf_options="$conf_options -DENABLE_ASAN=ON"
......@@ -585,6 +586,10 @@ fi
cd build
## remove enerything
if [ x"$enable_hip_conf" != x"1" ]; then
conf_options="$conf_options -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpic++"
fi
echo "Calling cmake ../. $conf_options"
printf "cmake ../. $conf_options" > cmake_build_options
rm ../error_code
......
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