Use the System-MPI (switch on via prefs.sh)

--HG--
branch : macMerge
This commit is contained in:
Bernhard F.W. Gschaider 2010-10-05 21:56:55 +02:00
parent c50ad6d1fd
commit 6c7281dad7
3 changed files with 6 additions and 2 deletions

View file

@ -189,9 +189,12 @@ OPENMPI)
SYSTEMOPENMPI) SYSTEMOPENMPI)
mpi_version=openmpi-system 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 # 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`"
libDir=`echo "$PLIBS" | sed -e 's/.*-L\([^ ]*\).*/\1/'` libDir=`echo "$PLIBS" | sed -e 's/.*-L\([^ ]*\).*/\1/'`
if [ "$FOAM_VERBOSE" -a "$PS1" ] if [ "$FOAM_VERBOSE" -a "$PS1" ]

View file

@ -4,7 +4,7 @@ set -x
wmakeLnInclude decompositionMethods wmakeLnInclude decompositionMethods
#wmake libso scotchDecomp wmake libso scotchDecomp
wmake libso metisDecomp wmake libso metisDecomp
wmake libso parMetisDecomp wmake libso parMetisDecomp

View file

@ -0,0 +1 @@
PFLAGS = -DOMPI_SKIP_MPICXX