Skip to content

Commit aecc04e

Browse files
author
Valentin Petrov
committed
PML/UCX: don't do pml check during add_proc
This is already done during MPI_Init (causes extra dmodex exchanges in some cases) Signed-off-by: Valentin Petrov <valentinp@nvidia.com>
1 parent c9ed1f7 commit aecc04e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

ompi/mca/pml/ucx/pml_ucx.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,6 @@ static ucp_ep_h mca_pml_ucx_add_proc(ompi_communicator_t *comm, int dst)
412412
{
413413
ompi_proc_t *proc0 = ompi_comm_peer_lookup(comm, 0);
414414
ompi_proc_t *proc_peer = ompi_comm_peer_lookup(comm, dst);
415-
int ret;
416-
417-
/* Note, mca_pml_base_pml_check_selected, doesn't use 3rd argument */
418-
if (OMPI_SUCCESS != (ret = mca_pml_base_pml_check_selected("ucx",
419-
&proc0,
420-
dst))) {
421-
return NULL;
422-
}
423-
424415
return mca_pml_ucx_add_proc_common(proc_peer);
425416
}
426417

0 commit comments

Comments
 (0)