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__'
participants (2)
-
Matthew Turk
-
Sam Skillman