Skip to content

Commit 75befb8

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 44e0436 commit 75befb8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/mca/coll/hcoll/coll_hcoll_component.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Copyright (c) 2011 Mellanox Technologies. All rights reserved.
44
* Copyright (c) 2015 Los Alamos National Security, LLC. All rights
55
* reserved.
6+
* Copyright (c) 2024 NVIDIA CORPORATION. All rights reserved.
67
* $COPYRIGHT$
78
*
89
* Additional copyrights may follow
@@ -107,8 +108,8 @@ static int reg_int(const char* param_name,
107108
index = mca_base_component_var_register(
108109
&mca_coll_hcoll_component.super.collm_version,
109110
param_name, param_desc, MCA_BASE_VAR_TYPE_INT,
110-
NULL, 0, 0,OPAL_INFO_LVL_9,
111-
MCA_BASE_VAR_SCOPE_READONLY, storage);
111+
NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE,OPAL_INFO_LVL_9,
112+
MCA_BASE_VAR_SCOPE_ALL, storage);
112113
if (NULL != deprecated_param_name) {
113114
(void) mca_base_var_register_synonym(index,
114115
"ompi", "coll", "hcoll", deprecated_param_name,

0 commit comments

Comments
 (0)