This source file includes following definitions.
- orte_plm_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 #include "opal/mca/base/mca_base_component_repository.h"
29
30 #include "orte/util/proc_info.h"
31
32 #include "orte/mca/plm/base/plm_private.h"
33 #include "orte/mca/plm/base/base.h"
34
35
36
37
38
39
40
41 int orte_plm_base_select(void)
42 {
43 int rc;
44 orte_plm_base_component_t *best_component = NULL;
45 orte_plm_base_module_t *best_module = NULL;
46
47
48
49
50 if (OPAL_SUCCESS == (rc = mca_base_select("plm", orte_plm_base_framework.framework_output,
51 &orte_plm_base_framework.framework_components,
52 (mca_base_module_t **) &best_module,
53 (mca_base_component_t **) &best_component, NULL))) {
54
55 orte_plm = *best_module;
56 }
57
58 return rc;
59 }