summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16025] For scalar string datasets print the character position when a ↵Pedro Vicente Nunes2008-11-044-602/+745
| | | | | | difference is found instead of a non-existing array position Tested: windows
* [svn-r16011] Bug fixPedro Vicente Nunes2008-10-311-5/+9
| | | | | | | When -b was requested and no -o (file name) binary output was made to stdout Had a check after command line parsing to verify if -o is present, otherwise exit Tested: windows, linux
* [svn-r15985] reorganized the code to deal with deprecated -i -o for in/out ↵Pedro Vicente Nunes2008-10-291-186/+45
| | | | | | | | files to avoid duplicated code tested: windows, linu x
* [svn-r15973] make -b accept both MEMORY and NATIVEPedro Vicente Nunes2008-10-281-1/+4
| | | | tested: windows, linux
* [svn-r15969] Pedro Vicente Nunes2008-10-274-30/+67
| | | | | | | | | | | | | | | Introduced a new feature in the tools library regarding command line parsing In the definition of arguments, an "*" means that the switch can or can not have an optional argument. This "*" is put in the code regarding the letter definition, and it is transparent to the user (e.g b* instead of the previous b: ), where ":" notes a required argument after the letter (and no ":" or "*" notes no argument, mandatory) Used for the h5dump binary option -b It can be now 1) -b (defaults to NATIVE) 2) - b NATIVE 3) - b FILE 4) -b LE 5) -b BE Note: the keyword NATIVE replaces MEMORY This feature (-b with no argument) was tested with the sequence of h5dump to binary (NATIVE) then h5import to generate an HDF5 file from the binary file and h5diff to compare the 2 HDF5 files Tested: windows, linux
* [svn-r15967] regarding the return value of h5diff (0, no difference in ↵Pedro Vicente Nunes2008-10-271-4/+18
| | | | | | | | | files, 1 difference ) objects with the same name must be of the same type tested: windows, linux
* [svn-r15945] redo thePedro Vicente Nunes2008-10-241-1/+1
| | | | | | | | | | | | use of H5_PRINTF_LL_WIDTH in the definition of #define HSIZE_T_FORMAT "%"H5_PRINTF_LL_WIDTH"u" the printing of "unknow u" in tg-login3. for unsigned long long was a configure bug fixed by rev 15942 tested: tg-login3
* [svn-r15938] Pedro Vicente Nunes2008-10-233-51/+10
| | | | | | | | for some reason , the use of H5_PRINTF_LL_WIDTH to convert to a unsigned long long format, is not working in ia64 linux (tg-login3) extra characters are printed, this time in h5ls hardcoded the format defined in HSIZE_T_FORMAT to "%llu" tested: windows, linux (kagiso), solaris, ia64 linux (tg-login3)
* [svn-r15933] for some reason , the use of H5_PRINTF_LL_WIDTH to convert to a ↵Pedro Vicente Nunes2008-10-223-33/+8
| | | | | | | | | unsigned long long format is not working in ia64 linux (tg-login3) hardcoded the format to "%llu" tested: windows, linux (kagiso), solaris, ia64 linux (tg-login3)
* [svn-r15923] The printf call with the format "%"H5_PRINTF_LL_WIDTH"u" prints ↵Pedro Vicente Nunes2008-10-211-2/+5
| | | | | | some garbage in linux ia64 unless we pass to the function a temporary pointer variable Tested: windows, linux (kagiso), solaris, linux ia64 (tg-login3)
* [svn-r15901] undo some changes in the list of parameters of ↵Pedro Vicente Nunes2008-10-183-38/+32
| | | | | | parse_command_line (forgot that this function is called both on serial and parallel) tested: linux
* [svn-r15900] Make the h5copy test that renames a group to return 1 on the ↵Pedro Vicente Nunes2008-10-1720-42/+71
| | | | | | | | h5diff call and assume 1 is the correct result Drop the -c flag for h5diff Tested: linux
* [svn-r15899] Extend the -c flag for ignore graph differences to ignore ↵Pedro Vicente Nunes2008-10-174-32/+60
| | | | | | | | different group names This is used in the h5copy test that compares renaming of groups Tested: linux
* [svn-r15898] Purpose: Bug FixMike McGreevy2008-10-1711-66/+11
| | | | | | | | | | | | | | | Description: Libtool wasn't working on linew because the script was not working with the Solaris Bourne shell. Libtool has built- in detection to ensure that it uses an appropriate shell, but our config/commence.am was hard coding this shell to be /bin/sh. Removing this line allows the shell to be picked up by configure, thus allowing libtool to use the correct shell on linew (bash). This was initially added to correct for a problem on an old machine (janus), so shoudn't be needed for machines we currently support. Tested: full make check install on kagiso and linew, compile only on smirom, duty, and liberty.
* [svn-r15896] Introduced a -c flag to ignore file contents differences in the ↵Pedro Vicente Nunes2008-10-1618-4/+32
| | | | | | | | return value (return 0 id -c is present) Introduced for h5copy validation Tested: windows, linux
* [svn-r15891] Pedro Vicente Nunes2008-10-161-1/+1
| | | | | | | | | Make the h5diff call compare only the source and destination objects, otherwise if we attempt to compare the all file, h5diff returns 1 for differences Tested: linux -This line, and those below, will be ignored-- M tools/h5copy/testh5copy.sh
* [svn-r15889] When comparing individual objects the file graph is not ↵Pedro Vicente Nunes2008-10-162-4/+4
| | | | | | currently compared, so make h5diff return 0 (no diffrences) Tested: windows, linux
* [svn-r15887] Purpose: Close bug 1332Neil Fortner2008-10-1621-107/+530
| | | | | | | | | Description: Improved external link traversal of h5dump. h5dump will now properly avoid all cycles, even those spanning multiple files. Improvement to the output of committed datatypes. Committed datatypes are now checked for uniqueness (like other objects). Tests added for these cases. Tested: kagiso, linew, smirom (h5committest)
* [svn-r15881] Purpose: Bug Fixes, Libtool UpgradeMike McGreevy2008-10-1512-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: 1) configure now sets LD_LIBRARY_PATH before checking for presence of SZIP encoder, so user does not need to set this. The path is then saved and sent to Makefiles, and used when "make check-install" is invoked, so user doesn't need to set this manually. 2) Upgraded libtool to version 2.2.6a 3) Rearranged tools build order as h5dump depends on existence of h5diff and h5import. Since h5dump is a sister directory as opposed to a parent of either, it doesn't know about the build rules of these tools, so setting any sort of explicit dependency confuses automake as it won't know how to build the tools. Instead, setting CONFIG = ordered forces an in-order traversal of each tools subdirectory. (without it will also traverse in order by default, but this should prevent gmake's -j option from jumping ahead as well). 'make check install' should now be able to be invoked after 'configure' without causing a dependency failure. 4) Removed H5_HAVE_LARGE_HSIZET macro from vms/src/h5pubconf.h, as this macro has now been out of the code for some time. (vms pubconf needs to be updated manually, which is why it was still hanging around). Tested: kagiso, smirom, liberty Note: h5diff looks to be causing failures in h5copy and h5dump tools tests, though these were present before any of my changes. My changes only affect build order and configuration setup, and shouldn't prevent fixes for these failures coming in after this checkin. Other than these, tests pass fine.
* [svn-r15871] Eliminate -c option and make that behavior the default and ↵Pedro Vicente Nunes2008-10-1522-150/+53
| | | | | | return 2 instead of -1 on error status Tested: windows, linux
* [svn-r15866] add support for long double typePedro Vicente Nunes2008-10-148-818/+1316
| | | | tested: windows, linux (32,64)
* [svn-r15834] Fixes for bug #1253:Vailin Choi2008-10-091-7/+22
| | | | | | 1. Fixed segmentation fault in print_group_info() 2. Call print_statistics() in main() when objects/links are successfully traversed; otherwise, return warning message.
* [svn-r15817] move h5jam testfiles to its own testfiles folderPedro Vicente Nunes2008-10-088-3/+2
| | | | tested: linux
* [svn-r15812] Bug fix: #1090Albert Cheng2008-10-082-4/+4
| | | | | | | | | | | The custom rules for installing h5cc, h5fc, and the fortran modules in fortran and in hl/fortran don't use $(DESTDIR). Added it to all those rules. Tested: kagiso both serial and parallel with fortran and cxx enabled. Tested by: make install make DESTDIR=/tmp/acheng install diff -r /tmp/acheng/.../hdf5 hdf5
* [svn-r15805] Purpose: Add option to h5ls to enable external link traversal.Neil Fortner2008-10-0715-11/+64
| | | | | | | | Description: Added -E option to h5ls. When set, this alows h5ls to enter external files (currently only through an external link). The -r option by itself will no longer allow h5ls to traverse external links. Tested: kagiso, linew, smirom (h5committest)
* [svn-r15791] Bug fix. When detecting the user requested filters, the "all" ↵Pedro Vicente Nunes2008-10-061-1/+5
| | | | | | option was not taken in consideration when printing the compression ratio Tested: windows, linux
* [svn-r15759] move h5copy testfiles to /tools/h5copy/testfilesPedro Vicente Nunes2008-10-023-1/+1
| | | | tested: linux
* [svn-r15750] move h5repack test files to /tools/h5repack/testfilesPedro Vicente Nunes2008-10-0118-6/+6
| | | | tested: linux
* [svn-r15745] Move h5diff testfiles to /tools/h5diff/testfiles Pedro Vicente Nunes2008-10-0199-462/+140
| | | | Tested: linux
* [svn-r15720] Added a file with user block data to be used by the h5repack ↵Pedro Vicente Nunes2008-09-291-0/+1
| | | | windows shell script only Note: for the unix shell script this file is not used
* [svn-r15718] renamed generated binary files to have the extension .bin and ↵Pedro Vicente Nunes2008-09-292-146/+269
| | | | | | the same name as the associated .conf file tested: linux
* [svn-r15706] make a test generate a LE output for test portabilityPedro Vicente Nunes2008-09-261-0/+1
| | | | tested: linux, solaris
* [svn-r15700] added wb falg to read binary files in WIN32Pedro Vicente Nunes2008-09-251-13/+68
| | | | tested: windows
* [svn-r15698] renamed input text files to have the extension .txtPedro Vicente Nunes2008-09-259-8/+38
| | | | tested: linux
* [svn-r15697] renamed configuration files to have the extension .confPedro Vicente Nunes2008-09-258-6/+6
| | | | tested: linux
* [svn-r15694] 1)Pedro Vicente Nunes2008-09-2413-14/+52
| | | | | | | | | | | | | | Bug fix #1281 The TEXTFPE was described in the usage (read floats in scientific notation) but was not implemeneted. Solution: remove TEXTFPE from the help system and have the TEXTFPE input type do the same thing as TEXTPF currently does to support backwards compatibility (the format read for both TEXTFPE and TEXTPF is %f) added a test 2) renamed configuration files to have the extension .conf tested: windows, linux
* [svn-r15680] Pedro Vicente Nunes2008-09-223-42/+74
| | | | | Formatted code Tested: windows, linux
* [svn-r15677] Description:Quincey Koziol2008-09-221-169/+100
| | | | | | | | | | | | Bring r15676 back from trunk: Centralize all macros for declaring "magic numbers"/signatures for objects in the file into src/H5Fprivate.h, so it's easier to know what values have already been defined, etc. Tested on: Mac OS X/32 10.5.5 (amazon) Too minor to require h5committest
* [svn-r15672] Add missing test file, re-add it to the manifest (sorry).Neil Fortner2008-09-221-0/+12
| | | | Tested: kagiso
* [svn-r15669] Purpose: Add feature requested in bug #1282Neil Fortner2008-09-2112-60/+309
| | | | | | | | | | Description: Adds capability to h5ls to traverse external links when the -r (recursive) option is given. Changes to the way absolute path names are patched in h5trav.c. Changes to the way recursive traversal starting from a non-root group is handled (which also fixes some preexisting issues). Tests added for these cases. Tested: kagiso, smirom, linew (h5committest)
* [svn-r15663] fix commentsPedro Vicente Nunes2008-09-191-8/+15
| | | | tested: linux
* [svn-r15662] Cleaned compiler warnings Pedro Vicente Nunes2008-09-198-299/+285
| | | | | | | | Bug fixes: change the options block size variable from int to hsize_t, to match the H5Pset_userblock call, do not print print compression ratio when the requested filter is NONE Tested: windows, linux
* [svn-r15646] Cleaned compiler warnings Pedro Vicente Nunes2008-09-171-4/+4
| | | | | | Bug fix: change the options block size variable from int to hsize_t, to match the H5Pset_userblock call Tested: windows, linux
* [svn-r15642] Pedro Vicente Nunes2008-09-175-3805/+3889
| | | | | | | | Add a default user block size of 1024 when none is given add a failure condition of writing user block Tested: windows, linux
* [svn-r15629] Description:Quincey Koziol2008-09-1631-1901/+1901
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r15558] 1) There are 2 new command line parameters for h5repack. ↵Pedro Vicente Nunes2008-08-297-27/+188
| | | | | | | | | | | | | | Together they allow a call to H5Pset_alignment to be made -t T, --threshold=T Threshold value for H5Pset_alignment -a A, --alignment=A Alignment value for H5Pset_alignment 2) bug fix the printing of the dataset name was not done for references (verbose mode) tested: windows, linux
* [svn-r15533] #1184Pedro Vicente Nunes2008-08-266-33/+323
| | | | | | | | | | | Add a userblock to an HDF5 file during the repack. The user gives give a filename and userblock size as command line parameters to h5repack and the contents of that file are stored in the userblock for the HDF5 file created by h5repack. New flags to handle this -u and -b Tested : windows, linux
* [svn-r15511] bug fixPedro Vicente Nunes2008-08-211-270/+282
| | | | | | | | | when comparing attributes, a type ID was not properly closed solution: close the Id on the iteration and continue instead of goto out of the cycle tested: windows, linux
* [svn-r15463] Description:Quincey Koziol2008-08-122-1/+2
| | | | | | | | Bring revision 15462 (compiler warnings) back from trunk. Tested on: Mac OS X/32 10.5.4 (amazon) w/FORTRAN & C++ (Too minor to require h5committest)
* [svn-r15459] Purpose: Modify the library to take the proper action when ↵Neil Fortner2008-08-1160-3/+14
| | | | | | | | | | | | | | | files with incorrect datatype versions are encountered. Description: The library now recognizes some problems with datatype versions in H5O_decode_helper(), and, if not performing strict format checks, automatically corrects them. Framework added for other message decode routines to automatically correct file errors. Datatype version information added to h5debug. Resolves bz#1236, 1266. Test files with incorrect datatype versions corrected. Tested: kagiso, smirom, linew (h5committest)