<div dir="ltr">ah, those errors in [1] look very familiar. Switching to yt.mods seems to work, thanks for the help!<div><br></div><div>Nick</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 9:44 AM, Nathan Goldbaum <span dir="ltr"><<a href="mailto:nathan12343@gmail.com" target="_blank">nathan12343@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Nick,<div><br></div><div>Are you sure about that?  The traceback you pasted was from a script that failed on "from yt.pmods import *".</div>

<div><br></div><div>In any case, there are issues with pmods and matplotlib 1.3.0 that, as far as I am aware, have not been resolved [1].</div>

<div><br></div><div>pmods is an implementation of a fast parallel importer to avoid slowdowns that occur on massively parallel imports of yt's namespace.  If you're running at scale on a supercomputer, pmods might be useful, but it is not necessary to get yt's parallelism working.  A script with pmods replaced with mods will still work correctly in parallel.</div>



<div><br></div><div>There is an open issue to update the documentation to explain what pmods does and to put less emphasis on pmods in the examples [2].</div><div><br></div><div>-Nathan</div><div><br></div><div>[1] <a href="https://bitbucket.org/yt_analysis/yt/issue/637/matplotlib-130-doesnt-seem-compatible-with" target="_blank">https://bitbucket.org/yt_analysis/yt/issue/637/matplotlib-130-doesnt-seem-compatible-with</a></div>



<div>[2] <a href="https://bitbucket.org/yt_analysis/yt/issue/672/update-docs-that-pmods-not-required-for-yt" target="_blank">https://bitbucket.org/yt_analysis/yt/issue/672/update-docs-that-pmods-not-required-for-yt</a></div>

</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">

<br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 12:28 AM, nick moeckel <span dir="ltr"><<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr">Hi Geoffrey,<div><br></div><div>yt is up to date and working, I've been using it serially with no problem on these machines. I'm able to import yt.pmods with no problems.</div><span><font color="#888888"><div>



<br></div><div>Nick</div>

</font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Nov 4, 2013 at 8:40 AM, Geoffrey So <span dir="ltr"><<a href="mailto:gsiisg@gmail.com" target="_blank">gsiisg@gmail.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Since it failed on line 1, where you import yt.pmods, that's not an explicit mpi4py problem I think.<div><br></div><div>Have you made sure yt is installed correctly?  Are you able to </div><div>
>python</div><div>from yt.mods import *</div><div><br></div><div>and if that works, try replacing yt.pmods with yt.mods</div><div><br></div><div>Hope that helps!</div><div><br></div>
<div>From</div><div>G.S.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Sun, Nov 3, 2013 at 11:17 PM, nick moeckel <span dir="ltr"><<a href="mailto:nickolas1@gmail.com" target="_blank">nickolas1@gmail.com</a>></span> wrote:<br>






</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hi everyone,<div><br></div><div>I'm trying to run some parallel analysis scripts and I'm running into problems. I'm using yt-3.0 on Ramses data; here's a simple example that doesn't work:</div>








<div><br></div><div>from yt.pmods import *</div><div>ds = load('output_00001/info_00001.txt', fields=['Density','x-velocity','y-velocity','z-velocity','Pressure'])</div><div>








proj = ProjectionPlot(ds, 0, 'Density')</div><div>proj.save()</div><div><br></div><div>the errors this generates:</div><div><a href="http://paste.yt-project.org/show/SfT87oaHcQpYMUnBi2QM/" target="_blank">http://paste.yt-project.org/show/SfT87oaHcQpYMUnBi2QM/</a><br>








</div><div><br></div><div>When I run this on my personal computers with mpi4py installed with pip, this will work with no problems. On the HPC system I'm using I'm unable to install mpi4py with pip, (due [I think] to the archaic openssl version) but I've built and installed it from source.</div>








<div><br></div><div>Before I tear any more of my hair out over this, I'm hoping that someone can tell me if this looks familiar, or if it's definitely a problem with mpi4py and yt playing nice, or anything else that might save me a few days of my life.</div>








<div><br></div><div>Thanks for any help!</div><span><font color="#888888"><div>Nick</div></font></span></div>
<br></div></div>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><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" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
<br></blockquote></div><br></div>