2005-07-28 03:18:16 +04:00
|
|
|
/*
|
2008-05-06 22:08:45 +04:00
|
|
|
* Copyright (c) 2004-2008 The Trustees of Indiana University and Indiana
|
2005-11-05 22:57:48 +03:00
|
|
|
* University Research and Technology
|
|
|
|
* Corporation. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The University of Tennessee and The University
|
|
|
|
* of Tennessee Research Foundation. All rights
|
|
|
|
* reserved.
|
2005-07-28 03:18:16 +04:00
|
|
|
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
|
|
|
|
* University of Stuttgart. All rights reserved.
|
|
|
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
|
|
|
* All rights reserved.
|
|
|
|
* $COPYRIGHT$
|
|
|
|
*
|
|
|
|
* Additional copyrights may follow
|
|
|
|
*
|
|
|
|
* $HEADER$
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include "orte_config.h"
|
2008-02-28 04:57:57 +03:00
|
|
|
#include "orte/constants.h"
|
|
|
|
|
2005-07-28 03:18:16 +04:00
|
|
|
#include "opal/util/output.h"
|
2006-02-12 04:33:29 +03:00
|
|
|
#include "opal/mca/mca.h"
|
|
|
|
#include "opal/mca/base/base.h"
|
2008-02-28 04:57:57 +03:00
|
|
|
|
|
|
|
#include "orte/mca/ess/base/base.h"
|
2005-07-28 03:18:16 +04: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.
|
|
|
|
*/
|
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
#include "orte/mca/ess/base/static-components.h"
|
2005-07-28 03:18:16 +04:00
|
|
|
|
2008-02-28 04:57:57 +03:00
|
|
|
opal_list_t orte_ess_base_components_available;
|
|
|
|
orte_ess_base_module_t orte_ess = {
|
2008-05-06 22:08:45 +04:00
|
|
|
NULL, /* init */
|
|
|
|
NULL, /* finalize */
|
|
|
|
NULL, /* abort */
|
|
|
|
NULL /* ft_event */
|
2008-02-28 04:57:57 +03:00
|
|
|
};
|
|
|
|
int orte_ess_base_output;
|
2005-07-28 03:18:16 +04:00
|
|
|
|
|
|
|
int
|
2008-02-28 04:57:57 +03:00
|
|
|
orte_ess_base_open(void)
|
2005-07-28 03:18:16 +04:00
|
|
|
{
|
2008-02-28 04:57:57 +03:00
|
|
|
orte_ess_base_output = opal_output_open(NULL);
|
|
|
|
|
|
|
|
OBJ_CONSTRUCT(&orte_ess_base_components_available, opal_list_t);
|
2005-07-28 03:18:16 +04:00
|
|
|
|
|
|
|
/* Open up all available components */
|
2006-02-12 04:33:29 +03:00
|
|
|
if (ORTE_SUCCESS !=
|
2008-02-28 04:57:57 +03:00
|
|
|
mca_base_components_open("ess", orte_ess_base_output, mca_ess_base_static_components,
|
|
|
|
&orte_ess_base_components_available,
|
2005-07-28 03:18:16 +04:00
|
|
|
true)) {
|
|
|
|
return ORTE_ERROR;
|
|
|
|
}
|
|
|
|
|
|
|
|
return ORTE_SUCCESS;
|
|
|
|
}
|