<div dir="ltr">Hi John,<div><br></div><div>Can you paste the full traceback using: <a href="http://paste.yt-project.org">http://paste.yt-project.org</a>?  Also, are you running with mpirun python your_script.py --parallel?  The only thought I have at the moment is that there is a mismatch between the MPI you are running mpirun with and the MPI that mpi4py was built with. </div>

<div><br></div><div>Also, which version of yt are you using (the results of "yt instinfo")?</div><div><br></div><div>Thanks,</div><div>Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Dec 28, 2013 at 11:36 PM, John Regan <span dir="ltr"><<a href="mailto:johnanthonyregan@gmail.com" target="_blank">johnanthonyregan@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 All, <div><br></div><div>I've started to see a strange error in a simple enough parallel computation. </div>

<div><br></div><div>I can reproduce it with the script below but with some other scripts where the code is embedded it runs fine so it may be a race condition. </div>
<div><br></div><div><div>from yt.mods import *</div><div><br></div><div>pf = load("/wrk/regan/H2/Ctrl/DD0035/Data0035")</div><div>v, c = pf.h.find_max("Density")</div><div>print v, c</div></div><div><br>


</div><div>Thanks in advance for any help!</div><div><br></div><div>Cheers,</div><div>John</div><div><br></div><div>Error:</div><div><br></div><div><div>Traceback (most recent call last):</div><div>P001 yt : [INFO     ] 2013-12-29 09:31:27,756 Max Value is 3.67832e-16 at 0.5025423020124483 0.4896353334188484 0.4947452098131160 in grid EnzoGrid_1214 at level 18 (3, 3, 2)</div>


<div>Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div><div>P003 yt : [INFO     ] 2013-12-29 09:31:27,756 Max Value is 3.67832e-16 at 0.5025423020124483 0.4896353334188484 0.4947452098131160 in grid EnzoGrid_1214 at level 18 (3, 3, 2)</div>


<div>  File "ptest.py", line 5, in <module></div><div>Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div><div>P002 yt : [INFO     ] 2013-12-29 09:31:27,756 Max Value is 3.67832e-16 at 0.5025423020124483 0.4896353334188484 0.4947452098131160 in grid EnzoGrid_1214 at level 18 (3, 3, 2)</div>


<div>Traceback (most recent call last):</div><div>P004 yt : [INFO     ] 2013-12-29 09:31:27,756 Max Value is 3.67832e-16 at 0.5025423020124483 0.4896353334188484 0.4947452098131160 in grid EnzoGrid_1214 at level 18 (3, 3, 2)</div>


<div>Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div><div>P005 yt : [INFO     ] 2013-12-29 09:31:27,756 Max Value is 3.67832e-16 at 0.5025423020124483 0.4896353334188484 0.4947452098131160 in grid EnzoGrid_1214 at level 18 (3, 3, 2)</div>


<div>Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div><div>P006 yt : [INFO     ] 2013-12-29 09:31:27,756 Max Value is 3.67832e-16 at 0.5025423020124483 0.4896353334188484 0.4947452098131160 in grid EnzoGrid_1214 at level 18 (3, 3, 2)</div>


<div>Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div><div>Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div>

<div>
Traceback (most recent call last):</div><div>  File "ptest.py", line 5, in <module></div><div>  File "ptest.py", line 5, in <module></div><div>    v, c = pf.h.find_max("Density")</div>


<div>    v, c = pf.h.find_max("Density")</div><div>    v, c = pf.h.find_max("Density")</div><div>    v, c = pf.h.find_max("Density")</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div>


<div>    v, c = pf.h.find_max("Density")</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div>


<div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div><div>    v, c = pf.h.find_max("Density")</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div>


<div>    v, c = pf.h.find_max("Density")</div><div>    v, c = pf.h.find_max("Density")</div><div>    v, c = pf.h.find_max("Density")</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div>


<div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div>


<div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 51, in find_max</div><div>    mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)</div>


<div>    mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 66, in find_max_cell_location</div>


<div>    mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)</div><div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 66, in find_max_cell_location</div>


<div>  File "/homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg/yt/data_objects/object_finding_mixin.py", line 66, in find_max_cell_location</div><div>    mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)</div>


</div><div><br></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>