Commit 15262441 authored by Wesley Bland's avatar Wesley Bland Committed by Huiwei Lu
Browse files

Correctly return errcode for NBC

The error code set in the status was being ignored for NBC and one-sided
requests (which wasn't right anyway so it didn't matter). This grabs the
error code from the status now.
Signed-off-by: default avatarHuiwei Lu <>
parent 18b18311
......@@ -218,6 +218,7 @@ int MPIR_Request_complete(MPI_Request * request, MPID_Request * request_ptr,
mpi_errno = request_ptr->status.MPI_ERROR;
MPIR_Request_extract_status(request_ptr, status);
if (NULL != request) *request = MPI_REQUEST_NULL;
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