[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1.2-97-g29323e5

Service Account noreply at mpich.org
Tue Aug 19 09:17:33 CDT 2014


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  29323e596753dbb455d8c242dd47a5bd8daefde9 (commit)
      from  c4ee1fbe686735d42a05cfe06e867da1e2d93536 (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/29323e596753dbb455d8c242dd47a5bd8daefde9

commit 29323e596753dbb455d8c242dd47a5bd8daefde9
Author: Xin Zhao <xinzhao3 at illinois.edu>
Date:   Wed Aug 13 11:09:28 2014 -0500

    Free SHM comm for platforms without SHM support
    
    In test/mpi/rma/win_shared_zerobyte.c, free SHM comm handle
    even for the platforms without SHM support. In such case,
    SHM comm created is comm_self.
    
    Signed-off-by: Min Si <msi at il.is.s.u-tokyo.ac.jp>
    Signed-off-by: Antonio J. Pena <apenya at mcs.anl.gov>

diff --git a/test/mpi/rma/win_shared_zerobyte.c b/test/mpi/rma/win_shared_zerobyte.c
index 4bec8e5..2b9eac1 100644
--- a/test/mpi/rma/win_shared_zerobyte.c
+++ b/test/mpi/rma/win_shared_zerobyte.c
@@ -96,7 +96,6 @@ int main(int argc, char **argv)
 
     MPI_Win_unlock_all(shm_win);
     MPI_Win_free(&shm_win);
-    MPI_Comm_free(&shm_comm);
 
     MPI_Reduce(&errors, &all_errors, 1, MPI_INT, MPI_SUM, 0, MPI_COMM_WORLD);
 
@@ -105,6 +104,8 @@ int main(int argc, char **argv)
     if (rank == 0 && all_errors == 0)
         printf(" No Errors\n");
 
+    MPI_Comm_free(&shm_comm);
+
     MPI_Finalize();
 
     if (bases)

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

Summary of changes:
 test/mpi/rma/win_shared_zerobyte.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list