Skip to content

Commit

Permalink
enforce v18 default
Browse files Browse the repository at this point in the history
  • Loading branch information
markcmiller86 committed Sep 13, 2023
1 parent 33896fc commit 13650b5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/hdf5_drv/silo_hdf5.c
Original file line number Diff line number Diff line change
Expand Up @@ -4973,10 +4973,13 @@ db_hdf5_process_file_options(int opts_set_id, int mode, hid_t *fcpl)
H5AC_cache_config_t h5mdc_config;
#endif

/* Performance optimizations for memory footprint */
#if HDF5_VERSION_GE(1,10,2)
H5Pset_libver_bounds(retval, H5F_LIBVER_V18, H5F_LIBVER_V18);
#endif

if (mode & DB_PERF_OVER_COMPAT)
H5Pset_libver_bounds(retval, H5F_LIBVER_LATEST, H5F_LIBVER_LATEST);
#if HDF5_VERSION_GE(1,10,0)
#if HDF5_VERSION_GE(1,10,2)
if (mode & DB_COMPAT_OVER_PERF)
H5Pset_libver_bounds(retval, H5F_LIBVER_V18, H5F_LIBVER_V18);
#endif
Expand Down

0 comments on commit 13650b5

Please sign in to comment.