BUG: settings.sh: SGIMPI MPI_ROOT test

This commit is contained in:
mattijs
2011-10-12 18:04:28 +01:00
parent a4192a83a1
commit 286f8a828f

View File

@ -520,7 +520,7 @@ SGIMPI)
export FOAM_MPI=${MPI_ROOT##*/} export FOAM_MPI=${MPI_ROOT##*/}
export MPI_ARCH_PATH=$MPI_ROOT export MPI_ARCH_PATH=$MPI_ROOT
if [ -d "$MPI_ROOT" -o -z "$MPI_ARCH_PATH" ] if [ ! -d "$MPI_ROOT" -o -z "$MPI_ARCH_PATH" ]
then then
echo "Warning in $WM_PROJECT_DIR/etc/config/settings.sh:" 1>&2 echo "Warning in $WM_PROJECT_DIR/etc/config/settings.sh:" 1>&2
echo " MPI_ROOT not a valid mpt installation directory or ending in a '/'." 1>&2 echo " MPI_ROOT not a valid mpt installation directory or ending in a '/'." 1>&2