[yt-svn] commit/yt: jzuhone: Merged in xarthisius/yt (pull request #1651)
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Tue Jul 21 13:14:43 PDT 2015
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/f6b452056c68/
Changeset: f6b452056c68
Branch: yt
User: jzuhone
Date: 2015-07-21 20:14:33+00:00
Summary: Merged in xarthisius/yt (pull request #1651)
[py3] mpi 'ranks' needs to be a list rather than a generator
Affected #: 1 file
diff -r 5c0e30b252d4e7062dea066945419186eca9939e -r f6b452056c681f9f781b5e25f8d13f6f4193efa8 yt/utilities/parallel_tools/parallel_analysis_interface.py
--- a/yt/utilities/parallel_tools/parallel_analysis_interface.py
+++ b/yt/utilities/parallel_tools/parallel_analysis_interface.py
@@ -349,8 +349,8 @@
def __init__(self):
self.comm = communication_system.communicators[-1]
self.size = self.comm.size
- self.ranks = range(self.size)
- self.available_ranks = range(self.size)
+ self.ranks = list(range(self.size))
+ self.available_ranks = list(range(self.size))
self.workgroups = []
def add_workgroup(self, size=None, ranks=None, name=None):
@@ -1259,7 +1259,7 @@
self.num_items = len(items)
self.items = items
assert(self.num_items >= self.comm.size)
- self.owned = range(self.comm.size)
+ self.owned = list(range(self.comm.size))
self.pointer = 0
if parallel_capable:
communication_system.push_with_ids([self.comm.rank])
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