[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Apr 23 05:03:13 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/064956b5fe36/
Changeset:   064956b5fe36
Branch:      yt-3.0
User:        jmoloney
Date:        2014-04-21 23:06:05
Summary:     Release communicators once they're garbage collected.
Affected #:  1 file

diff -r 634d6721073e99c77f213003c35f924e32041226 -r 064956b5fe36c625d2d9fc736db0d86c02fe0f5f 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
@@ -636,6 +636,9 @@
     def __init__(self, comm=None):
         self.comm = comm
         self._distributed = comm is not None and self.comm.size > 1
+
+    def __del__(self):
+        self.comm.Free()
     """
     This is an interface specification providing several useful utility
     functions for analyzing something in parallel.


https://bitbucket.org/yt_analysis/yt/commits/1fb43c387d93/
Changeset:   1fb43c387d93
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-04-23 14:03:05
Summary:     Merged in jmoloney/yt/yt-3.0 (pull request #846)

Release communicators once they're garbage collected.
Affected #:  1 file

diff -r e194bdae23c0d3ba246f4ea81d915cf8383e7fe3 -r 1fb43c387d932803cba2505a859eafe1a063e2c8 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
@@ -636,6 +636,9 @@
     def __init__(self, comm=None):
         self.comm = comm
         self._distributed = comm is not None and self.comm.size > 1
+
+    def __del__(self):
+        self.comm.Free()
     """
     This is an interface specification providing several useful utility
     functions for analyzing something in parallel.

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