X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d53d00d608a60a6f05e77ea7b7cd5c4e544d7ab1..8e43c615b2475d0174be55f95f930ca30988279e:/src/smpi/colls/allgather-pair.cpp diff --git a/src/smpi/colls/allgather-pair.cpp b/src/smpi/colls/allgather-pair.cpp index 6111f2820c..1d1d2b0e52 100644 --- a/src/smpi/colls/allgather-pair.cpp +++ b/src/smpi/colls/allgather-pair.cpp @@ -79,8 +79,8 @@ smpi_coll_tuned_allgather_pair(void *send_buff, int send_count, char *send_ptr = (char *) send_buff; char *recv_ptr = (char *) recv_buff; - unsigned int rank = smpi_comm_rank(comm); - unsigned int num_procs = smpi_comm_size(comm); + unsigned int rank = comm->rank(); + unsigned int num_procs = comm->size(); if((num_procs&(num_procs-1))) THROWF(arg_error,0, "allgather pair algorithm can't be used with non power of two number of processes ! ");