Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
welcome simgrid::smpi::Request
[simgrid.git] / src / smpi / colls / allgatherv-ompi-bruck.cpp
index d87dbab..64abe50 100644 (file)
@@ -91,8 +91,8 @@ int smpi_coll_tuned_allgatherv_ompi_bruck(void *sbuf, int scount,
    char *tmpsend = NULL, *tmprecv = NULL;
    MPI_Datatype new_rdtype = MPI_DATATYPE_NULL, new_sdtype = MPI_DATATYPE_NULL;
 
-   unsigned int size = smpi_comm_size(comm);
-   unsigned int rank = smpi_comm_rank(comm);
+   unsigned int size = comm->size();
+   unsigned int rank = comm->rank();
 
    XBT_DEBUG(
                 "coll:tuned:allgather_ompi_bruck rank %d", rank);
@@ -157,7 +157,7 @@ int smpi_coll_tuned_allgatherv_ompi_bruck(void *sbuf, int scount,
       smpi_datatype_commit(&new_rdtype);
 
       /* Sendreceive */
-      smpi_mpi_sendrecv(rbuf, 1, new_sdtype, sendto,
+      Request::sendrecv(rbuf, 1, new_sdtype, sendto,
                                      COLL_TAG_ALLGATHERV,
                                      rbuf, 1, new_rdtype, recvfrom,
                                      COLL_TAG_ALLGATHERV,