summaryrefslogtreecommitdiffstats
path: root/src/H5Spkg.h
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2004-07-20 21:35:41 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2004-07-20 21:35:41 (GMT)
commit8933c596946b9ba88fb2ca66a3f46f1f1d209aed (patch)
tree84e3d9a39e134160a92b648c0b29b7696c8603ca /src/H5Spkg.h
parenta86779f3f79905ce923d4689c1fb614969370031 (diff)
downloadhdf5-8933c596946b9ba88fb2ca66a3f46f1f1d209aed.zip
hdf5-8933c596946b9ba88fb2ca66a3f46f1f1d209aed.tar.gz
hdf5-8933c596946b9ba88fb2ca66a3f46f1f1d209aed.tar.bz2
[svn-r8906] Purpose:
Adding the first round of patches about supporting collective chunk IO in HDF5 Description: The current HDF5 library doesn't support collective MPIO with chunk storage. When users set collective option in their data transfer with chunk storage, the library silently converted the option to INDEPENDENT and that caused trememdous performance penalty. Some application like WRF-parallel HDF5 IO module has to use contiguous storage for this reason. However, chunking storage has its own advantage(supporting compression filters and extensible dataset), so to make collective MPIO possible inside HDF5 with chunking storage is a very important task. This check-in make collective chunk IO possible for some special cases. The condition is as follows(either case is fine with using collective chunk IO) 1. for each process, the hyperslab selection of the file data space of each dataset is regular and it is fit in one chunk. 2. for each process, the hyperslab selection of the file data space of each dataset is single and the number of chunks for the hyperslab selection should be equal. Solution: Lift up the contiguous storage requirement for collective IO. Use H5D_isstore_get_addr to get the corresponding chunk address. Then the original library routines will take care of getting the correct address to make sure that MPI FILE TYPE is built correctly for collective IO> Platforms tested: arabica(sol), copper(AIX), eirene(Linux) parallel test is checked at copper. Misc. update:
Diffstat (limited to 'src/H5Spkg.h')
-rw-r--r--src/H5Spkg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Spkg.h b/src/H5Spkg.h
index 82bfec2..83eb041 100644
--- a/src/H5Spkg.h
+++ b/src/H5Spkg.h
@@ -240,8 +240,8 @@ H5_DLL herr_t H5S_mpio_spaces_write(H5F_t *f, const H5D_dxpl_cache_t *dxpl_cache
/* MPI-IO function to check if a direct I/O transfer is possible between
* memory and the file */
-H5_DLL htri_t H5S_mpio_opt_possible(const H5S_t *mem_space,
- const H5S_t *file_space, const unsigned flags);
+H5_DLL htri_t H5S_mpio_opt_possible(const H5F_t *file, const H5S_t *mem_space,
+ const H5S_t *file_space, const unsigned flags, const H5O_layout_t *layout);
#endif /* H5_HAVE_PARALLEL */