[Swift-commit] r6128 - SwiftApps/SciColSim

wilde at ci.uchicago.edu wilde at ci.uchicago.edu
Thu Jan 3 18:32:10 CST 2013


Author: wilde
Date: 2013-01-03 18:32:10 -0600 (Thu, 03 Jan 2013)
New Revision: 6128

Modified:
   SwiftApps/SciColSim/testopt.py
Log:
Added mw3 param set for testing

Modified: SwiftApps/SciColSim/testopt.py
===================================================================
--- SwiftApps/SciColSim/testopt.py	2013-01-04 00:31:38 UTC (rev 6127)
+++ SwiftApps/SciColSim/testopt.py	2013-01-04 00:32:10 UTC (rev 6128)
@@ -13,6 +13,12 @@
 paramset="mw3"
 verboseLevel = "1"
 
+alpha_i          = "0.0"
+alpha_m          = "0.0"
+beta             = "0.0"
+gamma            = "0.0"
+delta            = "0.0"
+
 print("Running with parameter set " + paramset + "\n\n");
 
 if paramset == "beta":
@@ -133,23 +139,44 @@
 
 elif paramset == "mw3":  # Timing TEST PARAMETERS by Mike
   
-  startTarget      = 135
-  endTarget        = 136
-  incrTarget       = 135
+  startTarget      = 67
+  endTarget        = 68
+  incrTarget       = 134
   optimizerRepeats = 1
   evolveReruns     = 1
-  evolveReruns     = 2
+  evolveReruns     = 240
   annealingSteps   = 1
-  NWorkers         = "1"
+
+  alpha_i          = "0.0"
+  alpha_m          = "0.0"
+  beta             = "0.0"
+  gamma            = "0.0"
+  delta            = "0.0"
+
+  alpha_i          = "0.0"
+  alpha_m          = "-0.673572334121749"
+  beta             = "-2.0320313590203978"
+  beta             = "-1.2320313590203978"
+  gamma            = "0.0"
+  delta            = "0.0"
+
+  alpha_i          = "0.0"
+  alpha_m          = "0.0"
+  beta             = "0.0"
+  gamma            = "0.0"
+  delta            = "0.0"
+
+  openmp           = ""
+  NWorkers         = "24"
   openmp           = "OMP_NUM_THREADS=" + NWorkers
-  openmp           = ""
 
   operation        = "m"  # n=normal, m=manual (runs 1 multi_loss call)
   seed             = "123456"
+  seed             = ""
   app              = "./graphsim"
+  app              = "./optimizer"
   app              = "./openmp-optimizer"
-  app              = "./optimizer"
-  verboseLevel     = "99"
+  verboseLevel     = "0"
 
 # Ensure we dont pass new parameters to original optimizer versions
 # (but they would be ignored)
@@ -164,7 +191,7 @@
 for target in range(startTarget,endTarget,incrTarget):
   for i in range(optimizerRepeats):
     args = "rm -f bestdb.txt; " + \
-           openmp + " " + "/usr/bin/time -v " + app + " 0 -0.673572334121749 -2.0320313590203978 0 0 " + str(target) + " 40000 20 " + str(evolveReruns) + \
+           openmp + " " + "/usr/bin/time -v " + app + " " + alpha_i + " " + alpha_m + " " + beta + " " + gamma + " " + delta + " " + str(target) + " 40000 20 " + str(evolveReruns) + \
            " 2 " + verboseLevel + " 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")




More information about the Swift-commit mailing list