[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2b1-63-g36a581a

Service Account noreply at mpich.org
Sat Apr 11 13:57:55 CDT 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".

The branch, master has been updated
       via  36a581a06316b6985bebc7bd1ee57ca47f5775a6 (commit)
      from  daf29e33662359f73dcd903bda42633752b96dda (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/36a581a06316b6985bebc7bd1ee57ca47f5775a6

commit 36a581a06316b6985bebc7bd1ee57ca47f5775a6
Author: Pavan Balaji <balaji at anl.gov>
Date:   Sat Apr 11 09:27:30 2015 -0500

    Free communicators when not using them.
    
    When we skip non-comm-world communicators, we need to make sure to
    skip them.
    
    No reviewer.

diff --git a/test/mpi/coll/bcast.c b/test/mpi/coll/bcast.c
index 993bdfb..f465d01 100644
--- a/test/mpi/coll/bcast.c
+++ b/test/mpi/coll/bcast.c
@@ -31,8 +31,10 @@ int main(int argc, char *argv[])
             continue;
 
 #if defined BCAST_COMM_WORLD_ONLY
-        if (comm != MPI_COMM_WORLD)
+        if (comm != MPI_COMM_WORLD) {
+            MTestFreeComm(&comm);
             continue;
+        }
 #endif /* BCAST_COMM_WORLD_ONLY */
 
         /* Determine the sender and receiver */

-----------------------------------------------------------------------

Summary of changes:
 test/mpi/coll/bcast.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list