Skip to content

Commit f0a412a

Browse files
committed
ompi/oshmem: ucx is selected over yalla/ikrit by default
Signed-off-by: Alex Mikheev <[email protected]> (cherry picked from commit ae32654)
1 parent 41eee44 commit f0a412a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

ompi/mca/pml/base/pml_base_frame.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ static int mca_pml_base_open(mca_base_open_flag_t flags)
213213
0 == strlen(default_pml[0])) || (default_pml[0][0] == '^') ) {
214214
opal_pointer_array_add(&mca_pml_base_pml, strdup("ob1"));
215215
opal_pointer_array_add(&mca_pml_base_pml, strdup("yalla"));
216+
opal_pointer_array_add(&mca_pml_base_pml, strdup("ucx"));
216217
opal_pointer_array_add(&mca_pml_base_pml, strdup("cm"));
217218
} else {
218219
opal_pointer_array_add(&mca_pml_base_pml, strdup(default_pml[0]));

ompi/mca/pml/ucx/pml_ucx_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ static int mca_pml_ucx_component_register(void)
5555
MCA_BASE_VAR_SCOPE_LOCAL,
5656
&ompi_pml_ucx.verbose);
5757

58-
ompi_pml_ucx.priority = 5;
58+
ompi_pml_ucx.priority = 51;
5959
(void) mca_base_component_var_register(&mca_pml_ucx_component.pmlm_version, "priority",
6060
"Priority of the UCX component",
6161
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,

oshmem/mca/spml/ucx/spml_ucx_component.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ static inline void mca_spml_ucx_param_register_string(const char* param_name,
9393

9494
static int mca_spml_ucx_component_register(void)
9595
{
96-
mca_spml_ucx_param_register_int("priority", 5,
96+
mca_spml_ucx_param_register_int("priority", 21,
9797
"[integer] ucx priority",
9898
&mca_spml_ucx.priority);
9999

0 commit comments

Comments
 (0)