Fixing the scripts to correctly compile with MPI
This commit is contained in:
parent
e299d0feab
commit
198c096905
4 changed files with 5 additions and 3 deletions
|
@ -244,6 +244,7 @@ MACPORTOPENMPI)
|
|||
# libDir=`mpicc-openmpi-$WM_MACPORT_MPI_VERSION --showme:libdirs`
|
||||
libDir=/opt/local/lib/openmpi-$WM_MACPORT_MPI_VERSION
|
||||
|
||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$FOAM_MPI
|
||||
_foamAddLib $libDir
|
||||
unset libDir
|
||||
;;
|
||||
|
@ -252,6 +253,7 @@ MACPORTMPICH)
|
|||
export FOAM_MPI=mpich-macports-$WM_MACPORT_MPI_VERSION
|
||||
export MPI_HOME=$WM_THIRD_PARTY_DIR/$FOAM_MPI
|
||||
|
||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$FOAM_MPI
|
||||
libDir=/opt/local/lib/mpich-$WM_MACPORT_MPI_VERSION
|
||||
|
||||
_foamAddLib $libDir
|
||||
|
|
|
@ -20,4 +20,4 @@ LINK_LIBS = $(c++DBUG) -lpthread
|
|||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream
|
||||
|
|
|
@ -19,4 +19,4 @@ LINK_LIBS = $(c++DBUG) -lpthread
|
|||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream
|
||||
|
|
|
@ -19,4 +19,4 @@ LINK_LIBS = $(c++DBUG) -lpthread
|
|||
|
||||
LINKLIBSO = $(CC) $(c++FLAGS) -lpthread -dynamiclib -undefined dynamic_lookup
|
||||
# LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN) -lfoam -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_MPI_LIBBIN) -lPstream
|
||||
LINKEXE = $(CC) $(c++FLAGS) -lpthread -L$(FOAM_LIBBIN)/$(FOAM_MPI) -lPstream
|
||||
|
|
Reference in a new issue