Skip to content

Commit 395fcc4

Browse files
committed
Disable inband PML error reporting during MPI Finalize as it interferes with the Finalize process.
Signed-off-by: Aurelien Bouteiller <[email protected]>
1 parent 93846fd commit 395fcc4

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

ompi/mca/pml/ob1/pml_ob1.c

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana
44
* University Research and Technology
55
* Corporation. All rights reserved.
6-
* Copyright (c) 2004-2018 The University of Tennessee and The University
6+
* Copyright (c) 2004-2020 The University of Tennessee and The University
77
* of Tennessee Research Foundation. All rights
88
* reserved.
99
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
@@ -817,6 +817,14 @@ void mca_pml_ob1_error_handler(
817817
return;
818818
}
819819
#endif /* OPAL_CUDA_SUPPORT */
820+
/* Some BTL report unreachable errors during normal MPI_Finalize
821+
* termination. Lets simply ignore such errors after MPI is not supposed to
822+
* be operational anyway.
823+
*/
824+
if(ompi_mpi_state >= OMPI_MPI_STATE_FINALIZE_PAST_COMM_SELF_DESTRUCT) {
825+
return;
826+
}
827+
820828
ompi_rte_abort(-1, btlinfo);
821829
}
822830

0 commit comments

Comments
 (0)