1
1
* split fca_open() into fca_register() and fca_open()

This commit was SVN r23598.
Этот коммит содержится в:
Mike Dubman 2010-08-12 12:05:23 +00:00
родитель ba5bc9b674
Коммит 16d7169680

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

@ -30,6 +30,7 @@ int mca_coll_fca_output = -1;
static int fca_open(void);
//static int fca_query(void);
static int fca_close(void);
static int fca_register(void);
mca_coll_fca_component_t mca_coll_fca_component = {
@ -47,7 +48,9 @@ mca_coll_fca_component_t mca_coll_fca_component = {
/* Component open and close functions */
fca_open,
fca_close
fca_close,
NULL,
fca_register
},
{
/* The component is not checkpoint ready */
@ -195,7 +198,7 @@ static void mca_coll_fca_close_fca_lib(void)
mca_coll_fca_component.fca_lib_handle = NULL;
}
static int fca_open(void)
static int fca_register(void)
{
FCA_VERBOSE(2, "==>");
@ -237,6 +240,15 @@ static int fca_open(void)
64,
&mca_coll_fca_component.fca_np);
return OMPI_SUCCESS;
}
static int fca_open(void)
{
FCA_VERBOSE(2, "==>");
const mca_base_component_t *c = &mca_coll_fca_component.super.collm_version;
mca_coll_fca_output = opal_output_open(NULL);
opal_output_set_verbosity(mca_coll_fca_output, mca_coll_fca_component.fca_verbose);
mca_coll_fca_component.fca_lib_handle = NULL;