Commit a84132d5 authored by incardon's avatar incardon

Fixing installation with cmake

parent 10a81e63
Pipeline #790 failed with stages
in 11 minutes and 17 seconds
......@@ -26,7 +26,13 @@ cd openmpi-3.1.1
#
./configure --with-cuda --prefix=$1/MPI --enable-mpi-fortran=yes CC=$3 CXX=$4 F77=$5 FC=$5
if [ x"$6" == x"1" ]; then
echo "Installing MPI with GPU support"
./configure --with-cuda --prefix=$1/MPI --enable-mpi-fortran=yes CC=$3 CXX=$4 F77=$5 FC=$5
else
echo "Installing MPI without GPU support"
./configure --prefix=$1/MPI --enable-mpi-fortran=yes CC=$3 CXX=$4 F77=$5 FC=$5
fi
make -j $2
make install
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment