[yt-users] yt-users Digest, Vol 82, Issue 31

Professor Maller amaller at citytech.cuny.edu
Sat Dec 13 13:53:21 PST 2014


Hi Nathan,

Thanks, I'll do that.

Ari

On Sat, Dec 13, 2014 at 3:18 PM, <yt-users-request at lists.spacepope.org>
wrote:
>
> Send yt-users mailing list submissions to
>         yt-users at lists.spacepope.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
> or, via email, send a message with subject or body 'help' to
>         yt-users-request at lists.spacepope.org
>
> You can reach the person managing the list at
>         yt-users-owner at lists.spacepope.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of yt-users digest..."
>
>
> Today's Topics:
>
>    1. problem running yt in parallel (Professor Maller)
>    2. Re: problem running yt in parallel (Nathan Goldbaum)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 13 Dec 2014 14:51:18 -0500
> From: Professor Maller <amaller at citytech.cuny.edu>
> To: yt-users at lists.spacepope.org
> Subject: [yt-users] problem running yt in parallel
> Message-ID:
>         <
> CACCSjdNg9-AZzagbvxaz4PHYj2U6aD7edkuZ5AFA7WJCGA63ig at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Everyone,
>
> I'm having trouble using yt in parallel.  I'm getting an error message;
> AttributeError: 'module' object has no attribute 'rootLogger'
>
> I'm running this simple test script
> #test_script.py
> import yt
> yt.enable_parallelism(suppress_logging=True, communicator=None)
> # Load the dataset
> filename='Data/enzo_cosmology_plus/DD0046/DD0046'
> ds=yt.load(filename)
> v,c=ds.find_max("density")
> print v,c
>
> this runs fine when just executing python test_script.py, but if I do
> mpirun -np 4 python test_script.py
> I get the following
>
> yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> enabled: 1 / 4
> yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> enabled: 2 / 4
> yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> enabled: 3 / 4
> yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> enabled: 0 / 4
> Traceback (most recent call last):
>   File "create_catalog.py", line 3, in <module>
> Traceback (most recent call last):
>   File "create_catalog.py", line 3, in <module>
> Traceback (most recent call last):
>   File "create_catalog.py", line 3, in <module>
> Traceback (most recent call last):
>   File "create_catalog.py", line 3, in <module>
>     yt.enable_parallelism(suppress_logging=True, communicator=None)
>   File
>
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 116, in enable_parallelism
>     yt.enable_parallelism(suppress_logging=True, communicator=None)
>   File
>
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 116, in enable_parallelism
>     yt.enable_parallelism(suppress_logging=True, communicator=None)
>   File
>
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 116, in enable_parallelism
>     yt.enable_parallelism(suppress_logging=True, communicator=None)
>   File
>
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> line 116, in enable_parallelism
>     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> AttributeError: 'module' object has no attribute 'rootLogger'
>     if len(yt.utilities.logger.rootLogger.handlers) > 0:
>     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> AttributeError: 'module' object has no attribute 'rootLogger'
> AttributeError: 'module' object has no attribute 'rootLogger'
>     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> AttributeError: 'module' object has no attribute 'rootLogger'
>
>
> ===================================================================================
> =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> =   EXIT CODE: 1
> =   CLEANING UP REMAINING PROCESSES
> =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
> ===========================================================
>
> Any thoughts would be greatly appreciated.
>
> Ari
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141213/301a2c47/attachment.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Sat, 13 Dec 2014 12:08:17 -0800
> From: Nathan Goldbaum <nathan12343 at gmail.com>
> To: Discussion of the yt analysis package
>         <yt-users at lists.spacepope.org>
> Subject: Re: [yt-users] problem running yt in parallel
> Message-ID:
>         <CAJXewOn=ic0nmowA_zP4VXiEpy=
> 9uOu1y4GMsJWzOPW7V70vzg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Ari,
>
> Thanks for the report! This is a genuine bug, due to a pull request that
> was merged just a few days ago that removed the rootLogger.
>
> If you update to the change before the pull request was merged (changeset
> hash bca4a05), this issue should go away. Let us know if you need help
> updating to the old version.
>
> I've opened an issue to track this:
>
> https://bitbucket.org/yt_analysis/yt/issue/956/enable_parallelism-dies-due-to-missing
>
> If you have a bitbucket account, you can watch the issue to get e-mail
> updates.
>
> Hopefully we should have this fixed soon.
>
> -Nathan
>
>
> On Sat, Dec 13, 2014 at 11:51 AM, Professor Maller <
> amaller at citytech.cuny.edu> wrote:
> >
> > Hi Everyone,
> >
> > I'm having trouble using yt in parallel.  I'm getting an error message;
> > AttributeError: 'module' object has no attribute 'rootLogger'
> >
> > I'm running this simple test script
> > #test_script.py
> > import yt
> > yt.enable_parallelism(suppress_logging=True, communicator=None)
> > # Load the dataset
> > filename='Data/enzo_cosmology_plus/DD0046/DD0046'
> > ds=yt.load(filename)
> > v,c=ds.find_max("density")
> > print v,c
> >
> > this runs fine when just executing python test_script.py, but if I do
> > mpirun -np 4 python test_script.py
> > I get the following
> >
> > yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> > enabled: 1 / 4
> > yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> > enabled: 2 / 4
> > yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> > enabled: 3 / 4
> > yt : [INFO     ] 2014-12-13 14:49:40,188 Global parallel computation
> > enabled: 0 / 4
> > Traceback (most recent call last):
> >   File "create_catalog.py", line 3, in <module>
> > Traceback (most recent call last):
> >   File "create_catalog.py", line 3, in <module>
> > Traceback (most recent call last):
> >   File "create_catalog.py", line 3, in <module>
> > Traceback (most recent call last):
> >   File "create_catalog.py", line 3, in <module>
> >     yt.enable_parallelism(suppress_logging=True, communicator=None)
> >   File
> >
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> > line 116, in enable_parallelism
> >     yt.enable_parallelism(suppress_logging=True, communicator=None)
> >   File
> >
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> > line 116, in enable_parallelism
> >     yt.enable_parallelism(suppress_logging=True, communicator=None)
> >   File
> >
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> > line 116, in enable_parallelism
> >     yt.enable_parallelism(suppress_logging=True, communicator=None)
> >   File
> >
> "/home/amaller/yt-x86_64/src/yt-hg/yt/utilities/parallel_tools/parallel_analysis_interface.py",
> > line 116, in enable_parallelism
> >     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> > AttributeError: 'module' object has no attribute 'rootLogger'
> >     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> >     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> > AttributeError: 'module' object has no attribute 'rootLogger'
> > AttributeError: 'module' object has no attribute 'rootLogger'
> >     if len(yt.utilities.logger.rootLogger.handlers) > 0:
> > AttributeError: 'module' object has no attribute 'rootLogger'
> >
> >
> >
> ===================================================================================
> > =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
> > =   EXIT CODE: 1
> > =   CLEANING UP REMAINING PROCESSES
> > =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
> > ===========================================================
> >
> > Any thoughts would be greatly appreciated.
> >
> > Ari
> >
> >
> > _______________________________________________
> > 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/20141213/9ea10de8/attachment.htm
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>
>
> ------------------------------
>
> End of yt-users Digest, Vol 82, Issue 31
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-users-spacepope.org/attachments/20141213/88100dc2/attachment.htm>
-------------- next part --------------
_______________________________________________
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