This source file includes following definitions.
- opal_reachable_base_select
1
2
3
4
5
6
7
8
9
10
11
12
13
14 #include "opal_config.h"
15
16 #include "opal/constants.h"
17 #include "opal/mca/mca.h"
18 #include "opal/mca/base/base.h"
19 #include "opal/mca/reachable/reachable.h"
20 #include "opal/mca/reachable/base/base.h"
21
22
23
24
25
26 int opal_reachable_base_select(void)
27 {
28 int ret;
29 opal_reachable_base_component_t *best_component = NULL;
30 opal_reachable_base_module_t *best_module = NULL;
31
32
33
34
35 if( OPAL_SUCCESS != mca_base_select("reachable", opal_reachable_base_framework.framework_output,
36 &opal_reachable_base_framework.framework_components,
37 (mca_base_module_t **) &best_module,
38 (mca_base_component_t **) &best_component, NULL) ) {
39
40 return OPAL_ERR_NOT_FOUND;
41 }
42
43
44 opal_reachable = *best_module;
45
46
47 ret = opal_reachable.init();
48
49 return ret;
50 }