4396 Commits

Author SHA1 Message Date
Albert Cheng
db6808a25b [svn-r6146] Description:
added a command so that snapshot prints a message before
    exiting.
Platforms tested:
    eirene
2002-12-03 11:18:15 -05:00
Raymond Lu
437dd9be23 [svn-r6145]
Purpose:
    New feature to H5Dget_offset
Description:
    If user block is set, H5Dget_offset should be able to return the absolute
    offset from the beginning of file.
Platforms tested:
    eirene, arabica
2002-12-02 14:47:57 -05:00
Quincey Koziol
4c546d9e6e [svn-r6143] *** empty log message *** 2002-12-02 08:15:36 -05:00
Quincey Koziol
a59ed2ca4c [svn-r6142] Purpose:
Code cleanup

Description:
    Clean up warnings with gcc 3.2.1

Platforms tested:
    FreeBSD 4.7 (sleipnir) w/C++, changes too small for triple check
2002-12-02 08:12:17 -05:00
MuQun Yang
33bdf2bc0e [svn-r6141]
Purpose:
   New feature
Description:
Add deflate and shuffle macro at H5pubconf.h on windows.
Solution:
Platforms tested:
windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-11-27 13:23:13 -05:00
Pedro Vicente Nunes
577bfbfc48 [svn-r6140] Purpose:
code warrior fix
 CW does not recognize the _stati64 type, changed HDstat macro accordingly


Platforms tested:


   windows 2000 (MSVC, Code warrior)
   linux
2002-11-26 11:19:54 -05:00
Albert Cheng
f5f61bf783 [svn-r6138] Purpose:
Improvement
Description:
    The fortran test code did not exit with error like C programs do.
    Without the appropriate exit code, make or shell could not tell the
    fortran test program has encountered errors.  So, make continues on
    even when some fortran tests have failed.
Solution:
    Consultant advised to use "CALL exit(code)" to simulate what C programs
    do.  Though this is not standard Fortran, he has not seen it failed to
    work in most fortran compilers thought some of them, like intel compiler,
    may need to link in an extra library.
Platforms tested:
    Tested on burrwhite (linux 2.4), eirene (linux 2.2), sol (Solaris 8, serial
    and mpich parallel), modi4.
    Did not use the standard commit test since this is a purely fortran fix.
2002-11-25 19:43:15 -05:00
Raymond Lu
8333adf8ff [svn-r6136]
Purpose:
    new functions
Description:
    H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx.
Platforms tested:
    modi4, arabica, eirene
Misc. update:
    RELEASE.txt updated.
2002-11-25 12:59:14 -05:00
Albert Cheng
b4b718b929 [svn-r6134] Purpose:
Cleanup
Description:
    Removed the option (--enable-parallel=mpich).  It did not work.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?  All passed.
2002-11-23 22:58:09 -05:00
HDF Admin
974a068395 [svn-r6133] Snapshot version 1.5 release 42 2002-11-23 05:41:00 -05:00
Bill Wendling
35ea6f8179 [svn-r6132] Purpose:
Update
Description:
    Cleaned up the debug printing of the generic property list. It was
    printout NULL property values for non-existant properties and putting
    multiple properties into one group.
Platforms tested:
    Eirene (too small change for full testing)
2002-11-21 12:21:19 -05:00
Quincey Koziol
bc2d9432b3 [svn-r6131] Purpose:
Code cleanup

Description:
    Clean up compiler warnings from IRIX64 builds.

Platforms tested:
    IRIX64 6.5 (modi4)
2002-11-21 11:23:38 -05:00
Quincey Koziol
f3674477db [svn-r6130] Purpose:
Bug fix.

Description:
    Accomodate 64-bit machines when using 'long' types.

    Clean up a few more warnings.

Platforms tested:
    IRIX64 6.5 (modi4)
2002-11-21 11:22:06 -05:00
Quincey Koziol
c95729c9db [svn-r6129] Purpose:
Enhance test.
Description:
    Expanded the nested compound datatype testing slightly.
Platforms tested:
    FreeBSD 4.7 (sleipnir) - too minor for triple check.
2002-11-20 13:21:41 -05:00
Quincey Koziol
f3175abb1b [svn-r6128] Purpose:
Added entry for H5Tget_native_type test review document.
2002-11-20 13:20:42 -05:00
Quincey Koziol
6d83499230 [svn-r6127] Purpose:
Added description of API testing for H5Tget_native_type().
2002-11-20 13:19:56 -05:00
Quincey Koziol
71d1ebea7a [svn-r6126] Purpose:
Cleanup.
Description:
    Added link to reference manual.
2002-11-20 13:18:52 -05:00
Quincey Koziol
04ac348bdd [svn-r6123] *** empty log message *** 2002-11-20 11:12:30 -05:00
Quincey Koziol
ae74dee5eb [svn-r6122] Purpose:
Bump version number

Description:
    I made a snapshot available for the SAF team, so bump the version number.
2002-11-20 11:10:25 -05:00
Quincey Koziol
06612f25f9 [svn-r6121] Purpose:
Bug fix

Description:
    Array testing routine is creatint huge arrays on the function stack
    which causes a segmentation fault on Linux & FreeBSD when threadsafe
    support is enabled.

Solution:
    Allocate data for test dynamically instead of automatically.

    In general, this should be the preferred method for all data arrays.

Platforms tested:
    FreeBSD 4.7 (sleipnir) w/threadsafe enabled.
2002-11-20 10:10:34 -05:00
Quincey Koziol
67f72c4277 [svn-r6120] Purpose:
Update information

Description:
    Add more information about tests performed and why they succeed/fail.
2002-11-20 09:49:11 -05:00
Quincey Koziol
b47a688089 [svn-r6119] Purpose:
Add "test review" pages.
2002-11-20 08:57:13 -05:00
Quincey Koziol
80b10244d5 [svn-r6118] *** empty log message *** 2002-11-20 08:56:14 -05:00
Quincey Koziol
1dd1c78825 [svn-r6117] Purpose:
New files

Description:
    Add test file for "missing filter" test in dsets.c

    Add test file generator code.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 08:27:30 -05:00
Quincey Koziol
c244ca0369 [svn-r6116] Purpose:
Code cleanup

Description:
    Finish checkin of H5A API cleanups with header files I forgot on the first
    checkin pass.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
        modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 08:25:45 -05:00
Quincey Koziol
b5e3e19f86 [svn-r6115] Purpose:
Code Cleanup & New Tests

Description:
    tmisc.c:
        Switched from using H5_HAVE_COMPRESSION flag in favor of
        H5_HAVE_FILTER_DEFLATE.

    dsets.c:
        Switched from using H5_HAVE_COMPRESSION flag in favor of
        H5_HAVE_FILTER_DEFLATE.

        Refactored I/O filter tests to allow new filters to be [more] easily
        added.

        Added tests for shuffle & deflate+shuffle I/O filters (if the filter(s)
        are enabled).

        Added test for creating a new dataset with a filter that is not
        available.

        Added test for attempting to read a dataset created with a filter that
        is not available.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
        modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 08:19:37 -05:00
Quincey Koziol
ac48a23e2b [svn-r6114] Purpose:
Code Cleanup & New Feature

Description:
    H5config.h.in:
        Removed H5_HAVE_COMPRESSION & H5_HAVE_FILTER_GZIP flags.

        Added H5_HAVE_FILTER_DEFLATE flag.

    H5Z.c:
    H5Zprivate.h:
    H5Zpublic.h:
        Switched from using H5_HAVE_COMPRESSION flag in favor of
        H5_HAVE_FILTER_DEFLATE.

        Added H5Zunregister & H5Zfilter_avail API functions.

        Changed a numeric constant (256) to a symbolic constant
        (H5Z_FILTER_RESERVED).

        Automatically add the shuffling filter to the list of available filters
        (when it is enabled).

        Moved prototypes for H5Z_filter_deflate & H5Z_filter_shuffle from the
        public header into the private header.

    H5Zdeflate.c:
        Switched from using H5_HAVE_COMPRESSION & H5_HAVE_FILTER_GZIP flags in
        favor of H5_HAVE_FILTER_DEFLATE.

        Cleaned up formatting & error reporting a bit.

    H5Zshuffle.c:
        Rewrote shuffling algorithm to be more efficient.

        Added error checking & reporting.

        Added standard Pablo information.

        Added standard function header comment.

        Added FUNC_ENTER & FUNC_LEAVE macros.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
        modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 08:15:18 -05:00
Quincey Koziol
892cc41777 [svn-r6113] Purpose:
Note new "H5Zunregister" and "H5Zfilter_avail" functions, along with
    mentioning that Kent's shuffling code added an H5Pset_shuffle API function.
2002-11-20 08:05:44 -05:00
Quincey Koziol
6aa57414fa [svn-r6112] *** empty log message *** 2002-11-20 08:04:10 -05:00
Quincey Koziol
be76b331a1 [svn-r6111] Purpose:
Code cleanup/new feature

Description:
    Switched from using H5_HAVE_COMPRESSION flag in favor of
    H5_HAVE_FILTER_DEFLATE.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 08:03:55 -05:00
Quincey Koziol
b1ff513e6a [svn-r6110] Purpose:
Code cleanup/new feature

Description:
    Removed poorly named H5_HAVE_COMPRESSION flag in favor of
    H5_HAVE_FILTER_DEFLATE.

    Added new test files for "missing filter" testing.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 08:02:20 -05:00
Quincey Koziol
dd5cc739c1 [svn-r6109] *** empty log message *** 2002-11-20 07:52:49 -05:00
Quincey Koziol
ef92748be6 [svn-r6108] Purpose:
Code cleanup.

Description:
    Cleaned up compiler warnings & updated a few comments.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 07:52:40 -05:00
Quincey Koziol
b09b4662b4 [svn-r6106] Purpose:
Code cleanup, Feature enhancement

Description:
    Improve hashing algorithm to not generate as many clashes.

    Avoid using H5MD_realloc when changing the size of a chunk on disk.
    Instead, use H5MF_free followed by H5MF_alloc, which avoids copying the
    information from the space for the previous chunk to the space for the
    new chunk, since we are going to overwrite the chunk with new data anyway.
    This change should both improve I/O performance in situations where
    compressed chunks are being overwritten as well as reduce the space used
    in the file during that situation.

    Cleaned up error handling in a few cases.

    Removed old debugging printf()s.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir)
2002-11-20 07:47:08 -05:00
Quincey Koziol
973c40d85f [svn-r6104] Purpose:
Bug Fix

Description:
    Free blocks of space in the file which were merged with a block before them
    were not updating the free list information correctly, allowing space in
    the file to over-allocated and potentially corrupted.

Solution:
    Correct address of free block during merging.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2002-11-20 07:38:39 -05:00
Raymond Lu
5f91db8d68 [svn-r6102]
Purpose:
    bug fix
Description:
    forgot to change datatype print-out when fixed VL string bug for h5dump.
Platforms tested:
    modi4
2002-11-19 09:50:04 -05:00
Raymond Lu
0105a3b97c [svn-r6099]
Purpose:
    bug fix.
Description:
    h5dump cannot dump data and datatype for VL string.
Platforms tested:
    eirene, arabica
Misc. update:
    MANIFEST, RELEASE.txt
2002-11-18 11:38:11 -05:00
Albert Cheng
02fe47462b [svn-r6092] Purpose:
New feature
Description:
    Added TIMESTAMP and event markers.  Easier to tell the chronical events.
    Turned of echo mode.  Added an option to turn it on.
Platforms tested:
    Only in eirene.
2002-11-14 10:53:11 -05:00
MuQun Yang
e06d18f964 [svn-r6091]
Purpose:
 Add shuffling performance report
Description:
Solution:
Platforms tested:
Misc. update:
2002-11-13 11:41:17 -05:00
MuQun Yang
b16a81f5b3 [svn-r6090]
Purpose:
  add "shuffle" filter note
Description:
Solution:
Platforms tested:
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-11-13 11:39:37 -05:00
MuQun Yang
8998dd48fd [svn-r6089]
Purpose:
   Add a testing case for shuffling algorithm.
Description:
   A control test:

   Since shuffling 8-bit array should not change the original result; so we use a
   8-bit array to test whether after shuffling the array keeps the same values.
Solution:
Platforms tested:
    eirene,arabica,modi4
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-11-13 11:38:43 -05:00
MuQun Yang
93d91678f5 [svn-r6088]
Purpose:
   add H5Zshuffle.c at Makefile.in
Description:
Solution:
Platforms tested:
eirene,modi4,arabica
Misc. update:
2002-11-13 11:36:08 -05:00
MuQun Yang
55de236da8 [svn-r6087]
Purpose:
   Adding internal shuffle filter
Description:
    With the combination of shuffling filter with general compression
    algorithm, the compression ratio may be improved without adding much
    encoding and decoding time for many real NASA datasets(especially
    floating data) and other application
    datasets(See techNotes).
Solution:
    SHuffle the bytes within the data to utilize the locality.
Platforms tested:
    arabica , eirene, modi4
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2002-11-13 11:35:11 -05:00
MuQun Yang
9646b2464c [svn-r6086]
Purpose:
     updated file list including shuffling code and shuffling note
Description:
Solution:
Platforms tested:
Misc. update:
2002-11-13 11:29:57 -05:00
Bill Wendling
9b3826267b [svn-r6084] Purpose:
FPHDF5 Fixups
Description:
    - Stopped using API calls in the H5FPclient code. It now uses
      internal library calls.
    - Removed some FIXME comments because they've been fixed.
    - Small fix for an enum starting at 37 for no reason :-)
Platforms tested:
    Eirene (only affects FPHDF5, so no need to test 3 platforms just yet).
2002-11-12 17:54:11 -05:00
Quincey Koziol
10fb096586 [svn-r6077] Purpose:
Code cleanup

Description:
    Added some comments and made some minor code cleanups

Platforms tested:
    minor change, only testing on FreeBSD 4.7 (sleipnir) w/parallel
2002-11-12 08:57:25 -05:00
Bill Wendling
fac0c13271 [svn-r6076] Purpose:
Update
Description:
    Changed some of the asserts to check that a non-NULL H5F_t* is passed
    in.
Platforms tested:
    Eirene PP
    Arabica Fortran
    Modi4 PP Fortran
2002-11-11 19:33:21 -05:00
Bill Wendling
31e94618b5 [svn-r6075] Purpose:
Update
Description:
    Added EFL to the FPHDF5 structure.
Platforms tested:
    Eirene PP
    Arabica Fortran
    Modi4 PP Fortran
2002-11-11 19:32:44 -05:00
Bill Wendling
1ccebe2459 [svn-r6074] Purpose:
Update
Description:
    Added EFL to the Object FPHDF5 structure.
Platforms tested:
    Eirene PP
    Arabica Fortran
    Modi4 PP Fortran
2002-11-11 19:32:13 -05:00
Bill Wendling
494a595d73 [svn-r6073] Purpose:
Update
Description:
    Added code which performs an update when there's a dataset creation.
    Commented on some FIXMEs which were in the code.
Platforms tested:
    Eirene PP
    Arabica Fortran
    Modi4 PP Fortran
2002-11-11 19:31:27 -05:00