OpenMPI 0.1.1

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

- File List
- Globals

base.h
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2004-2005 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2005 The University of Tennessee and The University
6 * of Tennessee Research Foundation. All rights
7 * reserved.
8 * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
9 * University of Stuttgart. All rights reserved.
10 * Copyright (c) 2004-2005 The Regents of the University of California.
11 * All rights reserved.
12 * $COPYRIGHT$
13 *
14 * Additional copyrights may follow
15 *
16 * $HEADER$
17 */
18 /** @file:
19 */
20
21 #ifndef ORTE_MCA_RAS_BASE_H
22 #define ORTE_MCA_RAS_BASE_H
23
24 /*
25 * includes
26 */
27 #include "orte_config.h"
28
29 #include "orte/mca/ras/ras.h"
30 /*
31 * Global functions for MCA overall collective open and close
32 */
33
34 BEGIN_C_DECLS
35
36 ORTE_DECLSPEC int orte_ras_base_open(void);
37
38 #if !ORTE_DISABLE_FULL_SUPPORT
39 /*
40 * globals that might be needed
41 */
42 typedef struct orte_ras_base_t {
43 int ras_output;
44 opal_list_t ras_opened;
45 bool allocation_read;
46 bool display_alloc;
47 orte_ras_base_module_t *active_module;
48 } orte_ras_base_t;
49
50 ORTE_DECLSPEC extern orte_ras_base_t orte_ras_base;
51
52
53 /*
54 * function definitions
55 */
56 ORTE_DECLSPEC int orte_ras_base_select(void);
57 ORTE_DECLSPEC int orte_ras_base_finalize(void);
58 ORTE_DECLSPEC int orte_ras_base_close(void);
59
60 ORTE_DECLSPEC int orte_ras_base_add_hosts(orte_job_t *jdata);
61
62 #endif /* ORTE_DISABLE_FULL_SUPPORT */
63
64 END_C_DECLS
65
66 #endif
orte_ras_base_open
BEGIN_C_DECLS ORTE_DECLSPEC int orte_ras_base_open(void)
Function for finding and opening either all MCA components, or the one that was specifically requeste...
Definition: ras_base_open.c:75
ras.h
The Open RTE Resource Allocation Subsystem (RAS)
orte_ras_base_module_2_0_0_t
ras module
Definition: ras.h:201
orte_ras_base_t
Definition: base.h:42
orte_job_t
Definition: orte_globals.h:316
opal_list_t
Definition: opal_list.h:147