Skip to content

Commit 18418bf

Browse files
authored
Merge pull request #7943 from dancejic/multi-4.1.x
v4.1.x: common/ofi: added address format check to fix provider selection
2 parents 981b885 + c018337 commit 18418bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opal/mca/common/ofi/common_ofi.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,8 @@ check_provider_attr(struct fi_info *provider_info,
172172
!check_rx_attr(provider_info->rx_attr, provider->rx_attr) &&
173173
!check_ep_attr(provider_info->ep_attr, provider->ep_attr) &&
174174
!(provider_info->caps & ~(provider->caps)) &&
175-
!(provider_info->mode & ~(provider->mode))) {
175+
!(provider_info->mode & ~(provider->mode)) &&
176+
provider_info->addr_format == provider->addr_format) {
176177
return 0;
177178
} else {
178179
return OPAL_ERROR;

0 commit comments

Comments
 (0)