1
1

Merge pull request #5227 from hoopoepg/topic/pml-ucx-hang-on-finalize

PML/UCX: fixed hand on MPI_Finalize
Этот коммит содержится в:
Yossi Itigin 2018-06-08 13:19:49 +03:00 коммит произвёл GitHub
родитель 317e53f83f 0a8261f3b0
Коммит fd12540751
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23

Просмотреть файл

@ -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);