Skip to content

Commit b26ab6b

Browse files
authored
Merge pull request #6191 from mohanasudhan/probe-fix-3.0.x
mtl/ofi: Fix MPI_ANY_SOURCE for i(m)probe in v3.0.x
2 parents 9184e67 + 172cd2d commit b26ab6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/mca/mtl/ofi/mtl_ofi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ ompi_mtl_ofi_iprobe(struct mca_mtl_base_module_t *mtl,
747747
struct ompi_mtl_ofi_request_t ofi_req;
748748
ompi_proc_t *ompi_proc = NULL;
749749
mca_mtl_ofi_endpoint_t *endpoint = NULL;
750-
fi_addr_t remote_proc = 0;
750+
fi_addr_t remote_proc = ompi_mtl_ofi.any_addr;
751751
uint64_t match_bits, mask_bits;
752752
ssize_t ret;
753753
struct fi_msg_tagged msg;
@@ -827,7 +827,7 @@ ompi_mtl_ofi_improbe(struct mca_mtl_base_module_t *mtl,
827827
struct ompi_mtl_ofi_request_t *ofi_req;
828828
ompi_proc_t *ompi_proc = NULL;
829829
mca_mtl_ofi_endpoint_t *endpoint = NULL;
830-
fi_addr_t remote_proc = 0;
830+
fi_addr_t remote_proc = ompi_mtl_ofi.any_addr;
831831
uint64_t match_bits, mask_bits;
832832
ssize_t ret;
833833
struct fi_msg_tagged msg;

0 commit comments

Comments
 (0)