Added system MPICH support for linux64Gcc

This commit is contained in:
Hrvoje Jasak 2018-08-21 14:35:48 +01:00
parent 1e8ecf40c5
commit 1644c147f6
2 changed files with 24 additions and 0 deletions

View file

@ -328,6 +328,18 @@ case MVAPICH2:
unset mpi_version unset mpi_version
breaksw breaksw
case SYSTEMMPICH:
set mpi_version=mpich-system
setenv MPI_HOME $CRAY_MPICH2_DIR
setenv MPI_ARCH_PATH $CRAY_MPICH2_DIR
setenv MPICH_ROOT $MPI_ARCH_PATH
_foamAddPath $MPI_ARCH_PATH/bin
_foamAddLib $MPI_ARCH_PATH/lib
unset mpi_version
breaksw
case MPICH: case MPICH:
set mpi_version=mpich-1.2.4 set mpi_version=mpich-1.2.4
setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version

View file

@ -404,6 +404,18 @@ MVAPICH2)
unset mpi_version unset mpi_version
;; ;;
SYSTEMMPICH)
mpi_version=mpich-system
export MPI_HOME=$CRAY_MPICH2_DIR
export MPI_ARCH_PATH=$CRAY_MPICH2_DIR
export MPICH_ROOT=$MPI_ARCH_PATH
_foamAddPath $MPI_ARCH_PATH/bin
_foamAddLib $MPI_ARCH_PATH/lib
unset mpi_version
;;
MPICH) MPICH)
mpi_version=mpich-1.2.4 mpi_version=mpich-1.2.4
export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version