Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
initialize variable
authorAugustin Degomme <degomme@idpann.imag.fr>
Fri, 12 Jul 2013 16:13:32 +0000 (18:13 +0200)
committerAugustin Degomme <degomme@idpann.imag.fr>
Fri, 12 Jul 2013 17:13:32 +0000 (19:13 +0200)
src/smpi/colls/reduce_scatter-mpich.c

index 5101c7e..8fb8342 100644 (file)
@@ -263,7 +263,7 @@ int smpi_coll_tuned_reduce_scatter_mpich_rdb(void *sendbuf, void *recvbuf, int r
     int mask, dst_tree_root, my_tree_root, j, k;
     int received;
     MPI_Datatype sendtype, recvtype;
-    int nprocs_completed, tmp_mask, tree_root, is_commutative;
+    int nprocs_completed, tmp_mask, tree_root, is_commutative=0;
     comm_size = smpi_comm_size(comm);
     rank = smpi_comm_rank(comm);