1
1
This commit was SVN r25908.
Этот коммит содержится в:
Mike Dubman 2012-02-12 09:28:42 +00:00
родитель 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;
} }