OpenMPI  0.1.1
base.h File Reference
#include "orte_config.h"
#include "opal/class/opal_list.h"
#include "opal/mca/mca.h"
#include "orte/mca/sensor/sensor.h"

Go to the source code of this file.

Functions

BEGIN_C_DECLS ORTE_DECLSPEC int orte_sensor_base_open (void)
 Function for finding and opening either all MCA components, or the one that was specifically requested via a MCA parameter.
 
ORTE_DECLSPEC int orte_sensor_base_select (void)
 Function for weeding out sensor components that don't want to run. More...
 
ORTE_DECLSPEC int orte_sensor_base_close (void)
 

Variables

ORTE_DECLSPEC opal_list_t mca_sensor_base_components_available
 

Function Documentation

ORTE_DECLSPEC int orte_sensor_base_select ( void  )

Function for weeding out sensor components that don't want to run.

Call the init function on all available components to find out if they want to run. Select all components that don't fail. Failing components will be closed and unloaded. The selected modules will be returned to the caller in a opal_list_t.

References mca_base_component_2_0_0_t::mca_component_name, mca_base_component_2_0_0_t::mca_query_component, OBJ_CONSTRUCT, OBJ_DESTRUCT, opal_list_get_end(), opal_list_get_first(), opal_list_get_next, opal_output_verbose(), opal_pointer_array_add(), opal_pointer_array_get_item(), opal_pointer_array_set_item(), and opal_pointer_array_t::size.

Referenced by orte_ess_base_orted_setup().