summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorRobert Kim Yates <rkyates@llnl.gov>1998-08-28 19:08:33 (GMT)
committerRobert Kim Yates <rkyates@llnl.gov>1998-08-28 19:08:33 (GMT)
commit01b8b7cc529ad727f8477a7129bc6a6aae926fc6 (patch)
treea1080c468c7d73d1a500e955007bdaed6be33a30 /src/H5D.c
parent1b1be9918c1a654225f2040619f0b26ae83028fb (diff)
downloadhdf5-01b8b7cc529ad727f8477a7129bc6a6aae926fc6.zip
hdf5-01b8b7cc529ad727f8477a7129bc6a6aae926fc6.tar.gz
hdf5-01b8b7cc529ad727f8477a7129bc6a6aae926fc6.tar.bz2
[svn-r628] MPI buffer and file type optimization is bypassed,
unless the environment variable HDF5_MPI_OPT_TYPES is nonzero.
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index d9d0b78..c5550d7 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1378,7 +1378,8 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
* mem-and-file-dataspace-xfer functions
* (the latter in case the arguments to sconv_funcs
* turn out to be inappropriate for MPI-IO). */
- if (dataset->ent.file->shared->access_parms->driver == H5F_LOW_MPIO) {
+ if (H5_mpi_opt_types_g &&
+ H5F_LOW_MPIO==dataset->ent.file->shared->access_parms->driver) {
sconv->read = H5S_mpio_spaces_read;
}
#endif /*HAVE_PARALLEL*/
@@ -1730,7 +1731,8 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
* mem-and-file-dataspace-xfer functions
* (the latter in case the arguments to sconv_funcs
* turn out to be inappropriate for MPI-IO). */
- if (dataset->ent.file->shared->access_parms->driver == H5F_LOW_MPIO) {
+ if (H5_mpi_opt_types_g &&
+ H5F_LOW_MPIO==dataset->ent.file->shared->access_parms->driver) {
sconv->write = H5S_mpio_spaces_write;
}
#endif /*HAVE_PARALLEL*/