1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29 #ifndef ORTE_MCA_ODLS_H
30 #define ORTE_MCA_ODLS_H
31
32 #include "orte_config.h"
33 #include "orte/types.h"
34
35 #include "orte/mca/mca.h"
36 #include "opal/class/opal_pointer_array.h"
37
38 #include "opal/dss/dss_types.h"
39 #include "orte/mca/rml/rml_types.h"
40 #include "orte/runtime/orte_globals.h"
41
42 #include "orte/mca/odls/odls_types.h"
43
44 BEGIN_C_DECLS
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59 typedef int (*orte_odls_base_module_get_add_procs_data_fn_t)(opal_buffer_t *data,
60 orte_jobid_t job);
61
62
63
64
65 typedef int (*orte_odls_base_module_launch_local_processes_fn_t)(opal_buffer_t *data);
66
67
68
69
70 typedef int (*orte_odls_base_module_kill_local_processes_fn_t)(opal_pointer_array_t *procs);
71
72
73
74
75 typedef int (*orte_odls_base_module_signal_local_process_fn_t)(const orte_process_name_t *proc,
76 int32_t signal);
77
78
79
80
81 typedef int (*orte_odls_base_module_restart_proc_fn_t)(orte_proc_t *child);
82
83
84
85
86 struct orte_odls_base_module_1_3_0_t {
87 orte_odls_base_module_get_add_procs_data_fn_t get_add_procs_data;
88 orte_odls_base_module_launch_local_processes_fn_t launch_local_procs;
89 orte_odls_base_module_kill_local_processes_fn_t kill_local_procs;
90 orte_odls_base_module_signal_local_process_fn_t signal_local_procs;
91 orte_odls_base_module_restart_proc_fn_t restart_proc;
92 };
93
94
95 typedef struct orte_odls_base_module_1_3_0_t orte_odls_base_module_1_3_0_t;
96
97 typedef struct orte_odls_base_module_1_3_0_t orte_odls_base_module_t;
98
99
100
101
102 struct orte_odls_base_component_2_0_0_t {
103
104 mca_base_component_t version;
105
106 mca_base_component_data_t base_data;
107 };
108
109 typedef struct orte_odls_base_component_2_0_0_t orte_odls_base_component_2_0_0_t;
110
111 typedef orte_odls_base_component_2_0_0_t orte_odls_base_component_t;
112
113
114
115
116
117 #define ORTE_ODLS_BASE_VERSION_2_0_0 \
118 ORTE_MCA_BASE_VERSION_2_1_0("odls", 2, 0, 0)
119
120
121
122 ORTE_DECLSPEC extern orte_odls_base_module_t orte_odls;
123
124 END_C_DECLS
125
126 #endif