OpenMPI 0.1.1

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

- File List
- Globals

base.h
1 /*
2 * Copyright (c) 2004-2007 The Trustees of Indiana University and Indiana
3 * University Research and Technology
4 * Corporation. All rights reserved.
5 * Copyright (c) 2004-2006 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-2006 The Regents of the University of California.
11 * All rights reserved.
12 * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
13 * $COPYRIGHT$
14 *
15 * Additional copyrights may follow
16 *
17 * $HEADER$
18 */
19
20 #ifndef MCA_BML_BASE_H
21 #define MCA_BML_BASE_H
22
23 #include "ompi_config.h"
24
25 #include "opal/mca/mca.h"
26 #include "ompi/mca/bml/bml.h"
27
28
29 /*
30 * Global functions for the BML
31 */
32
33 BEGIN_C_DECLS
34
35
36 struct mca_bml_base_selected_module_t {
37 opal_list_item_t super;
38 mca_bml_base_component_t *bml_component;
39 mca_bml_base_module_t *bml_module;
40 };
41 typedef struct mca_bml_base_selected_module_t mca_bml_base_selected_module_t;
42
43 OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_bml_base_selected_module_t);
44
45 /*
46 * Global functions for MCA: overall BTL open and close
47 */
48
49 OMPI_DECLSPEC int mca_bml_base_open(void);
50 OMPI_DECLSPEC int mca_bml_base_init(bool enable_progress_threads,
51 bool enable_mpi_threads);
52 OMPI_DECLSPEC int mca_bml_base_close(void);
53 OMPI_DECLSPEC bool mca_bml_base_inited(void);
54
55 OMPI_DECLSPEC int mca_bml_base_ft_event(int state);
56
57
58 /*
59 * Globals
60 */
61 extern int mca_bml_base_already_opened;
62 OMPI_DECLSPEC extern int mca_bml_base_output;
63 OMPI_DECLSPEC extern mca_bml_base_component_t mca_bml_component;
64 OMPI_DECLSPEC extern opal_list_t mca_bml_base_components_available;
65 OMPI_DECLSPEC extern mca_bml_base_module_t mca_bml;
66
67 END_C_DECLS
68 #endif /* MCA_BML_BASE_H */
mca_bml_base_selected_module_t
Definition: base.h:36
mca_bml_base_module_t
BML module interface functions and attributes.
Definition: bml.h:555
bml.h
BML Management Layer (BML)
mca.h
Top-level interface for all MCA components.
opal_list_item_t
Definition: opal_list.h:98
OBJ_CLASS_DECLARATION
ORTE_DECLSPEC OBJ_CLASS_DECLARATION(mca_oob_base_info_t)
declare the association structure as a class
mca_bml_base_component_2_0_0_t
BML component descriptor.
Definition: bml.h:406
opal_list_t
Definition: opal_list.h:147