MISR Toolkit  1.5.1
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 COPYING file, which can be found at the root of the source code *
9  * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
10  * If you do not have access to either file, you may request a copy from *
11  * help@hdfgroup.org. *
12  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
13 
14 /*
15  * Programmer: Robb Matzke <matzke@llnl.gov>
16  * Monday, August 2, 1999
17  *
18  * Purpose: The public header file for the mpio driver.
19  */
20 #ifndef H5FDmpio_H
21 #define H5FDmpio_H
22 
23 /* Macros */
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 #ifdef H5_HAVE_PARALLEL
32 /*Turn on H5FDmpio_debug if H5F_DEBUG is on */
33 #ifdef H5F_DEBUG
34 #ifndef H5FDmpio_DEBUG
35 #define H5FDmpio_DEBUG
36 #endif
37 #endif
38 
39 /* Global var whose value comes from environment variable */
40 /* (Defined in H5FDmpio.c) */
41 H5_DLLVAR hbool_t H5FD_mpi_opt_types_g;
42 
43 /* Function prototypes */
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47 H5_DLL hid_t H5FD_mpio_init(void);
48 H5_DLL void H5FD_mpio_term(void);
49 H5_DLL herr_t H5Pset_fapl_mpio(hid_t fapl_id, MPI_Comm comm, MPI_Info info);
50 H5_DLL herr_t H5Pget_fapl_mpio(hid_t fapl_id, MPI_Comm *comm/*out*/,
51  MPI_Info *info/*out*/);
52 H5_DLL herr_t H5Pset_dxpl_mpio(hid_t dxpl_id, H5FD_mpio_xfer_t xfer_mode);
53 H5_DLL herr_t H5Pget_dxpl_mpio(hid_t dxpl_id, H5FD_mpio_xfer_t *xfer_mode/*out*/);
54 H5_DLL herr_t H5Pset_dxpl_mpio_collective_opt(hid_t dxpl_id, H5FD_mpio_collective_opt_t opt_mode);
55 H5_DLL herr_t H5Pset_dxpl_mpio_chunk_opt(hid_t dxpl_id, H5FD_mpio_chunk_opt_t opt_mode);
56 H5_DLL herr_t H5Pset_dxpl_mpio_chunk_opt_num(hid_t dxpl_id, unsigned num_chunk_per_proc);
57 H5_DLL herr_t H5Pset_dxpl_mpio_chunk_opt_ratio(hid_t dxpl_id, unsigned percent_num_proc_per_chunk);
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* H5_HAVE_PARALLEL */
63 
64 #endif
HDFFCLIBAPI intf * info
unsigned int hbool_t
Definition: H5public.h:142
#define H5_DLL
Definition: H5api_adpt.h:256
H5FD_mpio_xfer_t
Definition: H5FDmpi.h:38
int herr_t
Definition: H5public.h:124
H5FD_mpio_chunk_opt_t
Definition: H5FDmpi.h:44
int hid_t
Definition: H5Ipublic.h:54
H5FD_mpio_collective_opt_t
Definition: H5FDmpi.h:51
#define H5_DLLVAR
Definition: H5api_adpt.h:257

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:52