Commit 44f70528 authored by Norio Yamaguchi's avatar Norio Yamaguchi Committed by Pavan Balaji
Browse files

Fix update request status after receiving data

The values of request status are used when using collective
communication. So update them after receiving data.
parent de26b712
......@@ -712,6 +712,10 @@ int llctofu_poll(int in_blocking_poll,
MPIU_Free(REQ_FIELD(req, pack_buf));
req->status.MPI_TAG = req->;
req->status.MPI_SOURCE = req->;
MPIR_STATUS_SET_COUNT(req->status, events[0].side.initiator.length);
/* Dequeue request from posted queue.
It's posted in MPID_Irecv --> MPIDI_CH3U_Recvq_FDU_or_AEP */
int found = MPIDI_CH3U_Recvq_DP(req);
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