From 5673db3d8b7b4398dcd7c087772ac1758219c1cb Mon Sep 17 00:00:00 2001 From: degomme Date: Wed, 7 Mar 2018 16:36:06 +0100 Subject: [PATCH 1/1] ... --- src/smpi/mpi/smpi_request.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1