From bcf5ac3971cd6ca06a09e5ac8b57bc42758a56a5 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 24 Aug 2016 07:51:32 -0700 Subject: [PATCH] Set the default value of both barrier counters to zero, thus ensuring the coll/sync component is off by default --- ompi/mca/coll/sync/coll_sync_component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ompi/mca/coll/sync/coll_sync_component.c b/ompi/mca/coll/sync/coll_sync_component.c index 608c5386ad..46243f0c91 100644 --- a/ompi/mca/coll/sync/coll_sync_component.c +++ b/ompi/mca/coll/sync/coll_sync_component.c @@ -76,7 +76,7 @@ static int sync_register(void) { mca_base_component_t *c = &mca_coll_sync_component.super.collm_version; - mca_coll_sync_component.priority = 30; + mca_coll_sync_component.priority = 50; (void) mca_base_component_var_register(c, "priority", "Priority of the sync coll component; only relevant if barrier_before or barrier_after is > 0", MCA_BASE_VAR_TYPE_INT, NULL, 0, 0, @@ -84,7 +84,7 @@ static int sync_register(void) MCA_BASE_VAR_SCOPE_READONLY, &mca_coll_sync_component.priority); - mca_coll_sync_component.barrier_before_nops = 1000; + mca_coll_sync_component.barrier_before_nops = 0; (void) mca_base_component_var_register(c, "barrier_before", "Do a synchronization before each Nth collective", MCA_BASE_VAR_TYPE_INT, NULL, 0, 0,