diff --git a/ompi/mca/coll/fca/coll_fca_ops.c b/ompi/mca/coll/fca/coll_fca_ops.c index 093bd46988..7d2711f15a 100644 --- a/ompi/mca/coll/fca/coll_fca_ops.c +++ b/ompi/mca/coll/fca/coll_fca_ops.c @@ -153,6 +153,10 @@ int mca_coll_fca_barrier(struct ompi_communicator_t *comm, int ret; FCA_VERBOSE(5,"Using FCA Barrier"); + if (OPAL_UNLIKELY(ompi_mpi_finalize_started)) { + FCA_VERBOSE(5, "In finalize, reverting to previous barrier"); + goto orig_barrier; + } ret = fca_do_barrier(fca_module->fca_comm); if (ret < 0) { if (ret == -EUSEMPI) {