summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmack <dmack@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-01-13 16:22:23 +0000
committerdmack <dmack@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2010-01-13 16:22:23 +0000
commit10a3df789a00e1f4f1a8dfe4e7f54db8bb1f6782 (patch)
tree2d85228a904777f45ef986234b7808f0b72423a0
parentff18bd9607675046a1215fc5a14e9470cf9192f2 (diff)
downloadATCD-10a3df789a00e1f4f1a8dfe4e7f54db8bb1f6782.tar.gz
Wed Jan 13 16:16:38 UTC 2010 Daniel L.C. Mack <daniel.l.mack@vanderbilt.edu>
-rw-r--r--SA_POP/ChangeLog7
-rwxr-xr-xSA_POP/utils/SANetGenerator/EUNets.py21
2 files changed, 27 insertions, 1 deletions
diff --git a/SA_POP/ChangeLog b/SA_POP/ChangeLog
index da2746288b2..27a2a695492 100644
--- a/SA_POP/ChangeLog
+++ b/SA_POP/ChangeLog
@@ -1,3 +1,9 @@
+Wed Jan 13 16:16:38 UTC 2010 Daniel L.C. Mack <daniel.l.mack@vanderbilt.edu>
+
+ * utils/SANetGenerator/EUNets.py:
+
+ Wrapper for creating multiple networks with the same parameters.
+
Wed Jan 13 04:14:15 UTC 2010 John S. Kinnebrew <john.s.kinnebrew@vanderbilt.edu>
* Planner.cpp:
@@ -6,7 +12,6 @@ Wed Jan 13 04:14:15 UTC 2010 John S. Kinnebrew <john.s.kinnebrew@vanderbilt.ed
Adding EU experiment planner.
-
Tue Jan 12 03:11:44 UTC 2010 John S. Kinnebrew <john.s.kinnebrew@vanderbilt.edu>
* C2W/C2W_Demo.mpc:
diff --git a/SA_POP/utils/SANetGenerator/EUNets.py b/SA_POP/utils/SANetGenerator/EUNets.py
new file mode 100755
index 00000000000..8c4ae50b182
--- /dev/null
+++ b/SA_POP/utils/SANetGenerator/EUNets.py
@@ -0,0 +1,21 @@
+#Daniel L.C. Mack
+#EUNets.py
+#Runs the Net_Complete Script with a set of params for a certain number of runs.
+#Nnets takes the number of networks to make, the rest of the params are from
+#The Net Complete Script
+
+import os
+import sys
+
+Nnets = int(sys.argv[1])
+
+Ntasks = sys.argv[2]
+Nconds = sys.argv[3]
+inDegree = sys.argv[4]
+outDegree = sys.argv[5]
+rGen = sys.argv[6]
+outname = sys.argv[7]
+
+for each in range(0,Nnets):
+ nname = outname + str(each)
+ os.system("python Net_Complete.py " + Ntasks + " " + Nconds + " " + inDegree + " " + outDegree + " " + rGen + " " + nname)