[Yt-svn] yt-commit r934 - trunk/yt/lagos

mturk at wrangler.dreamhost.com mturk at wrangler.dreamhost.com
Sat Nov 15 11:30:53 PST 2008


Author: mturk
Date: Sat Nov 15 11:30:52 2008
New Revision: 934
URL: http://yt.spacepope.org/changeset/934

Log:
Fixed a newly-introduced bug where the root-proc tile was not being included in
the dict concatenation.



Modified:
   trunk/yt/lagos/ParallelTools.py

Modified: trunk/yt/lagos/ParallelTools.py
==============================================================================
--- trunk/yt/lagos/ParallelTools.py	(original)
+++ trunk/yt/lagos/ParallelTools.py	Sat Nov 15 11:30:52 2008
@@ -199,7 +199,7 @@
             mylog.debug("Joining %s (%s) on %s", key, type(data[key]),
                         MPI.COMM_WORLD.rank)
             if MPI.COMM_WORLD.rank == 0:
-                data[key] = na.concatenate(
+                data[key] = na.concatenate([data[key]] +
                  [MPI.COMM_WORLD.Recv(source=i, tag=0) for i in range(1, np)],
                     axis=-1)
             else:



More information about the yt-svn mailing list