We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ade062a + 4eedf85 commit 6bbfca7Copy full SHA for 6bbfca7
ompi/mca/pml/ucx/pml_ucx.c
@@ -410,6 +410,11 @@ static ucp_ep_h mca_pml_ucx_add_proc_common(ompi_proc_t *proc)
410
ucp_ep_h ep;
411
int ret;
412
413
+ /* Do not add a new endpoint if we already created one */
414
+ if (NULL != proc->proc_endpoints[OMPI_PROC_ENDPOINT_TAG_PML]) {
415
+ return proc->proc_endpoints[OMPI_PROC_ENDPOINT_TAG_PML];
416
+ }
417
+
418
ret = mca_pml_ucx_recv_worker_address(proc, &address, &addrlen);
419
if (ret < 0) {
420
return NULL;
0 commit comments