Commit 4d691332 authored by Aggelos Giantsios's avatar Aggelos Giantsios

Amend the slaves list

parent a8fb41f8
...@@ -16,15 +16,9 @@ iwps = [False, True] ...@@ -16,15 +16,9 @@ iwps = [False, True]
cores = [1] cores = [1]
workersPerCore = 1 workersPerCore = 1
master = {"host": "127.0.0.1", "port": 5050} master = {"host": "127.0.0.1", "port": 5050}
slaves = [ {"host": "127.0.0.1", "port": 5051} slaves = []
, {"host": "127.0.0.1", "port": 5052} for port in range(5051, 5051+16):
, {"host": "127.0.0.1", "port": 5053} slaves.append({"host": "127.0.0.1", "port": port})
, {"host": "127.0.0.1", "port": 5054}
, {"host": "127.0.0.1", "port": 5055}
, {"host": "127.0.0.1", "port": 5056}
, {"host": "127.0.0.1", "port": 5057}
, {"host": "127.0.0.1", "port": 5058}
]
print_all("Parallel Orbit") print_all("Parallel Orbit")
print_all("----------------------------------------------------------------------") print_all("----------------------------------------------------------------------")
...@@ -37,7 +31,7 @@ print_all("Master @ %s" % master) ...@@ -37,7 +31,7 @@ print_all("Master @ %s" % master)
print_all("Slaves @ %s" % slaves) print_all("Slaves @ %s" % slaves)
print_all("======================================================================") print_all("======================================================================")
for n in range(1, len(slaves)+1): for n in range(2, len(slaves)+1, 2):
for iwp in iwps: for iwp in iwps:
for vsn in versions: for vsn in versions:
for core in cores: for core in cores:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment