[Swift-commit] r6877 - SwiftApps/Swift-MapRed/TurboChirp
wozniak at ci.uchicago.edu
wozniak at ci.uchicago.edu
Fri Aug 16 16:12:12 CDT 2013
Author: wozniak
Date: 2013-08-16 16:12:12 -0500 (Fri, 16 Aug 2013)
New Revision: 6877
Modified:
SwiftApps/Swift-MapRed/TurboChirp/run.sh
Log:
Minor changes, error check with -e
Modified: SwiftApps/Swift-MapRed/TurboChirp/run.sh
===================================================================
--- SwiftApps/Swift-MapRed/TurboChirp/run.sh 2013-08-16 16:24:36 UTC (rev 6876)
+++ SwiftApps/Swift-MapRed/TurboChirp/run.sh 2013-08-16 21:12:12 UTC (rev 6877)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/bash -e
if [ "$1" == "" ]
then
@@ -9,10 +9,13 @@
./cleanup
export TURBINE_LOG=1
+export ADLB_EXHAUST_TIME=0.1
export TURBINE_LAUNCH_OPTS="-f ./hosts.txt"
-stc $PROG > ${PROG%.swift}.tcl
+stc $PROG
[ "$?" == "0" ] && echo "Compile done"
#turbine -n 8 ${PROG%.swift}.tcl
#turbine -l -V -n 10 -f hosts.txt ${PROG%.swift}.tcl -loop=10 -fsize=1 >& ${PROG%.swift}.out
-time turbine -n 10 -f hosts.txt ${PROG%.swift}.tcl -loop=10 -fsize=1
+
+time turbine -l -n 10 -f hosts.txt ${PROG%.swift}.tcl -loop=10 -fsize=1
+
[ "$?" == "0" ] && echo "Execute done"
More information about the Swift-commit
mailing list