summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9969] Purpose:Leon Arber2005-02-094-5/+12
| | | | | | | | | | | | | | | | | | | Correction to previous print_manager_output bugfix Description: Although the previous bugfix did fix all the errors, it was not the correct way to fix the problem. Since the manager will only buffer output when run in parallel mode, in serial mode this function should not even be called. Solution: Wrapped print_manager_output in #define's to prevent it from being included in serial builds. Platforms tested: heping (serial + parallel) Misc. update:
* [svn-r9968] Pedro Vicente Nunes2005-02-091-7/+7
| | | | | | | | | | | | | | | | | | | | | | Purpose: bug fix Description: a string with 2 characters was declared as having size 2. changed to size 3 (+ null character) this was causing compiler warnings with g++ Solution: Platforms tested: linux free bsd (g++) Misc. update:
* [svn-r9964] Purpose:Albert Cheng2005-02-091-0/+4
| | | | | | | | | | | | | | bug fix Description: g++ was not happy with missing protocols of external functions. Added print_manager_output(void) and phdiff_dismiss_workers(void) to the public declarations. Platforms tested: Tested in sleipnir (g++) and heping (serial, pp) Misc. update:
* [svn-r9961] Pedro Vicente Nunes2005-02-089-9/+198
| | | | | | | | | | | | | | | | | | | | | | | Purpose: bug fix, new test file Description: h5dump was not properly displaying array indices > 3D Solution: added the same algorythm and data structure that h5diff uses to calculate the array index from a element number position Platforms tested: linux solaris Misc. update:
* [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-087-471/+533
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9955] Purpose:Quincey Koziol2005-02-081-4/+72
| | | | | | | | | | | | | | New feature & bug fix Description: Allow h5debug tool to dump "test" v2 B-trees correctly. Also, fix incorrect parameter passing that was causing failures on various platforms. Platforms tested: FreeBSD 4.11 (sleipnir) AIX 5.2 (copper)
* [svn-r9951] Purpose: Minor bug fix.Raymond Lu2005-02-072-15/+45
| | | | | | | | | | | | | Description: The byte order for all 1-byte integer types was fixed as little-endian even on a big-endian machine. This's corrected in h5detect.c. When types are only 1 byte long, a native int is used substitute the type to detect byte order. Some tools like h5dump and h5repack are also corrected in this case. Platforms tested: fuss, copper, sol.(There're some failures from the recent configure change). Misc. update: Information in the RELEASE.txt.
* [svn-r9949] Purpose:Albert Cheng2005-02-071-63/+122
| | | | | | | | | | | | | | | | | Bug fix Description: h5diff sometimes will 'exit(status)' but if it is in parallel mode, it needs to close up the workers and the MPI environment before exit(..). Solution: Created h5diff_exit() that will just exit in serial mode but does all the shutdown properly if in parallel mode. Platforms tested: tested in heping, serial and parallel. 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-r9945] Purpose:Albert Cheng2005-02-062-48/+67
| | | | | | | | | | | | | | | Bug fix Description: h5diff_main.c contained some debug printf statment that produced unexpected output. Commented them out. testh5diff.sh: implemented code to test ph5diff tests but ph5diff has some errors that generated unexpected output. Temporary hacked to skip tests if run by daily test account. Platforms tested: Tested in heping, serial and parallel.
* [svn-r9934] Purpose:Robert E. McGrath2005-02-041-1/+17
| | | | | | | | | | | | | | | Bug Description: Refinement to bug fix #282 Solution: Altered argument handling to do a better default. Platforms tested: verbena, shanti Misc. update:
* [svn-r9931] Purpose:Albert Cheng2005-02-042-2/+98
| | | | | | | | | | | new features Description: Added a parallel option to testh5diff.sh to do parallel h5diff tests. Added testph5diff.sh to invoke testh5diff.sh with parallel mode. Platforms tested: Tested in heping (serial and pp).
* [svn-r9930] James Laird2005-02-0310-13/+16
| | | | | | | | | | | | | | | | | | 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-r9929] Purpose:Albert Cheng2005-02-032-13/+62
| | | | | | | | | | | | | Features Description: Added the option to build ph5diff and run testphdf5.sh when parallel mode is enabled. Platforms tested: tested in heping, both serial and parallel. Misc. update:
* [svn-r9928] Purpose:Quincey Koziol2005-02-0311-12/+44
| | | | | | | | | | | | | 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-r9927] Purpose:Robert E. McGrath2005-02-031-0/+30
| | | | | | | | | | | | | | | Bug fix #282 Description: Problem with byte order Solution: Do it right. See 1.6 checkin Platforms tested: verbena, shanti Misc. update:
* [svn-r9925] Purpose:Leon Arber2005-02-025-512/+241
| | | | | | | | | | | | | | | | | | | 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-r9924] Purpose:Robert E. McGrath2005-02-022-3/+33
| | | | | | | | | | | | | | | Bug fix (#56) Description: h52gif creash for data > 1 byt Solution: check datatype and return with error message if not 1 byte int Platforms tested: shanti,verbena Misc. update:
* [svn-r9921] Purpose:Pedro Vicente Nunes2005-02-021-1/+1
| | | | | | | | | | | | | | | bug fix Description: the test fail condtion of a close function was set to if H5Dclose < 1 Solution: set to < 0 Platforms tested: linux Misc. update:
* [svn-r9920] Purpose:James Laird2005-02-0210-20/+30
| | | | | | | | | | | | | | | | | | | 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-r9919] Purpose:Robert E. McGrath2005-02-021-13/+16
| | | | | | | | | | | | | | | Bug 181 Description: Attributes written incorrectly. Solution: Do them right, as in H5IM.c Platforms tested: verbena, output checked on windows. Misc. update:
* [svn-r9915] Purpose:James Laird2005-02-0210-60/+60
| | | | | | | | | | | | | | | 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-0110-870/+80
| | | | | | | | | | | | | | | | | 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-0110-0/+10
| | | | | | | | | | | | | 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-0130-3002/+7652
| | | | | | | | | | | | | | | 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-312-1/+4
| | | | | | | | | | | | | | 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-r9885] Purpose:Pedro Vicente Nunes2005-01-291-1/+2
| | | | | | | | | | | | | | | bug fix Description: calling h5diff from the h5repack test script running mpicc , the path of one of the files was not found Solution: inserted the full path in the script Platforms tested: linux (with mpicc and gcc) 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-275-18/+334
| | | | | | | | | | | | | | | | | 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-269-2843/+3316
| | | | | | | | | | | | 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-r9869] Purpose:Quincey Koziol2005-01-251-2/+2
| | | | | | | | | | | | | | | Bug fix Description: In an earlier bug-fix, I inadvertently inverted the meaning of the "% utilization" in h5ls. Solution: De-invert it. :-) Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9778] Purpose:Quincey Koziol2005-01-085-50/+54
| | | | | | | | | | | | | | | 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-r9747] Purpose:Xuan Bai2005-01-051-0/+1
| | | | | | | | | | | | | | | | | | | Bug fix. Description: When building h5dumpgentest.c with Visual C++ 6.0, I got the following warning message: h5dumpgentest.c(4528) : warning C4013: 'h5tools_can_encode' undefined; assuming extern returning int Solution: Add the header file h5tools.h into h5dumpgentest.c. Platforms tested: Heping (Linux) Visual C++ 6.0 on Windows XP/2000. .NET on Windows XP. (Tested with SZIP-with-encoder and SZIP-without-encoder). Misc. update:
* [svn-r9746] Purpose:Xuan Bai2005-01-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: creat(name, (mode_t)0777) is used to create a new file. However, creat() is not available in Visual Studio. Solution: Use a Win32 macro so _creat() will be used on Windows and creat() will be used on Unix. #ifdef WIN32 fd = _creat(name, _S_IREAD | _S_IWRITE); #else /* WIN32 */ fd = creat(name,(mode_t)0777); #endif /* WIN32 */ (Note: At first, I tried to define HDcreat() as _creat() for WIN32 and creat() for other platforms in H5private.h. But _creat() and creat() use different parameters for file permission settings. So, I added the WIN32 macro in h5jamgentest.c.) Platforms tested: Heping (Linux) Visual C++ 6.0 on Windows XP/2000. .NET on Windows XP. (Tested with SZIP-with-encoder and SZIP-without-encoder). Misc. update:
* [svn-r9727] Purpose:Quincey Koziol2004-12-2933-479/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9634] Purpose:Pedro Vicente Nunes2004-12-071-1/+8
| | | | | | | | | | | | | | bug fix Description: added a condition that checks if the hl library is enabled to add it to the list of linking libraries Solution: Platforms tested: linux Misc. update:
* [svn-r9628] Purpose:Pedro Vicente Nunes2004-12-071-3/+6
| | | | | | | | | | | | | | modified h5cc to link with the high level library (libhdf5_hl) Description: added libhdf5_hl.a to the list of libarries to link with Solution: Platforms tested: linux Misc. update:
* [svn-r9614] Purpose:Pedro Vicente Nunes2004-12-031-21/+34
| | | | | | | | | | | | | | | | | | new feature Description: when requesting a filter for all datasets and the filter cannot be applied for one dataset use the original dcpl withou filter and print a warning this check was done previously with buit in functions for szip that are now in the library Solution: Platforms tested: linux solaris aix Misc. update:
* [svn-r9572] Purpose:Pedro Vicente Nunes2004-11-241-112/+112
| | | | | | | | | | | | | | | | | bug fix Description: the routine for applying the layout for the new file of h5repack was not handling the logic correctly in cases where an input layout was not set Solution: changed the logic so that the original layout is preserved (this bug was introduced in the last change, October 19 04) Platforms tested: linux (small change) Misc. update:
* [svn-r9543] Purpose:Albert Cheng2004-11-181-0/+65
| | | | | | | | | | | | | | | | | | | | Bug fix (#264) Description: h5dump did not print attribute data in ASCII format when -r is used. Solution: Added the ability to print in ASCII for Attributes Data also. Added a test for printing Attributes with -r option. tall-2B.ddl is the standard output for printing attributes with -r option. Platforms tested: H5committested. Also in heping. Misc. update: Update MANIFEST.
* [svn-r9542] Purpose:Albert Cheng2004-11-182-0/+35
| | | | | | | | | | | | | | | | | | | Bug fix (#264) Description: h5dump did not print attribute data in ASCII format when -r is used. Solution: Added the ability to print in ASCII for Attributes Data also. Added a test for printing Attributes with -r option. Platforms tested: H5committested. Also in heping. Misc. update: Update MANIFEST.
* [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-027-19/+226
| | | | | | | | | | | | | | | | | | | | | | 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-r9495] Purpose:Robert E. McGrath2004-11-021-10/+10
| | | | | | | | | | | | Fix SZIP filter to dynmically detect encoder. Description: Solution: See: http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf Changes to h5dump tests, contingent on detecting SZIP encoder.
* [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-r9447] Purpose:Quincey Koziol2004-10-221-13/+8
| | | | | | | | | | | | Bug fix Description: Correct values used in "space utilization" equation: the 'used' and 'total' values were backwards. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9436] Purpose:Pedro Vicente Nunes2004-10-195-296/+209
| | | | | | | | | | | | | | | | | | | | | bug fix Description: Description: one case was not handled in the combination of input options (layout and filters) Solution: redo the algorythm that handles all cases Solution: Platforms tested: linux Misc. update: