<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>