diff options
-rw-r--r-- | src/H5D.c | 5 | ||||
-rw-r--r-- | src/H5Dprivate.h | 5 |
2 files changed, 10 insertions, 0 deletions
@@ -98,6 +98,11 @@ H5D_xfer_t H5D_xfer_dflt = { 0, /*coalesce single reads into a read */ /*transaction */ #endif +#ifdef H5_HAVE_PARALLEL + 0, /* Whether to use types for this I/O */ + MPI_DATATYPE_NULL, /* MPI type for buffer (memory) */ + MPI_DATATYPE_NULL, /* MPI type for file */ +#endif /* H5_HAVE_PARALLEL */ }; /* Interface initialization? */ diff --git a/src/H5Dprivate.h b/src/H5Dprivate.h index fc4ae44..ca277a6 100644 --- a/src/H5Dprivate.h +++ b/src/H5Dprivate.h @@ -72,6 +72,11 @@ typedef struct H5D_xfer_t { unsigned gather_reads; /*coalesce single reads into a read */ /*transaction */ #endif +#ifdef H5_HAVE_PARALLEL + unsigned use_types; /* Whether to use types for this I/O */ + MPI_Datatype btype; /* MPI type for buffer (memory) */ + MPI_Datatype ftype; /* MPI type for file */ +#endif /* H5_HAVE_PARALLEL */ } H5D_xfer_t; typedef struct H5D_t H5D_t; |