OpenMPI 0.1.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

routed_types.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2008 Los Alamos National Security, LLC.
3 * All rights reserved.
4 * Copyright (c) 2004-2008 The Trustees of Indiana University.
5 * All rights reserved.
6 * $COPYRIGHT$
7 *
8 * Additional copyrights may follow
9 *
10 * $HEADER$
11 */
12
13 /**
14 * @file
15 *
16 * Type definitions to support routed framework
17 */
18
19
20 #ifndef ORTE_MCA_ROUTED_TYPES_H_
21 #define ORTE_MCA_ROUTED_TYPES_H_
22
23 #include "orte_config.h"
24 #include "orte/types.h"
25
26 #include "opal/class/opal_bitmap.h"
27 #include "opal/class/opal_list.h"
28
29 BEGIN_C_DECLS
30
31 #if !ORTE_DISABLE_FULL_SUPPORT
32
33 /* struct for tracking routing trees */
34 typedef struct {
35 opal_list_item_t super;
36 orte_vpid_t vpid;
37 opal_bitmap_t relatives;
38 } orte_routed_tree_t;
39 ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_routed_tree_t);
40
41 /* struct for tracking external routes */
42 typedef struct {
43 opal_object_t super;
44 uint16_t job_family;
45 orte_process_name_t route;
46 char *hnp_uri;
47 } orte_routed_jobfam_t;
48 ORTE_DECLSPEC OBJ_CLASS_DECLARATION(orte_routed_jobfam_t);
49
50 #endif
51
52 END_C_DECLS
53
54 #endif
orte_routed_tree_t
Definition: routed_types.h:34
opal_bitmap_t
Definition: opal_bitmap.h:53
orte_process_name_t
Definition: types.h:146
opal_bitmap.h
A bitmap implementation.
opal_list.h
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
opal_list_item_t
Definition: opal_list.h:98
types.h
opal_object_t
Base object.
Definition: opal_object.h:182
orte_routed_jobfam_t
Definition: routed_types.h:42
OBJ_CLASS_DECLARATION
#define OBJ_CLASS_DECLARATION(NAME)
Declaration for class descriptor.
Definition: opal_object.h:236