@@ -26,6 +26,7 @@ const char *mca_coll_acoll_component_version_string
2626 */
2727int mca_coll_acoll_priority = 0 ;
2828int mca_coll_acoll_max_comms = 10 ;
29+ int mca_coll_acoll_comm_size_thresh = 16 ;
2930int mca_coll_acoll_sg_size = 8 ;
3031int mca_coll_acoll_sg_scale = 1 ;
3132int mca_coll_acoll_node_size = 128 ;
@@ -94,13 +95,19 @@ MCA_BASE_COMPONENT_INIT(ompi, coll, acoll)
9495static int acoll_register (void )
9596{
9697 /* Use a low priority, but allow other components to be lower */
97- mca_coll_acoll_priority = 40 ;
98+ mca_coll_acoll_priority = 0 ;
9899 (void ) mca_base_component_var_register (& mca_coll_acoll_component .collm_version , "priority" ,
99100 "Priority of the acoll coll component" ,
100101 MCA_BASE_VAR_TYPE_INT , NULL , 0 , 0 , OPAL_INFO_LVL_9 ,
101102 MCA_BASE_VAR_SCOPE_READONLY , & mca_coll_acoll_priority );
102103
103104 /* Defaults on topology */
105+ (void )
106+ mca_base_component_var_register (& mca_coll_acoll_component .collm_version , "comm_size_thresh" ,
107+ "Disable acoll below this communicator size threshold" ,
108+ MCA_BASE_VAR_TYPE_INT , NULL , 0 , 0 , OPAL_INFO_LVL_9 ,
109+ MCA_BASE_VAR_SCOPE_READONLY , & mca_coll_acoll_comm_size_thresh );
110+
104111 (void )
105112 mca_base_component_var_register (& mca_coll_acoll_component .collm_version , "max_comms" ,
106113 "Maximum no. of communicators using subgroup based algorithms" ,
0 commit comments