File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -713,7 +713,7 @@ static int count_providers(struct fi_info *provider_list)
713
713
*/
714
714
static uint32_t get_package_rank (opal_process_info_t * process_info )
715
715
{
716
- int i ;
716
+ int i , level = 10 ;
717
717
uint16_t relative_locality , * package_rank_ptr ;
718
718
uint32_t ranks_on_package = 0 ;
719
719
opal_process_name_t pname ;
@@ -774,7 +774,13 @@ static uint32_t get_package_rank(opal_process_info_t *process_info)
774
774
}
775
775
}
776
776
err :
777
- opal_show_help ("help-common-ofi.txt" , "package_rank failed" , true);
777
+ if (opal_output_get_verbosity (opal_common_ofi .output ) >= level ) {
778
+ opal_show_help ("help-common-ofi.txt" , "package_rank failed" , true, level );
779
+ }
780
+
781
+ if (locality_string )
782
+ free (locality_string );
783
+
778
784
return (uint32_t ) process_info -> myprocid .rank ;
779
785
}
780
786
You can’t perform that action at this time.
0 commit comments