[yt-users] Enzo file visualization problem

Abul Latif latifne at gmail.com
Fri Apr 6 02:21:38 PDT 2012


Dear YT users,
I am running enzo test problem with MPI. I am unable to visualize the data
with YT and it produces following error. If i do not run enzo with MPI
(MPICH2) then it works fine. Any ideas, what is going wrong here.
Thanks in advance
Cheers
Latif

t : [INFO     ] 2012-04-05 17:42:42,770 Parameters:
current_time              = 7
yt : [INFO     ] 2012-04-05 17:42:42,771 Parameters:
domain_dimensions         = [16 16 16]
yt : [INFO     ] 2012-04-05 17:42:42,771 Parameters:
domain_left_edge          = [ 0.  0.  0.]
yt : [INFO     ] 2012-04-05 17:42:42,771 Parameters:
domain_right_edge         = [ 1.  1.  1.]
yt : [INFO     ] 2012-04-05 17:42:42,771 Parameters:
cosmological_simulation   = 0.0
yt : [INFO     ] 2012-04-05 17:42:42,775 Getting the binary hierarchy
Traceback (most recent call last):
  File "./enzo.py", line 7, in <module>
    pc=PlotCollection(pf)
  File
"/home/astro73/mlatif/YT/yt-x86_64/src/yt-hg/yt/visualization/plot_collection.py",
line 108, in __init__
    v,self.c = pf.h.find_max("Density") # @todo: ensure no caching
  File
"/home/astro73/mlatif/YT/yt-x86_64/src/yt-hg/yt/data_objects/static_output.py",
line 172, in hierarchy
    self, data_style=self.data_style)
  File
"/home/astro73/mlatif/YT/yt-x86_64/src/yt-hg/yt/frontends/enzo/data_structures.py",
line 217, in __init__
    AMRHierarchy.__init__(self, pf, data_style)
  File
"/home/astro73/mlatif/YT/yt-x86_64/src/yt-hg/yt/data_objects/hierarchy.py",
line 71, in __init__
    self._parse_hierarchy()
  File
"/home/astro73/mlatif/YT/yt-x86_64/src/yt-hg/yt/frontends/enzo/data_structures.py",
line 286, in _parse_hierarchy
    if self._parse_binary_hierarchy(): return
  File
"/home/astro73/mlatif/YT/yt-x86_64/src/yt-hg/yt/frontends/enzo/data_structures.py",
line 357, in _parse_binary_hierarchy
    self.grid_dimensions[:] = f["/ActiveDimensions"][:]
ValueError: operands could not be broadcast together with shapes (32,3)
(8,3)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20120406/e473bd42/attachment.htm>


More information about the yt-users mailing list