summaryrefslogtreecommitdiffstats
path: root/test/dsets.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r14193] Description:Quincey Koziol2007-10-081-188/+341
| | | | | | | | | | | | | | | | | | | Make H5Dopen versioned and change all internal usage to use H5Dopen2 Add simple regression test for H5Dopen1 Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14192] Description:Quincey Koziol2007-10-081-653/+653
| | | | | | | | | | | | | | | | | | Deprecate H5Dextend in favor of H5Dset_extent (without using API versioning, due to changed behavior) and switch internal usage to H5Dset_extent Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14129] Description:Quincey Koziol2007-08-301-2/+2
| | | | | | | | | | | | | | | | Add H5O{set|get}_comment routines, which were overlooked before. Move H5G{set|get}_comment routines to deprecated code section, replacing internal calls with H5O{set|get}_comment. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew) AIX/32 5.3 (copper) Mac OS X/32 10.4.10 (amazon)
* [svn-r14104] Description:Quincey Koziol2007-08-231-2/+2
| | | | | | | | | | | | | Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate them, leaving only a few tame specimens in text files and comments. ;-) Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Linux/64 2.6 (smirom) Solaris/32 5.10 (linew)
* [svn-r13997] Moved H5D_istore_lock and H5D_istore_unlock from ↵Raymond Lu2007-07-211-0/+3
| | | | | | | | | H5D_istore_writevv and H5D_istore_readvv to H5D_chunk_write and H5D_chunk_read to avoid frequent lock and unlock and to improve some performance. Tested with h5committest on THG machines.
* [svn-r13871] Description:Quincey Koziol2007-06-151-1/+1
| | | | | | | | | | | | | Fix problems with 'check-vfd' target, that were [mostly] introduced with the recent "unique, but sharable" ISOHM optimization. The problems were mostly with using the 'core' VFD, so the H5Pset_fapl_core() API call was changed to re-open existing files (therefore operating more list the sec2, stdio, etc. VFDs). This allows many more of the tests to run using the 'core' VFD, so those were enabled also. Tested on: Linux/64 2.6 (chicago2) w/check-vfd
* [svn-r13549] Description:Quincey Koziol2007-03-271-87/+87
| | | | | | | | | Check in changes from Elena and I to get pgcc compiler working again. Primarily (all?) changes to move from using 'hsize_t' as array index to using something else ('size_t') mostly. Tested on: Linux/32 2.4 kagiso w/pgcc
* [svn-r13548] Tests that write/read on randomly selected chunks to check for ↵Christian Chilan2007-03-271-1/+236
| | | | potential problem in b-tree code. Tests passed on smirom, cobalt, and copper.
* [svn-r13388] Added a relative comparison between floating-point values to ↵Raymond Lu2007-02-261-2/+4
| | | | | | avoid compiler's warning of comparing values with "==" or "!=".
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13151] Description:Quincey Koziol2007-01-171-1/+0
| | | | | | | | Clean up compiler warnings, esp. on Windows Tested on: FreeBSD/32 6.2 (duty) Mac OS X/32 10.4.8 (amazon)
* [svn-r13012] Description:Quincey Koziol2006-12-031-29/+23
| | | | | | | | | | | | | | Refactor object header code to separate process of creating an object header message from the process of writing to an existing one. Start renaming operations that deal with object header messages to have "H5O_msg_" prefix... Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 4.11 (sleipnir) Linux/32 2.4 (heping) AIX/32 5.? (copper)
* [svn-r12821] Description:Quincey Koziol2006-10-281-68/+69
| | | | | | | | | Clean up compiler warnings, esp. on 64-bit Linux boxes. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/C++ & FORTRAN Linux/64 2.4 (mir) w/build-all & 1.6 compat
* [svn-r12806] Description:Quincey Koziol2006-10-241-62/+62
| | | | | | | | | | Reduce memory usage for common cases of I/O pipeline filter memory usage. Also, clean up some more code... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12804] Missing an argument(fapl) for a routine that tests the ↵MuQun Yang2006-10-231-1/+1
| | | | | | existence of szip encoder. Windows picked this up. Tested with VS 6.0 with szip enabled.
* [svn-r12803] Description:Quincey Koziol2006-10-231-97/+128
| | | | | | | | | | | | | | Finish new version of the I/O pipeline message, which is much smaller than the previous version. This version is used with the "use the latest version of the format" flag. Closed several memory leaks/overruns (found with valgrind). Also, lots of compiler & formatting cleanups. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12736] Description:Quincey Koziol2006-10-091-5/+5
| | | | | | | | | | | | | | | | | | | 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-r12519] Fixed "make check-vfd"James Laird2006-07-311-62/+73
| | | | | | | | | | "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-r11886] Purpose:Quincey Koziol2006-01-231-18/+18
| | | | | | | | | | | | | 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-r11771] Purpose:Quincey Koziol2005-12-081-39/+39
| | | | | | | | | | | | Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11426] Purpose: VMS port / bug fixElena Pourmal2005-09-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Description: On VMS dsets test failed screaming about corrupted stack. Debugging didn't show any obvious problems. Careful examination of compilation warning messages (something like "function is used as data in dsets") made me to search for duplicated names. It turned out that two variables H5Z_SET_LOCAL and H5Z_CAN_APPLY were confused with H5Z_set_local and H5Z_can_apply functions from H5Z.c file. Solution: Changed variable names to H5Z_SET_LOCAL_TEST and H5Z_CAN_APPLY_TEST. Platforms tested: Alpha VMS, heping; minor change Misc. update:
* [svn-r11337] Purpose:Quincey Koziol2005-09-011-6/+6
| | | | | | | | | | | | Code cleanup Description: Changed some scale+offset filter symbols from H5_SO_... -> H5Z_SO_... to indicate that they are in the H5Z package. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11324] Purpose:MuQun Yang2005-08-311-6/+6
| | | | | | | | | | | | | | update dsets.c for scale-offset filter. Description: H5Psetscaleoffset has changed parameters. Solution: Platforms tested: sol 2.7, Linux 2.4, AIX 6.4(32-bit and 64-bit) Misc. update:
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-324/+324
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11022] Purpose:Quincey Koziol2005-07-051-18/+18
| | | | | | | | | | | | | | | | | | | | Bug fix & code cleanup Description: Don't unmount child files from a parent file if the parent file is being held open by an object. Also, moved the mounting routines into their own source file and the superblock routines into their own file also. Solution: Moved the code for unmounting child files down in the H5F_close routine and also add checks to the file and group mounting code to unmount child files when the last object holding open a file closes. Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10736] Purpose:Quincey Koziol2005-05-071-14/+12
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10682] Purpose:Xiaowen Wu2005-04-271-7/+7
| | | | | | | | | | | | | | | | | | Slight modifications. Description: Several constants related to the H5Pset_scaleoffset interface are added into H5Zpublic.h. Test cases that calls H5Pset_scaleoffset needs slight modifications. Solution: Use the defined names when calling H5Pset_scaleoffset instead of using numerical numbers. Platforms tested: heping, shanti Misc. update:
* [svn-r10674] Purpose:Xiaowen Wu2005-04-261-29/+472
| | | | | | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter has been implemented to to compress floating-point data (single precision and double precision) using D-scale method from GRIB. Solution: Test cases for float and double datatypes are added according to the change of scaleoffset filter. Situations of fill value defined/undefined are tested. Platforms tested: heping, shanti, copper Misc. update:
* [svn-r10603] Purpose:Xiaowen Wu2005-04-141-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix. Description: The nbit filter test case (compound datatype with no-op field) can not pass the daily test on heping and eirene when the enable-production option is set with configure and PGI compiler is used. It will generate segmentation fault. Solution: It was found that the seg fault disappears when adding a new index variable in the test case and using it instead of using an existing index variable twice during initialization. This does not make much sense since previous codes is logically equivalent to the changed codes. So, some other factors beyond the test case codes may have caused the problem. Platforms tested: heping Misc. update:
* [svn-r10569] Purpose:Xiaowen Wu2005-04-071-10/+219
| | | | | | | | | | | | | | | | New feature. Description: The N-Bit filter needs a test case for no-op datatypes. Solution: A test case was added to test a compound datatype with N-Bit fields and no-op fields. Platforms tested: heping, shanti Misc. update:
* [svn-r10395] Purpose:Xiaowen Wu2005-03-241-1/+1
| | | | | | | | | | | | | | | Bug fix. Description: One test case of scaleoffset filter has fill value too large for int. Solution: Change the value to be within the range of int. Platforms tested: heping Misc. update:
* [svn-r10385] Purpose:Xiaowen Wu2005-03-231-28/+304
| | | | | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter is now complete for compressing integers. All previous bugs have been fixed. The filter does not compress floating-point at present. Solution: Update test cases for the scaleoffset filter. Two for integer types and one for floating-point (even though the filter does not compress). The two test cases for integer type tests situations where fill value is defined and undefined for the dataset. Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10081] Purpose: Some Kind of VerificationRaymond Lu2005-02-241-0/+1
| | | | | | | | | | | | | | | | | | Description: The library didn't handle incorrect hardware conversion for datatype. It simply did convert to incorrect data if any hardware didn't handle correctly. Solution: During configuration, incorrect hardware conversion is detected and some macros are defined. Use these macros to decide whether to register hardware conversion in H5T.c. If no hardware conversion function is registered for certain pair of datatypes, software conversion function will be used as the conversion path. Although slower than hardware conversion, we're more confident software conversion is accurate. So in one sentence to describe library's behavior, if some hardware conversion doesn't work well, software conversion will be used instead. Platforms tested: h5committest and fuss. Misc. update: some changes to configure's comments.
* [svn-r10026] Purpose:Xiaowen Wu2005-02-171-1/+130
| | | | | | | | | | | | | | | New feature. Description: Add a test case for scaleoffset filter (integer type). For debugging purpose only. The test case is not turned on. Solution: Platforms tested: heping, copper, arabica Misc. update:
* [svn-r9895] Purpose:Xiaowen Wu2005-01-311-319/+427
| | | | | | | | | | | | | | | | | Add test cases of nbit filter, tests are now turned on Description: Six test cases are added for testing the nbit filter with different datatypes including int, float, double, array datatype, a simple compound datatype and a complex compound datatype. Improvements are made to testing of int and floating point. Solution: Platforms tested: AIX 5.1 and Linux 2.4. Misc. update:
* [svn-r9855] Purpose:Xiaowen Wu2005-01-211-53/+742
| | | | | | | | | | | | | | | | Adding N-bit testing source code into CVS tree. This is for debugging purpose only. N-bit filter won't be included in the daily test. Description: Integer, Float, Array datatype and Compound datatype tests are included. More comprehensive tests need to be done. Solution: Platforms tested: copper(AIX 5.1) and heping(Linux 2.4). Misc. update:
* [svn-r9756] Xiaowen Wu2005-01-061-1/+255
| | | | | | | | | | | | | | | Purpose: For debugging N-bit filter; it will not affect the library. Description: Adding N-bit tests, the library will not run those tests. Solution: Platforms tested: heping(Linux 2.4), copper(AIX 5.1),arabica(sol 2.7) Misc. update:
* [svn-r9732] Purpose:Quincey Koziol2004-12-301-11/+15
| | | | | | | | | | | | | | | Bug fix Description: szip tests were failing due to a few "H5_SZIP_CAN_ENCODE" ifdefs still lying around in the source code. Solution: Eliminate compile time testing by using new SZ_encoder_enabled() routine at run time. Platforms tested: FreeBSD 4.10 (sleipnir) w/szip
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-155/+240
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9494] Purpose:Robert E. McGrath2004-11-021-97/+97
| | | | | | | | | | | | Fix SZIP filter to dynmically detect encoder. Description: Solution: See: http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf Changes to library tests, contingent on detecting SZIP encoder.
* [svn-r9155] Purpose:Quincey Koziol2004-08-251-0/+106
| | | | | | | | | | | | | | | Bug fix (sorta) Description: Change reading of "missing" chunks from datasets with undefined fill values to not overwrite the application buffer with random garbage from memory. Note that this is almost the same, since whatever garbage the application had in those locations will still be there... Platforms tested: FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modi4) h5committested
* [svn-r8962] Purpose:Quincey Koziol2004-07-281-0/+52
| | | | | | | | | | | | | | | Bug fix Description: Allow I/O on extendible chunked datasets with (currently) zero-sized dimensions to proceed harmlessly instead of dumping core on an assertion. Solution: Removed assertion and added checks to avoid problem situation in H5TB_end Platforms tested: FreeBSD 4.10 (sleipnir) w/ & w/o parallel Too minor to require h5committest
* [svn-r8916] Elena Pourmal2004-07-211-4/+11
| | | | | | | | | | | | | | | | | | | | | Purpose: Improvement Description: HDF5 Library set pixels_per_scanline parameter to the size of the chunk's fastest changing dimension. As a result, fastest changing dimension of the chunk could not be bigger than 4K and smaller than pixels_per_block value and szip compression couldn't be used for many real datasets. Solution: Reworked algorithm how HDF5 sets pixels_per_scanline value; only chunks with the total number of elements less than pixels_per_block value are rejected. There is no restriction on the size of the chunk's fastest changing dimension anymore. Modified the test according to the new algorithm. Platforms tested: verbena, copper, sol Misc. update:
* [svn-r8782] Purpose:Quincey Koziol2004-07-011-3/+4
| | | | | | | | | | | Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8781] James Laird2004-07-011-27/+219
| | | | | | | | | | | | | | | | 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-r8600] Purpose:Quincey Koziol2004-05-311-53/+68
| | | | | | | | | | | | | Code optimization Description: Don't recompute the internal index value for looking up the chunk in the hash table, just use the value already computed from iterating through the chunks. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
* [svn-r8590] Purpose:Quincey Koziol2004-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | | Code optimization & bug fix Description: When dimension information is being stored in the storage layout message on disk, it is stored as 32-bit quantities, possibly truncating the dimension information, if a dimension is greater than 32-bits in size. Solution: Fix the storage layout message problem by revising file format to not store dimension information, since it is already available in the dataspace. Also revise the storage layout data structures to be more compartmentalized for the information for contiguous, chunked and compact storage. Platforms tested: FreeBSD 4.9 (sleipnir) w/parallel Solaris 2.7 (arabica) h5committest
* [svn-r8383] Purpose:Quincey Koziol2004-04-181-17/+17
| | | | | | | | | | | | | 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-r8261] Purpose:Pedro Vicente Nunes2004-03-151-13/+8
| | | | | | | | | | | | | | | | | bug fix Description: the test that reads a pre-saved file with filters must only be run when that filter is available on the current configuration, otherwise the library trigers a read error Solution: added a #ifdef for the filter, that prints -SKIP- in case we do not have the filter Platforms tested: linux Misc. update:
* [svn-r8255] Purpose:Pedro Vicente Nunes2004-03-121-2/+24
| | | | | | | | | | | | | | | bug fix Description: the added binary files to read did not have the construction of the "srcdir" path Solution: add it Platforms tested: linux Misc. update: