mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: wmakeScheduler: check for lockfile executable
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) 2011 OpenFOAM Foundation
|
# \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
# \\/ M anipulation |
|
# \\/ M anipulation |
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
# License
|
# License
|
||||||
@ -170,6 +170,13 @@ colourPipe()
|
|||||||
|
|
||||||
colourIndex=0
|
colourIndex=0
|
||||||
|
|
||||||
|
# Check for existence of lockfile binary
|
||||||
|
if ! type -p lockfile >/dev/null
|
||||||
|
then
|
||||||
|
echo "Could not find executable 'lockfile'"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
while :
|
while :
|
||||||
do
|
do
|
||||||
for slotGroup in $WM_HOSTS
|
for slotGroup in $WM_HOSTS
|
||||||
|
|||||||
Reference in New Issue
Block a user