Commit Graph

10507 Commits

Author SHA1 Message Date
Quincey Koziol
6878261a43 [svn-r14353] Description:
- Add hash value for skip list string types, to reduce # of string
        comparisons.
    - Fixed bug with metadata/small data block aggregator adding size == 0
        block into file free space list.
    - Refactored metadata/small data block aggregator code into single set of
        common routines.
    - Changed block aggregator code to be smarter about releasing space in the
        'other' block when the 'other' block has aggregated enough data.

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
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-12-20 15:36:08 -05:00
Elena Pourmal
79a96581a6 [svn-r14352] Maintenance: Fixed a typo in the build script
Platforms tested: VMS server
2007-12-18 18:13:37 -05:00
Elena Pourmal
49994bdd8f [svn-r14350] Maintenance for VMS system: brought up-to-date h5repack testing script and updated
build file

Platforms testeda VMS server:
2007-12-17 16:49:49 -05:00
Pedro Vicente Nunes
6036ac9b30 [svn-r14346] New feature: has_filters_obj function that checks if filters match for each individual dataset
Following the new feature of h5repack to allow multiple filters for all datasets and the new function has_filters that checks if the repacked file has all the filters requested, I added a new function

has_filters_obj

that does the same for each dataset. The previous function that checked this only ckecked if the user input filters were in the output dataset. This new function does this but checks if the filters are exactly the same. Currently the behavior of h5repack is to delete all filters that are present in the input file (dataset) and replace them with the requested ones, so they must match exactly.

We might consider adding other logical operations, like keep the existing ones.

Additionally , the function also checks if the filter parameters match.

While doing this I noticed that for the shuffle filter , the values returned do not match and also the same for the N-bit and scale-offset

The new function that checks for the filter values fails then, and so I commented the h5repack tests that do this for the N-bit and scale-offset filter (previously for the same bug on the shuffle filter I added special code on the compare filter function but this is temporary until I find the issue)

tested: windows, linux, solaris
2007-12-14 16:38:23 -05:00
Pedro Vicente Nunes
89f6ef0303 [svn-r14345] substituted the symbol CD_VALUES , number of filter client data values, for H5Z_COMMON_CD_VALUES
that is defined in the library

tested: windows, linux, solaris
2007-12-14 14:16:01 -05:00
Elena Pourmal
619e6d1cb1 [svn-r14344] Maintenance on VMS system: updated testscript for h5diff and removed obsolete command file
Platforms tested: VMS server
2007-12-13 17:30:40 -05:00
Elena Pourmal
7519e48016 [svn-r14343] Maintenance for VMS: added more tests to the command file for h5dump testing
modified the file to save output into h5dump_output.txt file
                     removed obsolete test script file check.com
                     update MANIFEST to refelect the change
2007-12-13 15:34:19 -05:00
Pedro Vicente Nunes
8a5f6de990 [svn-r14342] change the implementation of H5IMmake_image_8bit to use a 2D dataset
tested: windows, linux solaris w/fortran
2007-12-13 14:55:42 -05:00
Elena Pourmal
9ebdc0bf08 [svn-r14341] Maintenance for VMS system: VMS C++ compiler expects 'cxx' extensions. Used copy command
instead of rename to get the correct names of the C++ source 
                            files to avoid errors when build runs second time in the same directory.

Platforms tested: VMS server
2007-12-13 13:30:00 -05:00
Elena Pourmal
98fb2db938 [svn-r14340] Maintenance for VMS system:
Skip one of the tests in flush2.c since it looks like VMS system
		flsuhes the file anyway (like on Winodws with DLLs)

		Renamed files family*.h5 that are used in backward compatibility
		testing to have only one '.' in a file name, otherwise VMS system
		becomes confused and test fails.

		Cleaned up the only test (Fortran multi-file test) that is failing on 
		VMS (C counterpart passesa).

		Added new script to facilitate the build process on VMS
		Updated MANIFEST

PLatforms tested: VMS server, kagiso and linew (minor changes)
2007-12-13 13:17:02 -05:00
Pedro Vicente Nunes
d3c3b4138a [svn-r14339] bug fix: aligned a line in usage that was not aligned
tested: linux
2007-12-12 13:27:26 -05:00
Elena Pourmal
1693ccbeba [svn-r14338] Maintenance: Cleaned up system warnings for the install.com script
Platforms tested: VMS server
2007-12-11 17:07:08 -05:00
Elena Pourmal
6c2c56c0a6 [svn-r14337] Maintenance: Added new install.com file to the list of files.
Platforms tested: ran bin/chkmanifest script on kagiso
2007-12-11 12:08:44 -05:00
Elena Pourmal
4d3577ae1a [svn-r14336] Maintenance/VMS port: added new command file to install C, Fortran and C++ libraries
and corresponding examples; modified some command files to check installation.

Platforms tested: VMS server
2007-12-11 12:05:09 -05:00
H. Joe Lee
b6f754acd1 [svn-r14335] Corrected the comment on line 219: hard -> soft 2007-12-11 10:18:10 -05:00
Quincey Koziol
66addd2d2c [svn-r14334] Description:
- Avoid trying to update 1-D dataset's chunk indices (they can't change)
    - Cache a copy of a dataspace describing a chunk, when doing single
        element I/O
    - Keep a 'chunk info' struct around, for single element I/O
    - Avoid creating a skip list for chunk infos when performing I/O on single
        element

	Also, minor formatting cleanups to testing code

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
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-12-10 16:38:03 -05:00
Pedro Vicente Nunes
e7d0100948 [svn-r14333] fix typo in comment 2007-12-10 14:49:18 -05:00
Scott Wegner
3b33bd982c [svn-r14331] Purpose: Update Windows h5ls test script
Details:
We no longer need to parse the h5ls output to remove "Modified" tags.  This makes it much easier to test on Windows, because we don't need to emulate `sed`.

Tested:
VS2005 on WinXP
2007-12-10 08:46:53 -05:00
Elena Pourmal
fd871d2d02 [svn-r14327] Maintenance for VMS: brought command file up-to-date
Platforms tested: VMS server at Boeing.
2007-12-06 16:50:42 -05:00
Quincey Koziol
74c005fdb2 [svn-r14326] Description:
- Keep skip list for tracking chunks with dataset (instead of creating/
        destroying it for each I/O operation) and just delete the skip list
        nodes.
    - Avoid computations for normalizing selection offset when offset not set.
    - Avoid updating object modification time twice during dataset creation.
    - Avoid updating dataset layout message (and object modification time)
        until dataset is closed.

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
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-12-06 14:24:30 -05:00
Larry Knox
110a7d4869 [svn-r14325] Eliminate unwanted output and remove superfluous sed script. Tested on kagiso, linew, and smirom. 2007-12-06 14:21:46 -05:00
Pedro Vicente Nunes
c15315539b [svn-r14324] bug fix: #786 (E3) h5dump refers to the user block as "boot block"
replaced usage message  with "super block"

tested: linux
2007-12-06 11:25:51 -05:00
Pedro Vicente Nunes
a5ba6ac397 [svn-r14320] Added a function that matches the filters on the dataset's DCPL and in the requested list
Used to verify if the filters requested are present in the output dataset

tested: windows, linux, solaris
2007-12-04 14:59:54 -05:00
Scott Wegner
529d974dff [svn-r14319] Purpose: Update error handling in h5ls, uncomment test
Description:
Larry was able to track down the bug in the h5ls test script and change it around to check for an expected error code for each test.  With this, we are now able to uncomment the broken test on Windows.

Tested:
VS2005 on WinXP
2007-12-04 08:55:40 -05:00
Larry Knox
ff08547a23 [svn-r14318] Check error code of h5ls call as well as expected output. Tested kagiso linew smirom. 2007-12-03 16:56:19 -05:00
Pedro Vicente Nunes
46e3f4ad7e [svn-r14317] code maintenance: code cleaning and reorganizing of the h5repack verify routines
tested: windows, linux
2007-12-03 13:55:32 -05:00
Scott Wegner
06f2e446a6 [svn-r14316] Purpose: Update test directories in MinGW documentation
Description:
There are many tests that are unsupported on MinGW because of the way it handles certain syntax in shell scripts (particularly '/').  As a result, we list a few tests that users must comment out in various Makefile.in's.  This checkin updates the location of h5stat-- it was formerly in ./tools/misc, but has been moved it ./tools/h5stat.

Tested:
MinGW on WinXP
2007-12-03 11:01:27 -05:00
Scott Wegner
967c186011 [svn-r14315] Purpose: Update Windows h5repack test script
Description:
Added new test for long switch names, which was added to the general test script a few days ago.

Tested:
VS2005 on WinXP
2007-12-03 10:46:52 -05:00
Albert Cheng
0afa30910b [svn-r14312] Added support of
-fortran:   add --enable-fortran
   -cxx:       add --enable-cxx
   -pp:        add --enable-parallel

Tested: Kagiso (serial and parallel).
2007-11-29 16:06:00 -05:00
Pedro Vicente Nunes
129ef4da90 [svn-r14311] enhancement: change the usage example for multiple filters
to note that SHUF should be used before GZIP and that the order specified in command line is the order filters are applied

tested: windows, linux
2007-11-29 15:51:32 -05:00
Pedro Vicente Nunes
c4c9f5cf0a [svn-r14310] error check in command line: check for a wrong input of the 2 file names being the same
tested: windows, linux
2007-11-29 15:20:50 -05:00
Pedro Vicente Nunes
6d4fdcb4a7 [svn-r14309] bug fix: add a check for the presence of a filter in the call to test of long swtich names
add a test for multiple global filters

tested: linux, solaris
2007-11-29 14:56:55 -05:00
Pedro Vicente Nunes
ad7f430080 [svn-r14308] new feature test: add a test for the long switch names
tested: linux, solaris
2007-11-29 14:28:25 -05:00
Quincey Koziol
765f0159ff [svn-r14307] Description:
- Extracted common code from H5D_select_read/H5D_select_write into single
        routine (H5D_select_io) and made H5D_select_read/H5D_select_write
        "gateway" routines, passing I/O buffer to operate on in "op" struct.
    - Create optimized pathway in H5D_select_io for I/O operations on single
        elements.
    - Make "get linear offset of first element" callback for each type of
        selection (used in "optimized pathway", above)

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
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-29 13:44:07 -05:00
Quincey Koziol
44fa94541b [svn-r14306] Description:
Add call to reset cached chunk info after initialization of chunk data
storage.

Tested on:
    Linux/64 2.4(smirom) w/parallel
2007-11-29 12:44:50 -05:00
Pedro Vicente Nunes
25d86f39b6 [svn-r14305] updated comments
tested: windows, linux
2007-11-29 10:59:17 -05:00
Pedro Vicente Nunes
d7d5fce2bc [svn-r14304] change feature: rename compression used as %Savings
now the minus sign shows there was a DECREASE in compression
percentage is calculated from
per = (b-a)/a;

where a= size of dataset before
b = size after

tested: windows, linux
2007-11-29 10:41:33 -05:00
Scott Wegner
bba104b0a0 [svn-r14303] Purpose: Update h5ls test script on Windows.
Description:
The h5ls test script was recently updated on Linux.  This makes the same changes on Windows.  Also, we had to comment out one of our tests, because h5ls returns an error-code that is giving false-positives.

Tested:
VS2005 on WinXP
2007-11-29 09:14:18 -05:00
Scott Wegner
30d4db8912 [svn-r14302] Purpose: Update Windows test scripts for recent changes
Description:
Minor changes were recently made in the linux test scripts for h5diff and h5repack.  This brings Windows up-to-date.

Note: I am still working on updates to testh5ls.bat-- there is one test that is failing, but should be ready soon.

Tested:
VS2005 on WinXP
2007-11-29 08:36:57 -05:00
Scott Wegner
586ac517a1 [svn-r14301] Purpose: Remove references to deleted source file from Windows project files.
Description:
h5repack_list.c was deleted from the repository recently.  This check-in also removes references in the Windows library.

Tested:
Built with VS2005
2007-11-29 08:32:47 -05:00
Pedro Vicente Nunes
eed4c76fec [svn-r14300] new feature: add a mention of multiple filters use in usage
tested: windows, linux
2007-11-28 15:58:51 -05:00
Pedro Vicente Nunes
1b645ffd91 [svn-r14299] new feature: add support for h5repack to handle several global filters
usage is to repeat the -f option

tested: windows, linux, solaris
2007-11-28 15:30:43 -05:00
Scott Wegner
cb2a70feb4 [svn-r14298] Purpose: Remove references of H5FD_stream.c from Windows project files.
Description: The stream file driver was recently removed from the HDF5-1.8 source.  This checkin removes any left-over references in the Windows projects.

Tested:
VS2005
2007-11-28 10:01:48 -05:00
Albert Cheng
c0907e82a0 [svn-r14297] Added the ability to locate szlib libraries in THG hosts.
Tested: kagiso, linew. All worked.
Smirom (configure works, make failed due to szlib itself),
2007-11-28 00:29:20 -05:00
Quincey Koziol
6028cd41b8 [svn-r14295] Description:
- Eliminate some redundant calls to retrieve datatype sizes in chunk read/
        write routines.
    - Change indexed storage "common" B-tree callback user data to avoid
        copying chunk offset and separate "downward" info from "upward" info.
    - Cache chunk info (nbytes/filter_mask/address) for last chunk accessed

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
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2007-11-27 16:19:42 -05:00
Pedro Vicente Nunes
df3aac7f00 [svn-r14294] bug fix: in the filter percentage calculation
tested: windows, linux, solaris
2007-11-27 15:21:40 -05:00
Pedro Vicente Nunes
b0024d3f03 [svn-r14293] bug fix: the printing of object name was not done when H5Ocopy was used
tested: windows, linux
2007-11-27 13:40:05 -05:00
Pedro Vicente Nunes
b22add1585 [svn-r14292] enhancement: clarify usage of the -s option
tested: windows, linux
2007-11-26 16:04:39 -05:00
Pedro Vicente Nunes
f13c6b5ddb [svn-r14291] enhancement: clarify the usage of the -m option
tested: windows, linux, solaris
2007-11-26 13:51:06 -05:00
Elena Pourmal
081a7cccf6 [svn-r14290] Maintenance after beta5 release: changed version number to 1.8.0-rc1 (stands for
1.8.0 release candidate # 1)

Platforms tested: none, minor change with the known script.
2007-11-26 12:31:24 -05:00