Skip to content

Commit bcf5ac3

Browse files
author
Ralph Castain
committed
Set the default value of both barrier counters to zero, thus ensuring the coll/sync component is off by default
1 parent 2eec897 commit bcf5ac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/coll/sync/coll_sync_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ static int sync_register(void)
7676
{
7777
mca_base_component_t *c = &mca_coll_sync_component.super.collm_version;
7878

79-
mca_coll_sync_component.priority = 30;
79+
mca_coll_sync_component.priority = 50;
8080
(void) mca_base_component_var_register(c, "priority",
8181
"Priority of the sync coll component; only relevant if barrier_before or barrier_after is > 0",
8282
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,
8383
OPAL_INFO_LVL_9,
8484
MCA_BASE_VAR_SCOPE_READONLY,
8585
&mca_coll_sync_component.priority);
8686

87-
mca_coll_sync_component.barrier_before_nops = 1000;
87+
mca_coll_sync_component.barrier_before_nops = 0;
8888
(void) mca_base_component_var_register(c, "barrier_before",
8989
"Do a synchronization before each Nth collective",
9090
MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,

0 commit comments

Comments
 (0)