diff options
Diffstat (limited to 'src/H5Distore.c')
-rw-r--r-- | src/H5Distore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Distore.c b/src/H5Distore.c index ffbc6de..80ad9fd 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)%mpi_size; + mpi_round = (mpi_round+1)%file->mpi_size; /* Indicate that blocks are being written */ blocks_written=1; |