Commit 286f8a82 authored by mattijs's avatar mattijs
Browse files

BUG: settings.sh: SGIMPI MPI_ROOT test

parent a4192a83
......@@ -520,7 +520,7 @@ SGIMPI)
export FOAM_MPI=${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
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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment