Skip to content
This repository was archived by the owner on Sep 30, 2022. It is now read-only.

Commit 54d779c

Browse files
committed
Merge pull request #520 from yosefe/topic/yalla-fix-on-demand-map
yalla: fix passing on-demand mapping config to mxm.
2 parents 5949375 + 8b7e6d9 commit 54d779c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/pml/yalla/pml_yalla.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ int mca_pml_yalla_open(void)
109109
opal_mem_hooks_support_level()))
110110
{
111111
PML_YALLA_VERBOSE(1, "enabling on-demand memory mapping");
112-
opal_setenv("MXM_PML_MEM_ON_DEMAND_MAP", "y", false, &environ);
112+
opal_setenv("MXM_MPI_MEM_ON_DEMAND_MAP", "y", false, &environ);
113113
ompi_pml_yalla.using_mem_hooks = 1;
114114
} else {
115115
PML_YALLA_VERBOSE(1, "disabling on-demand memory mapping");
116116
ompi_pml_yalla.using_mem_hooks = 0;
117117
}
118-
opal_setenv("MXM_PML_SINGLE_THREAD", ompi_mpi_thread_multiple ? "n" : "y",
118+
opal_setenv("MXM_MPI_SINGLE_THREAD", ompi_mpi_thread_multiple ? "n" : "y",
119119
false, &environ);
120120

121121
/* Read options */

0 commit comments

Comments
 (0)