[Swift-commit] r8245 - SwiftApps/subjobs

ketan at ci.uchicago.edu ketan at ci.uchicago.edu
Thu Sep 11 16:25:18 CDT 2014


Author: ketan
Date: 2014-09-11 16:25:18 -0500 (Thu, 11 Sep 2014)
New Revision: 8245

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

Modified: SwiftApps/subjobs/subjob.sh
===================================================================
--- SwiftApps/subjobs/subjob.sh	2014-09-11 20:35:40 UTC (rev 8244)
+++ SwiftApps/subjobs/subjob.sh	2014-09-11 21:25:18 UTC (rev 8245)
@@ -30,7 +30,8 @@
      #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 &
+     #(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: $?) &
      
      # Important - give some time for runjob to get initialized
      sleep 3




More information about the Swift-commit mailing list