summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-06-09 21:33:00 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-06-09 21:33:00 (GMT)
commite3d55f9f125a545f677047926024e94d0710f3e6 (patch)
treec28d727c11ff75922bf2b4181abdf4bda0f4d5d5 /src
parent91c305443ccad8d0857b41b341bfc91929ae4fcb (diff)
downloadhdf5-e3d55f9f125a545f677047926024e94d0710f3e6.zip
hdf5-e3d55f9f125a545f677047926024e94d0710f3e6.tar.gz
hdf5-e3d55f9f125a545f677047926024e94d0710f3e6.tar.bz2
[svn-r7008] Purpose:
Bug fix Description: Correct file->mpi->size to just mpi_size. Platforms tested: FreeBSD 4.8 (sleipnir) Misc. update: Reported by: Bill
Diffstat (limited to 'src')
-rw-r--r--src/H5Distore.c2
-rw-r--r--src/H5Fistore.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c
index 80ad9fd..baeac20 100644
--- a/src/H5Distore.c
+++ b/src/H5Distore.c
@@ -2327,7 +2327,7 @@ H5F_istore_allocate(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
if (H5F_block_write(f, H5FD_MEM_DRAW, udata.addr, udata.key.nbytes, dxpl_id, chunk)<0)
HGOTO_ERROR(H5E_IO, H5E_WRITEERROR, FAIL, "unable to write raw data to file");
} /* end if */
- mpi_round = (mpi_round+1)%file->mpi_size;
+ mpi_round = (mpi_round+1)%mpi_size;
/* Indicate that blocks are being written */
blocks_written=1;
diff --git a/src/H5Fistore.c b/src/H5Fistore.c
index 80ad9fd..baeac20 100644
--- a/src/H5Fistore.c
+++ b/src/H5Fistore.c
@@ -2327,7 +2327,7 @@ H5F_istore_allocate(H5F_t *f, hid_t dxpl_id, const H5O_layout_t *layout,
if (H5F_block_write(f, H5FD_MEM_DRAW, udata.addr, udata.key.nbytes, dxpl_id, chunk)<0)
HGOTO_ERROR(H5E_IO, H5E_WRITEERROR, FAIL, "unable to write raw data to file");
} /* end if */
- mpi_round = (mpi_round+1)%file->mpi_size;
+ mpi_round = (mpi_round+1)%mpi_size;
/* Indicate that blocks are being written */
blocks_written=1;