summaryrefslogtreecommitdiffstats
path: root/tools/h5diff
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r12826] Pedro Vicente Nunes2006-10-301-28/+27
| | | | | added a new test for h5diff relative error for the file generator program
* [svn-r12819] Pedro Vicente Nunes2006-10-262-14/+32
| | | | | | | h5diff: print a message of "not comparable" in a case where the relative error compare is not possible, due to the denominator being zero. Modified the test file generator program to include a example for this and a new test on the shell script
* [svn-r12815] Pedro Vicente Nunes2006-10-253-1116/+1166
| | | | | | | | | | | | | | 1) added a new parameter to the h5diff function diff_array that contains the beginning position of the hyperslab, so that the total position in the array is printed correctly when reading by hyperslabs. 2) added a new test to h5diff that reads and diffs by hyperslabs. The test reads a 1GB dataset, from which a 1KB hyperslab was written with differences . 3) added the generation of 2 files to the generator program to test the h5diff hyperslab read. 4) changed the h5diff binary pre-generated file names to be more descriptive (e.g, instead of file1.h5, made it h5diff_basic1.h5) 5) changed the name of the h5repack options text file to info.h5repack
* [svn-r12741] Added support for direct I/O to check-vfd. The direct VFD is ↵James Laird2006-10-101-2/+2
| | | | | | | | | | only tested if it is enabled. Added Direct VFD status to the configure summary. Removed a line left over from pablo support. Oops!
* [svn-r12736] Description:Quincey Koziol2006-10-091-6/+6
| | | | | | | | | | | | | | | | | | | Add "use the latest format" support for dataspace object header encode/ decode routines and clean up format a bit for the latest format (new to 1.8.x releases) Remove storing 'perm' parameter for array datatypes in memory and the file, and add test to make certain that if any user applications are attempting to store them, we get some reports back. (Should be unlikely, since the RefMan says that the parameter is not implemented and is unsupported). Carry those changes into the tests, etc. Clean up a bunch more compiler warnings. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-1.6-compat
* [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' ↵James Laird2006-10-031-0/+1
| | | | | | | | | | | | utility and quote its arguments. Also checks for the 'socket' library on Solaris. If this patch passes the Daily Tests and makes the user happy, I'll port it back to the 1.6 branch. Tested on mir and sol.
* [svn-r12700] Alert:Quincey Koziol2006-10-021-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | File format is not stable, don't keep files produced! Description: First stage of checkins modifying the format of groups to support creation order. Implement "dense" storage for links in groups. Try to clarify some of the symbols for the H5L API. Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest file format options (including "dense" link storage in groups) Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation order tracking in groups (although no index on creation order yet). Remove --enable-group-revision configure flag, as file format issues are now handled in a backwardly/forwardly compatible way. Clean up lots of compiler warnings and other minor formatting issues. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-v1.6 compa Mac OSX/32 10.4.8 (amazon) AIX 5.3 (copper) w/parallel & FORTRAN
* [svn-r12687] reverted back some changes that inadvertedely added some ↵Pedro Vicente Nunes2006-09-264-7/+5
| | | | | | | | output to the parallel part of h5diff tested : heping parallel
* [svn-r12678] bug fixPedro Vicente Nunes2006-09-254-5/+7
| | | | | the number of atribute differences was not added to the total sum of differences
* [svn-r12608] Checked in External Link C examples.James Laird2006-08-221-1/+1
| | | | | | | | Since these examples need to follow filesystem paths, the Makefiles need to create directories in the examples directory; added this to the Makefile.am. Tested on Windows, mir, juniper
* [svn-r12584] Mentioned VFD in test output to make it easier to tell which ↵James Laird2006-08-171-7/+6
| | | | | | | | | VFD is being used when a test is run. Running reconfigure also regenerated error header files (because someone edited them manually?).
* [svn-r12528] Added User-Defined links to the library.James Laird2006-08-021-3/+31
| | | | | | | | | | | | | | Users can create external links using H5L_create_external(). These links point to an object in another HDF5 file. Users can alter the behavior of external links or create new kinds of links by registering callbacks using the H5L interface. Added tests, tools support, etc. Also a number of other, minor changes have been made (some restructuring of the H5L interface, for instance). Additional documentation and examples are forthcoming.
* [svn-r12519] Fixed "make check-vfd"James Laird2006-07-311-2/+3
| | | | | | | | | | "make check-vfd" will now run all tests in the test directory with different file drivers (at least, all of those tests that use the testing framework's FAPL). Tests that fail will be skipped. This is not a perfect fix, but is better than nothing. Along with this change, check-vfd should be added to the Daily Tests.
* [svn-r12452] Purpose:James Laird2006-07-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | Feature Description: Revised Link APIs. Solution: New link APIs use H5L* H5*create_expand do not create links to the objects created; this must be done manually with H5Llink. Added APIs to link an object given its ID (H5Llink), to copy links (H5Lcopy), and changed creation APIs (H5Lcreate_hard and H5Lcreate_soft) and query API (H5Lget_linkinfo instead of H5Gget_objinfo). All old APIs are still supported in H5Gdeprec.c . Platforms tested: sol, mir, copper Misc. update: Forgot to update MANIFEST and release docs. Will do after checkin.
* [svn-r12440] Purpose:Quincey Koziol2006-06-274-33/+33
| | | | | | | | | | | Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
* [svn-r12431] Purpose:James Laird2006-06-212-19/+9
| | | | | | | | | | | | | | Configuration feature Description: 'make install' now tests both static and shared libraries if both are installed. Solution: Previously, shared libraries were only tested when static libraries were not installed. Also cleaned up line in commence.am that was including HL library in all Makefiles. Platforms tested: mir (Makefile change only)
* [svn-r12411] Purpose:James Laird2006-06-131-0/+1
| | | | | | | | | | | | | | Bug fix - bugzilla #552 Description: On Cray X1, trying to use : as an argument confused the system. Solution: Added a test in configure to see if : as an argument is bad. If so, skipped the test. Platforms tested: mir, Cray X1 (change to configure only)
* [svn-r12358] Purpose:Albert Cheng2006-05-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: The ${TR}, though avoid the error, is inconvenient. It is needed because configure.in use the char range in the style of 'a-z'. The other style of '[a-z]' is more commonly accepted by all tr but autoconf tends to strip away [], making the syntax rather clumsy. Solution: Learned from autoconf that it avoids the use of character range by just spell all the letters out. Changed our tr commands to use those variables defined by autoconf. Also removed the definition of ${TR} since it will cause inconsistancy when autoconf also use plain 'tr' in its generated code. The Makefile.in are changed because the elimination of ${TR} from configure triggered its removal from all Makefil.in. That is okay because ${TR} is not used at all in Makefile. Platforms tested: h5committested. (sol failed to connected). also tested in shanti using both /usr/ucb/tr and /bin/tr (the bad one before.) Misc. update: Updated both INSTALL and RELEASE files.
* [svn-r12303] Purpose:Pedro Vicente Nunes2006-04-261-2/+2
| | | | | | | | | | | | | | new feature Description: modified the test case for region points, so that there is not an ordered sequence of points that differ, but one with gaps Solution: Platforms tested: linux Misc. update:
* [svn-r12297] Purpose:Pedro Vicente Nunes2006-04-2510-2492/+2482
| | | | | | | | | | | | | | | | | new feature Description: added support for the printout of dataset region references differences added a new test for this merged the h5diff generator of test files into a single file Solution: Platforms tested: linux 32, 64 solaris Misc. update:
* [svn-r12295] Purpose:James Laird2006-04-211-3/+3
| | | | | | | | | | | | | | | | | | | Several bug fixes Description: Added config file for Cray X1 (previous file was misnamed) Simplified some code in hyperslab.c test that seemed to have been confusing compiler on Cray X1. Fixed typo in config/commence.am Cleaned up hl/src/Makefile.am Solution: All four fixes should be straightforward. The failure on Cray was very difficult to debug, but involved arithmetic errors. This change seems to fix it. Platforms tested: heping, copper, sol, some Cray X1 (more testing when system comes back up)
* [svn-r12229] Purpose:Pedro Vicente Nunes2006-04-122-4/+7
| | | | | | | | | | | | | | | | | | | | | new feature Description: 1) separated the HL library into "public" and "private" header files, with the same caracteristics as the basic library 2) added the public headers to hdf5.h (with a conditional include macro, defined in configure.in) 3) added the path to HL in all Makefile.am 's , because of the inclusion in hdf5.h Solution: Platforms tested: linux 32, 64 AIX solaris with fortran and c++ (one packet table example fails) Misc. update:
* [svn-r12199] Purpose:Pedro Vicente Nunes2006-04-041-2/+2
| | | | | | | | | | | | | | | | | | | bug fix Description: the percent error calculation in h5diff using double precision floating point were causing different results on the release and debug versions of Visual Studio version 6, due to a compiler bug Solution: used single precision (float) Platforms tested: windows linux solaris AIX Misc. update:
* [svn-r12149] Purpose:James Laird2006-03-231-7/+1
| | | | | | | | | | | | | | | | Bug fix Description: Previous checkin did a bad thing; 'make clean' failed in example directories. Solution: Fixed commence.am so that examples no longer break, and fixed a mistake in conclude.am. Platforms tested: heping (minor makefile change) Misc. update:
* [svn-r12146] Purpose:Pedro Vicente Nunes2006-03-232-2/+10
| | | | | | | | | | | | | | | | | bug fix Description: percent relative error was done using integer arythmetic; use floating point instead added the case for unsigned long long integer to float conversion Solution: Platforms tested: linux (32,64) AIX solaris Misc. update:
* [svn-r12143] Purpose:James Laird2006-03-231-0/+4
| | | | | | | | | | | | | | Bug fix Description: make check-clean didn't clean results of example tests Solution: Fixed Makefiles so that check-clean recurses into example directories. Also a little Makefile cleanup. Platforms tested: mir, modi4, heping, copper
* [svn-r12134] Purpose:Pedro Vicente Nunes2006-03-223-271/+281
| | | | | | | | | | | | | | | | | | bug fix Description: 1) added a more explainative usage message 2) the percent relative error for the integer type (division) was being done using integer arythmetic; use floating point arythmetic instead 3) added a new test for integer percent Solution: Platforms tested: linux (32,64) AIX solaris Misc. update:
* [svn-r12124] Purpose:Pedro Vicente Nunes2006-03-201-2/+2
| | | | | | | | | | | | | | | | | bug fix Description: 1) the compare flag test was not being put in a correct place, making comparisons attempts that were not supposed to be done 2) some duplicate warnings were being made Solution: eliminate the duplicate warnings, put the if compare flag on the correct place Platforms tested: linux 32, 64 solaris Misc. update:
* [svn-r12112] Purpose:Pedro Vicente Nunes2006-03-171-1/+1
| | | | | | | | | | | | | | | | | | bug fixes Description: 1) the option logic for the print of long types was done incorrectly (extra lines of code that were not supposed to be there) 2) the print of loong long types was incorrect Solution: 1) removed the incorrect code 2) made a long long cast on the printf call Platforms tested: linux (32 and 64) solaris Misc. update:
* [svn-r12096] Purpose:Pedro Vicente Nunes2006-03-161-3/+3
| | | | | | | | | | | | | | | temporary fix Description: one test is failing in tg-login2 Solution: comment until solution found Platforms tested: none Misc. update:
* [svn-r12095] Purpose:Pedro Vicente Nunes2006-03-161-2/+2
| | | | | | | | | | | | | | | temporary fix Description: 2 h5diff tests are failing on mir Solution: comment until solution found Platforms tested: linux (mir) Misc. update:
* [svn-r12092] Purpose:Pedro Vicente Nunes2006-03-152-29/+55
| | | | | | | | | | | | | | | | bug fix, new features Description: when comparing links , the output for the number of differences found was not being done Solution: print it add 3 more tests that test the output of differences for 1) groups 2) datatypes 3) links Platforms tested: linux Misc. update:
* [svn-r11886] Purpose:Quincey Koziol2006-01-234-5/+5
| | | | | | | | | | | | | Code cleanup Description: Check in some of the code cleanups from working on the external link support. (This doesn't include any of the external link features) Platforms tested: FreeBSD 4.11 (sleipnir) Mac OSX.4 (amazon) Linux 2.4
* [svn-r11792] Purpose:James Laird2005-12-132-2/+4
| | | | | | | | | | | | | | Makefile fix Description: The h5diff parallel test script depends on the serial test script. Added this dependency. Solution: Used SCRIPT_DEPEND variable. Also added ph5diff (when it is compiled). Platforms tested: mir
* [svn-r11790] Purpose:Albert Cheng2005-12-131-12/+42
| | | | | | | | | | | | | | | | Improvement Description: Some parallel system would dump some system messages in the stdout stream of an MPI application. That caused the output matching script to fail unnecessarily. Solution: Added the STDOUT_FILTER feature to filter out those system messages out of stdout result. Platforms tested: Tested in LANL Lambda.
* [svn-r11741] Purpose:James Laird2005-11-181-6/+16
| | | | | | | | | | | | | | | | | Bug fix Description: Fortran type generation was broken in two ways. Fixed both. Solution: Firstly, there were a couple of path problems. Fixed a typo and specified the full path of a file. Secondly, the dependencies weren't right when building with HDF5-specific commands (make lib, make check-s, etc.). Tweaked dependencies to fix the problem. Platforms tested: mir, modi4, sleipnir
* [svn-r11738] Purpose:James Laird2005-11-181-0/+4
| | | | | | | | | | | | | | | | | | | Configure feature Description: Added 'make trace' target. Solution: Added tracing to 1.7. This was done automatically in 1.6, but left out of 1.7 until now (oops!). Tracing in 1.7 only happens manually, when the user types 'make trace.' Tracing automatically requires more framework than it's worth. I also fixed a couple of tracing bugs and ran trace. Platforms tested: mir, sleipnir, modi4 Misc. update:
* [svn-r11737] Purpose:James Laird2005-11-171-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: Before this checkin, 'gmake check-s' would fail if there was a file in the current directory named 'check-s'. This is fixed under gmake (not sure how to fix for other makes). Solution: check, progs, install, etc. are what gmake calls "phony" targets, which means that no file should be created. These targets can be specified by a line of the form .PHONY: check progs install ... Automake adds this line for targets it knows about, but HDF5 has a lot of custom rules. This checkin adds a .PHONY line for those rules. I believe that only gmake recognizes the .PHONY line (at least, pmake doesn't seem to), but a partial solution is better than none. This error should occur very rarely anyway (the user has to manually create files with names like 'build-check-s' or '_test'). Platforms tested: mir, sleipnir, modi4
* [svn-r11646] Purpose:James Laird2005-10-311-4/+14
| | | | | | | | | | | | | | | | | | Bug fix/feature Description: Added support for -shlib in h5fc and h5c++. Made check-install use -shlib when only shared libraries have been installed. Solution: h5fc and h5c++ didn't recognize -shlib. Stole code from h5cc to link against shared libraries. When static libraries are disabled, the examples Makefiles will automatically use the -shlib option to link against shared libraries. Thus, --disable-static and make check-install should work together. Platforms tested: heping(disable-static, enable-static, fortran, c++), modi4 (disable-static, fortran, c++, parallel, enable-static)
* [svn-r11619] Purpose:Quincey Koziol2005-10-291-0/+14
| | | | | | | | | | | Update copyrights. Description: Solution: This should address almost all of the "simple" cases in the repository. There's still work to do, but it's going to require actually thinking about the files in question instead of just copying & pasting.
* [svn-r11612] Purpose:James Laird2005-10-271-1/+1
| | | | | | | | | | | | | Bug fix Description: Failed parallel tests now cause make to exit with an error. Solution: Edited config/conclude.am to throw an error if parallel test programs fail. Platforms tested: heping, modi4
* [svn-r11607] Purpose:Pedro Vicente Nunes2005-10-261-3/+7
| | | | | | | | | | | | | | | | | new h5diff test Description: added a test to the test h5diff script that compares a file to itself. this test is done to test some features of the library that open the same file and the root group twice Solution: Platforms tested: linux solaris Misc. update:
* [svn-r11602] Purpose:James Laird2005-10-241-3/+0
| | | | | | | | | | | | Bug fix Description: Removed detection of pdb from configure.in as a corollary to removal of pdb2hdf5 tool. Platforms tested: mir, modi4
* [svn-r11573] Purpose:James Laird2005-10-171-0/+1
| | | | | | | | | | | | | | | | | | | | Bug fix Description: Changed configure.in to use an environment variable TR to set the path to the tr utility. Solution: There are two kind of tr on Solaris with slightly different syntax. HDF5's configure relies on the "standard" tr. Traditionally, HDF5ers have needed to make sure that the "right" tr was found before the wrong one in their path; now they can use an environment variable. Platforms tested: mir, shanti, sol Misc. update: Forgot to update release notes. Off to do that now.
* [svn-r11566] Purpose:James Laird2005-10-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Makefile bug fix Description: Previously, automake didn't output rules to build perform/mpi-perf or the test/gen_* programs. Now these can be built by typing 'make mpi-perf' (or 'make foo') or by configuring with --enable-build-all. Solution: Automake doesn't like having rules for programs it doesn't build. Tricked it by having these programs built "sometimes"--whenever the user enables --build-all. This should be used mostly for testing and to ensure that these helper programs compile. ***IMPORTANT*** These programs do *not* currently compile. When --enable-build-all is used (not the default), gen_new_fill fails because it uses an old API. This is an existing "bug" that has simply been exposed by this checkin. Platforms tested: sleipnir, modi4, sol Misc. update:
* [svn-r11478] Purpose:Albert Cheng2005-09-291-8/+7
| | | | | | | | | | | | | | | | bug fix. Description: When a parallel test script test fails, make would continue because the way it was setup inside a for loop. Fixed it by issuing an exit 1 inside the loop. There was also a typo error in the newer command comparision that it must be $${chkname} in order to be valid. Also, the test script itself was not checked in the newer lists. All fixed. Platforms tested: h5committested and also hand tested in heping pp mode.
* [svn-r11446] Purpose:James Laird2005-09-201-2/+3
| | | | | | | | | | | Bug fix Description: Massaged the newer script and config/conclude.am to make SX6 happy. Platforms tested: SX6, sol, mir
* [svn-r11445] Purpose:Pedro Vicente Nunes2005-09-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | h5diff new feature Description: a user asked for the message "Some objects are not comparable" to be more noticeable Solution: -------------------------------- Some objects are not comparable -------------------------------- Platforms tested: linux Misc. update:
* [svn-r11431] Purpose:Albert Cheng2005-09-181-2/+3
| | | | | | | | | | | | | | | | | New feature. Description: Added the time command to the make check target to report time usage of the execute of each test and test scripts. This gives us some idea how long each test takes and some vague idea it is compute bound or not. powerpc-ibm-aix5.x: Change $RUNPARALLEL default setting to allow it being invoked by the time command. Platforms tested: h5committested.
* [svn-r11421] Purpose:James Laird2005-09-161-4/+11
| | | | | | | | | | | | | | | Feature Description: Added H5_CFLAGS, etc. to 1.7 branch. Now compilation flags can be put in H5_*FLAGS and they'll be used when building hdf5 but not in h5cc. Platforms tested: mir, sleipnir, modi4 Misc. update: