[yt-users] parallel config issue

Matthew Turk matthewturk at gmail.com
Wed Nov 24 03:01:19 PST 2010


Hi Sam,

This is fixed in hash 19e3e5f1c0b9.  The issue was simply that the
config system does some shortcuts, and for some reason this did not
show up in the regression tests I've been running.

Related to that, the regression tests should become publicly
accessible relatively soon -- one of the conditions of the 2.0 release
is for a public regression test server, which we're almost done with.

-Matt

On Wed, Nov 24, 2010 at 4:27 AM, Sam Skillman <samskillman at gmail.com> wrote:
> Hi All,
> With the new configuration setup, I'm having issues with parallel analysis:
>
> simple_proj.py:
> from yt.mods import *
> pf = load('DD1701')
> pc = PlotCollection(pf,center=[0.5]*3)
> pc.add_projection('Density',0,weight_field='Density')
> Below is the full error message.  I'm not sure if this is due to my
> implementation somehow or something to do with the config change.  Any help
> would be appreciated.
> Sam
> 32Mpc64grid/DD1701:mpirun -np 2 python simple_proj.py --parallel
> yt         DEBUG      2010-11-24 02:24:24,890 Set log level to 0
> yt         DEBUG      2010-11-24 02:24:24,890 Set log level to 0
> yt         DEBUG      2010-11-24 02:24:24,944 SIGUSR1 registered for
> traceback printing
> yt         DEBUG      2010-11-24 02:24:24,945 SIGUSR2 registered for IPython
> Insertion
> yt         DEBUG      2010-11-24 02:24:24,944 SIGUSR1 registered for
> traceback printing
> yt         DEBUG      2010-11-24 02:24:24,945 SIGUSR2 registered for IPython
> Insertion
> yt         INFO       2010-11-24 02:24:26,127 Parallel computation enabled:
> 0 / 2
> yt         INFO       2010-11-24 02:24:26,127 Parallel computation enabled:
> 1 / 2
> Traceback (most recent call last):
>   File "simple_proj.py", line 1, in <module>
>     from yt.mods import *
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/mods.py",
> line 42, in <module>
>     from yt.data_objects.api import \
> Traceback (most recent call last):
>   File "simple_proj.py", line 1, in <module>
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/data_objects/api.py",
> line 34, in <module>
>     from hierarchy import \
>     from yt.mods import *
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/mods.py",
> line 42, in <module>
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/data_objects/hierarchy.py",
> line 40, in <module>
>     from yt.data_objects.api import \
>     from yt.utilities.parallel_tools.parallel_analysis_interface import \
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 52, in <module>
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/data_objects/api.py",
> line 34, in <module>
>     from hierarchy import \
>     ytcfg["yt","__parallel_rank"] = str(MPI.COMM_WORLD.rank)
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/data_objects/hierarchy.py",
> line 40, in <module>
> AttributeError: ConfigParser instance has no attribute '__setitem__'
>     from yt.utilities.parallel_tools.parallel_analysis_interface import \
>   File
> "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/yt-2.0dev-py2.6-macosx-10.6-i386.egg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 52, in <module>
>     ytcfg["yt","__parallel_rank"] = str(MPI.COMM_WORLD.rank)
> AttributeError: ConfigParser instance has no attribute '__setitem__'
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>



More information about the yt-users mailing list