diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-10-28 00:16:35 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-10-28 00:16:35 (GMT) |
commit | bba4295cb1f53ac735060d9a518e6f32fa465d9c (patch) | |
tree | 0f346fa509fcab24b7153dc1261b4fdf02adfef4 | |
parent | 45bf0a583f75ac16006b970cc4e6f7f25b6b3fc3 (diff) | |
download | hdf5-bba4295cb1f53ac735060d9a518e6f32fa465d9c.zip hdf5-bba4295cb1f53ac735060d9a518e6f32fa465d9c.tar.gz hdf5-bba4295cb1f53ac735060d9a518e6f32fa465d9c.tar.bz2 |
[svn-r7760] 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
-rw-r--r-- | src/H5Dio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Dio.c b/src/H5Dio.c index ce75021..1821205 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 */ @@ -734,9 +734,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 */ |