mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: settings.sh: SGIMPI MPI_ROOT test
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user