diff options
author | Robert Kim Yates <rkyates@llnl.gov> | 1998-08-17 15:15:19 (GMT) |
---|---|---|
committer | Robert Kim Yates <rkyates@llnl.gov> | 1998-08-17 15:15:19 (GMT) |
commit | 8ed18c9e73733939216251e1d154b18e7d34bad3 (patch) | |
tree | 933d65a6dbac2ff4d238093d8fec65607c69f911 /src/H5Fprivate.h | |
parent | 05db4b09cd1710e76f50115e5f5ff0691e65215d (diff) | |
download | hdf5-8ed18c9e73733939216251e1d154b18e7d34bad3.zip hdf5-8ed18c9e73733939216251e1d154b18e7d34bad3.tar.gz hdf5-8ed18c9e73733939216251e1d154b18e7d34bad3.tar.bz2 |
[svn-r598] Added code to convert HDF dataspace selections to MPI datatypes.
Diffstat (limited to 'src/H5Fprivate.h')
-rw-r--r-- | src/H5Fprivate.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/H5Fprivate.h b/src/H5Fprivate.h index b230b06..1dba61c 100644 --- a/src/H5Fprivate.h +++ b/src/H5Fprivate.h @@ -269,8 +269,15 @@ typedef struct H5F_access_t { #ifdef HAVE_PARALLEL /* Properties for parallel I/O */ struct { - MPI_Comm comm; /* communicator for file access */ - MPI_Info info; /* optional info for MPI-IO */ + MPI_Comm comm; /* communicator for file access */ + MPI_Info info; /* optional info for MPI-IO */ + MPI_Datatype btype; /* buffer type for xfers */ + MPI_Datatype ftype; /* file type for xfers */ + haddr_t disp; /* displacement for set_view in xfers */ + int use_types; /* if !0, use btype, ftype, disp. */ + /* otherwise do simple byteblk xfer */ + int old_use_types; /* remember value of use_types */ + /* from last xfer */ } mpio; #endif @@ -303,6 +310,8 @@ typedef struct H5MF_free_t { /* * Define the low-level file interface. */ +/* rky 980816 Removed const modifier from access params for read and write, + * because H5F_mpio_read and H5F_mpio_write alter some fields therein. */ typedef struct H5F_low_class_t { hbool_t (*access)(const char *name, const H5F_access_t *access_parms, int mode, H5F_search_t *key/*out*/); |