1
1
It will prevent the error failure in openib finalize
but it doesn't resolve the actual issue. I guess that
oneside tests some how allocates memory (mpool?) and doesn't 
release it. Need to check it.

This commit was SVN r15488.
Этот коммит содержится в:
Pavel Shamis 2007-07-18 18:02:13 +00:00
родитель 0c321d798f
Коммит d837f1446b

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

@ -658,13 +658,8 @@ static int mca_btl_finalize_hca(struct mca_btl_openib_hca_t *hca)
return OMPI_ERROR;
}
if (ibv_dealloc_pd(hca->ib_pd)) {
if (ompi_mpi_leave_pinned || ompi_mpi_leave_pinned_pipeline) {
BTL_VERBOSE(("Warning! Failed to release PD"));
return OMPI_SUCCESS;
} else {
BTL_ERROR(("Error! Failed to release PD"));
return OMPI_ERROR;
}
BTL_VERBOSE(("Warning! Failed to release PD"));
return OMPI_ERROR;
}
if (ibv_close_device(hca->ib_dev_context)) {
if (ompi_mpi_leave_pinned || ompi_mpi_leave_pinned_pipeline) {