diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-10-19 17:07:26 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-10-19 17:07:26 (GMT) |
commit | a1edc7069162a619957c7407d04b91e081044219 (patch) | |
tree | ca5e64791fcad2730a6ae92d7ba667bf9306cc41 /tools/h5repack/h5repack.h | |
parent | 78a3d673e6cb491d8087b74d0e2cbdd8ca89bb47 (diff) | |
download | hdf5-a1edc7069162a619957c7407d04b91e081044219.zip hdf5-a1edc7069162a619957c7407d04b91e081044219.tar.gz hdf5-a1edc7069162a619957c7407d04b91e081044219.tar.bz2 |
[svn-r12784]
Fixes for bugs 676, 228
676: both h5repack and h5diff use H5Dread. In the case of a "big"
dataset, use read/write by hyperslabs the same way h5dump uses. An
arbitrary value of 1GB was defined for "big", i.e, if the dataset is
greater than 1GB, then read/write by hyperslabs
228: use the file type in read/write by default. A new switch -n was
introduced if the user wants to use a native type, which was the
previous use by default.
Added a new test for h5repack that repacks a 1GB dataset
Tested: heping (serial, parallel), sol, copper
Diffstat (limited to 'tools/h5repack/h5repack.h')
-rw-r--r-- | tools/h5repack/h5repack.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack.h b/tools/h5repack/h5repack.h index 29909b7..da82a05 100644 --- a/tools/h5repack/h5repack.h +++ b/tools/h5repack/h5repack.h @@ -99,8 +99,9 @@ typedef struct { filter_info_t filter_g; /*global filter INFO for the ALL case */ chunk_info_t chunk_g; /*global chunk INFO for the ALL case */ H5D_layout_t layout_g; /*global layout information for the ALL case */ - int verbose; /*verbose mode */ - hsize_t threshold; /*minimum size to compress, in bytes */ + int verbose; /*verbose mode */ + hsize_t threshold; /*minimum size to compress, in bytes */ + int use_native; /*use a native type in write */ } pack_opt_t; |