]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/colls/allgather-ompi-neighborexchange.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'smpi_cpp'
[simgrid.git] / src / smpi / colls / allgather-ompi-neighborexchange.cpp
index 9a3ccd9ed026bc444111b9e4c8f4f55f4ccf9fb2..9227d51dff0ac86d245ac0ed1140730fe96204b7 100644 (file)
@@ -79,8 +79,8 @@ smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount,
    ptrdiff_t slb, rlb, sext, rext;
    char *tmpsend = NULL, *tmprecv = NULL;
 
-   size = smpi_comm_size(comm);
-   rank = smpi_comm_rank(comm);
+   size = comm->size();
+   rank = comm->rank();
 
    if (size % 2) {
       XBT_DEBUG(