File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,9 @@ recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq)
179
179
180
180
if (true == recvreq -> req_recv .req_base .req_free_called ) {
181
181
if ( MPI_SUCCESS != recvreq -> req_recv .req_base .req_ompi .req_status .MPI_ERROR ) {
182
- OMPI_ERRHANDLER_NOHANDLE_INVOKE (MPI_ERR_REQUEST , "Recv error after request freed." );
182
+ /* An error after freeing the request MUST be fatal
183
+ * MPI3 ch3.7: MPI_REQUEST_FREE */
184
+ ompi_mpi_errors_are_fatal_comm_handler (NULL , MPI_ERR_REQUEST , "Recv error after request freed" );
183
185
}
184
186
MCA_PML_OB1_RECV_REQUEST_RETURN (recvreq );
185
187
} else {
Original file line number Diff line number Diff line change @@ -276,7 +276,9 @@ send_request_pml_complete(mca_pml_ob1_send_request_t *sendreq)
276
276
MCA_PML_OB1_SEND_REQUEST_MPI_COMPLETE (sendreq , true);
277
277
} else {
278
278
if ( MPI_SUCCESS != sendreq -> req_send .req_base .req_ompi .req_status .MPI_ERROR ) {
279
- OMPI_ERRHANDLER_NOHANDLE_INVOKE (MPI_ERR_REQUEST , "Send error after request freed" );
279
+ /* An error after freeing the request MUST be fatal
280
+ * MPI3 ch3.7: MPI_REQUEST_FREE */
281
+ ompi_mpi_errors_are_fatal_comm_handler (NULL , MPI_ERR_REQUEST , "Send error after request freed" );
280
282
}
281
283
}
282
284
} else {
You can’t perform that action at this time.
0 commit comments