Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please clang
authordegomme <augustin.degomme@unibas.ch>
Sun, 12 Feb 2017 01:04:41 +0000 (02:04 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Sun, 12 Feb 2017 01:08:28 +0000 (02:08 +0100)
src/smpi/colls/bcast-scatter-rdb-allgather.c
teshsuite/smpi/isp/umpire/any_src-wait-deadlock2.c
teshsuite/smpi/isp/umpire/no-error-test.c
teshsuite/smpi/mpich3-test/coll/bcastzerotype.c
teshsuite/smpi/mpich3-test/coll/testlist

index 32a1fdb..d4f8cab 100644 (file)
@@ -107,7 +107,7 @@ smpi_coll_tuned_bcast_scatter_rdb_allgather (
     int mpi_errno = MPI_SUCCESS;
     int scatter_size, curr_size, recv_size = 0;
     int j, k, i, tmp_mask, is_contig, is_homogeneous;
     int mpi_errno = MPI_SUCCESS;
     int scatter_size, curr_size, recv_size = 0;
     int j, k, i, tmp_mask, is_contig, is_homogeneous;
-    MPI_Aint type_size, nbytes = 0;
+    MPI_Aint type_size = 0, nbytes = 0;
     int relative_dst, dst_tree_root, my_tree_root, send_offset;
     int recv_offset, tree_root, nprocs_completed, offset;
     int position;
     int relative_dst, dst_tree_root, my_tree_root, send_offset;
     int recv_offset, tree_root, nprocs_completed, offset;
     int position;
index e3503a1..6112e12 100644 (file)
@@ -16,7 +16,6 @@ main (int argc, char **argv)
   int namelen = 128;
   int buf0[buf_size];
   int buf1[buf_size];
   int namelen = 128;
   int buf0[buf_size];
   int buf1[buf_size];
-  int i;
   MPI_Status status;
   MPI_Request req;
 
   MPI_Status status;
   MPI_Request req;
 
index 7a87685..05b03c8 100644 (file)
@@ -19,7 +19,6 @@ main (int argc, char **argv)
   int flag = 0;
   MPI_Status status;
   MPI_Request req;
   int flag = 0;
   MPI_Status status;
   MPI_Request req;
-       int i;
   /* init */
   MPI_Init (&argc, &argv);
   MPI_Comm_size (MPI_COMM_WORLD, &nprocs);
   /* init */
   MPI_Init (&argc, &argv);
   MPI_Comm_size (MPI_COMM_WORLD, &nprocs);
index d6716d4..d4a4956 100644 (file)
@@ -27,7 +27,7 @@ int main(int argc, char *argv[])
     /* a random non-zero sized buffer */
 #define NELEM (10)
     buf = malloc(NELEM * sizeof(int));
     /* a random non-zero sized buffer */
 #define NELEM (10)
     buf = malloc(NELEM * sizeof(int));
-    assert(buf);
+    assert(buf!=NULL);
 
     for (i = 0; i < NELEM; i++) {
         buf[i] = wrank * NELEM + i;
 
     for (i = 0; i < NELEM; i++) {
         buf[i] = wrank * NELEM + i;
index 6158b7a..a3ac761 100644 (file)
@@ -12,7 +12,7 @@ allred6 7
 reduce_mpich 5
 reduce_mpich 10
 reduce_local 2 mpiversion=2.2
 reduce_mpich 5
 reduce_mpich 10
 reduce_local 2 mpiversion=2.2
-op_commutative 2
+#op_commutative 2
 red3 10
 red4 10
 alltoall1 8
 red3 10
 red4 10
 alltoall1 8