Use the System-MPI (switch on via prefs.sh)
--HG-- branch : macMerge
This commit is contained in:
parent
c50ad6d1fd
commit
6c7281dad7
3 changed files with 6 additions and 2 deletions
|
@ -189,9 +189,12 @@ OPENMPI)
|
|||
SYSTEMOPENMPI)
|
||||
mpi_version=openmpi-system
|
||||
|
||||
# make sure not the "old" mpi is used
|
||||
export OPAL_PREFIX=
|
||||
|
||||
# Set compilation flags here instead of in wmake/rules/../mplibSYSTEMOPENMPI
|
||||
export PINC=`mpicc --showme:compile`
|
||||
export PLIBS=`mpicc --showme:link`
|
||||
export PLIBS="`mpicc --showme:link`"
|
||||
libDir=`echo "$PLIBS" | sed -e 's/.*-L\([^ ]*\).*/\1/'`
|
||||
|
||||
if [ "$FOAM_VERBOSE" -a "$PS1" ]
|
||||
|
|
|
@ -4,7 +4,7 @@ set -x
|
|||
|
||||
wmakeLnInclude decompositionMethods
|
||||
|
||||
#wmake libso scotchDecomp
|
||||
wmake libso scotchDecomp
|
||||
wmake libso metisDecomp
|
||||
wmake libso parMetisDecomp
|
||||
|
||||
|
|
1
wmake/rules/darwinIntel64/mplibSYSTEMOPENMPI
Normal file
1
wmake/rules/darwinIntel64/mplibSYSTEMOPENMPI
Normal file
|
@ -0,0 +1 @@
|
|||
PFLAGS = -DOMPI_SKIP_MPICXX
|
Reference in a new issue