diff --git a/ompi/mca/pml/ob1/pml_ob1.c b/ompi/mca/pml/ob1/pml_ob1.c index cc633e3a57..f38369bb83 100644 --- a/ompi/mca/pml/ob1/pml_ob1.c +++ b/ompi/mca/pml/ob1/pml_ob1.c @@ -3,7 +3,7 @@ * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. - * Copyright (c) 2004-2018 The University of Tennessee and The University + * Copyright (c) 2004-2020 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, @@ -817,6 +817,14 @@ void mca_pml_ob1_error_handler( return; } #endif /* OPAL_CUDA_SUPPORT */ + /* Some BTL report unreachable errors during normal MPI_Finalize + * termination. Lets simply ignore such errors after MPI is not supposed to + * be operational anyway. + */ + if(ompi_mpi_state >= OMPI_MPI_STATE_FINALIZE_PAST_COMM_SELF_DESTRUCT) { + return; + } + ompi_rte_abort(-1, btlinfo); }