[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-3-g89ec5ec

Service Account noreply at mpich.org
Sat Feb 22 16:19:04 CST 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  89ec5ecf2c5d7694ced255188fa10133f9c6a496 (commit)
      from  d5b73dfd501b59baecb718dfbe7c09b632ed1e2a (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/89ec5ecf2c5d7694ced255188fa10133f9c6a496

commit 89ec5ecf2c5d7694ced255188fa10133f9c6a496
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Sat Feb 22 16:16:59 2014 -0600

    Replace comm_free with comm_disconnect.
    
    The original comm_free was incorrect as the parent process was
    disconnecting the connection to the child, but the child was not
    disconnecting it's end.
    
    Thanks to Charles Archer @ Intel for reporting the error and providing
    the patch.
    
    Signed-off-by: Pavan Balaji <balaji at mcs.anl.gov>

diff --git a/test/mpi/spawn/concurrent_spawns.c b/test/mpi/spawn/concurrent_spawns.c
index e44f53a..df82b13 100644
--- a/test/mpi/spawn/concurrent_spawns.c
+++ b/test/mpi/spawn/concurrent_spawns.c
@@ -119,7 +119,7 @@ int main(int argc, char *argv[])
     if (parentcomm != MPI_COMM_NULL)
     {
 	MPI_Send(&errs, 1, MPI_INT, 0, 0, parentcomm);
-	MPI_Comm_free( &parentcomm );
+	MPI_Comm_disconnect( &parentcomm );
     }
     else {
 	/* Note that the MTest_Finalize get errs only over COMM_WORLD */

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

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


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list