summaryrefslogtreecommitdiffstats
path: root/src/H5Dio.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-10-28 00:16:28 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-10-28 00:16:28 (GMT)
commit99d8cfc9710167d968026bba7a878284b17ef63b (patch)
treec8dc72f242c8565e498b36a7e4adb865a877f73e /src/H5Dio.c
parentcec846b3d0685c5cfb57d58f1dfe106dfec9e276 (diff)
downloadhdf5-99d8cfc9710167d968026bba7a878284b17ef63b.zip
hdf5-99d8cfc9710167d968026bba7a878284b17ef63b.tar.gz
hdf5-99d8cfc9710167d968026bba7a878284b17ef63b.tar.bz2
[svn-r7759] Purpose:
Fix serial build Description: I accidentally put the "use_par_opt_io" variable in an #ifdef PARALLEL section. Solution: Hoist it out of parallel section Platforms tested: Eyeballed it - very trivial
Diffstat (limited to 'src/H5Dio.c')
-rw-r--r--src/H5Dio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c
index 12d4dec..8188303 100644
--- a/src/H5Dio.c
+++ b/src/H5Dio.c
@@ -513,9 +513,9 @@ H5D_read(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
H5T_path_t *tpath = NULL; /*type conversion info */
hid_t src_id = -1, dst_id = -1;/*temporary type atoms */
H5S_conv_t *sconv=NULL; /*space conversion funcs*/
+ hbool_t use_par_opt_io=FALSE; /* Whether the 'optimized' I/O routines with be parallel */
#ifdef H5_HAVE_PARALLEL
H5FD_mpio_xfer_t xfer_mode; /*xfer_mode for this request */
- hbool_t use_par_opt_io=FALSE; /* Whether the 'optimized' I/O routines with be parallel */
hbool_t xfer_mode_changed=FALSE; /* Whether the transfer mode was changed */
#endif /*H5_HAVE_PARALLEL*/
H5P_genplist_t *dx_plist=NULL; /* Data transfer property list */
@@ -738,9 +738,9 @@ H5D_write(H5D_t *dataset, const H5T_t *mem_type, const H5S_t *mem_space,
H5T_path_t *tpath = NULL; /*type conversion info */
hid_t src_id = -1, dst_id = -1;/*temporary type atoms */
H5S_conv_t *sconv=NULL; /*space conversion funcs*/
+ hbool_t use_par_opt_io=FALSE; /* Whether the 'optimized' I/O routines with be parallel */
#ifdef H5_HAVE_PARALLEL
H5FD_mpio_xfer_t xfer_mode; /*xfer_mode for this request */
- hbool_t use_par_opt_io=FALSE; /* Whether the 'optimized' I/O routines with be parallel */
hbool_t xfer_mode_changed=FALSE; /* Whether the transfer mode was changed */
#endif /*H5_HAVE_PARALLEL*/
H5P_genplist_t *dx_plist=NULL; /* Data transfer property list */