X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d53d00d608a60a6f05e77ea7b7cd5c4e544d7ab1..8e43c615b2475d0174be55f95f930ca30988279e:/src/smpi/colls/allgatherv-GB.cpp?ds=sidebyside diff --git a/src/smpi/colls/allgatherv-GB.cpp b/src/smpi/colls/allgatherv-GB.cpp index 1dd6103c6b..7941bcacf4 100644 --- a/src/smpi/colls/allgatherv-GB.cpp +++ b/src/smpi/colls/allgatherv-GB.cpp @@ -15,7 +15,7 @@ int smpi_coll_tuned_allgatherv_GB(void *send_buff, int send_count, smpi_mpi_gatherv(send_buff, send_count, send_type, recv_buff, recv_counts, recv_disps, recv_type, 0, comm); int num_procs, i, current, max = 0; - num_procs = smpi_comm_size(comm); + num_procs = comm->size(); for (i = 0; i < num_procs; i++) { current = recv_disps[i] + recv_counts[i]; if (current > max)