Skip to content

Commit 6edb7e8

Browse files
author
Burlen Loring
committed
fix MCA variable scope in coll hcoll
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 ac8e4b1 commit 6edb7e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/coll/hcoll/coll_hcoll_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ static int reg_int(const char* param_name,
107107
index = mca_base_component_var_register(
108108
&mca_coll_hcoll_component.super.collm_version,
109109
param_name, param_desc, MCA_BASE_VAR_TYPE_INT,
110-
NULL, 0, 0,OPAL_INFO_LVL_9,
111-
MCA_BASE_VAR_SCOPE_READONLY, storage);
110+
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,OPAL_INFO_LVL_9,
111+
MCA_BASE_VAR_SCOPE_ALL, storage);
112112
if (NULL != deprecated_param_name) {
113113
(void) mca_base_var_register_synonym(index,
114114
"ompi", "coll", "hcoll", deprecated_param_name,

0 commit comments

Comments
 (0)