File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ BEGIN_C_DECLS
43
43
44
44
#define SPML_UCX_ASSERT MCA_COMMON_UCX_ASSERT
45
45
#define SPML_UCX_ERROR MCA_COMMON_UCX_ERROR
46
+ #define SPML_UCX_WARN MCA_COMMON_UCX_WARN
46
47
#define SPML_UCX_VERBOSE MCA_COMMON_UCX_VERBOSE
47
48
#define SPML_UCX_TRANSP_IDX 0
48
49
#define SPML_UCX_TRANSP_CNT 1
Original file line number Diff line number Diff line change @@ -458,7 +458,8 @@ static void mca_spml_ucx_ctx_fini(mca_spml_ucx_ctx_t *ctx)
458
458
459
459
static int mca_spml_ucx_component_fini (void )
460
460
{
461
- int fenced = 0 , i ;
461
+ volatile int fenced = 0 ;
462
+ int i ;
462
463
int ret = OSHMEM_SUCCESS ;
463
464
mca_spml_ucx_ctx_t * ctx ;
464
465
@@ -491,8 +492,10 @@ static int mca_spml_ucx_component_fini(void)
491
492
492
493
493
494
ret = opal_common_ucx_mca_pmix_fence_nb (& fenced );
494
- if (OPAL_SUCCESS != ret ) {
495
- return ret ;
495
+ if (ret != PMIX_SUCCESS ) {
496
+ SPML_UCX_WARN ("pmix fence failed: %s" , PMIx_Error_string (ret ));
497
+ /* In case of pmix fence failure just continue cleanup */
498
+ fenced = 1 ;
496
499
}
497
500
498
501
while (!fenced ) {
You can’t perform that action at this time.
0 commit comments