[Swift-commit] r8247 - SwiftApps/subjobs

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Thu Sep 11 16:38:47 CDT 2014


Author: ketan
Date: 2014-09-11 16:38:47 -0500 (Thu, 11 Sep 2014)
New Revision: 8247

Modified:
   SwiftApps/subjobs/subjob.sh
Log:
simplify and more logging

Modified: SwiftApps/subjobs/subjob.sh
===================================================================
--- SwiftApps/subjobs/subjob.sh	2014-09-11 21:29:18 UTC (rev 8246)
+++ SwiftApps/subjobs/subjob.sh	2014-09-11 21:38:47 UTC (rev 8247)
@@ -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 --block $COBALT_PARTNAME --corner $CORNER --shape $SHAPE -p 1 --np 8 : /bin/sleep $stime >RUNJOB.$j-$i 2>&1 ; echo Exit status: $?) &
+     (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) &
      
      # Important - give some time for runjob to get initialized
      sleep 3




More information about the Swift-commit mailing list