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

Fixing MPI detection and setting

parent 033282d5
No related branches found
No related tags found
No related merge requests found
...@@ -225,7 +225,7 @@ fi ...@@ -225,7 +225,7 @@ fi
### MPI compilers must be in your PATH folder ### MPI compilers must be in your PATH folder
set_mpi $i_dir set_mpi $i_dir $ncore
### METIS and ParMETIS must be installed independently from sistem wide installation ### METIS and ParMETIS must be installed independently from sistem wide installation
......
...@@ -5,9 +5,9 @@ function set_mpi() ...@@ -5,9 +5,9 @@ function set_mpi()
if [ x"$MPI_valid" == x"yes" ]; then if [ x"$MPI_valid" == x"yes" ]; then
configure_options="$configure_options CXX=mpic++ " configure_options="$configure_options CXX=mpic++ "
else else
./script/install_MPI.sh $i_dir $ncore ./script/install_MPI.sh $1 $2
MPI_installed=1 MPI_installed=1
export PATH="$i_dir/MPI/bin:$PATH" export PATH="$1/MPI/bin:$PATH"
configure_options="$configure_options CXX=mpic++ " configure_options="$configure_options CXX=mpic++ "
fi fi
......
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