[Swift-commit] r8384 - SwiftApps/subjobs

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Tue Mar 3 14:27:11 CST 2015


Author: ketan
Date: 2015-03-03 14:27:11 -0600 (Tue, 03 Mar 2015)
New Revision: 8384

Modified:
   SwiftApps/subjobs/bg.sh
   SwiftApps/subjobs/runbash.sh
Log:
minor

Modified: SwiftApps/subjobs/bg.sh
===================================================================
--- SwiftApps/subjobs/bg.sh	2015-03-03 20:17:16 UTC (rev 8383)
+++ SwiftApps/subjobs/bg.sh	2015-03-03 20:27:11 UTC (rev 8384)
@@ -1,5 +1,7 @@
 #!/bin/bash
 
+set -x
+
 mname=$(hostname)
 
 # vesta and mira has different path than cetus
@@ -10,6 +12,8 @@
     export PATH=/soft/cobalt/cetus/bgq_hardware_mapper:$PATH    
 fi
 
+#export SUBBLOCK_SIZE=16
+
 # Prepare shape based on subblock size
 # provided by user in sites environment
 case "$SUBBLOCK_SIZE" in
@@ -57,7 +61,7 @@
     
     #without timeout
     #runjob --strace none --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 16 --np "$((16*$SUBBLOCK_SIZE))" : "$@"
-    runjob --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 16 --np 2 : "$@"
+    runjob --block "$COBALT_PARTNAME" --corner "$CORNER" --shape "$SHAPE" -p 16 --np "$((16*$SUBBLOCK_SIZE))" : "$@"
     
     echo "Runjob finished."
 else

Modified: SwiftApps/subjobs/runbash.sh
===================================================================
--- SwiftApps/subjobs/runbash.sh	2015-03-03 20:17:16 UTC (rev 8383)
+++ SwiftApps/subjobs/runbash.sh	2015-03-03 20:27:11 UTC (rev 8384)
@@ -3,3 +3,5 @@
 #To run:
 qsub -n 512 -t 02:00:00 --mode script subjob.sh
 
+#qsub -e WORKER_LOGGING_LEVEL=NONE --proccount 32 -n 32 -t 40
+




More information about the Swift-commit mailing list