prevent mpi from using head node as a worker (exposes communication bug)
smbaker [Wed, 12 Dec 2012 03:35:05 +0000 (19:35 -0800)]
scripts/mpi-copy.py

index 164005a..4fe52ad 100755 (executable)
@@ -67,7 +67,7 @@ def write_hostnamefile(wholestring, hostfile_pathname):
         g = open(hostfile_pathname, "w+")
         nodeNames = line[1]
         nodes = nodeNames.split(",")
-        for i in nodes:
+        for i in nodes[1:]:
           g.write(i + "\n")
         g.close()
         return