to 0.5, 0.5, 0.5, which would put it outside the domain. Could that be the problem?
Yes. Yes it could. Thanks, Britton! d.
Britton
On Wed, Dec 7, 2011 at 12:53 PM, david collins
wrote: Hi, all--
I'm doing something that I believe to be relatively straight forward, but it's giving me an odd paralllelism error. The initial DomainRightEdge = 0.1 0.1 0.1, changing this to [1,1,1] fixes the problem. I was under the impression that yt was able to do non 0-1 boxes, am I doing something else dumb?
Thanks, d.
from yt.mods import * pf = load('/scratch/david_c/Paper10/j01_hydro_32/CD0000/cycle0000') pc=PlotCollection(pf,center=[0.5]*3) pc.add_slice('Density',0)
Traceback (most recent call last): File "derp.py", line 4, in <module> pc.add_slice('Density',0) File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/visualization/plot_collection.py", line 405, in add_slice center=center, **field_parameters) File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/data_objects/data_containers.py", line 975, in __init__ self._refresh_data() File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/data_objects/data_containers.py", line 293, in _refresh_data self.get_data() File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/data_objects/data_containers.py", line 803, in get_data self._generate_coords() File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/data_objects/data_containers.py", line 1009, in _generate_coords for grid in self._get_grids(): File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 787, in _get_grids return ObjectIterator(self, attr='_grids') File "/usr/projects/magnetic/david_c/local/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py", line 127, in __init__ if hasattr(gs[0], 'proc_num'): IndexError: index out of bounds
pdb.pm()
/usr/projects/magnetic/david_c/local/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py(127)__init__() -> if hasattr(gs[0], 'proc_num'): (Pdb) print gs []
? d.
-- Sent from my computer. _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
-- Sent from my computer.