Skip to content

Commit

Permalink
[COLL/TUNED] Dump file rules if verbosity level is high
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Goncalves <thomas.goncalves@atos.net>
  • Loading branch information
goncalvt committed Feb 2, 2021
1 parent 835c8f5 commit 23f35e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ompi/mca/coll/tuned/coll_tuned_component.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ static int tuned_open(void)
&(mca_coll_tuned_component.all_base_rules), COLLCOUNT);
if( rc >= 0 ) {
opal_output_verbose(10, ompi_coll_tuned_stream,"coll:tuned:module_open Read %d valid rules\n", rc);
if(ompi_coll_base_framework.framework_verbose >= 50) {
ompi_coll_base_dump_all_rules (mca_coll_tuned_component.all_base_rules, COLLCOUNT);
}
} else {
opal_output_verbose(1, ompi_coll_tuned_stream,"coll:tuned:module_open Reading collective rules file failed\n");
char error_name[12];
Expand Down

0 comments on commit 23f35e8

Please sign in to comment.