Skip to content

Commit 3a09492

Browse files
committed
btl/ofi: add FI_REMOTE_COMM to required capabilities
For BTL, btl/sm should handle same-node communication, and btl/ofi is expected to handle inter-node communication. Here we request the FI_REMOTE_COMM capability to enforce this. Signed-off-by: Wenduo Wang <wenduwan@amazon.com>
1 parent 29efcef commit 3a09492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

opal/mca/btl/ofi/btl_ofi_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
#include "btl_ofi_frag.h"
4242
#include "btl_ofi_rdma.h"
4343

44-
#define MCA_BTL_OFI_ONE_SIDED_REQUIRED_CAPS (FI_RMA | FI_ATOMIC)
45-
#define MCA_BTL_OFI_TWO_SIDED_REQUIRED_CAPS (FI_MSG)
44+
#define MCA_BTL_OFI_ONE_SIDED_REQUIRED_CAPS (FI_RMA | FI_ATOMIC | FI_REMOTE_COMM)
45+
#define MCA_BTL_OFI_TWO_SIDED_REQUIRED_CAPS (FI_MSG | FI_REMOTE_COMM)
4646

4747
#define MCA_BTL_OFI_REQUESTED_MR_MODE (FI_MR_ALLOCATED | FI_MR_PROV_KEY | FI_MR_VIRT_ADDR | FI_MR_ENDPOINT)
4848

0 commit comments

Comments
 (0)