Skip to content

Commit

Permalink
Use FI_MR_LOCAL
Browse files Browse the repository at this point in the history
  • Loading branch information
Franz Poeschel committed Jun 21, 2023
1 parent ff6092c commit 1de243d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/adios2/toolkit/sst/dp/rdma_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,13 +326,13 @@ static void init_fabric(struct fabric_state *fabric, struct _SstParams *Params,

/*
* FI_MR_ALLOCATED and FI_MR_ENDPOINT are required for the CXI provider.
* FI_MR_VIRT_ADDR and FI_MR_PROV_KEY are for compatibility with the rest
* of the legacy SST-libfabric implementation (where mr_mode used to be
* FI_MR_BASIC which is equivalent to
* FI_MR_VIRT_ADDR | FI_MR_ALLOCATED | FI_MR_PROV_KEY | FI_MR_LOCAL)
* FI_MR_VIRT_ADDR, FI_MR_LOCAL and FI_MR_PROV_KEY are for compatibility
* with the rest of the legacy SST-libfabric implementation (where mr_mode
* used to be FI_MR_BASIC which is equivalent to FI_MR_VIRT_ADDR |
* FI_MR_ALLOCATED | FI_MR_PROV_KEY | FI_MR_LOCAL)
*/
info->domain_attr->mr_mode =
FI_MR_ALLOCATED | FI_MR_ENDPOINT | FI_MR_VIRT_ADDR | FI_MR_PROV_KEY;
info->domain_attr->mr_mode = FI_MR_ALLOCATED | FI_MR_ENDPOINT |
FI_MR_VIRT_ADDR | FI_MR_PROV_KEY | FI_MR_LOCAL;
#ifdef SST_HAVE_CRAY_DRC
if (strstr(info->fabric_attr->prov_name, "gni") && fabric->auth_key)
{
Expand Down

0 comments on commit 1de243d

Please sign in to comment.