diff --git a/etc/settings.csh b/etc/settings.csh index 7b4de6aac..4e1c264a1 100644 --- a/etc/settings.csh +++ b/etc/settings.csh @@ -142,6 +142,8 @@ endsw unset MPI_ARCH_PATH +set mpi_version=unknown + switch ("$WM_MPLIB") case OPENMPI: if (-d $WM_THIRD_PARTY_DIR/packages/openmpi-1.4.3 ) then @@ -376,7 +378,7 @@ endif # Metis library if available # ~~~~~~~~~~~~~~~~~~~~~~~~~~ -if ( $?METIS_SYSTEM == 0&& -e $WM_THIRD_PARTY_DIR/packages/metis-5.0pre2 ) then +if ( $?METIS_SYSTEM == 0 && -e $WM_THIRD_PARTY_DIR/packages/metis-5.0pre2 ) then _foamSource $WM_THIRD_PARTY_DIR/packages/metis-5.0pre2/platforms/$WM_OPTIONS/etc/metis-5.0pre2.csh endif diff --git a/etc/settings.sh b/etc/settings.sh index 170d1d990..fe3147723 100644 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -182,7 +182,7 @@ esac # ~~~~~~~~~~~~~~~~~~~~~~ unset MPI_ARCH_PATH - +mpi_version=unknown case "$WM_MPLIB" in OPENMPI) if [ -e $WM_THIRD_PARTY_DIR/packages/openmpi-1.4.3 ]