CONFIG: add Cray compiler, cray mpich settings, wmake rules (fixes #558)

- the cray C/C++ compilers appear to be option-compatible with gcc.

- no wmake rules for 32bit builds (deemed to be unnecessary)
This commit is contained in:
Mark Olesen
2017-08-04 11:09:32 +02:00
parent a6c918d6a3
commit e03ca4c466
18 changed files with 133 additions and 8 deletions

View File

@ -160,6 +160,28 @@ MPICH-GM)
_foamAddLib $GM_LIB_PATH
;;
CRAY-MPICH)
export FOAM_MPI=cray-mpich
export MPI_ARCH_PATH=$MPICH_DIR
if [ "$FOAM_VERBOSE" -a "$PS1" ]
then
echo "Using $WM_MPLIB" 1>&2
echo " FOAM_MPI : $FOAM_MPI" 1>&2
echo " MPICH_DIR : $MPI_ARCH_PATH" 1>&2
fi
[ -d "$MPI_ARCH_PATH" ] || {
echo "Warning in $WM_PROJECT_DIR/etc/config.sh/mpi:" 1>&2
echo " Not a valid $WM_MPLIB installation directory." 1>&2
echo " Please set MPICH_DIR properly" 1>&2
echo " Currently using '$MPI_ARCH_PATH'" 1>&2
}
# _foamAddPath $MPI_ARCH_PATH/bin
_foamAddLib $MPI_ARCH_PATH/lib
;;
HPMPI)
export FOAM_MPI=hpmpi
export MPI_HOME=/opt/hpmpi