OpenMPI 0.1.1

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

- File List
- Globals

fbtl_pvfs2.h
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-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-2005 The Regents of the University of California.
11 * All rights reserved.
12 * Copyright (c) 2008-2011 University of Houston. All rights reserved.
13 * $COPYRIGHT$
14 *
15 * Additional copyrights may follow
16 *
17 * $HEADER$
18 */
19
20 #ifndef MCA_FBTL_PVFS2_H
21 #define MCA_FBTL_PVFS2_H
22
23 #include "ompi_config.h"
24 #include "opal/mca/mca.h"
25 #include "ompi/mca/fbtl/fbtl.h"
26 #include "ompi/mca/io/ompio/io_ompio.h"
27 #include "ompi/mca/fs/pvfs2/fs_pvfs2.h"
28 #include "pvfs2.h"
29 #include "pvfs2-compat.h"
30
31 /*
32 #ifdef HAVE_PVFS2_H
33 #include "pvfs2.h"
34 #endif
35
36 #ifdef PVFS2_VERSION_MAJOR
37 #include "pvfs2-compat.h"
38 #endif
39 */
40 extern int mca_fbtl_pvfs2_priority;
41
42 BEGIN_C_DECLS
43
44 int mca_fbtl_pvfs2_component_init_query(bool enable_progress_threads,
45 bool enable_mpi_threads);
46 struct mca_fbtl_base_module_1_0_0_t *
47 mca_fbtl_pvfs2_component_file_query (mca_io_ompio_file_t *file, int *priority);
48 int mca_fbtl_pvfs2_component_file_unquery (mca_io_ompio_file_t *file);
49
50 int mca_fbtl_pvfs2_module_init (mca_io_ompio_file_t *file);
51 int mca_fbtl_pvfs2_module_finalize (mca_io_ompio_file_t *file);
52
53 OMPI_MODULE_DECLSPEC extern mca_fbtl_base_component_2_0_0_t mca_fbtl_pvfs2_component;
54 /*
55 * ******************************************************************
56 * ********* functions which are implemented in this module *********
57 * ******************************************************************
58 */
59
60 size_t mca_fbtl_pvfs2_preadv (mca_io_ompio_file_t *file,
61 int *sorted);
62 size_t mca_fbtl_pvfs2_pwritev (mca_io_ompio_file_t *file,
63 int *sorted);
64 size_t mca_fbtl_pvfs2_ipreadv (mca_io_ompio_file_t *file,
65 int *sorted, ompi_request_t **request);
66 size_t mca_fbtl_pvfs2_ipwritev (mca_io_ompio_file_t *file,
67 int *sorted, ompi_request_t **request);
68
69 /*
70 * ******************************************************************
71 * ************ functions implemented in this module end ************
72 * ******************************************************************
73 */
74
75 END_C_DECLS
76
77 #endif /* MCA_FBTL_PVFS2_H */
mca_fbtl_base_module_1_0_0_t
Definition: fbtl.h:138
mca.h
Top-level interface for all MCA components.
mca_io_ompio_file_t
Back-end structure for MPI_File.
Definition: io_ompio.h:121
request
Definition: evdns.c:158
mca_fbtl_base_component_2_0_0_t
Definition: fbtl.h:92
ompi_request_t
Main top-level request struct definition.
Definition: request.h:100