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