Commit d7d88b7d authored by mattijs's avatar mattijs
Browse files

ENH: set MPI_ARCH_PATCH for ThirdParty Allwmake

parent 8be22e51
......@@ -236,11 +236,12 @@ case OPENMPI:
breaksw
case SYSTEMOPENMPI:
# This uses the installed openmpi. It needs mpicc installed!
# use the system installed openmpi, get library directory via mpicc
set mpi_version=openmpi-system
# Set to dummy value (but existing directory)
setenv MPI_ARCH_PATH /
# Set compilation flags here instead of in wmake/rules/../mplibSYSTEMOPENMPI
setenv PINC "`mpicc --showme:compile`"
setenv PLIBS "`mpicc --showme:link`"
......
......@@ -264,6 +264,9 @@ SYSTEMOPENMPI)
# use the system installed openmpi, get library directory via mpicc
mpi_version=openmpi-system
# Set to dummy (but existing directory). Used in Thirdparty Allwmake.
export MPI_ARCH_PATH=/
# Set compilation flags here instead of in wmake/rules/../mplibSYSTEMOPENMPI
export PINC="`mpicc --showme:compile`"
export PLIBS="`mpicc --showme:link`"
......
Supports Markdown
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