Skip to content

Commit

Permalink
Merge pull request #3475 from eisenhauer/FabricError
Browse files Browse the repository at this point in the history
Better error when libfabric defaults to or is specified a bad FABRIC_IFACE
  • Loading branch information
eisenhauer authored Feb 7, 2023
2 parents f7b6607 + 8dd6939 commit 75688e1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/adios2/toolkit/sst/dp/rdma_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 75688e1

Please sign in to comment.