Skip to content
Snippets Groups Projects
Commit e576541e authored by Serhii Yaskovets's avatar Serhii Yaskovets
Browse files

Forward MPI_ROOT to cmake

parent 69cc725a
No related branches found
No related tags found
No related merge requests found
Pipeline #5437 failed
...@@ -120,6 +120,7 @@ with_boost_program_options ...@@ -120,6 +120,7 @@ with_boost_program_options
with_boost_iostreams with_boost_iostreams
with_blas with_blas
with_lapack with_lapack
with_mpi
with_suitesparse with_suitesparse
with_petsc with_petsc
with_eigen with_eigen
...@@ -509,6 +510,9 @@ do ...@@ -509,6 +510,9 @@ do
mpivendor) mpivendor)
conf_options="$conf_options -DMPI_VENDOR=$ac_optarg" conf_options="$conf_options -DMPI_VENDOR=$ac_optarg"
;; ;;
mpi)
conf_options="$conf_options -DMPI_ROOT=$ac_optarg"
;;
vcdevel) vcdevel)
conf_options="$conf_options -DVc_ROOT=$ac_optarg" conf_options="$conf_options -DVc_ROOT=$ac_optarg"
;; ;;
......
...@@ -19,7 +19,7 @@ function set_mpi() ...@@ -19,7 +19,7 @@ function set_mpi()
fi fi
MPI_installed=1 MPI_installed=1
export PATH="$1/MPI/bin:$PATH" export PATH="$1/MPI/bin:$PATH"
configure_options="$configure_options --with-mpivendor=openmpi" configure_options="$configure_options --with-mpivendor=openmpi --with-mpi=$1/MPI"
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