[yt-svn] commit/yt: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Thu Jun 11 06:02:54 PDT 2015
2 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/ad37c9eb2841/
Changeset: ad37c9eb2841
Branch: yt
User: hegan
Date: 2015-06-09 19:52:32+00:00
Summary: small fix to allow AP datasets to load in parallel when no APs present
Affected #: 1 file
diff -r 242b9f739613f32ed715b6ec2298476bb88d1f3f -r ad37c9eb2841b7e0b6fa6f8b47169b27eb7d6836 yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -452,9 +452,16 @@
if "AppendActiveParticleType" in self.dataset.parameters:
ap_fields = self._detect_active_particle_fields()
field_list = list(set(field_list).union(ap_fields))
+ ptypes = self.dataset.particle_types
+ ptypes_raw = self.dataset.particle_types_raw
else:
field_list = None
+ ptypes = None
+ ptypes_raw = None
self.field_list = list(self.comm.mpi_bcast(field_list))
+ self.dataset.particle_types = list(self.comm.mpi_bcast(ptypes))
+ self.dataset.particle_types_raw = list(self.comm.mpi_bcast(ptypes_raw))
+
def _generate_random_grids(self):
if self.num_grids > 40:
https://bitbucket.org/yt_analysis/yt/commits/aaf2b4a8a158/
Changeset: aaf2b4a8a158
Branch: yt
User: MatthewTurk
Date: 2015-06-11 13:02:46+00:00
Summary: Merged in hegan/yt (pull request #1611)
small fix to allow enzo AP datasets to load in parallel when no APs present
Affected #: 1 file
diff -r c559a1cb6ea100b364f16eb35042d8ac5981b0c1 -r aaf2b4a8a1587a380805bd6aa9e6c4a362ffeede yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -452,9 +452,16 @@
if "AppendActiveParticleType" in self.dataset.parameters:
ap_fields = self._detect_active_particle_fields()
field_list = list(set(field_list).union(ap_fields))
+ ptypes = self.dataset.particle_types
+ ptypes_raw = self.dataset.particle_types_raw
else:
field_list = None
+ ptypes = None
+ ptypes_raw = None
self.field_list = list(self.comm.mpi_bcast(field_list))
+ self.dataset.particle_types = list(self.comm.mpi_bcast(ptypes))
+ self.dataset.particle_types_raw = list(self.comm.mpi_bcast(ptypes_raw))
+
def _generate_random_grids(self):
if self.num_grids > 40:
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