diff --git a/ompi/mca/mtl/ofi/mtl_ofi_component.c b/ompi/mca/mtl/ofi/mtl_ofi_component.c index 4fb44ecdf42..c794a8c8357 100644 --- a/ompi/mca/mtl/ofi/mtl_ofi_component.c +++ b/ompi/mca/mtl/ofi/mtl_ofi_component.c @@ -832,7 +832,8 @@ ompi_mtl_ofi_component_init(bool enable_progress_threads, * have a problem here since it uses fi_mr_regattr only within the context of an rcache, and manages the * requested_key field in this way. */ - if (!strncasecmp(prov->fabric_attr->prov_name, "cxi", 3)) { + if ((NULL != strstr(prov->fabric_attr->prov_name, "cxi")) || + (NULL != strstr(prov->fabric_attr->prov_name, "CXI")) ) { ompi_mtl_ofi.hmem_needs_reg = false; }