<div dir="ltr">Hi Matt,<div><br></div><div>Thanks for your help.  Adjust by grid._id_offset did not work, but I can that what is happening is that all processors are trying to call _read_field_names using grid 1, when only processor 0 owns that grid.  I will look into why now, but if you have any intuition where to check next, that would be awesome.</div><div><br></div><div>Thanks,</div><div>Britton</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 13, 2015 at 1:51 PM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Britton,<br>
<br>
What looks suspicious to me is the way it's using <a href="http://grid.id" rel="noreferrer" target="_blank">grid.id</a>.  This might<br>
lead to an off-by-one error.  Can you try it with<br>
grid.id-grid._id_offset and see if that clears it up?<br>
<div><div class="h5"><br>
On Mon, Jul 13, 2015 at 7:42 AM, Britton Smith <<a href="mailto:brittonsmith@gmail.com">brittonsmith@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> I've recently been trying to use yt's inline analysis functionality with<br>
> Enzo and am having some difficultly getting it to work in parallel.  I am<br>
> using the development tip of yt.  In serial, everything works fine, but in<br>
> parallel, I get the following error:<br>
> <a href="http://paste.yt-project.org/show/5694/" rel="noreferrer" target="_blank">http://paste.yt-project.org/show/5694/</a><br>
><br>
> It seems that the issue is that yt is not correctly identifying which grids<br>
> are available on a given processory for the EnzoDatasetInMemory object.<br>
> Does anyone have an idea of how to fix this?  Has anyone else seen this?<br>
><br>
> For reference, my user_script is just this:<br>
><br>
> import yt<br>
> from yt.frontends.enzo.api import EnzoDatasetInMemory<br>
><br>
> def main():<br>
>     ds = EnzoDatasetInMemory()<br>
>     ad = ds.all_data()<br>
>     print ad.quantities.total_quantity("cell_mass")<br>
><br>
> Thanks for any help,<br>
><br>
> Britton<br>
><br>
</div></div>> _______________________________________________<br>
> yt-users mailing list<br>
> <a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" rel="noreferrer" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote></div><br></div>