Remove dummy MPI library path
This commit is contained in:
parent
306bf438ba
commit
d80f87e105
2 changed files with 1 additions and 33 deletions
|
@ -194,7 +194,6 @@ case OPENMPI:
|
||||||
_foamSource $WM_THIRD_PARTY_DIR/packages/$mpi_version/platforms/$WM_OPTIONS/etc/$mpi_version.csh
|
_foamSource $WM_THIRD_PARTY_DIR/packages/$mpi_version/platforms/$WM_OPTIONS/etc/$mpi_version.csh
|
||||||
endif
|
endif
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
|
@ -291,7 +290,6 @@ case SYSTEMOPENMPI:
|
||||||
echo " PLIBS : $PLIBS"
|
echo " PLIBS : $PLIBS"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
|
@ -321,7 +319,6 @@ case MVAPICH2:
|
||||||
echo " PLIBS : $PLIBS"
|
echo " PLIBS : $PLIBS"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
|
@ -334,7 +331,6 @@ case MPICH:
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
|
@ -347,8 +343,6 @@ case MPICH-GM:
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
_foamAddLib $GM_LIB_PATH
|
_foamAddLib $GM_LIB_PATH
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/mpich-gm
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case HPMPI:
|
case HPMPI:
|
||||||
|
@ -372,23 +366,18 @@ case HPMPI:
|
||||||
echo Unknown processor type `uname -m` for Linux
|
echo Unknown processor type `uname -m` for Linux
|
||||||
breaksw
|
breaksw
|
||||||
endsw
|
endsw
|
||||||
|
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/hpmpi
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case GAMMA:
|
case GAMMA:
|
||||||
setenv MPI_ARCH_PATH /usr
|
setenv MPI_ARCH_PATH /usr
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/gamma
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case MPI:
|
case MPI:
|
||||||
setenv MPI_ARCH_PATH /opt/mpi
|
setenv MPI_ARCH_PATH /opt/mpi
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/mpi
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
case FJMPI:
|
case FJMPI:
|
||||||
setenv MPI_ARCH_PATH /opt/FJSVmpi2
|
setenv MPI_ARCH_PATH /opt/FJSVmpi2
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/mpi
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib/sparcv9
|
_foamAddLib $MPI_ARCH_PATH/lib/sparcv9
|
||||||
_foamAddLib /opt/FSUNf90/lib/sparcv9
|
_foamAddLib /opt/FSUNf90/lib/sparcv9
|
||||||
|
@ -397,21 +386,15 @@ case FJMPI:
|
||||||
|
|
||||||
case QSMPI:
|
case QSMPI:
|
||||||
setenv MPI_ARCH_PATH /usr/lib/mpi
|
setenv MPI_ARCH_PATH /usr/lib/mpi
|
||||||
setenv FOAM_MPI_LIBBIN FOAM_LIBBIN/qsmpi
|
|
||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
|
|
||||||
breaksw
|
breaksw
|
||||||
|
|
||||||
default:
|
default:
|
||||||
setenv FOAM_MPI_LIBBIN $FOAM_LIBBIN/dummy
|
|
||||||
breaksw
|
breaksw
|
||||||
endsw
|
endsw
|
||||||
|
|
||||||
_foamAddLib $FOAM_MPI_LIBBIN
|
|
||||||
|
|
||||||
|
|
||||||
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
set minBufferSize=20000000
|
set minBufferSize=20000000
|
||||||
|
|
17
etc/settings.sh
Normal file → Executable file
17
etc/settings.sh
Normal file → Executable file
|
@ -107,8 +107,6 @@ export FOAM_RUN=$WM_PROJECT_USER_DIR/run
|
||||||
export PATH=$WM_DIR:$WM_PROJECT_DIR/bin:$PATH
|
export PATH=$WM_DIR:$WM_PROJECT_DIR/bin:$PATH
|
||||||
|
|
||||||
_foamAddPath $FOAM_APPBIN $FOAM_SITE_APPBIN $FOAM_USER_APPBIN
|
_foamAddPath $FOAM_APPBIN $FOAM_SITE_APPBIN $FOAM_USER_APPBIN
|
||||||
# Make sure to pick up dummy versions of external libraries last
|
|
||||||
_foamAddLib $FOAM_LIBBIN/dummy
|
|
||||||
_foamAddLib $FOAM_LIBBIN $FOAM_SITE_LIBBIN $FOAM_USER_LIBBIN
|
_foamAddLib $FOAM_LIBBIN $FOAM_SITE_LIBBIN $FOAM_USER_LIBBIN
|
||||||
|
|
||||||
|
|
||||||
|
@ -256,7 +254,6 @@ OPENMPI)
|
||||||
mpi_version=$MPI_VERSION_MINGW
|
mpi_version=$MPI_VERSION_MINGW
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -269,7 +266,6 @@ MACPORTOPENMPI)
|
||||||
# libDir=`mpicc-openmpi-$WM_MACPORT_MPI_VERSION --showme:libdirs`
|
# libDir=`mpicc-openmpi-$WM_MACPORT_MPI_VERSION --showme:libdirs`
|
||||||
libDir=/opt/local/lib/openmpi-$WM_MACPORT_MPI_VERSION
|
libDir=/opt/local/lib/openmpi-$WM_MACPORT_MPI_VERSION
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$FOAM_MPI
|
|
||||||
_foamAddLib $libDir
|
_foamAddLib $libDir
|
||||||
unset libDir
|
unset libDir
|
||||||
|
|
||||||
|
@ -284,7 +280,6 @@ MACPORTMPICH)
|
||||||
export FOAM_MPI=mpich-macports-$WM_MACPORT_MPI_VERSION
|
export FOAM_MPI=mpich-macports-$WM_MACPORT_MPI_VERSION
|
||||||
export MPI_HOME=$WM_THIRD_PARTY_DIR/$FOAM_MPI
|
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
|
libDir=/opt/local/lib/mpich-$WM_MACPORT_MPI_VERSION
|
||||||
|
|
||||||
_foamAddLib $libDir
|
_foamAddLib $libDir
|
||||||
|
@ -375,7 +370,6 @@ SYSTEMOPENMPI)
|
||||||
echo " PLIBS : $PLIBS"
|
echo " PLIBS : $PLIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -411,7 +405,6 @@ MVAPICH2)
|
||||||
echo " PLIBS : $PLIBS"
|
echo " PLIBS : $PLIBS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -424,7 +417,6 @@ MPICH)
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/$mpi_version
|
|
||||||
unset mpi_version
|
unset mpi_version
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -438,7 +430,6 @@ MPICH-GM)
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
_foamAddLib $GM_LIB_PATH
|
_foamAddLib $GM_LIB_PATH
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/mpich-gm
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
HPMPI)
|
HPMPI)
|
||||||
|
@ -464,22 +455,18 @@ HPMPI)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/hpmpi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
GAMMA)
|
GAMMA)
|
||||||
export MPI_ARCH_PATH=/usr
|
export MPI_ARCH_PATH=/usr
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/gamma
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
MPI)
|
MPI)
|
||||||
export MPI_ARCH_PATH=/opt/mpi
|
export MPI_ARCH_PATH=/opt/mpi
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/mpi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
FJMPI)
|
FJMPI)
|
||||||
export MPI_ARCH_PATH=/opt/FJSVmpi2
|
export MPI_ARCH_PATH=/opt/FJSVmpi2
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/mpi
|
|
||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib/sparcv9
|
_foamAddLib $MPI_ARCH_PATH/lib/sparcv9
|
||||||
|
@ -489,7 +476,6 @@ FJMPI)
|
||||||
|
|
||||||
QSMPI)
|
QSMPI)
|
||||||
export MPI_ARCH_PATH=/usr/lib/mpi
|
export MPI_ARCH_PATH=/usr/lib/mpi
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/qsmpi
|
|
||||||
|
|
||||||
_foamAddPath $MPI_ARCH_PATH/bin
|
_foamAddPath $MPI_ARCH_PATH/bin
|
||||||
_foamAddLib $MPI_ARCH_PATH/lib
|
_foamAddLib $MPI_ARCH_PATH/lib
|
||||||
|
@ -497,11 +483,10 @@ QSMPI)
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
export FOAM_MPI_LIBBIN=$FOAM_LIBBIN/dummy
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
_foamAddLib $FOAM_MPI_LIBBIN
|
# Removed $FOAM_MPI_LIBBIN. HJ, 8/Aug/2015
|
||||||
|
|
||||||
|
|
||||||
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
# Set the minimum MPI buffer size (used by all platforms except SGI MPI)
|
||||||
|
|
Reference in a new issue