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 #ifndef ORTE_RMAPS_RF_H
29 #define ORTE_RMAPS_RF_H
30
31 #include "orte_config.h"
32
33 #include "opal/class/opal_object.h"
34
35 #include "orte/mca/rmaps/rmaps.h"
36
37 BEGIN_C_DECLS
38
39 int orte_rmaps_rank_file_lex_destroy (void);
40
41 struct orte_rmaps_rf_component_t {
42 orte_rmaps_base_component_t super;
43 char *slot_list;
44 bool physical;
45 };
46 typedef struct orte_rmaps_rf_component_t orte_rmaps_rf_component_t;
47
48 ORTE_MODULE_DECLSPEC extern orte_rmaps_rf_component_t mca_rmaps_rank_file_component;
49 extern orte_rmaps_base_module_t orte_rmaps_rank_file_module;
50
51
52 typedef struct cpu_socket_t cpu_socket_t;
53
54 struct orte_rmaps_rank_file_map_t {
55 opal_object_t super;
56 char* node_name;
57 char slot_list[64];
58 };
59 typedef struct orte_rmaps_rank_file_map_t orte_rmaps_rank_file_map_t;
60
61 ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_rmaps_rank_file_map_t);
62
63 END_C_DECLS
64
65 #endif