[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1b1-89-g0706e96

mysql vizuser noreply at mpich.org
Fri Oct 11 18:15:29 CDT 2013


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  0706e96cd741201560bc509615ba03b9b7b99a9d (commit)
       via  d18633acfccc0b61052e11e7777e4a57debb70aa (commit)
      from  a1b3657ef7310c0b54eb8cd9ea4eec610cc6d631 (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/0706e96cd741201560bc509615ba03b9b7b99a9d

commit 0706e96cd741201560bc509615ba03b9b7b99a9d
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Wed Oct 9 17:03:47 2013 -0500

    Warning squash.
    
    Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>

diff --git a/test/mpi/datatype/get-elements-pairtype.c b/test/mpi/datatype/get-elements-pairtype.c
index 56afdba..d813b2a 100644
--- a/test/mpi/datatype/get-elements-pairtype.c
+++ b/test/mpi/datatype/get-elements-pairtype.c
@@ -69,8 +69,8 @@ int double_int_test(void)
     MPI_Type_create_struct(3, blks, disps, types, &stype);
     MPI_Type_commit(&stype);
 
-    err = MPI_Sendrecv(&foo, 1, stype, 0, 0,
-		       &bar, 2, MPI_DOUBLE_INT, 0, 0,
+    err = MPI_Sendrecv((const void *) &foo, 1, stype, 0, 0,
+		       (void *) &bar, 2, MPI_DOUBLE_INT, 0, 0,
 		       MPI_COMM_SELF, &recvstatus);
     if (err != MPI_SUCCESS) {
 	errs++;

http://git.mpich.org/mpich.git/commitdiff/d18633acfccc0b61052e11e7777e4a57debb70aa

commit d18633acfccc0b61052e11e7777e4a57debb70aa
Author: Pavan Balaji <balaji at mcs.anl.gov>
Date:   Wed Oct 9 12:33:22 2013 -0500

    clang compilation fixes.
    
    clang seems to be unhappy when we use "0" instead of "NULL" for buffer
    addresses.
    
    Signed-off-by: Ken Raffenetti <raffenet at mcs.anl.gov>

diff --git a/test/mpi/comm/cmfree.c b/test/mpi/comm/cmfree.c
index df37772..771a12a 100644
--- a/test/mpi/comm/cmfree.c
+++ b/test/mpi/comm/cmfree.c
@@ -64,8 +64,8 @@ int main( int argc, char *argv[] )
 	    MPI_Comm_split( MPI_COMM_WORLD, 0, size - rank, &tmpComm[i] );
 	}
 
-	MPI_Sendrecv( 0, 0, MPI_INT, source, 1, 
-		      0, 0, MPI_INT, source, 1, MPI_COMM_WORLD, &status );
+	MPI_Sendrecv( NULL, 0, MPI_INT, source, 1,
+		      NULL, 0, MPI_INT, source, 1, MPI_COMM_WORLD, &status );
 
 	MPI_Wait( &req, &status );
 	for (i=0; i<NELM; i++) {
@@ -89,8 +89,8 @@ int main( int argc, char *argv[] )
 	    MPI_Comm_split( MPI_COMM_WORLD, 0, size - rank, &tmpComm[i] );
 	}
 	/* Synchronize with the receiver */
-	MPI_Sendrecv( 0, 0, MPI_INT, dest, 1, 
-		      0, 0, MPI_INT, dest, 1, MPI_COMM_WORLD, &status );
+	MPI_Sendrecv( NULL, 0, MPI_INT, dest, 1,
+		      NULL, 0, MPI_INT, dest, 1, MPI_COMM_WORLD, &status );
 	MPI_Send( buf, NELM, MPI_INT, dest, 0, comm );
 	free( buf );
     }
diff --git a/test/mpi/datatype/tfree.c b/test/mpi/datatype/tfree.c
index d38fb7f..301eca8 100644
--- a/test/mpi/datatype/tfree.c
+++ b/test/mpi/datatype/tfree.c
@@ -65,8 +65,8 @@ int main( int argc, char *argv[] )
 	    MPI_Type_commit( &tmpType[i] );
 	}
 
-	MPI_Sendrecv( 0, 0, MPI_INT, source, 1, 
-		      0, 0, MPI_INT, source, 1, comm, &status );
+	MPI_Sendrecv( NULL, 0, MPI_INT, source, 1,
+		      NULL, 0, MPI_INT, source, 1, comm, &status );
 
 	MPI_Wait( &req, &status );
 	for (i=0; i<VEC_NELM; i++) {
@@ -87,8 +87,8 @@ int main( int argc, char *argv[] )
 	buf = (int *)malloc( VEC_NELM * sizeof(int) );
 	for (i=0; i<VEC_NELM; i++) buf[i] = i;
 	/* Synchronize with the receiver */
-	MPI_Sendrecv( 0, 0, MPI_INT, dest, 1, 
-		      0, 0, MPI_INT, dest, 1, comm, &status );
+	MPI_Sendrecv( NULL, 0, MPI_INT, dest, 1,
+		      NULL, 0, MPI_INT, dest, 1, comm, &status );
 	MPI_Send( buf, VEC_NELM, MPI_INT, dest, 0, comm );
 	free( buf );
     }
diff --git a/test/mpi/pt2pt/bsendpending.c b/test/mpi/pt2pt/bsendpending.c
index cc7cc5a..ab5a5d2 100644
--- a/test/mpi/pt2pt/bsendpending.c
+++ b/test/mpi/pt2pt/bsendpending.c
@@ -70,8 +70,8 @@ int main( int argc, char *argv[] )
 	    MPI_Bsend( msg3, msgsize, MPI_CHAR, dest, 0, comm );
 
 	    /* Synchronize with our partner */
-	    MPI_Sendrecv( 0, 0, MPI_CHAR, dest, 10, 
-			  0, 0, MPI_CHAR, dest, 10, comm, MPI_STATUS_IGNORE );
+	    MPI_Sendrecv( NULL, 0, MPI_CHAR, dest, 10,
+			  NULL, 0, MPI_CHAR, dest, 10, comm, MPI_STATUS_IGNORE );
 
 	    /* Detach the buffers.  There should be pending operations */
 	    MPI_Buffer_detach ( &bufp, &outsize );
@@ -95,8 +95,8 @@ int main( int argc, char *argv[] )
 	    }
 
 	    /* Wait for the synchronize */
-	    MPI_Sendrecv( 0, 0, MPI_CHAR, source, 10, 
-			  0, 0, MPI_CHAR, source, 10, comm, MPI_STATUS_IGNORE );
+	    MPI_Sendrecv( NULL, 0, MPI_CHAR, source, 10,
+			  NULL, 0, MPI_CHAR, source, 10, comm, MPI_STATUS_IGNORE );
 
 	    /* Wait 2 seconds */
 	    tstart = MPI_Wtime();
diff --git a/test/mpi/pt2pt/isendself.c b/test/mpi/pt2pt/isendself.c
index 2815959..2e6527a 100644
--- a/test/mpi/pt2pt/isendself.c
+++ b/test/mpi/pt2pt/isendself.c
@@ -38,8 +38,8 @@ int main( int argc, char *argv[] )
     /* printf( "b[0] = %d\n", b[0] );*/
     MPI_Wait( &request, &status );
 
-    MPI_Isend( 0, 0, MPI_INT, rank, 0, MPI_COMM_WORLD, &request );
-    MPI_Recv( 0, 0, MPI_INT, MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD,
+    MPI_Isend( NULL, 0, MPI_INT, rank, 0, MPI_COMM_WORLD, &request );
+    MPI_Recv( NULL, 0, MPI_INT, MPI_ANY_SOURCE, MPI_ANY_TAG, MPI_COMM_WORLD,
 	      &status );
     MPI_Get_count( &status, MPI_INT, &count );
     if (status.MPI_SOURCE != rank ||

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

Summary of changes:
 test/mpi/comm/cmfree.c                    |    8 ++++----
 test/mpi/datatype/get-elements-pairtype.c |    4 ++--
 test/mpi/datatype/tfree.c                 |    8 ++++----
 test/mpi/pt2pt/bsendpending.c             |    8 ++++----
 test/mpi/pt2pt/isendself.c                |    4 ++--
 5 files changed, 16 insertions(+), 16 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list