From e3d55f9f125a545f677047926024e94d0710f3e6 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 9 Jun 2003 16:33:00 -0500 Subject: [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 --- src/H5Distore.c | 2 +- src/H5Fistore.c | 2 +- 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; -- cgit v0.12