summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r8198] Purpose:Pedro Vicente Nunes2004-02-121-0/+1
| | | | | | | | | | | | | | | small bug fix Description: a dataset creation property list was not closed Solution: closed it, calling H5Pclose(dcpl); Platforms tested: linux (small fix) Misc. update:
* [svn-r8151] Purpose:Quincey Koziol2004-02-041-16/+4
| | | | | | | | | | | | Bug fix Description: Fix h5tools routines to not try to call MPI_Init() unless an MPI-based VFD is actually used. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel Linux 2.4 (verbena) w/parallel
* [svn-r8143] Purpose:Quincey Koziol2004-02-021-15/+51
| | | | | | | | | | | | | | New Feature. (Contributed by Robb) Description: Allow h5ls to specify a VFL with the '--vfl=' command line flag. Add MPI-I/O & MPI-POSIX VFL drivers to list of drivers available for h5ls and h5dump. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel h5committested
* [svn-r8128] Purpose:Quincey Koziol2004-01-311-6/+8
| | | | Update dependencies after restructuring of MPI stuff
* [svn-r8066] Purpose: bug fixRaymond Lu2004-01-151-5/+5
| | | | | | | | | Description: h5dump and h5ls failed an assertion check when a dataset's datatype is enumerate type and there are special characters in the names of these values. Platforms tested: h5committest
* [svn-r7842] Purpose:Quincey Koziol2003-11-134-4/+75
| | | | | | | | | | | | | | | | | | | Bug fix Description: Variable length strings and sequences with NULL pointers were not handled by library, causing problems access the data. This also affected fill values for variable-length datatypes. Solution: Address the issues in the library by detecting NULL sequences/strings and avoid trying to convert them. Patched up dumper to display NULL sequences/strings. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7737] Purpose:Robert E. McGrath2003-10-251-1/+1
| | | | | | | | | | | | | | | bug fix Description: wrong parameter to subroutine call Solution: use correct parameter Platforms tested: verbena Misc. update:
* [svn-r7626] Purpose:Quincey Koziol2003-10-141-2/+4
| | | | | | | | Update dependencies and tracing information Platforms tested: Linux 2.4 (verbena) w/FORTRAN too minor for h5committest
* [svn-r7616] Purpose:Quincey Koziol2003-10-131-31/+39
| | | | | | | | | | | | | | | Code cleanup Description: Change field member count and indices for compound and enumerated types from 'int' to 'unsigned' to better reflect actual use. Cleaned up a few other minor compiler warnings, etc. Platforms tested: FreeBSD 4.9 (sleipnir) Linux 2.4 (verbena) too minor to require h5committest
* [svn-r7540] Purpose:Quincey Koziol2003-10-055-677/+687
| | | | | | | | | | | | | | | | | | | | | Bug fixes and code cleanup Description: Changes to h5dump code: - Dump shared datatypes for any class of datatype, not just compound datatypes. - Cleaned up formatting to greatly reduce the amount of trailing whitespace emitted in output. Also removed some spurious blank lines from named datatype output. Added code to generate named datatype attribute test file. Added tests for dumping named datatypes in attributes for both DDL and XML output. Platforms tested: FreeBSD 4.9 (sleipnir) h5committest
* [svn-r7507] *** empty log message ***Raymond Lu2003-09-241-0/+9
|
* [svn-r7401] Purpose:Quincey Koziol2003-08-254-4/+204
| | | | | | | | | | | | | | | | | | Code cleanup Description: Remove various "fixtype" routines which duplicate (and actually pre-date) the functionality in H5Tget_native_type in favor of having the tools call H5Tget_native_type(). This provides the same functionality (actually better functionality, since the old "fixtype" routines didn't handle alignment of compound fields correctly) and reduces the amount of code to maintain. Add additional tests to dump out a "complex" compound datatype which exercises more code in the library for aligning compound fields correctly. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7361] Description:Albert Cheng2003-08-141-2/+3
| | | | | | | | | | | | Updated the copyright notice--mostly by rearranging some text to make them consistent. Solution: Platforms tested: "h5committested"--sol is down, so, no SUn test. Misc. update:
* [svn-r7352] Purpose:Quincey Koziol2003-08-131-3/+5
| | | | | | | Updated dependencies Platforms tested: h5committested
* [svn-r7334] Purpose:Quincey Koziol2003-08-111-3/+2
| | | | | | | | | | | | | | Bug fix Description: Object references were not getting written out correctly to the file, with recent changes to their memory structure. Solution: Convert the object references correctly. Platforms tested: h5committested
* [svn-r7328] Purpose:Quincey Koziol2003-08-081-83/+1
| | | | | | | | | | | Code cleanup Description: Remove recent changes which duplicated code from config/conclude.in, now that the output of XML schema XID's is portable. Platforms tested: h5committested
* [svn-r7325] Purpose:Quincey Koziol2003-08-081-1/+1
| | | | | | | | | | Code cleanup Description: Changed parameter from "<number>:<number>" form to "<number>" Platforms tested: h5committested
* [svn-r7324] Purpose:Quincey Koziol2003-08-081-186/+89
| | | | | | | | | | | | | | | | | | | Code cleanups & bug fixes Description: Lots of changes to chase 'objno' and 'fileno' changes in H5G_stat_t struct, including changing the output of object IDs from "<number>:<number>" to just "<number>". Same change to XML schema XIDs from "xid_<number>-<number>" to just "xid_<number>" Cleaned up a number of memory leaks Use the H5_PRINTF_HADDR_FMT macro for printing 'haddr_t's Platforms tested: h5committested
* [svn-r7286] Purpose:MuQun Yang2003-08-081-4/+1
| | | | | | | | | | | | | | | | | | | | bug fix Description: 1. function rindex is not recognized by windows. Using strrchr instead. Thereafer strings.h is not necessary. 2. Variable p_type is defined as "hid_t" type at one function; but it is never used. At the end of that function, H5Tclose(p_type) is assigned. It may cause problems. So erase two lines. Solution: See above Platforms tested: windows 2000, linux 2.4, sol 2.7, AIX 5.1. Misc. update:
* [svn-r7278] Purpose:Bill Wendling2003-07-301-0/+3
| | | | | | | | | | | | | | | | Bug Fix Description: pmake failed during make of h5dump because of some undefined variables. Solution: Defined the variables. Platforms tested: Modi4 (small change and only Irix specific) Misc. update:
* [svn-r7276] Purpose:Robert E. McGrath2003-07-294-380/+1184
| | | | | | | | | | | | | | | | | | | This is an omibus update to the h5dump program. 1. Fixes bug 888 2. updates XML output to 1.6 Description: Solution: Platforms tested: verbena, arabica, copper (64) Misc. update: MANIFEST updated Need to do release notes.
* [svn-r7265] *** empty log message ***Raymond Lu2003-07-261-4/+4
|
* [svn-r7123] Purpose:Bill Wendling2003-06-301-1/+0
| | | | | | | | | | | | | | | | | Bug Fix Description: The SUBDIRS macro is now defined as "" in the config/commence.in file. We shouldn't have definitions of this macro before the inclusion of config/commence.in. Solution: Placed all definitions of SUBDIRS after config/commence.in inclusion. Platforms tested: Modi4 (Small fix yet again). Misc. update:
* [svn-r7109] Purpose:Quincey Koziol2003-06-261-0/+6
| | | | | | | | | | | Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r6991] Purpose:Albert Cheng2003-06-081-1/+1
| | | | | | | | | | | | | Cleanup Description: h5dumpgentest is already included in TEST_PROGS. Removed its old entry in PROGS. Platforms tested: Only in Copper since this is trivial. Misc. update:
* [svn-r6960] Purpose:Pedro Vicente Nunes2003-06-041-53/+905
| | | | | | | | | | | | | | | | | | | added writing more attributes to one test file Description: added the writing of 3D attributes to one test file of h5ls Solution: Platforms tested: Windows 2000 (octopus) Linux 2.4 (rockaway) SunOS 5.7 (arabica) IRIX 6.5 (modi4) Misc. update:
* [svn-r6946] Purpose:Albert Cheng2003-06-021-12/+14
| | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: This would sometimes coredump in machines like PSC Alpha cluster or linux icc if -g is not used. Solution: The real problem was because char string arrays were declared without including space for the null terminator. E.g., char s[5][2]={ "s1", "s2", ...} is not correct. Increased the size and also need to change the H5S... definitions too. Platforms tested: "h5committested"--the h5dumpgentest passed without problem though it failed in Fortran but that is a current known problem. Tested in verbena using icc and also in PSC's cluster. Misc. update: Can't find this error in the v1.5 know problem list.
* [svn-r6912] Purpose:Pedro Vicente Nunes2003-05-221-222/+430
| | | | | | | | | | | | added a new test for h5ls Description: Solution: Platforms tested: Misc. update:
* [svn-r6863] Purpose:Quincey Koziol2003-05-131-2/+4
| | | | | | | | | | | | | | Bug fix Description: A few groups were left open after they were used. Solution: Closed them. :-) Platforms tested: FreeBSD 4.8 (sleipnir) h5committested
* [svn-r6787] Purpose:Bill Wendling2003-04-301-1/+1
| | | | | | | | | | | | Update Description: Fixed description. Should be 1-byte instead of 1-bytes Platforms tested: Linux Misc. update:
* [svn-r6785] Purpose:Bill Wendling2003-04-303-12/+91
| | | | | | | | | | | | | | | | Feature Add Description: It's now possible to print out characters as actual characters instead of their decimal equivalent numbers. It's the same thing that h5ls does. The flag to do this is "--string" or "-r". Platforms tested: Verbena (Fortran & C++) Arabica (Fortran) Modi4 (Fortran & Parallel) Misc. update:
* [svn-r6783] Purpose:Albert Cheng2003-04-301-7/+1
| | | | | | | | | | | | | | | | | | | Bug fix Description: "$@" was used to represent all argument provided. This has the unfortunate effect as one argument of "" when actually no argument was given. Some machines throw the "" away but some like Tflops and Alpha Q, retains them as a single argument of "". This caused the no filename given test to fail. Solution: Replaced "$@" with a plain $@. Platforms tested: h5committested Misc. update:
* [svn-r6576] Purpose:Quincey Koziol2003-04-031-2/+4
| | | | | | | | | | | | | | Cleanup Description: Update dependencies. Solution: Platforms tested: Linux 2.4 (eirene) Misc. update:
* [svn-r6412] Purpose:Quincey Koziol2003-02-171-1/+3
| | | | | | | | | | Code cleanup Description: Update dependencies and clean up a few warnings. Platforms tested: Linux 2.2 (eirene) w/parallel
* [svn-r6411] Purpose:Quincey Koziol2003-02-171-9/+9
| | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Clean up miscellaneous warnings which have crept into the code. Fix "_POSIX_C_SOURCE not defined" warning on FreeBSD. Adjust gcc compiler flags to be more concise for production mode. Refactor the H5O code so that there is a stronger boundary between code in the H5O package and code in the library which just calls H5O routines. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir) serial & parallel and gcc 2.95.4 & gcc 3.2.2 Misc. update: Update MANIFEST if you add or remove any file.
* [svn-r6310] Purpose:Albert Cheng2003-01-221-1/+7
| | | | | | | | | patch Description: Tflops interprets "$@" as "" when no parameter is given (e.g., the case of missing file name). Changed it to use $@ till Tflops fixes it. Platforms tested: Tflops, burrwhite (pp), modi4(pp)
* [svn-r6269] Purpose:Quincey Koziol2003-01-131-1/+1
| | | | | | | | | | | | | Code cleanup Description: Various code cleanups to allow the development branch to be compiled with a C++ compiler (i.e. CC=g++ ) Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir) C++
* [svn-r6255] Purpose:Quincey Koziol2003-01-091-3/+5
| | | | | | | | | | Code cleanup Description: Clean up a few more warnings and update dependencies. Platforms tested: Linux 2.2.18smp (eirene) serial & parallel
* [svn-r6252] Purpose:Quincey Koziol2003-01-092-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lots of performance improvements & a couple new internal API interfaces. Description: Performance Improvements: - Cached file offset & length sizes in shared file struct, to avoid constantly looking them up in the FCPL. - Generic property improvements: - Added "revision" number to generic property classes to speed up comparisons. - Changed method of storing properties from using a hash-table to the TBBT routines in the library. - Share the propery names between classes and the lists derived from them. - Removed redundant 'def_value' buffer from each property. - Switching code to use a "copy on write" strategy for properties in each list, where the properties in each list are shared with the properties in the class, until a property's value is changed in a list. - Fixed error in layout code which was allocating too many buffers. - Redefined public macros of the form (H5open()/H5check, <variable>) internally to only be (<variable>), avoiding innumerable useless calls to H5open() and H5check_version(). - Reuse already zeroed buffers in H5F_contig_fill instead of constantly re-zeroing them. - Don't write fill values if writing entire dataset. - Use gettimeofday() system call instead of time() system when checking the modification time of a dataset. - Added reference counted string API and use it for tracking the names of objects opening in a file (for the ID->name code). - Removed redundant H5P_get() calls in B-tree routines. - Redefine H5T datatype macros internally to the library, to avoid calling H5check redundantly. - Keep dataspace information for dataset locally instead of reading from disk each time. Added new module to track open objects in a file, to allow this (which will be useful eventually for some FPH5 metadata caching issues). - Remove H5AC_find macro which was inlining metadata cache lookups, and call function instead. - Remove redundant memset() calls from H5G_namei() routine. - Remove redundant checking of object type when locating objects in metadata cache and rely on the address only. - Create default dataset object to use when default dataset creation property list is used to create datasets, bypassing querying for all the property list values. - Use default I/O vector size when performing raw data with the default dataset transfer property list, instead of querying for I/O vector size. - Remove H5P_DEFAULT internally to the library, replacing it with more specific default property list based on the type of property list needed. - Remove redundant memset() calls in object header message (H5O*) routines. - Remove redunant memset() calls in data I/O routines. - Split free-list allocation routines into malloc() and calloc()- like routines, instead of one combined routine. - Remove lots of indirection in H5O*() routines. - Simplify metadata cache entry comparison routine (used when flushing entire cache out). - Only enable metadata cache statistics when H5AC_DEBUG is turned on, instead of always tracking them. - Simplify address comparison macro (H5F_addr_eq). - Remove redundant metadata cache entry protections during dataset creation by protecting the object header once and making all the modifications necessary for the dataset creation before unprotecting it. - Reduce # of "number of element in extent" computations performed by computing and storing the value during dataspace creation. - Simplify checking for group location's file information, when file has not been involving in file-mounting operations. - Use binary encoding for modification time, instead of ASCII. - Hoist H5HL_peek calls (to get information in a local heap) out of loops in many group routine. - Use static variable for iterators of selections, instead of dynamically allocation them each time. - Lookup & insert new entries in one step, avoiding traversing group's B-tree twice. - Fixed memory leak in H5Gget_objname_idx() routine (tangential to performance improvements, but fixed along the way). - Use free-list for reference counted strings. - Don't bother copying object names into cached group entries, since they are re-created when an object is opened. The benchmark I used to measure these results created several thousand small (2K) datasets in a file and wrote out the data for them. This is Elena's "regular.c" benchmark. These changes resulted in approximately ~4.3x speedup of the development branch when compared to the previous code in the development branch and ~1.4x speedup compared to the release branch. Additionally, these changes reduce the total memory used (code and data) by the development branch by ~800KB, bringing the development branch back into the same ballpark as the release branch. I'll send out a more detailed description of the benchmark results as a followup note. New internal API routines: Added "reference counted strings" API for tracking strings that get used by multiple owners without duplicating the strings. Added "ternary search tree" API for text->object mappings. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} Other platforms/configurations tested? FreeBSD 4.7 (sleipnir) serial & parallel Solaris 2.6 (baldric) serial
* [svn-r6102] Raymond Lu2002-11-191-3/+8
| | | | | | | | | Purpose: bug fix Description: forgot to change datatype print-out when fixed VL string bug for h5dump. Platforms tested: modi4
* [svn-r6099] Raymond Lu2002-11-183-24/+126
| | | | | | | | | | | Purpose: bug fix. Description: h5dump cannot dump data and datatype for VL string. Platforms tested: eirene, arabica Misc. update: MANIFEST, RELEASE.txt
* [svn-r6017] Description:Albert Cheng2002-10-192-91/+97
| | | | | | | | | | | Renamed h5dumptst.c to h5dumpgentest.c. Added a test to run h5dumpgentest to make it can run without error. Note that this does not verify if it is generating the correct test files. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)}? YES Misc. update: Update MANIFEST if you add or remove any file. YES
* [svn-r6008] Purpose:Albert Cheng2002-10-161-1/+1
| | | | | | | Changed the file name nofilename.ddl to tnofilename.ddl, to be consistent with the other file names. Platforms tested: eirene only since this is a very simple change.
* [svn-r6007] Purpose:Albert Cheng2002-10-162-10/+10
| | | | | | | | | | | | | | Improvement Description: Moved the code parsing for missing file name in the parse_command_line routine. Added a test checking if the tool fails as expected when no file name is given. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)}? YES Misc. update: Update MANIFEST if you add or remove any file. YES, added nofilename.ddl
* [svn-r6000] Purpose:Albert Cheng2002-10-151-4/+6
| | | | | | | | | | | | | | | | | Bug fix (ID 765 and part of ID 841) Description: "h5dump -H" would core dump. It was because the code was not checking if there was any file argument after option parsing. It referred to an non-existing filename argument. There was also some very old but not commented code which allowed the use of back slash to escape a filename begun with '-'. The '--' option is better and more common practice. Solution: Added code to check if there is still a filename argument after parsing. (This checking probably should goto inside the option_parsing routine. Also removed that old code mentioned above. Platforms tested: eirene, arabica and modi4
* [svn-r5998] Purpose:Albert Cheng2002-10-155-31/+72
| | | | | | | | | | | | | | updated copyright note. Copied the UNUSED correction from v1.4. Added an example to the usage of -- option. Description: [describe the bug, or describe the new feature, etc] Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: arabica (fortran), modi4 (pp, fortran),eirene (fortran, CC).
* [svn-r5983] Purpose:Quincey Koziol2002-10-141-2/+2
| | | | More fixups to the Dependencies files...
* [svn-r5981] Purpose:Quincey Koziol2002-10-141-13/+13
| | | | Regenerate Dependencies files.
* [svn-r5674] Purpose:Quincey Koziol2002-06-191-2/+2
| | | | | | | | | | Code cleanup Description: Removed more compiler warnings, etc. Platforms tested: Linux 2.2.x (eirene) w/parallel
* [svn-r5581] Purpose:Bill Wendling2002-06-101-1/+1
| | | | | | | | | | | | Bug Fix Description: On AIX machines, the number of script interpreters which ran the testh5dump.sh script would strip too many of the quotes away, causing problems if you're quoting something with a space in it. Solution: Just got rid of the spaces and used ',' instead. Platforms tested: AIX and Linux