1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 #ifndef ORTE_MCA_RAS_BASE_H
25 #define ORTE_MCA_RAS_BASE_H
26
27
28
29
30 #include "orte_config.h"
31
32 #include "opal/util/printf.h"
33
34 #include "orte/mca/ras/ras.h"
35
36
37
38
39 BEGIN_C_DECLS
40
41
42
43
44 ORTE_DECLSPEC extern mca_base_framework_t orte_ras_base_framework;
45
46 ORTE_DECLSPEC int orte_ras_base_select(void);
47
48
49
50
51 typedef struct orte_ras_base_t {
52 bool allocation_read;
53 orte_ras_base_module_t *active_module;
54 int total_slots_alloc;
55 int multiplier;
56 bool launch_orted_on_hn;
57 } orte_ras_base_t;
58
59 ORTE_DECLSPEC extern orte_ras_base_t orte_ras_base;
60
61 ORTE_DECLSPEC void orte_ras_base_display_alloc(void);
62
63 ORTE_DECLSPEC void orte_ras_base_allocate(int fd, short args, void *cbdata);
64
65 ORTE_DECLSPEC int orte_ras_base_add_hosts(orte_job_t *jdata);
66
67 END_C_DECLS
68
69 #endif