[Swift-commit] r8248 - SwiftApps/subjobs

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Fri Sep 12 09:44:18 CDT 2014


Author: ketan
Date: 2014-09-12 09:44:18 -0500 (Fri, 12 Sep 2014)
New Revision: 8248

Modified:
   SwiftApps/subjobs/subjob.sh
Log:
fix n and p

Modified: SwiftApps/subjobs/subjob.sh
===================================================================
--- SwiftApps/subjobs/subjob.sh	2014-09-11 21:38:47 UTC (rev 8247)
+++ SwiftApps/subjobs/subjob.sh	2014-09-12 14:44:18 UTC (rev 8248)
@@ -11,7 +11,7 @@
 #build app
 mpixlc mpicatnap.c -o mpicatnap
 
-SHAPE="1x2x2x2x1"
+SHAPE="2x2x2x2x2"
 CORNERS=$(get-corners.py $COBALT_PARTNAME $SHAPE)
 
 
@@ -31,7 +31,7 @@
      
      #without timeout
      #(echo "About to use this corner: $CORNER"; runjob --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 1 --np 8 : mpicatnap in.data out.data $stime >RUNJOB.$j-$i 2>&1 ; echo $?) &
-     (echo "About to use this corner: $CORNER" >RUNJOB.$j-$i; runjob --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 1 --np 8 : /bin/sleep $stime >>RUNJOB.$j-$i 2>&1 ; echo Exit status: $? >>RUNJOB.$j-$i) &
+     (echo "About to use this corner: $CORNER" >RUNJOB.$j-$i; runjob --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 16 -n 512 : ./mysleep >>RUNJOB.$j-$i 2>&1 ; echo Exit status: $? >>RUNJOB.$j-$i) &
      
      # Important - give some time for runjob to get initialized
      sleep 3
@@ -44,7 +44,7 @@
   done
   # The runjobs were backgrounded, wait for them to finish
   wait
-  echo "Done $i"
+  echo "Done $j"
   i=0
 done
 




More information about the Swift-commit mailing list