summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13359] Fixed a bug where the -shlib flag for h5cc would end up on the ↵James Laird2007-02-2010-62/+323
| | | | | | | | Dependency line in the Makefile. Makefile change only. Tested on kagiso, to be used to test on cobalt.
* [svn-r13334] Added a new function to print the dimensions sizesPedro Vicente Nunes2007-02-1944-413/+394
|
* [svn-r13321] revised attribute ordering done for the library makes h5diff to ↵Pedro Vicente Nunes2007-02-161-681/+681
| | | | | | output attributes in another order
* [svn-r13311] Updated copyright notice.Albert Cheng2007-02-142-26/+28
| | | | | Test: Just visual inspection as these are all comments changes.
* [svn-r13306] Description:Quincey Koziol2007-02-142-56/+59
| | | | | | | | | | | Mask off the storage utilization for the h5ls output, so that the h5ls output is more portable (VL datatype size is reported as the memory size instead of the file size, making the storage utilization incorrect - entered in bugzilla) Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13305] Description:Quincey Koziol2007-02-141-411/+406
| | | | | | | Clean up indentation. Tested on: Linux/32 2.6 (chicago)
* [svn-r13303] Description:Quincey Koziol2007-02-142-56/+56
| | | | | | | | | Blank out the modification time, to eliminate another portability issue. Tested on: Linux/32 2.6 (chicago) FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13302] Description:Quincey Koziol2007-02-142-109/+109
| | | | | | | | Use the '-S' command line flag for h5ls, to make the output portable. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13301] Description:Quincey Koziol2007-02-147-465/+638
| | | | | | | | | | | Add '-p' flag to h5copy tool, to create intermediate "parent" groups that don't exist in destination file yet. Add more tests to h5copy script. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13299] Description:Quincey Koziol2007-02-143-15/+25
| | | | | | | | | | | | Put paths to testfile input & output directories in one place, making it easier to modify them if we choose to re-arrange our testfile locations in the future (this should probably be carried over to other test scripts). Make h5copy exit more cleanly if no command line parameters are given. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13297] Description:Quincey Koziol2007-02-1423-87/+703
| | | | | | | | | | | | | | | | Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command line, allowing the group structure for a file to be created in a script. This tool closely follows the 'mkdir' command line tool in UNIX/Linux. Allow tool library applications to pass a FAPL to the h5tool_fopen() call, giving some additional flexibility to tools which are adding objects to an existing HDF5 file (like h5copy & h5mkgrp). Fix missing files in MANIFEST from previous checkin(s). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13296] Pedro Vicente Nunes2007-02-143-2/+2
| | | | temporary fix for a daily test failure
* [svn-r13294] Description:Quincey Koziol2007-02-135-31/+415
| | | | | | | | | | | | Add empty & "full" groups to source HDF5 file and test copying them. Test renaming objects during copy Test specifying root group path for source & destination objects Tested on: Linux/32 2.6 (chicago) Too minor to require more tests
* [svn-r13293] Description:Quincey Koziol2007-02-132-20/+37
| | | | | | | | | | | Refactor h5copy testing script to abstract out some of the common behavior, obey the "HDF5_NOCLEANUP" environment variable, delete any output file left over from a previous run, add a "test variation" parameter to output file name for adding next sequence of test variations, etc. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13292] Description:Quincey Koziol2007-02-1310-242/+354
| | | | | | | | | | | | | | | Add feature to h5copy to allow it to add an object to an existing file, instead of blowing away existing file. Modify h5tools_fopen() routine to take access flags, so it can be used to open an existing file for writing. Added check to h5copy test script that verifies it has produced a file with the correct structure. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13288] Description:Quincey Koziol2007-02-133-986/+986
| | | | | | | | | | | | | Fix core dump for iterating over attributes and not passing in a "starting point". Update output files missed in previous checkin. This change essentially reverses a previous change of attribute ordering, leaving the output of h5dump & h5ls compatible with 1.6.x Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13286] Pedro Vicente Nunes2007-02-132-3/+3
| | | | replaced a dataset type from H5T_NATIVE_CHAR to H5T_NATIVE_SCHAR
* [svn-r13285] Pedro Vicente Nunes2007-02-124-82/+2
| | | | remove a test that was incorrectly added previously, that was not the feature that had to be tested
* [svn-r13283] Pedro Vicente Nunes2007-02-124-2/+85
| | | | added a test for the printing of long long numbers greater than 4GB
* [svn-r13280] Pedro Vicente Nunes2007-02-129-12037/+6717
| | | | 2 tests that were previously incorporated inside the array indices test file were separated from it. These are a test with a dataset with dimensions greater tan 4GB and a test to read by hyperslabs
* [svn-r13264] Updated Makefile.am with new THG copyright notice.Albert Cheng2007-02-0720-40/+60
| | | | Ran reconfigure to generate the Makefile.in files.
* [svn-r13261] Updated copyright notices.Albert Cheng2007-02-0711-33/+44
| | | | Tested: visual inspection as they are all just comments.
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-0757-114/+171
| | | | | | | | | 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.
* [svn-r13250] Description:Quincey Koziol2007-02-071-1/+52
| | | | | | | | | | 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)
* [svn-r13181] Added a configure check to prevent a failure on Cygwin.James Laird2007-01-2310-10/+10
| | | | | | | | | | | | | | 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.
* [svn-r13179] Pedro Vicente Nunes2007-01-2357-61/+61
| | | | replaced the path to XML schema from NCSA page to hdfgroup.org
* [svn-r13164] Add nullmsg flag for testing onlyPeter Cao2007-01-221-0/+4
|
* [svn-r13160] Fixed help information to use stdout instead of stderr.Peter Cao2007-01-191-5/+2
|
* [svn-r13159] Added h5debug support for shared message structures.James Laird2007-01-191-0/+36
| | | | | Tests run on juniper, kagiso, smirom. h5debug run manually on sample files on Windows, juniper, and kagiso.
* [svn-r13139] Fixed the MULTI problem (Bug #731) that corrupted the data. ↵Raymond Lu2007-01-128-0/+5
| | | | | | | 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.
* [svn-r13134] Pedro Vicente Nunes2007-01-109-183/+247
| | | | | | | | | | 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.
* [svn-r13133] Pedro Vicente Nunes2007-01-101-1/+1
| | | | 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
* [svn-r13132] Pedro Vicente Nunes2007-01-104-9/+42
| | | | 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
* [svn-r13106] clean code, removed some debugging codePedro Vicente Nunes2007-01-041-22/+0
|
* [svn-r13078] Pedro Vicente Nunes2006-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 } } } }
* [svn-r13076] Pedro Vicente Nunes2006-12-193-4/+10
| | | | | | | | | | | | | | 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)
* [svn-r13075] Description:Quincey Koziol2006-12-194-1667/+1667
| | | | | | | | Fix display order of attributes. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13064] Pedro Vicente Nunes2006-12-1417-381/+561
| | | | | | | | | | | | | | | | | | | 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
* [svn-r13042] Pedro Vicente Nunes2006-12-1121-196/+373
| | | | | added a size of array information when printing differences modified print_pos and diff_datum for having one extra argument *dims
* [svn-r13034] Description:Quincey Koziol2006-12-081-1/+1
| | | | | | | | 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)
* [svn-r13033] Pedro Vicente Nunes2006-12-072-13/+18
| | | | avoid usage to call exit(1), it makes processes to stop in parallel.
* [svn-r13032] Pedro Vicente Nunes2006-12-072-119/+122
| | | | introduced a new macro PDIFF to calculate differences for unsigned types
* [svn-r13031] Pedro Vicente Nunes2006-12-071-1576/+1575
| | | | introduced more ABS macro use
* [svn-r13030] Pedro Vicente Nunes2006-12-071-8/+6
| | | | | | warnings clean ../../../hdf5/tools/h5repack/h5repack_opttable.c:240: warning: passing arg 2 of `aux_tblinsert_layout' as signed due to prototype
* [svn-r13029] Pedro Vicente Nunes2006-12-071-7/+7
| | | | | | | | 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
* [svn-r13027] Pedro Vicente Nunes2006-12-062-20/+21
| | | | | | | | 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'
* [svn-r13026] Pedro Vicente Nunes2006-12-061-23/+26
| | | | fix some memory allocation problem with info->prefix
* [svn-r13025] Pedro Vicente Nunes2006-12-061-2/+2
| | | | | | compiler warning clean ../../../hdf5/tools/lib/h5tools_ref.c:257: warning: old-style parameter declaration
* [svn-r13024] Pedro Vicente Nunes2006-12-062-11/+13
| | | | | | | | 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
* [svn-r13009] Pedro Vicente Nunes2006-12-011-8/+8
| | | | | | more compiler warning ../../../hdf5/tools/h5diff/h5diffgentest.c:111: warning: passing arg 1 of `test_hyperslab' discards qualifiers from pointer target type