From 5f0362856073fcfbc901bd5049cd6c1f95a12157 Mon Sep 17 00:00:00 2001 From: Sergey Oblomov Date: Thu, 21 Jun 2018 12:40:46 +0300 Subject: [PATCH] PML/UCX: removed uneeded flush Signed-off-by: Sergey Oblomov --- ompi/mca/pml/ucx/pml_ucx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ompi/mca/pml/ucx/pml_ucx.c b/ompi/mca/pml/ucx/pml_ucx.c index 388b3f2042..a99cf3cda2 100644 --- a/ompi/mca/pml/ucx/pml_ucx.c +++ b/ompi/mca/pml/ucx/pml_ucx.c @@ -441,13 +441,8 @@ int mca_pml_ucx_del_procs(struct ompi_proc_t **procs, size_t nprocs) mca_pml_ucx_waitall(dreqs, &num_reqs); free(dreqs); - /* flush worker to allow all pending operations to complete. - * ignore error (we can do nothing here), just try to - * finalize gracefully */ - ucp_worker_flush(ompi_pml_ucx.ucp_worker); opal_pmix.fence_nb(NULL, 0, mca_pml_fence_complete_cb, &fenced); - while (!fenced) { ucp_worker_progress(ompi_pml_ucx.ucp_worker); }