| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Ran reconfigure to generate the Makefile.in files.
|
|
|
|
| |
Tested: visual inspection as they are all just comments.
|
|
|
|
|
|
|
|
|
| |
copyright notice.
Tested platform:
Kagiso only since it is only a comment block change. If it works in one
machine, it should work in all, I hope. Still need to check the parallel
build on copper.
|
|
|
|
|
|
|
|
|
|
| |
Add support for inserting attributes into creation order index.
Also, update support for dense link & attribute storage in h5debug.
Tested on:
FreeBSD/32 6.2 (duty)
Mac OS X/32 10.4.8 (amazon)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It seems that while Cygwin supports the time command, it has trouble with
the syntax
srcdir="../../hdf5/test" time ./testhdf5
and complains.
The solution is to test the above case in configure and not to use the time
command if it fails; Cygwin is fine with
srcdir="../../hdf5/test" ./testhdf5
Tested on Cygwin and kagiso. This feature shouldn't be a major compatibility
problem since every platform but Cygwin is already fine with the current
syntax.
|
|
|
|
| |
replaced the path to XML schema from NCSA page to hdfgroup.org
|
| |
|
| |
|
|
|
|
|
| |
Tests run on juniper, kagiso, smirom. h5debug run manually on sample files on
Windows, juniper, and kagiso.
|
|
|
|
|
|
|
| |
The problem
came from the EOA for the whole MULTI file. It's taken out because it's
meaningless for MULTI file. Instead, each individual file has its EOA.
|
|
|
|
|
|
|
|
|
|
| |
New version of the function h5tools_dump_simple_subset, to display subsetting. The new algorithm is:
Introduced an outer loop for cases where dimensionality is greater
than 2D. In each iteration a 2D block is displayed by rows in a inner
loop. The remainning slower dimensions above the first 2 are incremented
one at a time in the outer loop
Note: when blocks are introduced, the display is not correct. This is a bug that requires an improvement of the algorithm.
|
|
|
|
| |
modified the format for the printing of reference information for a string, related to the same change in h5dump to display the name of the referenced dataset
|
|
|
|
| |
Fixed #720 h5dump: improve how region references are displayed. h5dump now uses the new API function H5Rget_name to display the name of the dataset referenced instead of its ID. Added a case to the script test file
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
one more fix related to bug 551. the printing of the subsetting parameters was not using the new hsize_t printing format
correct output is now
[pvn@kagiso ad]$ /home1/pvn/build_hdf5/tools/h5dump/h5dump -d /a -s "0,8899716890" -c "1,10" jasp_char.h5
HDF5 "jasp_char.h5" {
DATASET "/a" {
DATATYPE H5T_STD_I8LE
DATASPACE SIMPLE { ( 20, 8899716900 ) / ( 20, 8899716900 ) }
SUBSET {
START ( 0, 8899716890 );
STRIDE ( 1, 1 );
COUNT ( 1, 10 );
BLOCK ( 1, 1 );
DATA {
(0,8899716890): 1,
(0,8899716891): 1,
(0,8899716892): 2,
(0,8899716893): 2,
(0,8899716894): 3,
(0,8899716895): 3,
(0,8899716896): 4,
(0,8899716897): 4,
(0,8899716898): 5,
(0,8899716899): 5
}
}
}
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fix for bugzilla bug #551
several programming errors contributed to this bug
1) the parsing of subsetting was using atoi to convert the parameter to an int,
which caused problems for numbers greater that int. Substitute with atof
2) several index counters were declared as int, use hsize_t instead
3) the numerical format passed for printf was %lu, defined one compatible with
hsize_t instead (unsigned long long)
|
|
|
|
|
|
|
|
| |
Fix display order of attributes.
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix several bugs
1) the parsing of subsetting was using atoi to convert the parameter to an int, which caused problems for numbers greater that int. Substitute with atof
2) the printing of indices in the subsetting case was not being done. Solution: calculate the element position at the start of the subsetting using the algorythm
Given an index I(z,y,x) its position from the beginning of an array of sizes A(size_z, size_y,size_x) is given by
Position of I(z,y,x) = index_z * size_y * size_x
+ index_y * size_x
+ index_x
And pass that position to the function that dumps data, h5tools_dump_simple_data.
3) several index counters were declared as int, use hsize_t instead
4) modified the test generation program so that it includes test cases for subsetting of 1d, 2d, 3d, and 4d arrays and add these tests to the shell script
|
|
|
|
|
| |
added a size of array information when printing differences
modified print_pos and diff_datum for having one extra argument *dims
|
|
|
|
|
|
|
|
| |
Take out separate memory type in the file for SOHM objects and create
aliases for existing memory types for SOHM use.
Tested on:
FreeBSD/32 4.11 (sleipnir)
|
|
|
|
| |
avoid usage to call exit(1), it makes processes to stop in parallel.
|
|
|
|
| |
introduced a new macro PDIFF to calculate differences for unsigned types
|
|
|
|
| |
introduced more ABS macro use
|
|
|
|
|
|
| |
warnings clean
../../../hdf5/tools/h5repack/h5repack_opttable.c:240: warning: passing arg 2 of `aux_tblinsert_layout' as signed due to prototype
|
|
|
|
|
|
|
|
| |
warnings clean
../../../hdf5/tools/h5repack/h5repack_copy.c:615: warning: passing arg 3 of `print_dataset_info' as `float' rather than `double' due to prototype
introduced double precision arithmetic
|
|
|
|
|
|
|
|
| |
fixed warning
../../../hdf5/tools/h5diff/h5diff_common.c: In function `usage':
../../../hdf5/tools/h5diff/h5diff_common.c:346: warning: function might be possible candidate for attribute `noreturn'
|
|
|
|
| |
fix some memory allocation problem with info->prefix
|
|
|
|
|
|
| |
compiler warning clean
../../../hdf5/tools/lib/h5tools_ref.c:257: warning: old-style parameter declaration
|
|
|
|
|
|
|
|
| |
fixed 2 initializations of char* with HDstrdup and HDcalloc
info->prefix = HDcalloc(1, 1);
fname = HDstrdup(argv[opt_ind]);
some were exposed by compiler warnings
|
|
|
|
|
|
| |
more compiler warning
../../../hdf5/tools/h5diff/h5diffgentest.c:111: warning: passing arg 1 of `test_hyperslab' discards qualifiers from pointer target type
|
|
|
|
|
|
| |
more compiler warning
../../../hdf5/tools/lib/h5diff_attr.c:214: warning: passing arg 4 of `diff_array' with different width due to prototype
|
|
|
|
|
|
| |
cleaned more warnings
../../../hdf5/tools/lib/h5diff_attr.c:214: warning: passing arg 4 of `diff_array' with different width due to prototype
|
| |
|
|
|
|
|
|
|
|
| |
Cleaned warnings
h5diff_array.c:804: warning: passing arg 1 of `fabs' as floating rather
than integer due to prototype
introduced double precision arithmetic when possible instead of single
precision
|
|
|
|
|
|
| |
floating point comparison
../../../hdf5/tools/lib/h5diff_array.c: warning: comparing floating point with == or != is unsafe
|
|
|
|
| |
h5diff_array.c:127: warning: declaration of 'per' shadows a global declaration
|
|
|
|
|
|
| |
cleaned compiler warning
../../../hdf5/tools/lib/h5diff_array.c:139: warning: declaration of 'per' shadows a global declaration
|
|
|
|
| |
terminator is not correct
|
|
|
|
| |
remove and insert these files, somehow their end of line terminator is not correct
|
|
|
|
|
|
|
| |
Added a relative error formula to deal with floating point uncertainty
in the comparison of floats and double types.
Added new tests for this feature to the file generator program and to
the shell script
|
|
|
|
|
| |
changed the usage message relative to the relative error formula to a more
common and easy to understand form | (b-a) / a |
|
|
|
|
| |
open/close in the cheking of objects when there are none requested by the user
|
|
|
|
|
| |
do not call H5Ocopy only when there is a user request for
filters/layout
|
|
|
|
| |
Removed all but one warnings for h5stat on Linux (heping)
|
|
|
|
| |
make h5repacktst clean a big file which name was changed to "h5repack_big_out.h5", do not use H5Ocopy only when the original DCPL has filters or a request is made for such, more code cleaning
|
|
|
|
|
|
|
|
|
|
|
|
| |
Basic support for H5Literate() routine. Still needs to be fleshed out and
refactored to simplify. Also, needs tests. :-)
Tested on:
FreeBSD/32 4.11 (sleipnir)
Linux/32 2.4 (heping)
Linux/64 2.4 (mir)
AIX/32 5.? (copper)
Mac OS X/32 10.4.8 (amazon)
|
|
|
|
|
|
|
|
|
|
|
| |
The version of libtool used by HDF5 isn't directly affected by the reconfigure
script; instead, libtoolize --force must be used by hand. Libtool was the
source of the problem, so rolling its version back to 1.5.14 should solve the
issue (at least temporarily).
Reconfigure should still work on both heping and kagiso.
Tested on heping, kagiso, and tg-login3.
|
| |
|
|
|
|
| |
removed whitespace
|
|
|
|
|
|
|
|
| |
h5repack revision:
1. added a new test due to the introduction of H5Ocopy in the copy of objects (compressed dataset with references, that still must go a second sweep of the file to be regenerated).
2. Moved all the source files from the h5repack test program to a new file h5repacktst.c and removed the old ones (testh5repack*.c).
3. Renamed the binary files from test*.h5 to h5repack*.h5 for easy reference.
4. Modified the shell script to use variables for file names instead of hard coded names
|