diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2006-03-14 18:29:35 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2006-03-14 18:29:35 (GMT) |
commit | a4c816eb75c20de14a5e557ffd76c33190152ce2 (patch) | |
tree | d486af4248f19dca54b25c525af5e79766a37959 /src/H5Dprivate.h | |
parent | 838e79971076a29aea1fbad1c1b8d218d6da8644 (diff) | |
download | hdf5-a4c816eb75c20de14a5e557ffd76c33190152ce2.zip hdf5-a4c816eb75c20de14a5e557ffd76c33190152ce2.tar.gz hdf5-a4c816eb75c20de14a5e557ffd76c33190152ce2.tar.bz2 |
[svn-r12090] Purpose:
New APIs to add for collective chunk IO
Description:
Three new APIs
H5Pset_dxpl_mpio_chunk_opt_ratio
H5Pset_dxpl_mpio_chunk_opt_num
H5Pset_dxpl_mpio_chunk_opt
for optional optimization choices from users.
Solution:
Haven't added tests yet, won't affect other parts of the library.
Will add tests after urgent investigations of memory leaking problems from NASA Aura team.
Platforms tested:
heping: both parallel and sequential
shanti
Misc. update:
Diffstat (limited to 'src/H5Dprivate.h')
-rw-r--r-- | src/H5Dprivate.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/H5Dprivate.h b/src/H5Dprivate.h index 2117d30..42be608 100644 --- a/src/H5Dprivate.h +++ b/src/H5Dprivate.h @@ -141,6 +141,18 @@ #define H5D_XFER_IO_XFER_MODE_NAME "io_xfer_mode" #define H5D_XFER_IO_XFER_MODE_SIZE sizeof(H5FD_mpio_xfer_t) #define H5D_XFER_IO_XFER_MODE_DEF H5FD_MPIO_INDEPENDENT +/* Definitions for optimization of MPI-IO transfer mode property */ +#define H5D_XFER_MPIO_CHUNK_OPT_HARD_NAME "mpio_chunk_opt_hard" +#define H5D_XFER_MPIO_CHUNK_OPT_HARD_SIZE sizeof(H5FD_mpio_chunk_opt_t) +#define H5D_XFER_MPIO_CHUNK_OPT_HARD_DEF H5FD_MPIO_OPT_IGNORE + +#define H5D_XFER_MPIO_CHUNK_OPT_NUM_NAME "mpio_chunk_opt_num" +#define H5D_XFER_MPIO_CHUNK_OPT_NUM_SIZE sizeof(unsigned) +#define H5D_XFER_MPIO_CHUNK_OPT_NUM_DEF H5D_ONE_LINK_CHUNK_IO_THRESHOLD + +#define H5D_XFER_MPIO_CHUNK_OPT_RATIO_NAME "mpio_chunk_opt_ratio" +#define H5D_XFER_MPIO_CHUNK_OPT_RATIO_SIZE sizeof(unsigned) +#define H5D_XFER_MPIO_CHUNK_OPT_RATIO_DEF H5D_MULTI_CHUNK_IO_COL_THRESHOLD /* Definitions for EDC property */ #define H5D_XFER_EDC_NAME "err_detect" #define H5D_XFER_EDC_SIZE sizeof(H5Z_EDC_t) |