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