diff options
author | Robert Kim Yates <rkyates@llnl.gov> | 1998-02-02 16:26:49 (GMT) |
---|---|---|
committer | Robert Kim Yates <rkyates@llnl.gov> | 1998-02-02 16:26:49 (GMT) |
commit | a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce (patch) | |
tree | f46ba7832c2c9acc9e812522329f2328c410b5e0 /src/H5Fprivate.h | |
parent | 8831ff175c42845c6c523fbbbf035ec1f00a779c (diff) | |
download | hdf5-a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce.zip hdf5-a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce.tar.gz hdf5-a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce.tar.bz2 |
[svn-r211] Added hooks for MPI-IO low-level I/O module.
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r-- | src/H5Fprivate.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index b9cea0b..19b1380 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -22,6 +22,12 @@ /* This is a near top-level header! Try not to include much! */ #include <H5private.h> +#ifdef PHDF5 +#ifndef MPI_SUCCESS +#include <mpi.h> +#include <mpio.h> +#endif +#endif /* * Feature: Define this constant to be non-zero if you want to enable code @@ -298,6 +304,13 @@ typedef struct H5F_low_t { size_t alloc; /* Current size of MEM buffer */ } core; +#ifdef PHDF5 + /* MPI-IO */ + struct { + MPI_File f; /* MPI-IO file handle */ + } mpio; +#endif + } u; } H5F_low_t; @@ -310,6 +323,11 @@ extern const H5F_low_class_t H5F_LOW_STDIO[]; /* Posix stdio */ extern const H5F_low_class_t H5F_LOW_CORE[]; /* In-core temp file */ extern const H5F_low_class_t H5F_LOW_FAM[]; /* File family */ extern const H5F_low_class_t H5F_LOW_SPLIT[]; /* Split meta/raw data */ +#ifdef PHDF5 + extern const H5F_low_class_t H5F_LOW_MPIO[]; /* MPI-IO */ +# undef H5F_LOW_DFLT +# define H5F_LOW_DFLT H5F_LOW_MPIO /* The default type */ +#endif /* * Define the structure to store the file information for HDF5 files. One of |