summaryrefslogtreecommitdiffstats
path: root/src/H5Dcontig.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-28 14:40:15 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-28 14:40:15 (GMT)
commit1e7b213aa26cd2b7c2b23891c2759b2e60166d70 (patch)
treeb51d182c31d9eaf28c7ffa2f44726919427e5672 /src/H5Dcontig.c
parent3a6c866bf8ed5a378019aaa08bf589dafa1ebc74 (diff)
downloadhdf5-1e7b213aa26cd2b7c2b23891c2759b2e60166d70.zip
hdf5-1e7b213aa26cd2b7c2b23891c2759b2e60166d70.tar.gz
hdf5-1e7b213aa26cd2b7c2b23891c2759b2e60166d70.tar.bz2
[svn-r7764] Purpose:
Bug fix Description: Code was using an internal DXPL with collective I/O turned on during independent I/O operations to fill dataset on disk. Solution: Switched to internal DXPL with independent I/O Platforms tested: FreeBSD 4.9 (sleipnir) FreeBSD 4.9 (sleipnir) w/parallel Linux 2.4 (verbena) w/fortran & C++ Solaris 2.7 (arabica) w/64-bit extensions enabled
Diffstat (limited to 'src/H5Dcontig.c')
-rw-r--r--src/H5Dcontig.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Dcontig.c b/src/H5Dcontig.c
index 7867be7..f47f725 100644
--- a/src/H5Dcontig.c
+++ b/src/H5Dcontig.c
@@ -264,9 +264,10 @@ H5F_contig_fill(H5F_t *f, hid_t dxpl_id, struct H5O_layout_t *layout,
#ifdef H5_HAVE_PARALLEL
/* Check if this file is accessed with an MPI-capable file driver */
if(using_mpi) {
- /* Round-robin write the chunks out from only one process */
+ /* Write the chunks out from only one process */
+ /* !! Use the internal "independent" DXPL!! -QAK */
if(H5_PAR_META_WRITE==mpi_rank) {
- if (H5F_contig_write(f, (hsize_t)size, addr, size, dxpl_id, buf)<0)
+ if (H5F_contig_write(f, (hsize_t)size, addr, size, H5AC_ind_dxpl_id, buf)<0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to write fill value to dataset");
} /* end if */