summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r6627] Purpose:Pedro Vicente Nunes2003-04-1028-88/+245
| | | | | | | | | | | | | | added new files for tests , according to test matrix Description: Solution: Platforms tested: Misc. update:
* [svn-r6626] Purpose:Pedro Vicente Nunes2003-04-103-122/+471
| | | | | | | | | | | | | | | added new tests removed compiler warnings from unix platforms changed usage message Description: Solution: Platforms tested: w2000, linux, arabica, modi4 Misc. update:
* [svn-r6621] Purpose:Bill Wendling2003-04-107-26/+88
| | | | | | | | | | | | | | Update Description: Updated the copyright statements that I forgot... Platforms tested: Modi4 (Fortran & Parallel) Arabica (Fortran) Burrwhite (Fortran & C++) Misc. update:
* [svn-r6618] Elena Pourmal2003-04-091-2/+2
| | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: On HP11.00 and True64 systems strtoll function that is used to read text to long integers is not available. Compilation fails for h5import.c Solution: Replace strtoll with HDstrtoll. HDstrtoll is a private HDF5 function defined in H5private.h file, but this include file was already used by h5import for some other reasons. It would be probably better to choose strtol or strtoll functions at the configuration time, but HDstrtoll provided really simple solution for now. Platforms tested: arabica (to test that where it was working, it is still working), kelgia (HP11.00) and PSC True64 machine. Misc. update:
* [svn-r6603] Purpose:Quincey Koziol2003-04-092-3/+53
| | | | | | | | | | | | | | | | | Code cleanup Description: Update dependencies. Solution: Platforms tested: FreeBSD 4.8 (sleipnir) w/szip Linux 2.4 (sleipnir) w/szip Solaris 2.7 (arabica) w/FORTRAN IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel Misc. update:
* [svn-r6599] Purpose:Pedro Vicente Nunes2003-04-081-3/+5
| | | | | | | | | | | | | | | | | code warrior port Description: replaced strdup with HDstrdup for CW portability Solution: Platforms tested: w2000(CW , MS) linux arabica modi4 Misc. update:
* [svn-r6596] Purpose:Quincey Koziol2003-04-082-7/+7
| | | | | | | | | | | | | | | Code cleanup/bug fix Description: Clean up files created during testing. Solution: Platforms tested: FreeBSD 4.8 (sleipnir) Linux 2.4 (eirene) Misc. update:
* [svn-r6591] Purpose:Albert Cheng2003-04-065-5/+5
| | | | | | | | | | | | Bug fixes Description: There is a typo in each of the expected output files. Corrected them. Platforms tested: h5committested. Misc. update:
* [svn-r6589] Elena Pourmal2003-04-053-34/+45
| | | | | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: h5import tests will fail if srcdir option is used with configure. Solution: Modified h5importtest.c h5importtestutil.sh files to search for input files in the proper directory and to write output files to the proper directory. Platforms tested: Tested on burrwhite, arabica, and modi4. Unfortunately srcdir option was used only on arabica, since I am having a weird 'timezone' problem on all Linux machines when srcdir is used, and on modi4 build has to be done in the same directory (at least this is a message I am getting from configure; should it work?) Misc. update:
* [svn-r6588] Purpose:Pedro Vicente Nunes2003-04-045-0/+84
| | | | | | | | | | | | | | | | | added more tests to automatic testing Description: added test for an invalid option letter added test for -h option added test for an invalid option -d added test for an invalid option -d number Solution: Platforms tested: linux, solaris, sgi Misc. update:
* [svn-r6587] Purpose:Pedro Vicente Nunes2003-04-042-1/+3
| | | | | | | | | | | | typo in usage message Description: Solution: Platforms tested: linux Misc. update:
* [svn-r6584] Elena Pourmal2003-04-032-15/+148
| | | | | | | | | | | | | | | | Purpose: Maintenance Description: There was an old h5import (h5import.c) tool in the misc directory. The tool created 8-bit integer datasets , it was never tested and/or supported. Solution: We decided to rename old h5import.c to h5createU8.c. The new name reflects what actually old tool does. New executable h5createU8 is built in the misc directory. h5import.c file (old one) is still in the misc directory, but h5import executable is not built. (Sorry if I confused you!) Platforms tested: vebena, arabica, modi4 were tested Misc. update:
* [svn-r6583] Elena Pourmal2003-04-0337-12/+3511
| | | | | | | | | | | | | | | | | | | Purpose: New tool Description: Pankaj created h5import tool long time ago. I am finally checking the source code in for the 1.6 release. Known problems: h5import test will crash if srcdir option is used; will be fixed before the release. Solution: Platforms tested: vebena, arabica, modi4 were tested. h5import tests passed I also tested on arabica with srcdir option to make sure that there is a problem when srcdir is used. After that I disabled h5import tests. Daily tests will build h5import, but will not run h5import tests. Misc. update:
* [svn-r6576] Purpose:Quincey Koziol2003-04-036-20/+109
| | | | | | | | | | | | | | Cleanup Description: Update dependencies. Solution: Platforms tested: Linux 2.4 (eirene) Misc. update:
* [svn-r6563] Purpose:Pedro Vicente Nunes2003-04-028-734/+502
| | | | | | | | | | | | | | | | | | | added test script for h5diff code cleaning for alpha release makefile now generates the h5difftst.c program that generates 2 .h5 files for testing Description: the .sh script runs several runs of h5diff and compares the output with a predifined output located in /tools/testfiles (.txt files) righ now it has only one test Solution: Platforms tested: linux (other platforms later , ok !? ) Misc. update:
* [svn-r6545] Purpose:Bill Wendling2003-03-316-19/+75
| | | | | | | | | | | | Update Description: Updated copyright Platforms tested: LInux (Comment change only) Misc. update:
* [svn-r6544] Purpose:Bill Wendling2003-03-316-20/+84
| | | | | | | | | | | | Update Description: Update copyright statement Platforms tested: Linux (Comment change only) Misc. update:
* [svn-r6543] Purpose:Bill Wendling2003-03-313-9/+36
| | | | | | | | | | | | Update Description: Updated copyright statement Platforms tested: Linux (only comment change) Misc. update:
* [svn-r6542] Purpose:Bill Wendling2003-03-311-3/+11
| | | | | | | | | | | | Update Description: Updated copyright statement Platforms tested: None needed Misc. update:
* [svn-r6541] Purpose:Bill Wendling2003-03-313-9/+37
| | | | | | | | | | | | Update Description: Updated Copyright statements Platforms tested: None needed... Misc. update:
* [svn-r6540] Purpose:Bill Wendling2003-03-3110-36/+131
| | | | | | | | | | | | Update Description: Updated copyright statement Platforms tested: Linux (Only change in comments...checked if compiles) Misc. update:
* [svn-r6526] Purpose:Pedro Vicente Nunes2003-03-271-186/+185
| | | | | | | | | | | | | | update Description: clean code , removed empty spaces, tested on solaris Solution: Platforms tested: w2000, linux, solaris Misc. update:
* [svn-r6521] Purpose:Pedro Vicente Nunes2003-03-261-296/+766
| | | | | | | | | | | | | | | | update Description: added the new cosequential match algorythm added extra checking of bad input values Platforms tested: w2000, linux Misc. update:
* [svn-r6519] Purpose:Quincey Koziol2003-03-221-5/+20
| | | | | | | | | | | | | Bug fix/code cleanup/new feature Description: Fix h5debug to work correctly again, with all the changes over the past few months. Improved and cleaned up debugging output available in h5debug. Platforms tested: FreeBSD 4.7 (sleipnir)
* [svn-r6469] Purpose:Pedro Vicente Nunes2003-03-061-46/+120
| | | | | | | | | | | h5diff bug fix, enhancements Description: the case for 8 byte integers was not handled added more checking of wrong input data Solution: added the size 8 integer case Platforms tested: w2000, linux, solaris (64 mode)
* [svn-r6466] Purpose:Pedro Vicente Nunes2003-03-061-358/+438
| | | | | | | | | | bug fix Description: some data not read correctly due to type_id used in read Solution: did a function that determines the optimal memory type Platforms tested: w2000, linux, solaris
* [svn-r6465] Purpose:Pedro Vicente Nunes2003-03-061-11/+106
| | | | | | | | | | | bug fixes in h5diff Description: there was a incorrect reading of arguments when only 1 object name was supplied reading of data was done using type_id got from disk, causing some values not read correctly into memory Solution: used native types to read into memory Platforms tested: w2000, linux, solaris57
* [svn-r6462] Purpose:Pedro Vicente Nunes2003-03-051-139/+285
| | | | | | | | | | | | | | | | h5diff enhancements Description: changed -r to count the number of differences, but do not print them changed the output format with some printf enginnering, to align columns print the dimensions of dsets, in case they are different test files added test for non supported data (class not integer or float) fix print dimensions to 0 index Platforms tested: w2000, linux, solaris
* [svn-r6459] Purpose:Albert Cheng2003-03-041-2/+2
| | | | | | Minor purpose correction and updated Copyright notice to include 2003 Platforms tested: None tested. All changes are comments.
* [svn-r6457] Purpose:Albert Cheng2003-03-041-7/+15
| | | | | | | | | | | | new feature Description: Added a force mode (-force) which turns off prompting, just do it. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)}? no [If no, why not?] It is just a shell script. Tested it in eirene. Misc. update: Will check in the updated RELEASE and document files.
* [svn-r6441] Purpose:Pedro Vicente Nunes2003-02-271-125/+282
| | | | | | | | | | | | | | h5diff bugs and enhancements Description: added checking for not comparable datatypes added checking for the same dimensionality changed the functionality of -n option, to check up to n reported differences changed the formula for -p to relative error with absolute value fixed a bug on solaris, related to printf integer format (int datatype) Platforms tested: w2000, linux, solaris
* [svn-r6429] Purpose:Pedro Vicente Nunes2003-02-241-169/+151
| | | | | | | removed -d , -g , -t and -v options and renamed -m to -d and -v to -l added output for objects that are not in one file but in the other Platforms tested: windows, linux
* [svn-r6412] Purpose:Quincey Koziol2003-02-175-10/+21
| | | | | | | | | | 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-172-10/+11
| | | | | | | | | | | | | | | | | | | | | | 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-r6404] Purpose:Bill Wendling2003-02-141-2/+11
| | | | | | | | | | | | | | | | Bug Fix (Bug #806) Description: When compiling/installing with the command "make install" (without performing a "make" beforehand) the tools weren't being made. This was because the `install' command in the Makefiles only relied upon public libraries, not private ones (which the one in the tools directory is). Solution: Had the `install' command be dependent upon an "AUX_LIB" macro which includes libraries which are needed but aren't distributed (that is, they're staticly compiled). Platforms tested: Linux
* [svn-r6398] Purpose:Quincey Koziol2003-02-121-1/+1
| | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.7 (sleipnir)
* [svn-r6387] Purpose:Quincey Koziol2003-02-101-9/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix Description: Metadata cache in parallel I/O can cause hangs in applications which perform independent I/O on chunked datasets, because the metadata cache can attempt to flush out dirty metadata from only a single process, instead of collectively from all processes. Solution: Pass a dataset transfer property list down from every API function which could possibly trigger metadata I/O. Then, split the metadata cache into two sets of entries to allow dirty metadata to be set aside when a hash table collision occurs during independent I/O. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)} FreeBSD 4.7 (sleipnir) serial & parallel Misc. update: Updated release_docs/RELEASE
* [svn-r6344] Purpose:Pedro Vicente Nunes2003-01-292-38/+305
| | | | | | | | | | | | | bug fix added more verbose help message added support for all dataset types added more error checking added new output format (28 Jan version ) Platforms tested: windows , linux
* [svn-r6328] Purpose:Pedro Vicente Nunes2003-01-242-432/+431
| | | | | | | fix bug in Makefile.in Platforms tested: windows , linux
* [svn-r6326] Purpose:Pedro Vicente Nunes2003-01-235-618/+1462
| | | | | | | added h5diff to CVS current version, options only work for float dataset type Platforms tested: windows, linux
* [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-r6301] Purpose:Quincey Koziol2003-01-181-1/+1
| | | | | | | | | | | Code cleanup & bug fix Description: Cleanup another set of warnings on Windows and also fix mis-placed assertion that caused the daily tests to fail. Platforms tested: IRIX64 6.5 (modi4) w/-n32
* [svn-r6296] Purpose:Quincey Koziol2003-01-172-8/+9
| | | | | | | | | | Code cleanup Description: Reduce warnings on Windows Platforms tested: FreeBSD 4.7 (sleipnir)
* [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-094-8/+53
| | | | | | | | | | 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-r6204] MuQun Yang2002-12-131-32/+62
| | | | | | | | | | | | | | | | | Purpose: bug fix Description: Need to use HDopen, HDread for windows support. off_t in windows is 32-bit; however, windows can support 64-bit file. So we have to change off_t to int64 in order that >4G file can be supported. Solution: See above Platforms tested: linux2.2.18smp, windows 2000 Misc. update: Update MANIFEST if you add or remove any file. Update release_docs/RELEASE for bug fixes, new features, etc. Update applicable document files too.
* [svn-r6190] ./hdf5-devel/tools/testfiles/tvldtypes1.lsRobb Matzke2002-12-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: New Feature; Optimization; Clean-up (Merged from 1.4 branch) Description: There is no symbolic constant to pass to functions that take an optional object ID for when the caller wants to indicate no object ID. In the past the caller always passed a negative integer. GPFS performs poorly. The h5ls tool decides whether to list the file name in the output based on a compile-time choice, which isn't always optimal at run time. Solution: Added a symbolic constant H5I_INVALID_HID. Added code to tell the mmfsd of GPFS to forego byte range token prefetching. h5ls decides whether to print the file name at runtime based on the number of objects being listed. Platforms tested: SuSE Linux (arborea), gcc and mpich-1.2.4 SunOS (baldric), gcc
* [svn-r6189] ./hdf5-devel/tools/testfiles/tstr-1.lsRobb Matzke2002-12-041-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: New Feature; Optimization; Clean-up (Merged from 1.4 branch) Description: There is no symbolic constant to pass to functions that take an optional object ID for when the caller wants to indicate no object ID. In the past the caller always passed a negative integer. GPFS performs poorly. The h5ls tool decides whether to list the file name in the output based on a compile-time choice, which isn't always optimal at run time. Solution: Added a symbolic constant H5I_INVALID_HID. Added code to tell the mmfsd of GPFS to forego byte range token prefetching. h5ls decides whether to print the file name at runtime based on the number of objects being listed. Platforms tested: SuSE Linux (arborea), gcc and mpich-1.2.4 SunOS (baldric), gcc
* [svn-r6188] ./hdf5-devel/tools/testfiles/tslink-1.lsRobb Matzke2002-12-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: New Feature; Optimization; Clean-up (Merged from 1.4 branch) Description: There is no symbolic constant to pass to functions that take an optional object ID for when the caller wants to indicate no object ID. In the past the caller always passed a negative integer. GPFS performs poorly. The h5ls tool decides whether to list the file name in the output based on a compile-time choice, which isn't always optimal at run time. Solution: Added a symbolic constant H5I_INVALID_HID. Added code to tell the mmfsd of GPFS to forego byte range token prefetching. h5ls decides whether to print the file name at runtime based on the number of objects being listed. Platforms tested: SuSE Linux (arborea), gcc and mpich-1.2.4 SunOS (baldric), gcc