PML/UCX: fixed hand on MPI_Finalize
fixes issue https://github.com/openucx/ucx/issues/2656 added flush for worker object to complete all pending operations Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com>
Этот коммит содержится в:
родитель
2e8ab41ba5
Коммит
0a8261f3b0
@ -435,6 +435,10 @@ int mca_pml_ucx_del_procs(struct ompi_proc_t **procs, size_t nprocs)
|
|||||||
|
|
||||||
mca_pml_ucx_waitall(dreqs, &num_reqs);
|
mca_pml_ucx_waitall(dreqs, &num_reqs);
|
||||||
free(dreqs);
|
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(NULL, 0);
|
opal_pmix.fence(NULL, 0);
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user