Skip to content

Commit be24eb3

Browse files
committed
btl/uct: clear related flags when there is no rdma transport layer
This fixes the use of btl/uct with the tcp memory_domain Signed-off-by: Gilles Gouaillardet <[email protected]>
1 parent 9007819 commit be24eb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opal/mca/btl/uct/btl_uct_tl.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ int mca_btl_uct_query_tls (mca_btl_uct_module_t *module, mca_btl_uct_md_t *md, u
614614
module->super.btl_get = NULL;
615615
module->super.btl_atomic_fop = NULL;
616616
module->super.btl_atomic_op = NULL;
617+
module->super.btl_flags &= ~(MCA_BTL_FLAGS_RDMA | MCA_BTL_FLAGS_ATOMIC_FOPS | MCA_BTL_FLAGS_ATOMIC_OPS);
617618
}
618619

619620
if (NULL == module->am_tl) {

0 commit comments

Comments
 (0)