OpenMPI  0.1.1
bml_r2.h
Go to the documentation of this file.
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$
13  *
14  * Additional copyrights may follow
15  *
16  * $HEADER$
17  */
18 /**
19  * @file
20  *
21  * BML Management Layer (BML)
22  *
23  */
24 
25 #include "ompi_config.h"
26 #include "opal/mca/mca.h"
27 #include "ompi/mca/btl/btl.h"
28 
29 #ifndef MCA_BML_R2_H
30 #define MCA_BML_R2_H
31 
32 #include "ompi/types.h"
33 #include "ompi/mca/bml/bml.h"
34 
35 BEGIN_C_DECLS
36 
37 /**
38  * BML module interface functions and attributes.
39  */
41  mca_bml_base_module_t super;
42  size_t num_btl_modules;
43  mca_btl_base_module_t** btl_modules;
44  size_t num_btl_progress;
46  bool btls_added;
47  bool show_unreach_errors;
48 };
49 
51 
52 OMPI_DECLSPEC extern mca_bml_base_component_2_0_0_t mca_bml_r2_component;
53 extern mca_bml_r2_module_t mca_bml_r2;
54 
55 int mca_bml_r2_component_open(void);
56 int mca_bml_r2_component_close(void);
57 
58 mca_bml_base_module_t* mca_bml_r2_component_init( int* priority,
59  bool enable_progress_threads,
60  bool enable_mpi_threads );
61 
62 int mca_bml_r2_progress(void);
63 
64 int mca_bml_r2_component_fini(void);
65 
66 int mca_bml_r2_ft_event(int status);
67 
68 int mca_bml_r2_finalize( void );
69 
70 END_C_DECLS
71 
72 #endif /* OMPI_MCA_BML_R2_H */
BML module interface functions and attributes.
Definition: bml.h:555
int(* mca_btl_base_component_progress_fn_t)(void)
MCA->BTL Called to progress outstanding requests for non-threaded polling environments.
Definition: btl.h:374
BML Management Layer (BML)
Top-level interface for all MCA components.
BML module interface functions and attributes.
Definition: bml_r2.h:40
Byte Transfer Layer (BTL)
BML component descriptor.
Definition: bml.h:406
BTL module interface functions and attributes.
Definition: btl.h:786