@@ -106,10 +106,6 @@ mca_coll_base_module_t *mca_coll_xhc_module_comm_query(ompi_communicator_t *comm
106
106
"coll:xhc:comm_query (%s/%s): All ranks not of the same arch; "
107
107
"disabling myself" , ompi_comm_print_cid (comm ), comm -> c_name );
108
108
109
- opal_show_help ("help-coll-xhc.txt" , "xhc-diff-arch" ,
110
- true, OPAL_PROC_MY_HOSTNAME , opal_local_arch ,
111
- opal_get_proc_hostname (& proc -> super ), proc -> super .proc_arch );
112
-
113
109
return NULL ;
114
110
}
115
111
}
@@ -127,14 +123,22 @@ mca_coll_base_module_t *mca_coll_xhc_module_comm_query(ompi_communicator_t *comm
127
123
module -> coll_barrier = mca_coll_xhc_barrier ;
128
124
129
125
if (mca_smsc == NULL ) {
130
- opal_show_help ("help-coll-xhc.txt" , "xhc-no-smsc" , true);
126
+ opal_output_verbose (MCA_BASE_VERBOSE_COMPONENT ,
127
+ ompi_coll_base_framework .framework_output ,
128
+ "coll:xhc: Warning: No opal/smsc support found; "
129
+ "only barrier will be enabled" );
130
+
131
131
return module ;
132
132
}
133
133
134
134
module -> coll_bcast = mca_coll_xhc_bcast ;
135
135
136
136
if (!mca_smsc_base_has_feature (MCA_SMSC_FEATURE_CAN_MAP )) {
137
- opal_show_help ("help-coll-xhc.txt" , "xhc-smsc-no-map" , true);
137
+ opal_output_verbose (MCA_BASE_VERBOSE_COMPONENT ,
138
+ ompi_coll_base_framework .framework_output ,
139
+ "coll:xhc: Warning: opal/smsc module is not CAN_MAP capable; "
140
+ "(all)reduce will be disabled, bcast might see reduced performance" );
141
+
138
142
return module ;
139
143
}
140
144
@@ -363,7 +367,10 @@ static int xhc_module_create_hierarchy(mca_coll_xhc_module_t *module,
363
367
364
368
if (is_virtual ) {
365
369
if (nvirt_hiers == OMPI_XHC_LOC_EXT_BITS ) {
366
- opal_show_help ("help-coll-xhc.txt" , "too-many-virt-hiers" , true);
370
+ opal_output_verbose (MCA_BASE_VERBOSE_COMPONENT ,
371
+ ompi_coll_base_framework .framework_output ,
372
+ "coll:xhc: Error: Too many virtual hierarchies" );
373
+
367
374
RETURN_WITH_ERROR (return_code , OMPI_ERR_NOT_SUPPORTED , end );
368
375
}
369
376
@@ -624,7 +631,11 @@ static int xhc_module_sort_hierarchy(mca_coll_xhc_module_t *module,
624
631
}
625
632
626
633
if (common_locality == 0 ) {
627
- opal_show_help ("help-coll-xhc.txt" , "xhc-no-common-locality" , true);
634
+ opal_output_verbose (MCA_BASE_VERBOSE_COMPONENT ,
635
+ ompi_coll_base_framework .framework_output ,
636
+ "coll:xhc: Error: There is no locality common "
637
+ "to all ranks in the communicator" );
638
+
628
639
RETURN_WITH_ERROR (return_code , OMPI_ERR_NOT_SUPPORTED , end );
629
640
}
630
641
0 commit comments