Re: [yt-users] yt-users Digest, Vol 82, Issue 31
Hi Nathan,
Thanks, I'll do that.
Ari
On Sat, Dec 13, 2014 at 3:18 PM,
Send yt-users mailing list submissions to yt-users@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@lists.spacepope.org
You can reach the person managing the list at yt-users-owner@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
To: yt-users@lists.spacepope.org Subject: [yt-users] problem running yt in parallel Message-ID: < CACCSjdNg9-AZzagbvxaz4PHYj2U6aD7edkuZ5AFA7WJCGA63ig@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/2014...
------------------------------
Message: 2 Date: Sat, 13 Dec 2014 12:08:17 -0800 From: Nathan Goldbaum
To: Discussion of the yt analysis package Subject: Re: [yt-users] problem running yt in parallel Message-ID: 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-t...
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@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@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/2014...
------------------------------
Subject: Digest Footer
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
------------------------------
End of yt-users Digest, Vol 82, Issue 31 ****************************************
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (1)
-
Professor Maller