Skip to content

Commit fc5a201

Browse files
committed
Merge pull request #1434 from jladd-mlnx/topic/mxm_add_procs_fix
Fixing MXM Yalla and MTL add procs behavior. MXM cannot support dynam…
2 parents 8ffde8d + 4dffae2 commit fc5a201

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

ompi/mca/mtl/mxm/mtl_mxm.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,9 @@ int ompi_mtl_mxm_module_init(void)
389389

390390
/* Register the MXM progress function */
391391
opal_progress_register(ompi_mtl_mxm_progress);
392+
393+
ompi_mtl_mxm.super.mtl_flags |= MCA_MTL_BASE_FLAG_REQUIRE_WORLD;
394+
392395

393396
#if MXM_API >= MXM_VERSION(2,0)
394397
if (ompi_mtl_mxm.using_mem_hooks) {

ompi/mca/pml/yalla/pml_yalla.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,8 @@ int mca_pml_yalla_init(void)
184184
OBJ_CONSTRUCT(&ompi_pml_yalla.convs, mca_pml_yalla_freelist_t);
185185

186186
opal_progress_register(mca_pml_yalla_progress);
187+
188+
ompi_pml_yalla.super.pml_flags |= MCA_PML_BASE_FLAG_REQUIRE_WORLD;
187189

188190
PML_YALLA_VERBOSE(2, "created mxm context %p ep %p", (void *)ompi_pml_yalla.mxm_context,
189191
(void *)ompi_pml_yalla.mxm_ep);

0 commit comments

Comments
 (0)