[yt-svn] commit/yt: brittonsmith: Fixing bug that was causing parallel_objects to fail when being

Bitbucket commits-noreply at bitbucket.org
Wed Jan 4 15:24:23 PST 2012


1 new commit in yt:


https://bitbucket.org/yt_analysis/yt/changeset/351d12b7067c/
changeset:   351d12b7067c
branch:      yt
user:        brittonsmith
date:        2012-01-05 00:23:59
summary:     Fixing bug that was causing parallel_objects to fail when being
used in serial.
affected #:  1 file

diff -r edc2f4531bb25b31d02514cda4157f30f60308c8 -r 351d12b7067c8ebb0cc0514a388b2696d82d4526 yt/utilities/parallel_tools/parallel_analysis_interface.py
--- a/yt/utilities/parallel_tools/parallel_analysis_interface.py
+++ b/yt/utilities/parallel_tools/parallel_analysis_interface.py
@@ -348,7 +348,8 @@
             to_share[rstore.result_id] = rstore.result
         else:
             yield obj
-    communication_system.communicators.pop()
+    if parallel_capable:
+        communication_system.communicators.pop()
     if storage is not None:
         # Now we have to broadcast it
         new_storage = my_communicator.par_combine_object(

Repository URL: https://bitbucket.org/yt_analysis/yt/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list