Commit 31628e6d authored by Kenneth Raffenetti's avatar Kenneth Raffenetti
Browse files

correct tag usage in MPIC_Sendrecv



The tag for send was ignored and recvtag incorrectly used in its place.
Signed-off-by: default avatarWesley Bland <wbland@anl.gov>
parent afb720d0
......@@ -461,7 +461,7 @@ int MPIC_Sendrecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype,
mpi_errno = MPID_Irecv(recvbuf, recvcount, recvtype, source, recvtag,
comm_ptr, context_id, &recv_req_ptr);
if (mpi_errno) MPIU_ERR_POP(mpi_errno);
mpi_errno = MPID_Isend(sendbuf, sendcount, sendtype, dest, recvtag,
mpi_errno = MPID_Isend(sendbuf, sendcount, sendtype, dest, sendtag,
comm_ptr, context_id, &send_req_ptr);
if (mpi_errno) MPIU_ERR_POP(mpi_errno);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment