From: degomme Date: Wed, 7 Mar 2018 15:36:06 +0000 (+0100) Subject: ... X-Git-Tag: v3.19~135 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/5673db3d8b7b4398dcd7c087772ac1758219c1cb?hp=d33b57c6b1125ecac63144e45e7c90ef46669155 ... --- diff --git a/src/smpi/mpi/smpi_request.cpp b/src/smpi/mpi/smpi_request.cpp index c408fab9e8..aba390cb08 100644 --- a/src/smpi/mpi/smpi_request.cpp +++ b/src/smpi/mpi/smpi_request.cpp @@ -310,7 +310,7 @@ void Request::sendrecv(void *sendbuf, int sendcount, MPI_Datatype sendtype,int d if ((comm->group()->actor(dst)->getPid() == myid) && (comm->group()->actor(src)->getPid() == myid)){ Datatype::copy(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype); if(status !=MPI_STATUS_IGNORE){ - status->MPI_SOURCE = comm->group()->rank(src); + status->MPI_SOURCE = src; status->MPI_TAG = recvtag; status->MPI_ERROR = MPI_SUCCESS; status->count = sendcount*sendtype->size();