File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 1818int mca_coll_hcoll_barrier (struct ompi_communicator_t * comm ,
1919 mca_coll_base_module_t * module ){
2020 int rc ;
21- HCOL_VERBOSE (20 ,"RUNNING HCOL BARRIER" );
2221 mca_coll_hcoll_module_t * hcoll_module = (mca_coll_hcoll_module_t * )module ;
22+ HCOL_VERBOSE (20 ,"RUNNING HCOL BARRIER" );
23+
24+ if (OPAL_UNLIKELY (ompi_mpi_finalize_started )) {
25+ HCOL_VERBOSE (5 , "In finalize, reverting to previous barrier" );
26+ goto orig_barrier ;
27+ }
2328 rc = hcoll_collectives .coll_barrier (hcoll_module -> hcoll_context );
2429 if (HCOLL_SUCCESS != rc ){
2530 HCOL_VERBOSE (20 ,"RUNNING FALLBACK BARRIER" );
2631 rc = hcoll_module -> previous_barrier (comm ,hcoll_module -> previous_barrier_module );
2732 }
2833 return rc ;
34+ orig_barrier :
35+ return hcoll_module -> previous_barrier (comm ,hcoll_module -> previous_barrier_module );
2936}
3037
3138int mca_coll_hcoll_bcast (void * buff , int count ,
You can’t perform that action at this time.
0 commit comments