Skip to content

Commit

Permalink
fix MCA variable scope in coll hcoll
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Burlen Loring committed Oct 31, 2024
1 parent ac8e4b1 commit 6edb7e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ompi/mca/coll/hcoll/coll_hcoll_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ static int reg_int(const char* param_name,
index = mca_base_component_var_register(
&mca_coll_hcoll_component.super.collm_version,
param_name, param_desc, MCA_BASE_VAR_TYPE_INT,
NULL, 0, 0,OPAL_INFO_LVL_9,
MCA_BASE_VAR_SCOPE_READONLY, storage);
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,OPAL_INFO_LVL_9,
MCA_BASE_VAR_SCOPE_ALL, storage);
if (NULL != deprecated_param_name) {
(void) mca_base_var_register_synonym(index,
"ompi", "coll", "hcoll", deprecated_param_name,
Expand Down

0 comments on commit 6edb7e8

Please sign in to comment.