summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-19 20:16:20 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-19 20:16:20 (GMT)
commitb1514ea26de7e262a8b010129687dd18b55fa6b1 (patch)
tree5ed0b60487a6352c364d38f2b5e818db91503c27 /src/H5D.c
parent8aa24fc44a873655183ecab4b3bf54bbd708d7b8 (diff)
downloadhdf5-b1514ea26de7e262a8b010129687dd18b55fa6b1.zip
hdf5-b1514ea26de7e262a8b010129687dd18b55fa6b1.tar.gz
hdf5-b1514ea26de7e262a8b010129687dd18b55fa6b1.tar.bz2
[svn-r5680] Purpose:
New feature. Description: There is some discussion among the SAF team as to whether it is better to use MPI derived types for raw data transfers (thus needing a MPI_File_set_view() call), or whether it is better to use a sequence of low-level MPI types (i.e. MPI_BYTE) for the raw data transfer. Solution: Added an in internal flag to determine whether derived types are preferred (the default), or whether they should be avoided. An environment variable ("HDF5_MPI_PREFER_DERIVED_TYPES") can be set by users to control whether MPI types should be used or not. Set the environment variable to "0" (i.e.: 'setenv HDF5_MPI_PREFER_DERIVED_TYPES 0' to avoid using MPI derived types. Platforms tested: IRIX64 6.5 (modi4) w/parallel
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 5c9b123..1bd7081 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -2280,7 +2280,7 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
HGOTO_ERROR (H5E_DATASET, H5E_UNSUPPORTED, FAIL, "collective access for MPIO driver only");
/* Set the "parallel I/O possible" flag, for H5S_find() */
- if (H5_mpi_opt_types_g && IS_H5FD_MPIO(dataset->ent.file)) {
+ if (H5S_mpi_opt_types_g && IS_H5FD_MPIO(dataset->ent.file)) {
/* Only collective write should call this since it eventually
* calls MPI_File_set_view which is a collective call.
* See H5S_mpio_spaces_xfer() for details.
@@ -2715,7 +2715,7 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
HGOTO_ERROR (H5E_DATASET, H5E_UNSUPPORTED, FAIL, "collective access for MPIO driver only");
/* Set the "parallel I/O possible" flag, for H5S_find() */
- if (H5_mpi_opt_types_g && IS_H5FD_MPIO(dataset->ent.file)) {
+ if (H5S_mpi_opt_types_g && IS_H5FD_MPIO(dataset->ent.file)) {
/* Only collective write should call this since it eventually
* calls MPI_File_set_view which is a collective call.
* See H5S_mpio_spaces_xfer() for details.