diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 20:20:11 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-19 20:20:11 (GMT) |
commit | 8f803c26fd7f2b7edb1112a3e780eb5905ba0053 (patch) | |
tree | 3bbba4302256052ccaecec56a0a8d3901c163753 /src/H5Sprivate.h | |
parent | 5d21740186aa1dbc65ff9c1343bf4f19233c3ca3 (diff) | |
download | hdf5-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/H5Sprivate.h')
-rw-r--r-- | src/H5Sprivate.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/H5Sprivate.h b/src/H5Sprivate.h index 6c11dbb..18fbe00 100644 --- a/src/H5Sprivate.h +++ b/src/H5Sprivate.h @@ -262,8 +262,10 @@ __DLL__ herr_t H5S_mpio_spaces_write(H5F_t *f, const void *buf, hbool_t *must_convert /*out*/ ); #ifndef _H5S_IN_H5S_C -/* Global var whose value comes from environment variable */ -__DLLVAR__ hbool_t H5_mpi_opt_types_g; +/* Global vars whose value comes from environment variable */ +/* (Defined in H5S.c) */ +__DLLVAR__ hbool_t H5S_mpi_opt_types_g; +__DLLVAR__ hbool_t H5S_mpi_prefer_derived_types_g; #endif /* _H5S_IN_H5S_C */ #endif /* H5_HAVE_PARALLEL */ |