This source file includes following definitions.
- orte_ess_base_select
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 #include "orte_config.h"
23 #include "orte/constants.h"
24
25 #include "orte/mca/mca.h"
26 #include "opal/mca/base/base.h"
27 #include "opal/mca/base/mca_base_component_repository.h"
28
29 #include "orte/mca/ess/base/base.h"
30
31 int
32 orte_ess_base_select(void)
33 {
34 orte_ess_base_component_t *best_component = NULL;
35 orte_ess_base_module_t *best_module = NULL;
36
37
38
39
40 if( OPAL_SUCCESS != mca_base_select("ess", orte_ess_base_framework.framework_output,
41 &orte_ess_base_framework.framework_components,
42 (mca_base_module_t **) &best_module,
43 (mca_base_component_t **) &best_component, NULL) ) {
44
45 return ORTE_ERR_SILENT;
46 }
47
48
49
50 orte_ess = *best_module;
51
52 return ORTE_SUCCESS;
53 }