From 7a5811d0a810fbc6c3586e557bfec951f6fd3691 Mon Sep 17 00:00:00 2001 From: Sergey Oblomov Date: Mon, 29 Jan 2018 18:26:20 +0200 Subject: [PATCH] request/state: update state for canceled request - fixed issue in set state for canceled request Signed-off-by: Sergey Oblomov --- ompi/mca/pml/ucx/pml_ucx_request.h | 1 + 1 file changed, 1 insertion(+) diff --git a/ompi/mca/pml/ucx/pml_ucx_request.h b/ompi/mca/pml/ucx/pml_ucx_request.h index 482e1a539a..18cdc0077c 100644 --- a/ompi/mca/pml/ucx/pml_ucx_request.h +++ b/ompi/mca/pml/ucx/pml_ucx_request.h @@ -180,6 +180,7 @@ static inline void mca_pml_ucx_set_recv_status(ompi_status_public_t* mpi_status, } else if (ucp_status == UCS_ERR_MESSAGE_TRUNCATED) { mpi_status->MPI_ERROR = MPI_ERR_TRUNCATE; } else if (ucp_status == UCS_ERR_CANCELED) { + mpi_status->MPI_ERROR = MPI_SUCCESS; mpi_status->_cancelled = true; } else { mpi_status->MPI_ERROR = MPI_ERR_INTERN;