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);
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,