2004-02-01 00:43:26 +03:00
|
|
|
/*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
#include "ompi_config.h"
|
2004-02-01 00:43:26 +03:00
|
|
|
|
|
|
|
#include "mca/mca.h"
|
2004-03-17 21:45:16 +03:00
|
|
|
#include "mca/base/base.h"
|
|
|
|
#include "mca/oob/base/base.h"
|
2004-02-01 00:43:26 +03:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following file was created by configure. It contains extern
|
|
|
|
* statements and the definition of an array of pointers to each
|
|
|
|
* module's public mca_base_module_t struct.
|
|
|
|
*/
|
|
|
|
|
2004-03-17 21:45:16 +03:00
|
|
|
#include "mca/oob/base/static-modules.h"
|
2004-02-01 00:43:26 +03:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Global variables
|
|
|
|
*/
|
2004-07-02 06:11:54 +04:00
|
|
|
mca_oob_t mca_oob;
|
2004-02-01 00:43:26 +03:00
|
|
|
int mca_oob_base_output = -1;
|
2004-07-01 18:49:54 +04:00
|
|
|
ompi_list_t mca_oob_base_components;
|
|
|
|
ompi_list_t mca_oob_base_modules;
|
2004-02-01 00:43:26 +03:00
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Function for finding and opening either all MCA modules, or the one
|
|
|
|
* that was specifically requested via a MCA parameter.
|
|
|
|
*/
|
|
|
|
int mca_oob_base_open(void)
|
|
|
|
{
|
|
|
|
/* Open up all available modules */
|
|
|
|
|
2004-06-07 19:33:53 +04:00
|
|
|
if (OMPI_SUCCESS !=
|
2004-02-01 00:43:26 +03:00
|
|
|
mca_base_modules_open("oob", 0, mca_oob_base_static_modules,
|
2004-07-01 18:49:54 +04:00
|
|
|
&mca_oob_base_components)) {
|
2004-06-07 19:33:53 +04:00
|
|
|
return OMPI_ERROR;
|
2004-02-01 00:43:26 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
/* All done */
|
2004-07-01 18:49:54 +04:00
|
|
|
OBJ_CONSTRUCT(&mca_oob_base_modules, ompi_list_t);
|
2004-06-07 19:33:53 +04:00
|
|
|
return OMPI_SUCCESS;
|
2004-02-01 00:43:26 +03:00
|
|
|
}
|
2004-07-01 18:49:54 +04:00
|
|
|
|