mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: mpirunDebug : removed $WM_PROJECT check in initialisation
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
# ========= |
|
# ========= |
|
||||||
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
# \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
# \\ / O peration |
|
# \\ / O peration |
|
||||||
# \\ / A nd | Copyright (C) 1991-2010 OpenCFD Ltd.
|
# \\ / A nd | Copyright (C) 1991-2011 OpenCFD Ltd.
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -145,12 +145,12 @@ fi
|
|||||||
# use FOAM_SETTINGS to pass command-line settings
|
# use FOAM_SETTINGS to pass command-line settings
|
||||||
if [ "$FOAM_INST_DIR" ]
|
if [ "$FOAM_INST_DIR" ]
|
||||||
then
|
then
|
||||||
sourceFoam='[ "$WM_PROJECT" ] || '"FOAM_INST_DIR=$FOAM_INST_DIR . $sourceFoam $FOAM_SETTINGS"
|
sourceFoam="FOAM_INST_DIR=$FOAM_INST_DIR . $sourceFoam $FOAM_SETTINGS"
|
||||||
else
|
else
|
||||||
sourceFoam='[ "$WM_PROJECT" ] || '". $sourceFoam $FOAM_SETTINGS"
|
sourceFoam=". $sourceFoam $FOAM_SETTINGS"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "**sourceFoam:$sourceFoam $FOAM_SETTINGS"
|
echo "**sourceFoam:$sourceFoam"
|
||||||
|
|
||||||
rm -f $PWD/mpirun.schema
|
rm -f $PWD/mpirun.schema
|
||||||
touch $PWD/mpirun.schema
|
touch $PWD/mpirun.schema
|
||||||
|
|||||||
Reference in New Issue
Block a user