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

Fixing installation with cmake

parent 10a81e63
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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