1
1

ompi/proc: fix ompi_proc_finalize()

revert bits of open-mpi/ompi@cf534d0c95
we cannot del_procs here since the pml framework has already been closed

Signed-off-by: Gilles Gouaillardet <gilles@rist.or.jp>
Этот коммит содержится в:
Gilles Gouaillardet 2017-01-12 11:41:35 +09:00
родитель 269e5e3e87
Коммит 4932391002

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

@ -400,9 +400,6 @@ int ompi_proc_finalize (void)
* without walking through the entire list/destructor sequence.
*/
while ((ompi_proc_t *)opal_list_get_end(&ompi_proc_list) != (proc = (ompi_proc_t *)opal_list_get_first(&ompi_proc_list))) {
if (NULL != proc->proc_endpoints[OMPI_PROC_ENDPOINT_TAG_BML]) {
MCA_PML_CALL(del_procs(&proc, 1));
}
OBJ_RELEASE(proc);
}
/* now destruct the list and thread lock */