Skip to content

Commit 1d4f6bf

Browse files
committed
OSC/RDMA: fix typo in btl selection logic
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 56ed3a6 commit 1d4f6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/osc/rdma/osc_rdma_component.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* Copyright (c) 2019 Research Organization for Information Science
2323
* and Technology (RIST). All rights reserved.
2424
* Copyright (c) 2020-2021 Google, LLC. All rights reserved.
25-
* Copyright (c) 2019 Triad National Security, LLC. All rights
25+
* Copyright (c) 2019-2021 Triad National Security, LLC. All rights
2626
* reserved.
2727
* $COPYRIGHT$
2828
*
@@ -965,7 +965,7 @@ static int ompi_osc_rdma_query_btls (ompi_communicator_t *comm, struct mca_btl_b
965965
}
966966

967967
/* any non-local rank must have a usable btl */
968-
if (!found_btl && comm_rank == rank) {
968+
if (!found_btl && comm_rank != rank) {
969969
/* no btl = no rdma/atomics */
970970
rc = OMPI_ERR_UNREACH;
971971
break;

0 commit comments

Comments
 (0)