OpenMPI  0.1.1
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 (c) 2008 Cisco Systems, Inc. All rights reserved.
13  * Copyright (c) 2008-2011 University of Houston. All rights reserved.
14  * $COPYRIGHT$
15  *
16  * Additional copyrights may follow
17  *
18  * $HEADER$
19  */
20 
21 /**
22  * @file
23  *
24  * MCA fcoll base framework public interface functions.
25  */
26 
27 #ifndef MCA_FCOLL_BASE_H
28 #define MCA_FCOLL_BASE_H
29 
30 #include "ompi_config.h"
31 
32 #include "mpi.h"
33 #include "opal/class/opal_list.h"
34 #include "ompi/mca/fcoll/fcoll.h"
35 #include "opal/mca/mca.h"
36 
37 
38 BEGIN_C_DECLS
39 
40 OMPI_DECLSPEC int mca_fcoll_base_open(void);
41 
42 OMPI_DECLSPEC int mca_fcoll_base_close(void);
43 
44 OMPI_DECLSPEC int mca_fcoll_base_file_select(struct mca_io_ompio_file_t *file,
45  mca_base_component_t *preferred);
46 OMPI_DECLSPEC int mca_fcoll_base_query_table (struct mca_io_ompio_file_t *file,
47  char *name);
48 OMPI_DECLSPEC int mca_fcoll_base_file_unselect(struct mca_io_ompio_file_t *file);
49 
50 OMPI_DECLSPEC int mca_fcoll_base_find_available(bool enable_progress_threads,
51  bool enable_mpi_threads);
52 
53 OMPI_DECLSPEC int mca_fcoll_base_init_file (struct mca_io_ompio_file_t *file);
54 
55 OMPI_DECLSPEC int mca_fcoll_base_get_param (struct mca_io_ompio_file_t *file, int keyval);
56 /*
57  * Globals
58  */
59 
60 OMPI_DECLSPEC extern int mca_fcoll_base_param;
61 OMPI_DECLSPEC extern int mca_fcoll_base_output;
62 
63 OMPI_DECLSPEC extern bool mca_fcoll_base_components_opened_valid;
64 OMPI_DECLSPEC extern bool mca_fcoll_base_components_available_valid;
65 
66 OMPI_DECLSPEC extern opal_list_t mca_fcoll_base_components_opened;
67 OMPI_DECLSPEC extern opal_list_t mca_fcoll_base_components_available;
68 
69 END_C_DECLS
70 
71 #endif /* MCA_BASE_FCOLL_H */
Common type for all MCA components.
Definition: mca.h:250
The opal_list_t interface is used to provide a generic doubly-linked list container for Open MPI...
Top-level interface for all MCA components.
Back-end structure for MPI_File.
Definition: io_ompio.h:121
Definition: opal_list.h:147