Skip to content

Commit cccd6dc

Browse files
committed
[COLL/TUNED] Dump file rules if verbosity level is high
Signed-off-by: Thomas Goncalves <[email protected]>
1 parent 3f3b8dc commit cccd6dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ompi/mca/coll/tuned/coll_tuned_component.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,9 @@ static int tuned_open(void)
259259
&(mca_coll_tuned_component.all_base_rules), COLLCOUNT);
260260
if( rc >= 0 ) {
261261
opal_output_verbose(10, ompi_coll_tuned_stream,"coll:tuned:module_open Read %d valid rules\n", rc);
262+
if(ompi_coll_base_framework.framework_verbose >= 50) {
263+
ompi_coll_base_dump_all_rules (mca_coll_tuned_component.all_base_rules, COLLCOUNT);
264+
}
262265
} else {
263266
opal_output_verbose(1, ompi_coll_tuned_stream,"coll:tuned:module_open Reading collective rules file failed\n");
264267
char error_name[12];

0 commit comments

Comments
 (0)