summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [svn-r13008] Pedro Vicente Nunes2006-12-011-4/+4
| | | | | | more compiler warning ../../../hdf5/tools/lib/h5diff_attr.c:214: warning: passing arg 4 of `diff_array' with different width due to prototype
* [svn-r13007] Pedro Vicente Nunes2006-12-011-13/+11
| | | | | | cleaned more warnings ../../../hdf5/tools/lib/h5diff_attr.c:214: warning: passing arg 4 of `diff_array' with different width due to prototype
* [svn-r13005] removed the PER_FLOAT macroPedro Vicente Nunes2006-12-011-24/+12
|
* [svn-r13003] Pedro Vicente Nunes2006-12-014-2889/+2828
| | | | | | | | 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
* [svn-r13000] more warnings clean up, modified PER macro to avoid unnecessary ↵Pedro Vicente Nunes2006-11-301-49/+55
| | | | | | floating point comparison ../../../hdf5/tools/lib/h5diff_array.c: warning: comparing floating point with == or != is unsafe
* [svn-r12999] cleaned more warningsPedro Vicente Nunes2006-11-301-8/+22
| | | | h5diff_array.c:127: warning: declaration of 'per' shadows a global declaration
* [svn-r12998] Pedro Vicente Nunes2006-11-291-2/+2
| | | | | | cleaned compiler warning ../../../hdf5/tools/lib/h5diff_array.c:139: warning: declaration of 'per' shadows a global declaration
* [svn-r12986] remove and insert these files, somehow their end of line ↵Pedro Vicente Nunes2006-11-273-0/+1060
| | | | terminator is not correct
* [svn-r12985] Pedro Vicente Nunes2006-11-273-1060/+0
| | | | remove and insert these files, somehow their end of line terminator is not correct
* [svn-r12984] Pedro Vicente Nunes2006-11-2725-248/+329
| | | | | | | 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
* [svn-r12980] Pedro Vicente Nunes2006-11-2719-19/+19
| | | | | changed the usage message relative to the relative error formula to a more common and easy to understand form | (b-a) / a |
* [svn-r12953] h5repack code revision, avoid one unnecessary call to file ↵Pedro Vicente Nunes2006-11-202-336/+351
| | | | open/close in the cheking of objects when there are none requested by the user
* [svn-r12950] Pedro Vicente Nunes2006-11-201-27/+2
| | | | | do not call H5Ocopy only when there is a user request for filters/layout
* [svn-r12939] Description:Elena Pourmal2006-11-171-2/+8
| | | | Removed all but one warnings for h5stat on Linux (heping)
* [svn-r12936] Pedro Vicente Nunes2006-11-174-341/+339
| | | | 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
* [svn-r12932] Description:Quincey Koziol2006-11-172-12/+12
| | | | | | | | | | | | 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)
* [svn-r12929] Hopefully this really is a fix for the tg-login errors.James Laird2006-11-1610-28/+10
| | | | | | | | | | | 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.
* [svn-r12928] code revisionPedro Vicente Nunes2006-11-1612-70/+110
|
* [svn-r12918] Pedro Vicente Nunes2006-11-153-4477/+4480
| | | | removed whitespace
* [svn-r12917] Pedro Vicente Nunes2006-11-1528-4677/+4570
| | | | | | | | 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
* [svn-r12911] Backed up to previous versions of automake and libtool. ↵James Laird2006-11-1410-10/+28
| | | | | | | | Hopefully this will fix issues on tg-login3. bin/reconfigure should still work on both heping/mir and kagiso.
* [svn-r12902] Checkin of Shared Object Header Message work.James Laird2006-11-131-1/+1
| | | | | | | | | | | | This feature is still in progress; Shared Object Header Messages are not complete as a feature and are not thoroughly tested. There are still "TODO" comments in the code (comments with the word "JAMES" in them, so as not to be confused with other TODO comments). Hopefully this checkin will reduce the liklihood of conflicts as I finish implementing this feature. All current tests pass on juniper, copper (parallel), heping, kagiso, and mir.
* [svn-r12895] Description:Quincey Koziol2006-11-133-10/+10
| | | | | | | | | | | | | Add new H5Lget_val_by_idx() routine & tests. Also includes most of changes for H5Ldelete_by_idx() routine. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) Linux/64 2.4 (mir) AIX/32 5.? (copper)
* [svn-r12888] Pedro Vicente Nunes2006-11-104-104/+768
| | | | | Introduced the second sweep of the file for a case a reference is present and H5Ocopy was not used. Moved the code from file h5repack_refs.c to h5repack_copy.c and removed the first file
* [svn-r12887] A fix for linking issues.James Laird2006-11-1010-0/+10
| | | | | | | | | | | | Should disable linking against shared libraries in Fortran for compilers that don't support shared libraries. Should also fix problem when the wrong Fortran file extension was specified. If these changes don't solve the Daily Test issues, I'll look at backing out the autotool version change until I have time to fix them. Tested on heping, kagiso, juniper.
* [svn-r12884] Pedro Vicente Nunes2006-11-084-967/+369
| | | | | | | | | | | | h5repack support for H5Ocopy in the copy of objects. The old method for recreating references was dropped (references recreated in a second traversal of the file) The logic for using H5Ocopy or not is if the input DCPL has filters or non default layout OR these are requested by the user THEN use the old h5repack read / write ELSE use H5Ocopy
* [svn-r12883] Pedro Vicente Nunes2006-11-086-10/+40
| | | | | | h5dump bug 701. Symptom: The creation of a hardlink pointing to the root group "/" causes h5dump to display it as a link pointing to itself. Cure: the root group was not being inserted in the table that keeps track of object names and links. Added a test for this in the test generation program, the creation of a hardlink to the root
* [svn-r12882] Changed bin/reconfigure to work on kagiso as well as on AFS ↵James Laird2006-11-0810-68/+90
| | | | | | | | Linux machines. Updated to the latest versions of autotools. Tested on kagiso, heping, and juniper. Let me know if you have any problems.