[Swift-commit] r5726 - SwiftApps/SciColSim

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Mon Mar 26 12:06:06 CDT 2012


Author: wilde
Date: 2012-03-26 12:06:06 -0500 (Mon, 26 Mar 2012)
New Revision: 5726

Modified:
   SwiftApps/SciColSim/testopt.py
Log:
Adjusted testopt.py, mw2 param set as well as command invocation; changed to 0 0 0 0 0 for param vaues and 0 0 0 0 0 for fixed params.

Modified: SwiftApps/SciColSim/testopt.py
===================================================================
--- SwiftApps/SciColSim/testopt.py	2012-03-26 17:03:11 UTC (rev 5725)
+++ SwiftApps/SciColSim/testopt.py	2012-03-26 17:06:06 UTC (rev 5726)
@@ -10,9 +10,9 @@
 app              = "./openmp-optimizer";   # For Mac or Linux: Using OpenMP (Default)
 
 #paramset="default"
-#paramset="mw2"
+paramset="mw2"
 #paramset="VERYFASTTEST"
-paramset="VERYFASTTEST"
+#paramset="VERYFASTTEST"
 
 print("Running with parameter set " + paramset + "\n\n");
 
@@ -116,9 +116,9 @@
 
 elif paramset == "mw2":  # Timing TEST PARAMETERS by Mike
   
-  startTarget      = 900
-  endTarget        = 1059
-  incrTarget       = 1
+  startTarget      = 58
+  endTarget        = 1009
+  incrTarget       = 50
   optimizerRepeats = 1
   evolveReruns     = 4
   annealingSteps   = 1
@@ -141,14 +141,15 @@
 for target in range(startTarget,endTarget,incrTarget):
   for i in range(optimizerRepeats):
     args = "rm -f bestdb.txt; " + \
-           openmp + " " + app + " 0 0 4 50 -1 " + str(target) + " 40000 20 " + str(evolveReruns) + \
-           " 2 1 2. 0.01 " + str(annealingSteps) + " 0.3 2.3 1 1 0 0 0 " + operation + " " + NWorkers + " " + seed + \
-           " >& out.T"+str(target)+".i"+str(i) + "; mv bestdb.txt best.T" + str(target) + ".i" + str(i) 
+           openmp + " " + app + " 0 0 0 0 0 " + str(target) + " 40000 20 " + str(evolveReruns) + \
+           " 2 1 2. 0.01 " + str(annealingSteps) + " 0.3 2.3 0 0 0 0 0 " + operation + " " + NWorkers + " " + seed + \
+           " >& out.T"+str(target)+".i"+str(i) + "; #mv bestdb.txt best.T" + str(target) + ".i" + str(i) 
     print("\n**** Calling optimizer: "+args+"\n")
     os.system(args);
 
 print sys.argv[0] + " Done!"
 
+#            openmp + " " + app + " 0 0 4 50 -1 " + str(target) + " 40000 20 " + str(evolveReruns) + \
 
 ###   Argument worksheet:
 




More information about the Swift-commit mailing list