[yt-users] YT parallel error

John Regan johnanthonyregan at gmail.com
Sun Dec 29 11:54:23 PST 2013


Hi Sam,

I'm running the script using
srun pyyt ptest.py --parallel

That could well be picking up the system mpirun rather than the mpi that YT
was built with - I hadn't considered that. I'll check that.
The traceback is at the link below.

http://paste.yt-project.org/show/4174/

The version of YT is the dev version - that's what's sourced when the batch
script is run. I've tried with the stable version as well and got the
same result. I think you might be on to something with the mpirun library
issue though.

Thanks for the tip!

John



(yt-x86_64)[regan at taito-login3 Projections]$ yt instinfo

yt module located at:
    /homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-hg
The supplemental repositories are located at:
    /homeappl/home/regan/appl_taito/YT/yt-x86_64/src/yt-supplemental

The current version of the code is:

---
ec9a5117fc08
---

This installation CAN be automatically updated.
yt dependencies were last updated on
Tue Dec  3 17:12:02 EET 2013

To update all dependencies, run "yt update --all".



On Sun, Dec 29, 2013 at 8:22 PM, Sam Skillman <samskillman at gmail.com> wrote:

> Hi John,
>
> Can you paste the full traceback using: http://paste.yt-project.org?
>  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.
>
> Also, which version of yt are you using (the results of "yt instinfo")?
>
> Thanks,
> Sam
>
>
> On Sat, Dec 28, 2013 at 11:36 PM, John Regan <johnanthonyregan at gmail.com>wrote:
>
>> Hi All,
>>
>> I've started to see a strange error in a simple enough parallel
>> computation.
>>
>> 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.
>>
>> from yt.mods import *
>>
>> pf = load("/wrk/regan/H2/Ctrl/DD0035/Data0035")
>> v, c = pf.h.find_max("Density")
>> print v, c
>>
>> Thanks in advance for any help!
>>
>> Cheers,
>> John
>>
>> Error:
>>
>> Traceback (most recent call last):
>> 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)
>> Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>> 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)
>>   File "ptest.py", line 5, in <module>
>> Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>> 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)
>> Traceback (most recent call last):
>> 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)
>> Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>> 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)
>> Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>> 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)
>> Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>> Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>>  Traceback (most recent call last):
>>   File "ptest.py", line 5, in <module>
>>   File "ptest.py", line 5, in <module>
>>     v, c = pf.h.find_max("Density")
>>     v, c = pf.h.find_max("Density")
>>     v, c = pf.h.find_max("Density")
>>     v, c = pf.h.find_max("Density")
>>   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
>>     v, c = pf.h.find_max("Density")
>>   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
>>   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
>>   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
>>     v, c = pf.h.find_max("Density")
>>   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
>>     v, c = pf.h.find_max("Density")
>>     v, c = pf.h.find_max("Density")
>>     v, c = pf.h.find_max("Density")
>>   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
>>   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
>>   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
>>   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
>>     mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)
>>     mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)
>>   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
>>     mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)
>>   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
>>   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
>>     mg, mc, mv, pos = self.find_max_cell_location(field, finest_levels)
>>
>>
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>>
>>
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20131229/791da62d/attachment.htm>


More information about the yt-users mailing list