mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Revert "ENH: set MPI_ARCH_PATCH for ThirdParty Allwmake"
This reverts commit d7d88b7d89.
- ThirdParty Allwmake now handles SYSTEMOPENMPI directly without this
kludge
This commit is contained in:
@ -236,12 +236,9 @@ case OPENMPI:
|
|||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case SYSTEMOPENMPI:
|
case SYSTEMOPENMPI:
|
||||||
# use the system installed openmpi, get library directory via mpicc
|
# Use the system installed openmpi, get library directory via mpicc
|
||||||
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`"
|
||||||
|
|||||||
@ -261,12 +261,9 @@ OPENMPI)
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
SYSTEMOPENMPI)
|
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