[Swift-commit] r8240 - SwiftApps/subjobs
ketan at ci.uchicago.edu
ketan at ci.uchicago.edu
Tue Sep 9 13:01:13 CDT 2014
Author: ketan
Date: 2014-09-09 13:01:13 -0500 (Tue, 09 Sep 2014)
New Revision: 8240
Modified:
SwiftApps/subjobs/bg.sh
SwiftApps/subjobs/subjob.sh
Log:
small comments and timeout call separate
Modified: SwiftApps/subjobs/bg.sh
===================================================================
--- SwiftApps/subjobs/bg.sh 2014-09-09 17:55:38 UTC (rev 8239)
+++ SwiftApps/subjobs/bg.sh 2014-09-09 18:01:13 UTC (rev 8240)
@@ -47,8 +47,12 @@
echo "$0": running cmd: "$0" args: "$@"
echo "$0": running runjob --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" --ranks-per-node 1 : "$REMAINING_ARGS"
-runjob --strace 0 --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 1 --np "$SUBBLOCK_SIZE" --timeout 100 : "$@"
+#with timeout
+#runjob --strace 0 --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 1 --np "$SUBBLOCK_SIZE" --timeout 100 : "$@"
+#without timeout
+runjob --strace 0 --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 1 --np "$SUBBLOCK_SIZE" : "$@"
+
echo "Runjob finished."
exit 0
Modified: SwiftApps/subjobs/subjob.sh
===================================================================
--- SwiftApps/subjobs/subjob.sh 2014-09-09 17:55:38 UTC (rev 8239)
+++ SwiftApps/subjobs/subjob.sh 2014-09-09 18:01:13 UTC (rev 8240)
@@ -26,9 +26,15 @@
do
echo "Run $i corner $CORNER"
stime=$(shuf -i 1-10 -n 1)
- runjob --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 1 --np 8 --timeout 30 : mpicatnap in.data out.data $stime >RUNJOB.$j-$i 2>&1 &
+ #with timeout
+ #runjob --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 1 --np 8 --timeout 30 : mpicatnap in.data out.data $stime >RUNJOB.$j-$i 2>&1 &
+
+ #without timeout
+ runjob --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 1 --np 8 : mpicatnap in.data out.data $stime >RUNJOB.$j-$i 2>&1 &
+
# Important - give some time for runjob to get initialized
- sleep 6
+ sleep 3
+
i=$((i+1))
if [ $i -ge $MAXRUNJOB ]; then
echo "Reached MAXRUNJOB $MAXRUNJOB"
More information about the Swift-commit
mailing list