<div dir="ltr">Hi Nathan,<div><br></div><div>I tried your suggestion, but it did not change anything.  I'll keep looking around, but will file an issue for now.</div><div><br></div><div>Britton</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 8:57 PM, 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 Britton,<div><br></div><div>It looks like parallel_capable on line 43 of parallel_analysis_interface.py *wants* to be a global mutable variable that is used elsewhere in yt, but it is not. Perhaps at one point it was imported into yt.funcs?</div>


<div><br></div><div>I think you could fix this by explicitly importing parallel_cabable from parallel_analysis_interface.py into startup_tasks.py.</div><div><br></div><div>Hope that helps,</div><div><br></div><div>Nathan</div>


</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 12:42 PM, Britton Smith <span dir="ltr"><<a href="mailto:brittonsmith@gmail.com" target="_blank">brittonsmith@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 again,<div><br></div><div>I don't know how much this helps, but if I change line 43 of parallel_analysis_interface.py from parallel_capable = False to parallel_capable = True, things work as they are supposed to in parallel.  Could there be an import somewhere that is resetting the value of parallel_capable?</div>


<span><font color="#888888">
<div><br></div><div>Britton</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 8:28 PM, Britton Smith <span dir="ltr"><<a href="mailto:brittonsmith@gmail.com" target="_blank">brittonsmith@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 Nathan,<div><br></div><div>Adding that call did not change the result.  To be clear, this is what I ran:</div>



<div><a href="http://paste.yt-project.org/show/4548/" target="_blank">http://paste.yt-project.org/show/4548/</a><br>
</div><div><br></div><div>What is strange is that the logger was clearly set up for parallel as it correctly prints the different processor numbers.  Enable parallelism shows that parallel_capable is True, so somewhere along the line this is getting changed.</div>



<span><font color="#888888">
<div><br></div><div>Britton</div></font></span></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 22, 2014 at 8:23 PM, 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 Britton,<div><br></div><div>What happens when you call yt.enable_parallelism() at the top of the script?</div>




<div><br></div><div>There were some adjustments to the way parallelism works related to YTEP-0019.  See this PR: <a href="https://bitbucket.org/yt_analysis/yt/pull-request/729/ytep-0019/diff" target="_blank">https://bitbucket.org/yt_analysis/yt/pull-request/729/ytep-0019/diff</a></div>






<div><br></div><div>Do you have a short test script I can try running over here to confirm the issue?</div><div><br></div><div>-Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>
On Tue, Apr 22, 2014 at 12:20 PM, Britton Smith <span dir="ltr"><<a href="mailto:brittonsmith@gmail.com" target="_blank">brittonsmith@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 all,<div><br></div><div>I don't recall when I first noticed this, but I'm finding that the parallel_root_only decorator doesn't seem to be working.  A simple test is to run a script that only loads a dataset.  The print_key_parameters function is inside of a parallel_root_only decorator, so all that should only be printed by the root processor, but when I run that script in parallel it is printed by all processors.  I am still looking into this, but so far I have found that printing the value of parallel_capable inside this decorator always gives False even when running in parallel.</div>







<div><br></div><div>Can someone confirm this?  If so, does anyone know what's going on?</div><span><font color="#888888"><div><br></div><div>Britton</div></font></span></div>
<br></div></div>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org" target="_blank">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
<br></blockquote></div><br></div>