OpenMPI  0.1.1
base.h
1 /*
2  * Copyright (c) 2007 Los Alamos National Security, LLC.
3  * All rights reserved.
4  * $COPYRIGHT$
5  *
6  * Additional copyrights may follow
7  *
8  * $HEADER$
9  */
10 
11 #ifndef MCA_ROUTED_BASE_H
12 #define MCA_ROUTED_BASE_H
13 
14 #include "orte_config.h"
15 
16 #include "opal/mca/mca.h"
17 
19 #include "opal/dss/dss_types.h"
20 #include "opal/threads/threads.h"
21 
22 #include "orte/mca/rml/rml_types.h"
23 #include "orte/mca/routed/routed.h"
24 
25 BEGIN_C_DECLS
26 
27 ORTE_DECLSPEC int orte_routed_base_open(void);
28 
29 #if !ORTE_DISABLE_FULL_SUPPORT
30 
31 /*
32  * Global functions for the ROUTED
33  */
34 
35 ORTE_DECLSPEC int orte_routed_base_select(void);
36 ORTE_DECLSPEC int orte_routed_base_close(void);
37 
38 ORTE_DECLSPEC extern int orte_routed_base_output;
39 ORTE_DECLSPEC extern opal_list_t orte_routed_base_components;
40 ORTE_DECLSPEC extern opal_mutex_t orte_routed_base_lock;
41 ORTE_DECLSPEC extern opal_condition_t orte_routed_base_cond;
42 ORTE_DECLSPEC extern bool orte_routed_base_wait_sync;
43 ORTE_DECLSPEC extern opal_pointer_array_t orte_routed_jobfams;
44 
45 ORTE_DECLSPEC int orte_routed_base_register_sync(bool setup);
46 ORTE_DECLSPEC int orte_routed_base_process_callback(orte_jobid_t job,
47  opal_buffer_t *buffer);
48 ORTE_DECLSPEC void orte_routed_base_update_hnps(opal_buffer_t *buf);
49 
50 #endif /* ORTE_DISABLE_FULL_SUPPORT */
51 
52 END_C_DECLS
53 
54 #endif /* MCA_ROUTED_BASE_H */
dynamic pointer array
Definition: opal_pointer_array.h:45
Definition: condition.h:49
uint32_t orte_jobid_t
Set the allowed range for ids in each space.
Definition: types.h:76
Definition: mutex_unix.h:53
See opal_bitmap.h for an explanation of why there is a split between OPAL and ORTE for this generic c...
Top-level interface for all MCA components.
Buffer management types.
Definition: opal_list.h:147
Structure for holding a buffer to be used with the RML or OOB subsystems.
Definition: dss_types.h:159
Contains the typedefs for the use of the rml.
Routing table for the RML.