1
1

Merge pull request #8027 from hppritcha/topic/patch_ofi_mtl_for_gni_prov_v41x

OFI: patch OFI MTL for GNI provider
Этот коммит содержится в:
Jeff Squyres 2020-08-31 09:30:37 -04:00 коммит произвёл GitHub
родитель 8b2bcbc9ca fae374ce54
Коммит 1d8caab4f5
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -920,6 +920,17 @@ select_prov:
goto error;
}
/**
* Unfortunately the attempt to implement FI_MR_SCALABLE in the GNI provider
* doesn't work, at least not well. Since we're asking for the 1.5 libfabric
* API now, we have to tell GNI we want to use Mr. Basic. Using FI_MR_BASIC
* rather than FI_MR_VIRT_ADDR | FI_MR_ALLOCATED | FI_MR_PROV_KEY to stay
* compatible with older libfabrics.
*/
if (!strncmp(prov->fabric_attr->prov_name,"gni",3)) {
prov->domain_attr->mr_mode = FI_MR_BASIC;
}
/**
* Create the access domain, which is the physical or virtual network or
* hardware port/collection of ports. Returns a domain object that can be