родитель
e61a407860
Коммит
6ec768f0c6
@ -125,10 +125,12 @@ int ompi_mtl_mxm_module_init(void)
|
|||||||
return OMPI_ERROR;
|
return OMPI_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 /* https://svn.open-mpi.org/trac/ompi/ticket/2971 */
|
||||||
if ((rc = ompi_proc_refresh()) != OMPI_SUCCESS) {
|
if ((rc = ompi_proc_refresh()) != OMPI_SUCCESS) {
|
||||||
MXM_ERROR("Unable to refresh processes");
|
MXM_ERROR("Unable to refresh processes");
|
||||||
return OMPI_ERROR;
|
return OMPI_ERROR;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (NULL == (procs = ompi_proc_world(&totps))) {
|
if (NULL == (procs = ompi_proc_world(&totps))) {
|
||||||
MXM_ERROR("Unable to obtain process list");
|
MXM_ERROR("Unable to obtain process list");
|
||||||
@ -335,7 +337,9 @@ int ompi_mtl_mxm_add_procs(struct mca_mtl_base_module_t *mtl, size_t nprocs,
|
|||||||
rc = OMPI_SUCCESS;
|
rc = OMPI_SUCCESS;
|
||||||
|
|
||||||
bail:
|
bail:
|
||||||
|
if (conn_reqs)
|
||||||
free(conn_reqs);
|
free(conn_reqs);
|
||||||
|
if (ep_info)
|
||||||
free(ep_info);
|
free(ep_info);
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user