From 1644c147f67228f805ab8c0d9f87d272a34fed11 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Tue, 21 Aug 2018 14:35:48 +0100 Subject: [PATCH] Added system MPICH support for linux64Gcc --- etc/settings.csh | 12 ++++++++++++ etc/settings.sh | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/etc/settings.csh b/etc/settings.csh index d56468889..5e9457ae4 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -328,6 +328,18 @@ case MVAPICH2: unset mpi_version 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: set mpi_version=mpich-1.2.4 setenv MPI_HOME $WM_THIRD_PARTY_DIR/$mpi_version diff --git a/etc/settings.sh b/etc/settings.sh index 1327cee6f..6e5778fd7 100755 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -404,6 +404,18 @@ MVAPICH2) 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) mpi_version=mpich-1.2.4 export MPI_HOME=$WM_THIRD_PARTY_DIR/$mpi_version