[Swift-commit] r5084 - trunk/bin/grid
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Wed Sep 7 16:02:38 CDT 2011
Author: ketan
Date: 2011-09-07 16:02:38 -0500 (Wed, 07 Sep 2011)
New Revision: 5084
Modified:
trunk/bin/grid/run-worker.sh
Log:
Added OSG_PATH env var to the OSG_APP path in order to set path to user's binaries
Modified: trunk/bin/grid/run-worker.sh
===================================================================
--- trunk/bin/grid/run-worker.sh 2011-09-07 18:43:18 UTC (rev 5083)
+++ trunk/bin/grid/run-worker.sh 2011-09-07 21:02:38 UTC (rev 5084)
@@ -7,16 +7,19 @@
if [ _$OSG_WN_TMP = _ ]; then
OSG_WN_TMP=/tmp
fi
+
mkdir -p $OSG_WN_TMP
logdir=$(mktemp -d $OSG_WN_TMP/${workername}.workerdir.XXXXXX)
nlines=1000
-PATH=$OSG_APP:$OSG_APP/scec:$OSG_APP/extenci/aashish/terfix/bin:$PATH
+#export PATH=${OSG_APP}/engage/scec:${OSG_APP}/engage/scec/JBSim3d/bin:${OSG_APP}/engage/scec/SpectralAcceleration/p2utils:${OSG_APP}/extenci/swift/DSSAT/bin:${OSG_APP}/extenci/aashish/terfix/bin:$PATH
+export PATH=${OSG_APP}/${OSG_PATH}:$PATH
echo "=== contact: $contact"
echo "=== name: $workername Running in dir $(pwd)"
echo "=== cwd: $(pwd)"
echo "=== logdir: $logdir"
+echo "=== path: $PATH"
echo "==============================================="
cat >worker.pl
More information about the Swift-commit
mailing list