[Yt-svn] commit/yt: sskory: Fixing a missed _mpi_allsum to self.comm.mpi_allreduce in merger_tree.py
Bitbucket
commits-noreply at bitbucket.org
Mon Oct 31 08:30:34 PDT 2011
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/changeset/03a5780627a9/
changeset: 03a5780627a9
branch: yt
user: sskory
date: 2011-10-31 16:30:18
summary: Fixing a missed _mpi_allsum to self.comm.mpi_allreduce in merger_tree.py
affected #: 1 file
diff -r 413f7bcc25981146d3268a4bd7d277a493c0e2ef -r 03a5780627a9fea13488fb83a2a9c6767f30e9f3 yt/analysis_modules/halo_merger_tree/merger_tree.py
--- a/yt/analysis_modules/halo_merger_tree/merger_tree.py
+++ b/yt/analysis_modules/halo_merger_tree/merger_tree.py
@@ -605,7 +605,7 @@
(matched, parent_IDs_tosend.size, child_IDs_tosend.size))
# Now we sum up the contributions globally.
- self.child_mass_arr = self._mpi_allsum(self.child_mass_arr)
+ self.child_mass_arr = self.comm.mpi_allreduce(self.child_mass_arr)
# Turn these Msol masses into percentages of the parent.
line = "SELECT HaloMass FROM Halos WHERE SnapCurrentTimeIdentifier=%d \
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list