1
1

* check return status of module init

This commit was SVN r11235.
Этот коммит содержится в:
Brian Barrett 2006-08-16 21:27:57 +00:00
родитель e809a442e7
Коммит 292068b34b

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

@ -114,6 +114,7 @@ ompi_mtl_mx_component_init(bool enable_progress_threads,
bool enable_mpi_threads) bool enable_mpi_threads)
{ {
mx_return_t mx_return; mx_return_t mx_return;
int ret;
/* set the MX error handle to always return. This function is the /* set the MX error handle to always return. This function is the
* only MX function allowed to be called before mx_init in order * only MX function allowed to be called before mx_init in order
@ -132,7 +133,10 @@ ompi_mtl_mx_component_init(bool enable_progress_threads,
return NULL; return NULL;
} }
ompi_mtl_mx_module_init(); ret = ompi_mtl_mx_module_init();
if (OMPI_SUCCESS != ret) {
return NULL;
}
ompi_mtl_mx.super.mtl_request_size = ompi_mtl_mx.super.mtl_request_size =
sizeof(mca_mtl_mx_request_t) - sizeof(mca_mtl_mx_request_t) -