X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a6b23c846948f7f89277f75e7c42f3942b31b8d3..56bcf2dd190eb7d40a0d2e542d2c8f51f7ebd350:/src/smpi/colls/allgatherv-mpich-rdb.c diff --git a/src/smpi/colls/allgatherv-mpich-rdb.c b/src/smpi/colls/allgatherv-mpich-rdb.c index 58195e814d..a3614e5f69 100644 --- a/src/smpi/colls/allgatherv-mpich-rdb.c +++ b/src/smpi/colls/allgatherv-mpich-rdb.c @@ -17,23 +17,24 @@ int smpi_coll_tuned_allgatherv_mpich_rdb ( MPI_Datatype recvtype, MPI_Comm comm) { - int comm_size, rank, j, i; + int j, i; MPI_Status status; MPI_Aint recvtype_extent, recvtype_true_extent, recvtype_true_lb; int curr_cnt, dst, total_count; - void *tmp_buf; - int mask, dst_tree_root, my_tree_root, position, + void *tmp_buf, *tmp_buf_rl; + unsigned int mask, dst_tree_root, my_tree_root, position, send_offset, recv_offset, last_recv_cnt=0, nprocs_completed, k, offset, tmp_mask, tree_root; - comm_size = smpi_comm_size(comm); - rank = smpi_comm_rank(comm); + unsigned int comm_size = smpi_comm_size(comm); + unsigned int rank = smpi_comm_rank(comm); total_count = 0; for (i=0; i