From 0966ae51ba05e65b67135a96c2bcbab3406dbc45 Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Thu, 25 May 2023 13:45:41 -0500 Subject: [PATCH] prov/psm3: Convert error message to debug output In pmodels/mpich#6518, a user reported seeing a "No HALs registered" message when using MPICH+libfabric. The error is because the psm3 provider is not compatible with --disable-shared. MPICH will just ignore the error and try to pick another provider, so we convert it to debug output to avoid spamming the user. Signed-off-by: Ken Raffenetti --- prov/psm3/psm3/psm2_hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prov/psm3/psm3/psm2_hal.c b/prov/psm3/psm3/psm2_hal.c index 31a1cf67ecf..4ef95de531e 100644 --- a/prov/psm3/psm3/psm2_hal.c +++ b/prov/psm3/psm3/psm2_hal.c @@ -712,7 +712,7 @@ static struct _psmi_hal_instance *psm3_hal_get_pi_inst(void) return psm3_hal_current_hal_instance; if (!psm3_num_hal) { - _HFI_ERROR("No HALs registered\n"); + _HFI_DBG("No HALs registered\n"); return NULL; }