HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
H5FDmpi.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: Quincey Koziol <koziol@ncsa.uiuc.edu>
18  * Friday, January 30, 2004
19  *
20  * Purpose: The public header file for common items for all MPI VFL drivers
21  */
22 #ifndef H5FDmpi_H
23 #define H5FDmpi_H
24 
25 /***** Macros for One linked collective IO case. *****/
26 /* The default value to do one linked collective IO for all chunks.
27  If the average number of chunks per process is greater than this value,
28  the library will create an MPI derived datatype to link all chunks to do collective IO.
29  The user can set this value through an API. */
30 
31 #define H5D_ONE_LINK_CHUNK_IO_THRESHOLD 0
32 /***** Macros for multi-chunk collective IO case. *****/
33 /* The default value of the threshold to do collective IO for this chunk.
34  If the average percentage of processes per chunk is greater than the default value,
35  collective IO is done for this chunk.
36 */
37 
38 #define H5D_MULTI_CHUNK_IO_COL_THRESHOLD 60
39 /* Type of I/O for data transfer properties */
40 typedef enum H5FD_mpio_xfer_t {
41  H5FD_MPIO_INDEPENDENT = 0, /*zero is the default*/
44 
45 /* Type of chunked dataset I/O */
46 typedef enum H5FD_mpio_chunk_opt_t {
48  H5FD_MPIO_CHUNK_ONE_IO, /*zero is the default*/
51 
52 /* Type of collective I/O */
55  H5FD_MPIO_INDIVIDUAL_IO /*zero is the default*/
57 
58 /* Include all the MPI VFL headers */
59 #include "H5FDmpio.h" /* MPI I/O file driver */
60 #include "H5FDmpiposix.h" /* MPI/posix I/O file driver */
61 
62 #endif /* H5FDmpi_H */
63 
H5FD_mpio_xfer_t
Definition: H5FDmpi.h:40
H5FD_mpio_chunk_opt_t
Definition: H5FDmpi.h:46
H5FD_mpio_collective_opt_t
Definition: H5FDmpi.h:53