summaryrefslogtreecommitdiffstats
path: root/tools/lib
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9957] Purpose:Albert Cheng2005-02-081-2/+2
| | | | | | | | | | | | | | | | | | Bug fix. Description: print_manager_output was missing because it was compiled in only parallel mode. Solution: Made it available all the times. Platforms tested: h5committested. (testph5diff.sh failed in copper but that is a different error.) Also tested in heping, serial and pp. Misc. update:
* [svn-r9956] Purpose:Leon Arber2005-02-084-467/+518
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed numerous ph5diff bugs. Description: Fixed manager output printing Fixed out of order output printing Fixed test script execution problem Temporary fix for large amounts of output overflowing buffer. Solution: The manager task buffers its output. However, since the manager task never gets a print token, this output was lost. Solution: new function called print_manager_output that prints buffered output is called in places where the manager buffers its output. printf was apparently buffering output. This means that a task would sometimes print even after it had given up its print token. Added fflush() call after printf() calls, which seems to have fixed the problem. calling rsh multiple times in succession seems to overwhelm something in Linux, as it begins to refuse new connections until the old ones reset. Since each call to mpirun in the test script starts up 4 rsh sessions, the test script eventually is unable to run any further tests. Solution: Added a short delay in the testscript between successive calls to mpirun to allow old connections to reset. The 10k output buffer was of insufficient size to hold the large amounts of output generated by some of the tests. Since code to buffer to a file has not been implemented yet, a temporary fix was to increase the size of the output buffer to 50k. Platforms tested: heping Misc. update:
* [svn-r9947] Purpose:Albert Cheng2005-02-061-0/+24
| | | | | | | | | | | | | Feature Description: Added a new function, phdiff_dismiss_workers, which tells the phdiff worker processes to end. Platforms tested: Tested in heping, serial and parallel. Misc. update:
* [svn-r9930] James Laird2005-02-032-5/+8
| | | | | | | | | | | | | | | | | | Purpose: Bug fix Description: Parallel builds were breaking in tools/lib Solution: talign didn't realize it depended on libh5tools.la because its dependencies listed the full path (../../tools/lib/libh5tools.la). Changed this, and made similar changes in a couple of other directories. This checkin should also add the --foreign flag to every Makefile.in Platforms tested: sleipnir (minor change)
* [svn-r9928] Purpose:Quincey Koziol2005-02-031-1/+1
| | | | | | | | | | | | | New feature Description: Add basic code for new B-tree implementation. They don't do much yet, aren't hooked up to anything yet and the format may change, but I'd like to start getting them into the daily tests. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r9925] Purpose:Leon Arber2005-02-024-489/+201
| | | | | | | | | | | | | | | | | | | Bug Fix Description: Permanent fix for the incompatibilities between h5diff and h5repack. Solution: h5diff now contains the code to run both parallel and serial diffs. Depending on how the binary is called, it will run either the serial or the parallel versions respectively. Platforms tested: heping(serial + parallel), copper. Misc. update:
* [svn-r9920] Purpose:James Laird2005-02-021-2/+3
| | | | | | | | | | | | | | | | | | | Bug fix Description: Found the permanant fix to automake/CVS dependency problem Solution: Added AM_MAINTAINER_MODE macro to configure.in. Now automake will never try to regenerate Makefiles, Makefiles.in, configure, H5config.h, etc. when they are out of date, nor will it print any warnings. Developers should be very very careful to use reconfigure script, and can add --enable-maintainer-mode flag to configure on heping to regenerate these files correctly. Platforms tested: heping sleipnir copper
* [svn-r9915] Purpose:James Laird2005-02-021-6/+6
| | | | | | | | | | | | | | | Bug fix Description: Configuration files' timestamps were incorrect. Solution: Update Makefiles.in. Also added correct paths to autotools on heping, so heping build should be able to re-generate configuration files even if they are still broken. Platforms tested: sleipnir
* [svn-r9912] Purpose:James Laird2005-02-011-87/+8
| | | | | | | | | | | | | | | | | Bug fix Description: Dependencies between configure files (aclocal, configure.in, configure, Makefiles.am and .in) are still causing Makefiles to try to run autotools during build. Solution: Committed all Makefiles.in to update their timestamps. As a temporary measure, forcibly prevented automake from running autotools during build by redefining the variables it uses. Platforms tested: sleipnir (No changes to Makefile content)
* [svn-r9907] Purpose:James Laird2005-02-011-0/+1
| | | | | | | | | | | | | Bug fix Description: Different compilers use different flags to include Fortran module files Solution: Changed boilerplate to use configure variable rather than hardcoded -M flag. Platforms tested: sleipnir, sol, copper
* [svn-r9905] Purpose:Albert Cheng2005-02-012-3/+7
| | | | | | | | | | | | | | | | | | | fix bugs. Description: The three variables, g_nTasks, outBuff, and outBuffOffset, were declared in ph5diff.h. That means they are declared in various *.c files that include it, thus having the appearance of multiple defined. Most C compilers are forgiving of this error but the g++ rejects this practice. Solution: Make it only an extern declaration in ph5diff.h but really defined them in h5diff_util.c Platforms tested: sleipnir using g++ since this only failed in Daily test. Also testes in heping, serial and parallel modes.
* [svn-r9902] Purpose:James Laird2005-02-013-678/+759
| | | | | | | | | | | | | | | Configuration feature Description: HDF5 now uses automake to generate Makefiles Solution: Makefile.in files are now generated from Makefile.am files. To reconfigure (after chaning a Makefile.am or configure.in): /bin/sh bin/reconfigure.sh Platforms tested: Many
* [svn-r9893] Purpose:Albert Cheng2005-01-311-0/+3
| | | | | | | | | | | | | | Temporary daily tests fix. Description: The newly added ph5diff is not quite compatible with the h5repack tool. Disabled the ph5diff build (reverted back to building serial h5diff) to allow daily tests to work while ph5diff is fixed. Platforms tested: Tested in heping both serial and parallel modes. Misc. update:
* [svn-r9880] Purpose: bug fixPedro Vicente Nunes2005-01-281-1/+1
| | | | | | | | | | | | | | | Description: the print_paralell h5diff function had a call to vsnprintf. this causes a linking error on Windows Solution: replaced with HDvsnprintf Platforms tested: windows (vs6) linux Misc. update:
* [svn-r9877] Purpose:Leon Arber2005-01-274-9/+328
| | | | | | | | | | | | | | | | | Bug fix: Temporary fix for h5repack failures in all parallel builds. Description: The parallel additions to h5diff interfered with h5repack. Solution: Added a second set of "parallel" functions to h5diff.c. h5repack uses the serial versions, whereas h5diff will use the parallel versions. Also, h5diff will now be smart about when to enter parallel mode. If is run with mpirun with more than 1 task, it will enter parallel mode. Otherwise, it will stay in serial mode as before. Platforms tested: heping (serial and parallel) Misc. update:
* [svn-r9872] Purpose:Albert Cheng2005-01-267-2586/+2938
| | | | | | | | | | | | New feature. Description: Added new tool ph5diff. (Code done by Leon Arber.) Code is changed but test is not working yet. For now, it skipped all tests. Platforms tested: Tested in heping, serial and parallel modes.
* [svn-r9778] Purpose:Quincey Koziol2005-01-081-1/+45
| | | | | | | | | | | | | | | Remove feature Description: Retire threaded, balanced binary tree code from HDF5 use. Requiescat in pace... Also, regenerate dependencies files. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require full h5committesting (the code is already disconnected from everything except its tests)
* [svn-r9727] Purpose:Quincey Koziol2004-12-299-41/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-) Description: Generally speaking, this is the "signed->unsigned" change to selections. However, in the process of merging code back, things got stickier and stickier until I ended up doing a big "sync the two branches up" operation. So... I brought back all the "infrastructure" fixes from the development branch to the release branch (which I think were actually making some improvement in performance) as well as fixed several bugs which had been fixed in one branch, but not the other. I've also tagged the repository before making this checkin with the label "before_signed_unsigned_changes". Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel & fphdf5 FreeBSD 4.10 (sleipnir) w/threadsafe FreeBSD 4.10 (sleipnir) w/backward compatibility Solaris 2.7 (arabica) w/"purify options" Solaris 2.8 (sol) w/FORTRAN & C++ AIX 5.x (copper) w/parallel & FORTRAN IRIX64 6.5 (modi4) w/FORTRAN Linux 2.4 (heping) w/FORTRAN & C++ Misc. update:
* [svn-r9533] Purpose:Pedro Vicente Nunes2004-11-162-35/+1952
| | | | | | | | | | | | | | | | | | | | | | | enhanced performance for h5diff Description: the comparison cycle for the 2 buffers read from file was using a compare function where the type must be checked for each datum (e.g due to recursive calls in compound types) for atomic types this checking can be avoided Solution: introduced cycles for each one of the atomic integer and float class types Platforms tested: linux aix solaris Misc. update:
* [svn-r9531] Purpose: Bug fix(#213)Raymond Lu2004-11-161-0/+3
| | | | | | | | | | | | | Description: H5Pset_fapl_family sets family member size only for creating new file. The file doesn't keep this size information. When the file is re-opened, the size of first member file is used as the member size. Solution: Assume user knows the original member size and sets it through H5Pset_fapl_family. That will be the member size. User can pass in value 0 as member size if he doesn't know the original member size. Library will choose the size of current first member size as the member file size. Platforms tested: h5committest and fuss.
* [svn-r9496] Purpose:Robert E. McGrath2004-11-022-1/+92
| | | | | | | | | | | | | | | | | | | | | | Fix SZIP filter to dynmically detect encoder. Description: Solution: See: http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf Changes to h5repack tests, contingent on detecting SZIP encoder. Note new program: testh5repack_detect_szip Checks fo rencoder, prints out "yes" or "no". Used by hrepack.sh to detect encoder. Can also be used for windows tests. This is only used as part of the tests. Had to modify Makefile to build and clean this program.
* [svn-r9476] Purpose:MuQun Yang2004-10-271-2/+3
| | | | | | | | | | | | | | | | Make talign work on windows. Description: msvc++ uses _unlink instead of unlink. Solution: change the code to use HDunlink and include H5private.h(Not good?). Platforms tested: windows, Linux 2.4 Misc. update:
* [svn-r9395] Purpose:Quincey Koziol2004-10-101-5/+12
| | | | | | | | | | | Bug fix Description: Correct a couple of array bounds issues exposed by the PGI compiler Platforms tested: Linux 2.4 (verbena) w/PGI compilers Too minor too requie h5committest
* [svn-r9382] *** empty log message ***Quincey Koziol2004-10-081-10/+11
|
* [svn-r9370] Purpose:Quincey Koziol2004-10-0614-99/+78
| | | | | | | | | | | | | | | Refactor code Description: Refactor common code for determining the native type for using in the tools into separate routine. Also, reduce diffs between the two branches and bring back some fixes from the development branch to the release branch. Platforms tested: FreeBSD 4.10 (sleipnir) too minor to require h5committest
* [svn-r9364] Raymond Lu2004-10-054-11/+78
| | | | | | | | | | | | Purpose: change feature Description: Back up support bitfield and time datatypes in H5Tget_native_type.Leave it to future support. Let it return "not supported" error message for now. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r8983] Purpose:Quincey Koziol2004-08-021-565/+565
| | | | | | | | | | | | Update dependencies Description: Update dependencies after config/depend1.in bugfix Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel IRIX64 6.5 (modi4) h5committested
* [svn-r8912] Purpose:Pedro Vicente Nunes2004-07-213-17/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | bug fixes Description: the return error code for a function was not initialized. in HP-UX it happened that this variable was initialized to -1 causing the function to return with an error condtion solution : initialized the variable to 0 the name of the dataset was printed after the differences in verbose mode and report when differences were found solution : check first if differences were found and then print the name of dataset and differences in verbose mode always print the name first Solution: Platforms tested: linux aix solaris Misc. update:
* [svn-r8904] Purpose:Pedro Vicente Nunes2004-07-206-526/+588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | h5diff and h5repack changes Description: h5diff introduced the following four modes of output: Normal mode: print the number of differences found and where they occured Report mode: print the above plus the differences Verbose mode: print the above plus a list of objects and warnings Quiet mode: do not print output (h5diff always returns an exit code of 1 when differences are found) h5repack added an extra parameter for SZIP filter (coding method) the new syntax is -f SZIP=<pixels per block,coding> (pixels per block is a even number in 2-32 and coding method is 'EC' or 'NN') Example of use: ./h5repack -i file1 -o file2 -f SZIP=8,NN -v updated usage messages, test scripts and files accordingly Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8869] Purpose:Pedro Vicente Nunes2004-07-131-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | h5repack changes Description: there were some requests to change some minor h5repack features h5repack only made a warning about a non available filter in verbose mode ( -v ) without -v it kept silent, and users sometimes missed this warning the request was that it should print this warning always. so, the new format, is e.g ./h5repack -i test_szip.h5 -o out.h5 Warning: dataset </dset_szip> cannot be read, SZIP filter is not available due to this, and to avoid a lot of these messages in the shell test script, I modified the script h5repack.sh so that it detects the presence of all filters in the environment (previously it only detected SZIP) the test files were also divided in more files , to make the script code easier to follow Solution: Platforms tested: linux AIX (no szip) solaris (no szip, no gzip ) Misc. update:
* [svn-r8840] Purpose:Pedro Vicente Nunes2004-07-081-3/+8
| | | | | | | | | | | | | | | | bug fix Description: when printing array indices , the calculation of the current column was not done correctly Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8792] Purpose:Pedro Vicente Nunes2004-07-021-2/+2
| | | | | | | | | | | | | | | | | | | change features Description: for the file contents dump and for hardlinks, one arrow "->" is printed, followed by the first found name for that object options for not printing specific types of objects were postponed Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8781] James Laird2004-07-011-0/+4
| | | | | | | | | | | | | | | | Purpose: HDF5 now supports SZIP with no encoder. Description: SZIP can be configured to have both encoder and decoder or just to have the decoder. HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled. Solution: Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id. See SZIP RFC. Platforms tested: Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++) Misc. update:
* [svn-r8773] Purpose:Pedro Vicente Nunes2004-06-302-7/+22
| | | | | | | | | | | | | | | | | bug fix Description: the indentation was not made properly for nested objects when printing array indices Solution: added the indentation to h5tools_simple_prefix function Platforms tested: linux AIX solaris Misc. update:
* [svn-r8760] Purpose:Quincey Koziol2004-06-291-1/+47
| | | | | | | | | | | | | Code cleanup & small bug fix Description: Regenerate dependency files Add htri_t as separate type from hbool_t for code tracing purposes. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel too minor to require h5committest
* [svn-r8758] Purpose:Pedro Vicente Nunes2004-06-291-2/+8
| | | | | | | | | | | | | | | | | h5dump new feature, bug fix Description: added the dump of unmamed types to the file contents fixed a bug in the type array, it was printing invalid characters with the array indices option on Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8749] Purpose:Pedro Vicente Nunes2004-06-283-32/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | dumper new features Description: 1) added options for not printing : datasets, groups, datatypes, links 2) added a section for the user block 3) in the traversal routine, added the printing of an arrow for soft links and t he word HARDLINK for hardlinks the print of the file contents is made during traversal , instead of at the e nd of it (this is helpful for very large files, where the wait time can be very long) 4) changed the description of the fill value properties 5) added a colon after the printing of the array indices Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8715] Purpose:Pedro Vicente Nunes2004-06-222-14/+31
| | | | | | | | | | | | | | | | | | | | | | h5dump output change, new tests Description: the storage layout output format the storage layout output format had some changes same for the user defined filter add an option (-y) for not printing the array indices (default is print indices ) the option for escaping non printable characters covers all characters (default is not escape) (this might be not very portable, the test files are tstring.ddl and tstringe.ddl ) add tests for the new options Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8709] Purpose:Robert E. McGrath2004-06-181-15/+47
| | | | | | | | | | | | | | | Bug fix for mozilla 145 Description: h5dump output truncated on SGI Solution: See message for 1.6 branch Platforms tested: verbena Misc. update:
* [svn-r8688] Purpose:Pedro Vicente Nunes2004-06-151-1/+4
| | | | | | | | | | | | | | | | h5dump new feature Description: add processing of tab characters (in the context of the new option process CR/LF) Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8659] Purpose:Pedro Vicente Nunes2004-06-111-1/+1
| | | | | | | | | | | | | | | | | bug fix Description: a prototype for a new function used by h5tools_str.c was accidently left in that file the c++ treats this as an error Solution: removed the prototype, and pointed to the correct one (in h5tools_ref.h ) Platforms tested: Free BSD (c++) linux Misc. update:
* [svn-r8644] Purpose: h5dump new featuresPedro Vicente Nunes2004-06-105-3/+378
| | | | | | | | | | | | | | | | | | | | | | | Description: added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h ) added a test suite in testh5dump.sh.in for ( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters and generates testh5dump.sh accordingly) 1) storage layout 2) fill value 3) print reference with path 4) print strings with new lines 5) filters Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8622] Purpose:Pedro Vicente Nunes2004-06-073-5/+28
| | | | | | | | | | | | | | | | | | | | | | | | | h5dump new version Description: added the changes already made for 1.6 support for dumping of 1) filters 2) storage layout 3) fill value 4) comments 5) superblock 6) file contents 7) array indices Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8596] Purpose:MuQun Yang2004-05-281-5/+0
| | | | | | | | | | | | | | | bug fix Description: Currently h5dump test on windows won't separate error form standard output; which shows at function error_message. A #ifdef WIN32 macro at this file make stderr to be the same as stdout on windows. Solution: Separate standard error from standard output. Platforms tested: windows xp VS 6.0(by xuan bai), no needs to test on other platforms Misc. update:
* [svn-r8579] *** empty log message ***Raymond Lu2004-05-262-98/+164
|
* [svn-r8563] *** empty log message ***Raymond Lu2004-05-212-4/+9
|
* [svn-r8495] Purpose:Quincey Koziol2004-05-081-478/+519
| | | | | | | | | | | | | | Bug fixes Description: Updated dependencies Fixed error with C++ compiler builds of main library Added H5Pset_data_transform to MPE info Platforms tested: FreeBSD 4.9 (sleipnir)
* [svn-r8383] Purpose:Quincey Koziol2004-04-188-52/+34
| | | | | | | | | | | | | Code cleanup Description: Clean up lots of warnings based on those reported from the SGI compilers as well as gcc. Platforms tested: SGI O3900, IRIX64 6.5 (Cheryl's SGI machine) FreeBSD 4.9 (sleipnir) w/ & w/o parallel h5committest
* [svn-r8323] Purpose:Pedro Vicente Nunes2004-04-081-1/+1
| | | | | | | | | | | | | | | | bug fix, new tests Description: added a couple of #ifdefs to check if a specific filter is available for read added more tests the h5tools check filters had a mismatched filter variable Solution: Platforms tested: linux, with several filter configurations (all, some , none ) Misc. update:
* [svn-r8229] Purpose:Pedro Vicente Nunes2004-03-024-14/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) new function for tools library 2) new test script for h5repack Description: 1) currently all the tools (h5dump, h5diff, etc) do not check if a filter is available for reading some dataset that might have a filter not available on the current configuration (the behaviour of the tools until now was to trigger a library error, saying that the dataset cannot be read due to the lack of the filter) Solution: 1) added a new function h5tools_canreadf that checks if a dataset can be read depending on the availability of filters. this function was added in calls for h5diff and h5repack. instead of triggering the library error, a message is printed, saying that the dataset cannot be read (the print is optional, it is on on verbose mode) 2) added a shell script that tests the commannd line tool behaviour of h5repack the script does a series of runs of h5repack with several options on the same file (this file test4.h5 was added to the testfiles dir). then, it runs the h5diff tool, with the input and output files , in each run. the goal of the test is also to check item 1) . the binary file was saved with filters that might not be available on other configurations Platforms tested: linux (all filters enabled) linux (some filters disabled) solaris (some filters disabled) AIX (some filters disabled) windows (all filters on and off ) Misc. update: