[Swift-commit] r5662 - SwiftApps/SciColSim

jonmon at ci.uchicago.edu jonmon at ci.uchicago.edu
Tue Feb 21 13:23:11 CST 2012


Author: jonmon
Date: 2012-02-21 13:23:11 -0600 (Tue, 21 Feb 2012)
New Revision: 5662

Modified:
   SwiftApps/SciColSim/swiftopt.sh
Log:
o swiftopt.sh prints the run commandline to the output file



Modified: SwiftApps/SciColSim/swiftopt.sh
===================================================================
--- SwiftApps/SciColSim/swiftopt.sh	2012-02-21 17:15:37 UTC (rev 5661)
+++ SwiftApps/SciColSim/swiftopt.sh	2012-02-21 19:23:11 UTC (rev 5662)
@@ -1,7 +1,5 @@
 #!/bin/bash
 
-#TODO: Fix espcape code nonense, seems to be passing in -n -e to swift
-
 # Usage: swiftopt.sh [-s sitename] [-p paramfile] [-n # for dryrun ]
 #
 # NOTE: this command expects symlink "swift" in the cur dir to point
@@ -33,6 +31,7 @@
    -rerunsperapp=$reruns_per_opt_invocation
 }
 
+
 # Default settings
 execsite=local
 paramfile=Fast01
@@ -132,6 +131,7 @@
 echo "Run dir=$rundir" >> ABOUT
 echo "Work dir=$WORK" >> ABOUT
 echo "Total jobs=$total_jobs" >> ABOUT
+echo "Run Command: SWIFT_HEAP_MAX=$ram SWIFT_LIB=.. $swift >> swift.out 2>&1 -tc.file tc.data -sites.file $1 -config cf ../annealing.swift -e33="$escapecode" -minrange=$min_target_innovation -maxrange=$max_target_innovation-rangeinc=$target_innovation_increment -nreps=$annealing_repeats -annealingcycles=$annealing_cycles -evoreruns=$evolve_reruns -alphai=$alpha_i -alpham=$alpha_m -beta=$beta -gamma=$gamma -delta=$delta -nworkers=$nworkers -rerunsperapp=$reruns_per_opt_invocation " >> ABOUT
 
 if [ _$dryrun != _ ]; then
   exit 0




More information about the Swift-commit mailing list