summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* [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:
* [svn-r9428] Purpose:Pedro Vicente Nunes2004-10-183-11/+24
| | | | | | | | | | | | | | | | | bug fix Description: when specifying both an input object e.g -f mydset:GZIP=1 and a defined chunk -l CHUNK=20x20 the filter used a defined default chunk instead Solution: add a check for the input chunk Platforms tested: linux (small change) Misc. update:
* [svn-r9418] Bug fix (bug 205).Albert Cheng2004-10-141-3/+3
| | | | | | | | | The script does not use $RUNSERIAL to execute programs. This failed badly in parallel systems like Tflops. Patched $RUNSERIAL in to make it work. Tested in tflops only.
* [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-0619-313/+228
| | | | | | | | | | | | | | | 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-058-23/+157
| | | | | | | | | | | | 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-r9329] James Laird2004-09-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Purpose: Feature Description: Datatypes and groups now use H5FO "file object" code that was previously only used by datasets. These objects will hold a file open if the file is closed but they have not yet been closed. If these objects are unlinked then relinked, they will not be destroyed. If they are opened twice (even by two different names), both IDs will "see" changes made to the object using the other ID. When an object is opened using two different names (e.g., if a dataset was opened under one name, then mounted and opened under its new name), calling H5Iget_name() on a given hid_t will return the name used to open that hid_t, not the current name of the object (this is a feature, and a change from the previous behavior of datasets). Solution: Used H5FO code that was already in place for datasets. Broke H5D_t's, H5T_t's, and H5G_t's into a "shared" struct and a private struct. The shared structs (H5D_shared_t, etc.) hold the object's information and are used by all IDs that point to a given object in the file. The private structs are pointed to by the hid_t and contain the object's group entry information (including its name) and a pointer to the shared struct for that object. This changed the naming of structs throughout the library (e.g., datatype->size is now datatype->shared->size). I added an updated H5Tinit.c to windows.zip. Platforms tested: Visual Studio 7, sleipnir, arabica, verbena Misc. update:
* [svn-r9234] Purpose:Quincey Koziol2004-09-094-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Tweak recent "forward compatibility" changes to the H5E* API (which allowed for the old H5E API functions to remain unchanged) by allowing for the error stack callback function (H5E_auto_t) to also remain unchanged from the 1.6 branch. This required changing the H5E{get|set}_auto routines to have the old style H5E_auto_t type (which didn't have a stack ID parameter) and the new H5E{get|set}_auto_stack routines to have a newer "H5E_auto_stack_t" type (which has a stack ID parameter). This should make the H5E API changes as forwardly compatible as possible. One side-affect of this change was that it was impossible to determine if the current auto error callback was the old style (H5E_auto_t) or the new style (H5E_auto_stack_t) of callback, so a new API function (H5Eauto_is_stack) was adde to query this. Platforms tested: FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modi4) h5committest
* [svn-r9204] Purpose:Pedro Vicente Nunes2004-09-031-118/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bug fix changed some datset names for h5repack etsts Description: Description: the dataset region reference data was not portable between the Cray T3E and other machines Solution: this was due to the fact that the buffer to store the heap ID and index was using a sizeof(int) for its size 4 is used instead of sizeof(int) to permit portability between the Crays and other machines (the heap ID is always encoded as an int32 anyway) Solution: Platforms tested: linux aix solaris Misc. update:
* [svn-r9183] Purpose: New featureRaymond Lu2004-09-015-38/+10
| | | | | | | | | | | | Description: Restore 6 old error API functions back to the library to be backward compatible with v1.6. They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto, H5Eget_auto. These functions do not have error stack as parameter. Solution: Internally, these functions use default error stack. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r9146] Purpose:Pedro Vicente Nunes2004-08-2412-38/+22
| | | | | | | | | | | | | | | | | | | h5repack test Description: modified a test file generation contents, for more easy debugging (generated just one reference dataset and one region reference ) Solution: Platforms tested: linux aix solaris Misc. update:
* [svn-r9137] Purpose:Pedro Vicente Nunes2004-08-235-30/+91
| | | | | | | | | | | | | | | | | | new test Description: added a test that generates and copies a file with a dataset with fill value (this is to test the property list function H5Pequal) Solution: Platforms tested: linux solaris aix Misc. update:
* [svn-r9121] Purpose:Pedro Vicente Nunes2004-08-194-360/+60
| | | | | | | | | | | | | | | | | | | | new feature Description: added a check that the chunk size must be smaller than pixels per block in SZIP request prints a message and exits, if not met Solution: Platforms tested: linux aix solaris Misc. update:
* [svn-r9113] Purpose:Xuan Bai2004-08-181-6/+6
| | | | | | | | | | | | | | | | | | Update. Description: Make some minor change so that h5jamgentest.c is compatible with Windows. Solution: Change open() and write() functions to HDopen(), and HDwrite(). Platforms tested: Windows 2000 Windows XP eirene (Note: I talked with Bob and Kent about these changes before check-in) Misc. update:
* [svn-r9112] Purpose:Xuan Bai2004-08-181-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Update. Description: Make some minor change so that tellub.c is compatible with Windows. Solution: 1. unistd.h is not available in windows system. Add a macro for this header file as: #ifdef H5_HAVE_UNISTD_H #include <unistd.h> #endif 2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek, as these HD functions are more comtatible with Windows system. 3. add #include H5private.h 4. remove #include <stdlib.h> Platforms tested: Windows 2000 Windows XP eirene (Note: I talked with Bob and Kent about these changes before check-in) Misc. update:
* [svn-r9111] Purpose:Xuan Bai2004-08-182-13/+19
| | | | | | | | | | | | | | | | | | | | | | | | | Update. Description: Make some minor change so that h5jam.c is compatible with Windows. Solution: 1. unistd.h is not available in windows system. Add a macro for this header file as: #ifdef H5_HAVE_UNISTD_H #include <unistd.h> #endif 2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek, as these HD functions are more comtatible with Windows system. 3. add #include H5private.h 4. remove #include <stdlib.h> Platforms tested: Windows 2000 Windows XP eirene (Note: I talked with Bob and Kent about these changes before check-in) Misc. update:
* [svn-r9110] Purpose:Xuan Bai2004-08-181-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | Update. Description: Make some minor change so that h5jam.c is compatible with Windows. Solution: 1. unistd.h is not available in windows system. Add a macro for this header file as: #ifdef H5_HAVE_UNISTD_H #include <unistd.h> #endif 2. Change open, read, write, lseek functions to HDopen, HDread, HDwrite, and HDlseek, as these HD functions are more comtatible with Windows system. 3. add #include H5private.h 4. remove #include <stdlib.h> Platforms tested: Windows 2000 Windows XP eirene (Note: I talked with Bob and Kent about these changes before check-in) Misc. update:
* [svn-r9106] Purpose:Pedro Vicente Nunes2004-08-175-21/+43
| | | | | | | | | | | | | | | | | bug fix Description: the option CHUNK:NONE (remove chunking ) was not setting the layout to contiguous Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r9036] Purpose:Quincey Koziol2004-08-063-3/+18
| | | | | | | | | | | | Bug fix Description: Correct compilation errors w/--enable-hdf5_v1_6 and using the C++ compiler as a C compiler Platforms tested: FreeBSD 4.10 (sleipnir) w/above flags Not tested with h5committest
* [svn-r9035] Purpose:Quincey Koziol2004-08-061-0/+83
| | | | | | | | | | | | Update dependencies Description: Update this with real values. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9026] Purpose:Robert E. McGrath2004-08-051-0/+1
| | | | | | | | | | | | and one last test file. Description: Solution: Platforms tested: Misc. update:
* [svn-r9021] Purpose:Robert E. McGrath2004-08-055-0/+3
| | | | | | | | | | | | test files omitted from earlier checkin Description: Solution: Platforms tested: Misc. update:
* [svn-r9019] Purpose:Robert E. McGrath2004-08-059-1/+2464
| | | | | | | | | | | | | | | | Adding new 'jam' utility Description: New utility, plus changes to makefiles Solution: See http://hdf.ncsa.uiuc.edu/RFC/Jam Platforms tested: verbena (fortran,C++), arabica, hirdls (SGI Irix64) Misc. update: Manifest will be done in next checkin.
* [svn-r9014] Elena Pourmal2004-08-041-2/+4
| | | | | | | | | | | | | | | | Purpose: Small bug fix Description: When SZIP filter is present but encoding is not enabled test_misc21 and h5repack tests failed. Solution: Those tests should not run in this situation at all. Used conditonal compilation to disable the tests. Platforms tested: sol (today I will enable the daily tests with the szip library that doesn't have encoder for few other platforms) Misc. update:
* [svn-r8983] Purpose:Quincey Koziol2004-08-028-2184/+2093
| | | | | | | | | | | | 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-2118-116/+198
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-r8909] Purpose:Pedro Vicente Nunes2004-07-201-1/+2
| | | | | | | | | | | | | | | | update documentation and usage message Description: updated the html documentation for the new h5diff modes added a section for h5repack Solution: Platforms tested: linux Misc. update:
* [svn-r8904] Purpose:Pedro Vicente Nunes2004-07-2097-1912/+1755
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r8882] Purpose:Pedro Vicente Nunes2004-07-158-64/+161
| | | | | | | | | | | | | | | | | | | | | | | | bug fix, new feature Description: fixed bug in the parse function: cases where we have an already inserted name but there is a new name also example: -f dset1:GZIP=1 -l dset1,dset2:CHUNK=20x20 dset1 is already inserted, but dset2 must also be (it was not) added a CHECK_SZIP symbol to enable/disable checking of library related szip parameters added the print of the filter name in verbose mode (confirms visually that the filter was applied ) Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8869] Purpose:Pedro Vicente Nunes2004-07-1327-709/+1080
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r8852] Purpose:Pedro Vicente Nunes2004-07-096-140/+433
| | | | | | | | | | | | | | | | h5dump new tests Description: added new tests for the print of array indices (nested objects, several ranks) Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8840] Purpose:Pedro Vicente Nunes2004-07-0821-889/+672
| | | | | | | | | | | | | | | | 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-r8826] Purpose:Pedro Vicente Nunes2004-07-0720-170/+273
| | | | | | | | | | | | | | | | | | h5dump new tests Description: added more tests for the escape/not escape feature for string data (with vlen, with compound, with char data) Solution: Platforms tested: linux solaris AIX Misc. update:
* [svn-r8813] Purpose:Pedro Vicente Nunes2004-07-062-5/+6
| | | | | | | | | | | | | | bug fix Description: one run from the tests had a wrong dataset name Solution: Platforms tested: linux (small ) Misc. update:
* [svn-r8812] Purpose:Pedro Vicente Nunes2004-07-0623-252/+2687
| | | | | | | | | | | | | | | | | | h5dump new tests Description: added new tests for the -p option, superblock, file contents, fill values, array indices. Solution: Platforms tested: linux AIX solaris Misc. update:
* [svn-r8792] Purpose:Pedro Vicente Nunes2004-07-023-28/+4
| | | | | | | | | | | | | | | | | | | 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-r8790] Purpose:Pedro Vicente Nunes2004-07-028-140/+179
| | | | | | | | | | | | | | | | | | | | | | | | | Description: the original code that showed a name for HARDLINK was reassigning that name to a name made in the dump traversal (made by concatenation by nested objects) Solution: removed this reassigmnet now the name showed after HARDLINK is always the first name found for that object (this object is printed once interely; subsequent printings show the word HARDLINK and the first name ) Platforms tested: linux AIX solaris Misc. update: