From 8dd69396b4a54afa1de0367d4867204837b2bac5 Mon Sep 17 00:00:00 2001 From: Greg Eisenhauer Date: Tue, 7 Feb 2023 15:33:19 -0500 Subject: [PATCH] Better error when libfabric defaults to or is specified an improper FABRIC_IFACE --- source/adios2/toolkit/sst/dp/rdma_dp.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/adios2/toolkit/sst/dp/rdma_dp.c b/source/adios2/toolkit/sst/dp/rdma_dp.c index 2b9dbf3347..427488e541 100644 --- a/source/adios2/toolkit/sst/dp/rdma_dp.c +++ b/source/adios2/toolkit/sst/dp/rdma_dp.c @@ -293,6 +293,11 @@ static void init_fabric(struct fabric_state *fabric, struct _SstParams *Params, Svcs->verbose(CP_Stream, DPCriticalVerbose, "accessing domain failed with %d (%s). This is fatal.\n", result, fi_strerror(result)); + fprintf( + stderr, + "SST RDMA Dataplane failure. fi_domain() has failed, which may " + "mean that libfabric is defaulting to the wrong interface. Check " + "your FABRIC_IFACE environment variable (or specify one).\n"); return; } info->ep_attr->type = FI_EP_RDM;