All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 7cfc8854 authored by David Johnson's avatar David Johnson

Uh, ordering properly?

parent 560d160f
Pipeline #1394 skipped
......@@ -129,7 +129,7 @@ def main():
# (N is currently ~2s).
master = None
resourcemanager = None
slaves = []
slaves = {}
phase_start_time = 0
ts('recvnodes',0,'start')
while True:
......@@ -166,7 +166,7 @@ def main():
elif name == 'resourcemanager':
resourcemanager = nodes[name]
else:
slaves.append(nodes[name])
slaves[name] = nodes[name]
pass
# Setup the allpairs communication, because this is what
......@@ -222,7 +222,8 @@ def main():
# The IP addrs must be ordered. We can get away with this because of
# our naming scheme.
for i in range(0,len(slaves)):
slave = slaves[i]
slavename = "slave%d" % (i,)
slave = slaves[slavename]
print "slave = %s %s %s" % (slave.info.name,slave.info.ipv4,
slave.info.mac)
args += " %s" % (slave.info.ipv4,)
......
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