From 1de243d169f702856c092aaace5dc1c31876fefa Mon Sep 17 00:00:00 2001 From: Franz Poeschel Date: Wed, 21 Jun 2023 04:58:30 -0400 Subject: [PATCH] Use FI_MR_LOCAL --- source/adios2/toolkit/sst/dp/rdma_dp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/source/adios2/toolkit/sst/dp/rdma_dp.c b/source/adios2/toolkit/sst/dp/rdma_dp.c index 2465882943..eb96f32bdd 100644 --- a/source/adios2/toolkit/sst/dp/rdma_dp.c +++ b/source/adios2/toolkit/sst/dp/rdma_dp.c @@ -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) {