diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-05 20:05:52 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-06-05 20:05:52 (GMT) |
commit | c134146b3ee754526e9b976de799226b6469de47 (patch) | |
tree | 0a4ac12de7093ab917ccc9836098dea80b848150 /src/H5Dio.c | |
parent | 51b427848d17421d3922741e46cf0c0a6f2ce40b (diff) | |
download | hdf5-c134146b3ee754526e9b976de799226b6469de47.zip hdf5-c134146b3ee754526e9b976de799226b6469de47.tar.gz hdf5-c134146b3ee754526e9b976de799226b6469de47.tar.bz2 |
[svn-r6975] Purpose:
Bug fix
Description:
Don't attempt to perform collective I/O on chunked datasets.
Platforms tested:
FreeBSD 4.8 (sleipnir) w/parallel
h5committested
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r-- | src/H5Dio.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c index 25ac080..853af23 100644 --- a/src/H5Dio.c +++ b/src/H5Dio.c @@ -1483,6 +1483,10 @@ UNUSED FUNC_ENTER_NOINIT(H5D_chunk_read); +#ifdef H5_HAVE_PARALLEL + H5D_io_assist_mpio(dx_plist, doing_mpio, xfer_mode, &xfer_mode_changed); +#endif /*H5_HAVE_PARALLEL*/ + /* Map elements between file and memory for each chunk*/ if(H5D_create_chunk_map(dataset, mem_type, file_space, mem_space, &fm)<0) HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "can't build chunk mapping"); @@ -1561,10 +1565,6 @@ UNUSED * This is the general case(type conversion). */ -#ifdef H5_HAVE_PARALLEL - H5D_io_assist_mpio(dx_plist, doing_mpio, xfer_mode, &xfer_mode_changed); -#endif /*H5_HAVE_PARALLEL*/ - /* Compute element sizes and other parameters */ src_type_size = H5T_get_size(dataset->type); dst_type_size = H5T_get_size(mem_type); @@ -1840,6 +1840,10 @@ nelmts, H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space, FUNC_ENTER_NOINIT(H5D_chunk_write); +#ifdef H5_HAVE_PARALLEL + H5D_io_assist_mpio(dx_plist, doing_mpio, xfer_mode, &xfer_mode_changed); +#endif /*H5_HAVE_PARALLEL*/ + #ifdef QAK { int mpi_rank; @@ -1957,10 +1961,6 @@ nelmts, H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space, * This is the general case(type conversion). */ -#ifdef H5_HAVE_PARALLEL - H5D_io_assist_mpio(dx_plist, doing_mpio, xfer_mode, &xfer_mode_changed); -#endif /*H5_HAVE_PARALLEL*/ - /* Compute element sizes and other parameters */ src_type_size = H5T_get_size(mem_type); dst_type_size = H5T_get_size(dataset->type); |