mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: set MPI_ARCH_PATCH for ThirdParty Allwmake
This commit is contained in:
@ -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`"
|
||||||
|
|||||||
@ -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`"
|
||||||
|
|||||||
Reference in New Issue
Block a user