summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Kim Yates <rkyates@llnl.gov>1998-04-24 17:06:13 (GMT)
committerRobert Kim Yates <rkyates@llnl.gov>1998-04-24 17:06:13 (GMT)
commitf0d63c94da1d420cbf93c7c3f488c4f49132d095 (patch)
tree957941dee56230758cfde88795d0f24b23aba754
parent7cdb1f649f5fcdaac00d2659cc8303ea02aa8aba (diff)
downloadhdf5-f0d63c94da1d420cbf93c7c3f488c4f49132d095.zip
hdf5-f0d63c94da1d420cbf93c7c3f488c4f49132d095.tar.gz
hdf5-f0d63c94da1d420cbf93c7c3f488c4f49132d095.tar.bz2
[svn-r372] Removed redundant write from H5F_mpio_write.
-rw-r--r--src/H5Fmpio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/H5Fmpio.c b/src/H5Fmpio.c
index 39307e5..d55716c 100644
--- a/src/H5Fmpio.c
+++ b/src/H5Fmpio.c
@@ -498,6 +498,9 @@ H5F_mpio_read(H5F_low_t *lf, const H5F_access_t *access_parms,
* rky, 10 Apr 1998
* Call independent or collective MPI write, based on ACCESS_PARMS.
*
+ * rky, 24 April
+ * Removed redundant write from H5F_Mpio_write.
+ *
*-------------------------------------------------------------------------
*/
static herr_t
@@ -541,8 +544,6 @@ H5F_mpio_write(H5F_low_t *lf, const H5F_access_t *access_parms,
default:
HRETURN_ERROR(H5E_IO, H5E_BADVALUE, NULL, "invalid file access mode");
}
- mpierr = MPI_File_write_at( lf->u.mpio.f, mpi_off, (void*) buf,
- size_i, MPI_BYTE, &mpi_stat );
if (mpierr != MPI_SUCCESS) {
MPI_Error_string( mpierr, mpierrmsg, &msglen );
HRETURN_ERROR(H5E_IO, H5E_READERROR, FAIL, mpierrmsg );