ENH: set MPI_ARCH_PATCH for ThirdParty Allwmake

This commit is contained in:
mattijs
2010-11-12 14:32:31 +00:00
parent 8be22e5176
commit d7d88b7d89
2 changed files with 7 additions and 3 deletions

View File

@ -236,11 +236,12 @@ case OPENMPI:
breaksw breaksw
case SYSTEMOPENMPI: case SYSTEMOPENMPI:
# use the system installed openmpi, get library directory via mpicc
# This uses the installed openmpi. It needs mpicc installed!
set mpi_version=openmpi-system 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 # Set compilation flags here instead of in wmake/rules/../mplibSYSTEMOPENMPI
setenv PINC "`mpicc --showme:compile`" setenv PINC "`mpicc --showme:compile`"
setenv PLIBS "`mpicc --showme:link`" setenv PLIBS "`mpicc --showme:link`"

View File

@ -264,6 +264,9 @@ SYSTEMOPENMPI)
# use the system installed openmpi, get library directory via mpicc # use the system installed openmpi, get library directory via mpicc
mpi_version=openmpi-system 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 # Set compilation flags here instead of in wmake/rules/../mplibSYSTEMOPENMPI
export PINC="`mpicc --showme:compile`" export PINC="`mpicc --showme:compile`"
export PLIBS="`mpicc --showme:link`" export PLIBS="`mpicc --showme:link`"