Commit c3c46942 authored by incardon's avatar incardon

Fixing installation of Openmpi with intel compiler

parent 2167de06
......@@ -240,7 +240,7 @@ else
echo "Error the installation of MPI failed"
exit 1
fi
./script/install_MPI.sh $i_dir $ncore
./script/install_MPI.sh $i_dir $ncore $CC $CXX $F77 $FC
MPI_installed=1
export PATH="$i_dir/MPI/bin:$PATH"
configure_options="$configure_options CXX=mpic++ "
......
......@@ -25,7 +25,7 @@ cd openmpi-1.10.2
#
#
./configure --prefix=$1/MPI --enable-mpi-fortran=yes
./configure --prefix=$1/MPI --enable-mpi-fortran=yes CC=$3 CXX=$4 F77=$4 FC=$5
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