summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-19 17:07:26 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-19 17:07:26 (GMT)
commita1edc7069162a619957c7407d04b91e081044219 (patch)
treeca5e64791fcad2730a6ae92d7ba667bf9306cc41 /tools/lib/h5tools.c
parent78a3d673e6cb491d8087b74d0e2cbdd8ca89bb47 (diff)
downloadhdf5-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/lib/h5tools.c')
-rw-r--r--tools/lib/h5tools.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c
index 362b070..8279ec9 100644
--- a/tools/lib/h5tools.c
+++ b/tools/lib/h5tools.c
@@ -29,17 +29,6 @@
#include "h5tools_utils.h"
#include "H5private.h"
-/*
- * The output functions need a temporary buffer to hold a piece of the
- * dataset while it's being printed. This constant sets the limit on the
- * size of that temporary buffer in bytes. For efficiency's sake, choose the
- * largest value suitable for your machine (for testing use a small value).
- */
-#if 1
-#define H5TOOLS_BUFSIZE (1024 * 1024)
-#else
-#define H5TOOLS_BUFSIZE (1024)
-#endif /* 1 */
#define ALIGN(A,Z) ((((A) + (Z) - 1) / (Z)) * (Z))