[Swift-commit] r8319 - SwiftApps/subjobs

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Mon Dec 8 10:25:24 CST 2014


Author: ketan
Date: 2014-12-08 10:25:23 -0600 (Mon, 08 Dec 2014)
New Revision: 8319

Modified:
   SwiftApps/subjobs/bg.sh
Log:
 

Modified: SwiftApps/subjobs/bg.sh
===================================================================
--- SwiftApps/subjobs/bg.sh	2014-12-03 21:55:57 UTC (rev 8318)
+++ SwiftApps/subjobs/bg.sh	2014-12-08 16:25:23 UTC (rev 8319)
@@ -53,16 +53,18 @@
     #Some logging
     echo "$0": running BLOCK="$COBALT_PARTNAME" SLOT="$SWIFT_JOB_SLOT"
     echo "$0": running cmd: "$0" args: "$@"
-    echo "$0": running runjob  --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" --ranks-per-node 1 : "$REMAINING_ARGS"
+    echo "$0": running runjob --strace none --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 16 --np "$((16*$SUBBLOCK_SIZE))" : "$@"
     
     #without timeout
-    runjob --strace 0 --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 16 --np "$SUBBLOCK_SIZE" : "$@"
+    runjob --strace none --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 16 --np "$((16*$SUBBLOCK_SIZE))" : "$@"
     
     echo "Runjob finished."
 else
     # run w/o subblocks if no subblock size provided
     echo "Running in nonsubblock mode."
-    runjob --strace 0 --block "$COBALT_PARTNAME" -p 16 : "$@"
+    echo "$0": running runjob -p 16 --block $COBALT_PARTNAME : "$@"
+    runjob -p 16 --block $COBALT_PARTNAME : "$@"
+    echo "Finished Running in nonsubblock mode."
 fi
 exit 0
 




More information about the Swift-commit mailing list