Skip to content

Commit 5af8497

Browse files
committed
common/ofi: fixing error message to be a debug output
A path that was being used in oversubscribed cases caused a help message to output for each process. This replaces the help message with a debug output to prevent excessive output unless the user enables debug output. Signed-off-by: Nikola Dancejic <dancejic@amazon.com>
1 parent 61dc29f commit 5af8497

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,10 @@ static uint32_t get_package_rank(opal_process_info_t *process_info)
340340
&pname, &locality_string, PMIX_STRING);
341341
if (PMIX_SUCCESS != rc || NULL == locality_string) {
342342
// If we don't have information about locality, fall back to procid
343-
opal_show_help("help-common-ofi.txt", "package_rank failed", true);
343+
opal_output_verbose(1, opal_common_ofi.output,
344+
"%s:%d:Unable to get locality string from local peers.\n"
345+
"This may negatively impact performance.\n",
346+
__FILE__, __LINE__);
344347
return (uint32_t)process_info->myprocid.rank;
345348
}
346349

0 commit comments

Comments
 (0)