HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
H5FDmpio.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
2  * Copyright by The HDF Group. *
3  * Copyright by the Board of Trustees of the University of Illinois. *
4  * All rights reserved. *
5  * *
6  * This file is part of HDF5. The full HDF5 copyright notice, including *
7  * terms governing use, modification, and redistribution, is contained in *
8  * the files COPYING and Copyright.html. COPYING can be found at the root *
9  * of the source code distribution tree; Copyright.html can be found at the *
10  * root level of an installed copy of the electronic HDF5 document set and *
11  * is linked from the top-level documents page. It can also be found at *
12  * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
13  * access to either file, you may request a copy from help@hdfgroup.org. *
14  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /*
17  * Programmer: Robb Matzke <matzke@llnl.gov>
18  * Monday, August 2, 1999
19  *
20  * Purpose: The public header file for the mpio driver.
21  */
22 #ifndef H5FDmpio_H
23 #define H5FDmpio_H
24 
25 #ifdef H5_HAVE_PARALLEL
26 # define H5FD_MPIO (H5FD_mpio_init())
27 #else
28 # define H5FD_MPIO (-1)
29 #endif /* H5_HAVE_PARALLEL */
30 
31 /* Macros */
32 
33 #ifdef H5_HAVE_PARALLEL
34 /*Turn on H5FDmpio_debug if H5F_DEBUG is on */
35 #ifdef H5F_DEBUG
36 #ifndef H5FDmpio_DEBUG
37 #define H5FDmpio_DEBUG
38 #endif
39 #endif
40 
41 /* Function prototypes */
42 #ifdef __cplusplus
43 extern "C" {
44 #endif
45 H5_DLL hid_t H5FD_mpio_init(void);
46 H5_DLL void H5FD_mpio_term(void);
47 H5_DLL herr_t H5Pset_fapl_mpio(hid_t fapl_id, MPI_Comm comm, MPI_Info info);
48 H5_DLL herr_t H5Pget_fapl_mpio(hid_t fapl_id, MPI_Comm *comm/*out*/,
49  MPI_Info *info/*out*/);
50 H5_DLL herr_t H5Pset_dxpl_mpio(hid_t dxpl_id, H5FD_mpio_xfer_t xfer_mode);
51 H5_DLL herr_t H5Pget_dxpl_mpio(hid_t dxpl_id, H5FD_mpio_xfer_t *xfer_mode/*out*/);
52 H5_DLL herr_t H5Pset_dxpl_mpio_collective_opt(hid_t dxpl_id, H5FD_mpio_collective_opt_t opt_mode);
53 H5_DLL herr_t H5Pset_dxpl_mpio_chunk_opt(hid_t dxpl_id, H5FD_mpio_chunk_opt_t opt_mode);
54 H5_DLL herr_t H5Pset_dxpl_mpio_chunk_opt_num(hid_t dxpl_id, unsigned num_chunk_per_proc);
55 H5_DLL herr_t H5Pset_dxpl_mpio_chunk_opt_ratio(hid_t dxpl_id, unsigned percent_num_proc_per_chunk);
56 #ifdef __cplusplus
57 }
58 #endif
59 
60 #endif /* H5_HAVE_PARALLEL */
61 
62 #endif
#define H5_DLL
Definition: H5api_adpt.h:406
H5FD_mpio_xfer_t
Definition: H5FDmpi.h:40
int herr_t
Definition: H5public.h:107
H5FD_mpio_chunk_opt_t
Definition: H5FDmpi.h:46
int hid_t
Definition: H5Ipublic.h:56
H5FD_mpio_collective_opt_t
Definition: H5FDmpi.h:53