File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -829,7 +829,7 @@ void mca_pml_ob1_error_handler(
829
829
/* TODO: this error should return to the caller and invoke an error
830
830
* handler from the MPI API call.
831
831
* For now, it is fatal. */
832
- ompi_mpi_errors_are_fatal_comm_handler (NULL , -1 , btlinfo );
832
+ ompi_mpi_errors_are_fatal_comm_handler (NULL , NULL , btlinfo );
833
833
}
834
834
835
835
#if OPAL_ENABLE_FT_CR == 0
Original file line number Diff line number Diff line change @@ -181,7 +181,8 @@ recv_request_pml_complete(mca_pml_ob1_recv_request_t *recvreq)
181
181
if ( MPI_SUCCESS != recvreq -> req_recv .req_base .req_ompi .req_status .MPI_ERROR ) {
182
182
/* An error after freeing the request MUST be fatal
183
183
* MPI3 ch3.7: MPI_REQUEST_FREE */
184
- ompi_mpi_errors_are_fatal_comm_handler (NULL , MPI_ERR_REQUEST , "Recv error after request freed" );
184
+ int err = MPI_ERR_REQUEST ;
185
+ ompi_mpi_errors_are_fatal_comm_handler (NULL , & err , "Recv error after request freed" );
185
186
}
186
187
MCA_PML_OB1_RECV_REQUEST_RETURN (recvreq );
187
188
} else {
Original file line number Diff line number Diff line change @@ -278,7 +278,8 @@ send_request_pml_complete(mca_pml_ob1_send_request_t *sendreq)
278
278
if ( MPI_SUCCESS != sendreq -> req_send .req_base .req_ompi .req_status .MPI_ERROR ) {
279
279
/* An error after freeing the request MUST be fatal
280
280
* MPI3 ch3.7: MPI_REQUEST_FREE */
281
- ompi_mpi_errors_are_fatal_comm_handler (NULL , MPI_ERR_REQUEST , "Send error after request freed" );
281
+ int err = MPI_ERR_REQUEST ;
282
+ ompi_mpi_errors_are_fatal_comm_handler (NULL , & err , "Send error after request freed" );
282
283
}
283
284
}
284
285
} else {
You can’t perform that action at this time.
0 commit comments