Skip to content

Commit ac8e4b1

Browse files
author
Burlen Loring
committed
fix MCA variable scope in coll basic
Changes several variables scope from READONLY to ALL so that they can be set via MPI_T interface Signed-off-by: Burlen Loring <[email protected]>
1 parent 1816db1 commit ac8e4b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ompi/mca/coll/basic/coll_basic_component.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,16 @@ basic_register(void)
9191
mca_coll_basic_priority = 10;
9292
(void) mca_base_component_var_register(&mca_coll_basic_component.collm_version, "priority",
9393
"Priority of the basic coll component",
94-
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
94+
MCA_BASE_VAR_TYPE_INT, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
9595
OPAL_INFO_LVL_9,
96-
MCA_BASE_VAR_SCOPE_READONLY,
96+
MCA_BASE_VAR_SCOPE_ALL,
9797
&mca_coll_basic_priority);
9898
mca_coll_basic_crossover = 4;
9999
(void) mca_base_component_var_register(&mca_coll_basic_component.collm_version, "crossover",
100100
"Minimum number of processes in a communicator before using the logarithmic algorithms",
101-
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
101+
MCA_BASE_VAR_TYPE_INT, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,
102102
OPAL_INFO_LVL_9,
103-
MCA_BASE_VAR_SCOPE_READONLY,
103+
MCA_BASE_VAR_SCOPE_ALL,
104104
&mca_coll_basic_crossover);
105105

106106
return OMPI_SUCCESS;

0 commit comments

Comments
 (0)