Skip to content

Commit 2f0cde7

Browse files
committed
mtl/ofi: Change default provider selection behavior.
As more providers get added to libfabric, the default exclude list would need to be updated. Instead, we choose to include only the providers known to work by default. New default: - include: psm,psm2,gni - exclude: none
1 parent 50b3775 commit 2f0cde7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ompi/mca/mtl/ofi/mtl_ofi_component.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,16 @@ ompi_mtl_ofi_component_register(void)
6464
MCA_BASE_VAR_SCOPE_READONLY,
6565
&param_priority);
6666

67-
prov_include = NULL;
67+
prov_include = "psm,psm2,gni";
6868
mca_base_component_var_register(&mca_mtl_ofi_component.super.mtl_version,
6969
"provider_include",
70-
"Comma-delimited list of OFI providers that are considered for use (e.g., \"psm,sockets\"; an empty value means that all providers will be considered). Mutually exclusive with mtl_ofi_provider_exclude.",
70+
"Comma-delimited list of OFI providers that are considered for use (e.g., \"psm,psm2\"; an empty value means that all providers will be considered). Mutually exclusive with mtl_ofi_provider_exclude.",
7171
MCA_BASE_VAR_TYPE_STRING, NULL, 0, 0,
7272
OPAL_INFO_LVL_1,
7373
MCA_BASE_VAR_SCOPE_READONLY,
7474
&prov_include);
7575

76-
prov_exclude = "sockets,mxm";
76+
prov_exclude = NULL;
7777
mca_base_component_var_register(&mca_mtl_ofi_component.super.mtl_version,
7878
"provider_exclude",
7979
"Comma-delimited list of OFI providers that are not considered for use (default: \"sockets,mxm\"; empty value means that all providers will be considered). Mutually exclusive with mtl_ofi_provider_include.",

0 commit comments

Comments
 (0)