Commit Graph

459 Commits

Author SHA1 Message Date
Quincey Koziol
fe76fb1b58 [svn-r8844] Purpose:
Bug fix

Description:
    The "shared" raw B-tree node can get freed before all the B-tree nodes
had been flushed out to disk and released by the cache.

Solution:
    Implement a simple reference counting wrapper for objects in the library
and use it to hold the shared raw B-tree nodes so they aren't freed before all
references to them in memory are released.

Platforms tested:
    Solaris 2.7 (arabica)
    FreeBSD 4.10 (sleipnir)
    IRIX64 6.5 (modei4)
2004-07-08 21:06:29 -05:00
Pedro Vicente Nunes
373d50bb3f [svn-r8826] Purpose:
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:
2004-07-07 17:02:34 -05:00
Binh-Minh Ribler
22959d8f51 [svn-r8821] Purpose: Remove files
Description:
    Removed c++/examples/*.h5

Platforms tested:
    Not necessary

Misc. update:
2004-07-07 14:36:19 -05:00
Pedro Vicente Nunes
4535e598f7 [svn-r8812] Purpose:
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:
2004-07-06 15:07:03 -05:00
John Mainzer
c49dd7fa36 [svn-r8791] Purpose: Rewrote metadata cache (H5AC.c, etc.) to improve performance.
Description:

Replaced the old metadata cache with a cache with a modified LRU
replacement policy.  This should improve the hit rate.

Solution:

Since we want to flush cache entries in increasing address order, I
used the threaded binary B-tree code to store the cache entries.
There is a fair bit of overhead here, so we may want to consider
other options.

While the code is designed to allow the support of other replacement
algorithms, at present, only a modified version of LRU is supported.

The modified LRU algorithm requires that a user selectable portion
of the cache entries be clean.  The clean entries are evicted first
when writes are not permitted.  If the pool of clean entries is used
up, the cache grows beyond its user specified maximum size.  The
cache can also exceed its maximum size if the combined size of the
protected (or locked) entries exceeds the maximum size of the cache.


Platforms tested:

eirene (serial, parallel, fp), h5committested


Misc. update:
2004-07-02 14:35:04 -05:00
James Laird
eab58732d8 [svn-r8781]
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:
2004-07-01 12:38:04 -05:00
Raymond Lu
358b8545dd [svn-r8765] Purpose: New feature and its test.
Description:  Added new API H5Fget_name and new test program called filename.c.  This function
returns the name of the file by object ID(file, group, dataset, named datatype, and attribute)
which belongs to the file.


Platforms tested:  h5committest and fuss.

Misc. update:  MANIFEST and RELEASE.txt
2004-06-30 08:45:07 -05:00
Pedro Vicente Nunes
a5f1d15035 [svn-r8715] Purpose:
h5dump output change, new tests

Description:
the storage layout output format the storage layout output format  had some changes
same for the user defined filter
add an option (-y) for not printing the array indices (default is print indices )
the option for escaping non printable characters covers all characters (default is not escape)
(this might be not very portable, the test files are  tstring.ddl and tstringe.ddl )
add tests for the new options


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-22 09:29:21 -05:00
Raymond Lu
e8309603cd [svn-r8713] Purpose: Bug fix.
Description: This is the second effort to correct XML dumper after adding null
dataspace test for attribute and dataset.  Since XML schema hasn't been updated
for null space, took out null space test from tdset.h5 and tattr.h5 and put it
into a seperate file, tnullspace.h5.  Only h5dump tests this null space file;
XML dumper doesn't do it at this moment.  We'll wait until XML schema is updated
first.


Platforms tested:  h5committest and RH 8(fuss)

Misc. update:  MANIFEST(added two new files in tools/testfiles, tnullspace.h5
and tnullspace.ddl)
2004-06-21 15:58:54 -05:00
James Laird
a4db480904 [svn-r8711] Fixed bugs in H5I code, updated manifest. 2004-06-21 13:21:04 -05:00
Pedro Vicente Nunes
78ca05e040 [svn-r8644] Purpose: h5dump new features
Description:

added the code for print strings with new line and display the path of references (new source files h5tools_ref.c and .h )
added a test suite in testh5dump.sh.in for
( note : to create testh5dump.sh , one must redo ./configure; this detects the availability of filters
and generates  testh5dump.sh accordingly)
1) storage layout
2) fill value
3) print reference with path
4) print strings with new lines
5) filters

Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-10 12:35:48 -05:00
Quincey Koziol
e81fa063c3 [svn-r8627] Purpose:
Update shell scripts

Description:
    Switch to generating the testh5dump.sh script at configure time, so we can
determine which filters are available to test.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to require h5committest
2004-06-09 08:47:20 -05:00
Pedro Vicente Nunes
bad5b7ec31 [svn-r8622] Purpose:
h5dump new version

Description:
added the changes already made for 1.6
support for dumping of
1) filters
2) storage layout
3) fill value
4) comments
5) superblock
6) file contents
7) array indices


Solution:

Platforms tested:
linux
solaris
AIX

Misc. update:
2004-06-07 11:40:25 -05:00
Quincey Koziol
4d3188e588 [svn-r8618] Purpose:
Fix makefiles, dependencies & manifest after source file rename.
2004-06-05 14:32:31 -05:00
Quincey Koziol
c287f1ae79 [svn-r8603] Purpose:
Remove the C++ files that were removed from the repo.
2004-06-02 07:43:45 -05:00
Quincey Koziol
2ce06c3912 [svn-r8590] Purpose:
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
2004-05-27 15:24:08 -05:00
Raymond Lu
71fba25e6e [svn-r8589] Purpose: bug fix
Misc. update:  update MANIFEST for adding h5diff_81.txt
2004-05-27 09:07:49 -05:00
Binh-Minh Ribler
458584b6b2 [svn-r8536] Purpose: Update MANIFEST
Description:
    Added these lines
	./c++/src/H5ArrayType.cpp
	./c++/src/H5ArrayType.h
	./c++/src/H5VarLenType.cpp
	./c++/src/H5VarLenType.h
2004-05-17 23:41:18 -05:00
Albert Cheng
0c6229a68d [svn-r8479] Purpose:
New Feature

Description:
Add the data transform function, H5Pset_transform().

Platforms tested:
"h5committested".
Copper was down.  Ran parallel tests in sol instead.

Misc. update:
2004-05-03 18:34:42 -05:00
Pedro Vicente Nunes
698f1af7ce [svn-r8320] Purpose:
new tests for h5repack

Description:
added more tests both to the test program and shell script that test
a variation of different filter converssions

Solution:

Platforms tested:
linux


Misc. update:
2004-04-07 20:44:14 -05:00
Pedro Vicente Nunes
6f711ab4cb [svn-r8318] Purpose:
new tests for h5repack

Description:
added tests that do layout type to layout type conversion in a matrix of 9 between compact, contiguous and chunking

Solution:

Platforms tested:
linux
afs has problems; I could not telnet to sol and copper, arabica is really slow (meaning
waiting 1 minute for a typed character) and the writing of a file gave an error
arabica 181% afs: failed to store file (145)
afs: failed to store file (145)



Misc. update:
2004-04-07 16:36:15 -05:00
Pedro Vicente Nunes
fb37f831bc [svn-r8285] Purpose:
new file in /test/gen_filters.c

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-26 11:32:33 -05:00
Pedro Vicente Nunes
c131cf3125 [svn-r8247] Purpose:
added the 2 binary files to list

Description:

Solution:

Platforms tested:

Misc. update:
2004-03-10 16:48:29 -05:00
Pedro Vicente Nunes
931efcb5eb [svn-r8229] Purpose:
1) new function  for tools library
2) new test script for h5repack


Description:
1) currently all the tools (h5dump, h5diff, etc)  do not check if a filter is available
for reading some dataset that might have a filter not available on the current configuration (the behaviour
of the tools until now was to trigger a library error, saying that the dataset cannot be read
due to the lack of the filter)


Solution:
1) added a new function h5tools_canreadf that checks if a dataset can be read
depending on the availability of filters.
this function was added in calls for h5diff and h5repack.
instead of triggering the library error, a message is printed, saying that the dataset
cannot be read (the print is optional, it is on on verbose mode)

2) added a shell script that tests the commannd line tool behaviour of h5repack
the script does a series of runs of h5repack  with several options on the same file (this file test4.h5
was added to the testfiles dir).
then, it runs the h5diff tool, with the input and output files , in each run.
the goal of the test is also to check item 1) . the binary file was saved with filters
that might not be available on other configurations


Platforms tested:
linux (all filters enabled)
linux (some filters disabled)
solaris (some filters disabled)
AIX (some filters disabled)
windows (all filters on and off )


Misc. update:
2004-03-02 13:12:25 -05:00
Quincey Koziol
138bc92ebd [svn-r8126] Purpose:
Bug fix/optimization

Description:
    Address slowdown in MPI-I/O file metadata operations that was introduced
mid-stream.  We now _require_ a POSIX compliant parallel file system for the
MPI-I/O file driver (as well as for the MPI-POSIX file driver).
    Also optimized file open operation when the file is being created by
reducing the number of collective & syncronizing calls.
    Additionally, refactor the MPI routines into a common place, eliminating
duplicated code.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    h5committest
2004-01-30 20:38:44 -05:00
Elena Pourmal
850696344c [svn-r8033]
Purpose: Maintenance

Description: Fortran APIs MAC OS X port for IBM XL Fortran compiler

Solution: Brought back changes from 1.6 branch

Platforms tested: pommier, h5comittested; this time h5committest
                  complained about copperpp directory and didn't run;
                  tests on verbena and sol passed.

Misc. update:
2004-01-06 15:54:55 -05:00
Quincey Koziol
ce2b03097b [svn-r8022] Purpose:
Code cleanup

Description:
    Refactor library testing framework (used for the testhdf5 & ttsafe tests)
to remove almost all of the duplicated code, moving the common code into a
new 'testframe.c' source file.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o thread-safety
    h5committest
2004-01-06 12:53:13 -05:00
Pedro Vicente Nunes
ee2eecf1b4 [svn-r7998] Purpose:
new h5repack file

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-30 18:01:09 -05:00
Pedro Vicente Nunes
be59bde1f8 [svn-r7995] Purpose:
new files for h5repack

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-29 15:30:40 -05:00
Pedro Vicente Nunes
04706dbdbe [svn-r7963] Purpose:
added new source files for h5repack

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-16 13:12:37 -05:00
Pedro Vicente Nunes
28e43d818f [svn-r7913] Purpose:
code clean

Description:
separated the h5repack code in several  modules

Solution:

Platforms tested:
linux
IRIX
solaris


Misc. update:
2003-12-04 14:35:33 -05:00
Pedro Vicente Nunes
64a6599e3f [svn-r7906] Purpose:
added the new h5diff files

Description:

Solution:

Platforms tested:

Misc. update:
2003-12-02 18:23:15 -05:00
Quincey Koziol
a9d0aadef0 [svn-r7849] Purpose:
Update manifest with new files.
2003-11-14 07:09:56 -05:00
Bill Wendling
1e4c1e617e [svn-r7840] Purpose:
Update

Description:
    Added H5DZ*.c files.

Platforms tested:
    Ran bin/chkmanifest
2003-11-12 18:04:27 -05:00
Pedro Vicente Nunes
75a5e8a0e6 [svn-r7813] Purpose:
h5diff new feature


Description:

added compare for attributes
a new options flag (-a) was added to the options structure. it is 0 by default (no compare )
the output of the compare is the same that for datasets, and all the other flags also apply for attributes
(the memory compare is done in the same function diff_array)
all the other requirements for compare of datasets (type, space) are identical too




Platforms tested:
linux
solaris 2.7
IRIX


Misc. update:
2003-11-03 17:10:57 -05:00
Pedro Vicente Nunes
066053b318 [svn-r7775] Purpose:
updated manifest for the tools h5diff changes

Description:

Solution:

Platforms tested:

Misc. update:
2003-10-28 13:39:05 -05:00
Pedro Vicente Nunes
f2b52777f4 [svn-r7769] Purpose:
moved h5diff "public API" routines to tools/lib folder



Platforms tested:
linux
solaris 2.7
IRIX

Misc. update:
2003-10-28 12:40:05 -05:00
Frank Baker
8dc1c9870a [svn-r7752]
Purpose:
    Removing the files
        hdf5/doc/html/fortran/h5*_FORTRAN.html
    as the content has been integrated into the files
        hdf5/doc/html/RM_H5*.html
2003-10-27 16:34:40 -05:00
Elena Pourmal
f2136f23ba [svn-r7714]
Purpose: Maintenance

Description: h5createU8 utility is an old h5import utility;
             removed

Solution:

Platforms tested: arabica

Misc. update:
2003-10-23 10:46:53 -05:00
Pedro Vicente Nunes
21c2993696 [svn-r7707] Purpose:
added the new h5diff and h5repack to the list

Description:

Solution:

Platforms tested:

Misc. update:
2003-10-22 16:58:07 -05:00
Raymond Lu
311b66e62d [svn-r7630]
Misc. update: MANIFEST for adding perform/perf_meta.c
2003-10-14 17:05:03 -05:00
Quincey Koziol
ed23cda102 [svn-r7610] Purpose:
Code cleanup

Description:
    Removed "H5Git" routines, now that there are library routines which perform
the same functionality.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Linux 2.4 (verbena) w/FORTRAN
    too minor for h5committest
2003-10-13 14:18:22 -05:00
Quincey Koziol
43c69e978b [svn-r7549] Purpose:
Add new name datatype in attributes files
2003-10-06 08:55:23 -05:00
Raymond Lu
d4a47acf93 [svn-r7525] Purpose: Update MANIFEST
Misc. update: clean it up for error test
2003-09-30 09:05:57 -05:00
Raymond Lu
1bae94c5e8 [svn-r7521] Purpose: bug fix
Description: The standard output from Error API test has some non-standard
message like path name or line number.

Solution:  use sed to remove any non-standard information in testerror.sh

Platforms tested: h5committest
2003-09-29 15:18:47 -05:00
Albert Cheng
53b34b2e96 [svn-r7518] Purpose:
Corrected an error entry.

Platforms tested:
bin/chkmanifest
2003-09-27 10:25:57 -05:00
Albert Cheng
ecec113d10 [svn-r7510] Purpose:
Updated.
2003-09-25 10:07:17 -05:00
Raymond Lu
52f3545bde [svn-r7506] Purpose: Add backward compatbility with v1.6 for Error API; change error tests
to avoid printing error messages.

Description:  If enable-hdf5v1_6 is configured in, make some functions
    compatible with v1.6.  Error test program print out some error messages as
    it succeeds.

Solution:  Use #ifdef H5_WANT_H5_V1_6_COMPAT statements.  Use shell script
    to compare error test output with the standard one.

Platforms tested: h5committest
2003-09-24 14:25:16 -05:00
Pedro Vicente Nunes
1a6d53549f [svn-r7501] Purpose:
added the Dependencies file of h5repack Makefile  to the list




Misc. update:
2003-09-19 16:59:58 -05:00
Pedro Vicente Nunes
5c1cc7c804 [svn-r7496] Purpose:
included the new tool h5repack in the configure files




Platforms tested:
linux (small change)

Misc. update:
2003-09-19 14:32:25 -05:00