summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-19 20:20:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-19 20:20:11 (GMT)
commit8f803c26fd7f2b7edb1112a3e780eb5905ba0053 (patch)
tree3bbba4302256052ccaecec56a0a8d3901c163753 /src/H5D.c
parent5d21740186aa1dbc65ff9c1343bf4f19233c3ca3 (diff)
downloadhdf5-8f803c26fd7f2b7edb1112a3e780eb5905ba0053.zip
hdf5-8f803c26fd7f2b7edb1112a3e780eb5905ba0053.tar.gz
hdf5-8f803c26fd7f2b7edb1112a3e780eb5905ba0053.tar.bz2
[svn-r5681] 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 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 fea42af..25911d2 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1703,7 +1703,7 @@ printf("%s: check 1.0, nelmts=%d\n",FUNC,(int)nelmts);
* mem-and-file-dataspace-xfer functions
* (the latter in case the arguments to sconv_funcs
* turn out to be inappropriate for MPI-IO). */
- if (H5_mpi_opt_types_g &&
+ 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.
@@ -2190,7 +2190,7 @@ 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 (H5_mpi_opt_types_g &&
+ 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.