Commit Graph

4366 Commits

Author SHA1 Message Date
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
Bill Wendling
cf61e58985 [svn-r6072] Purpose:
Code Movement
Description:
    Moved definition of the H5D_t data structure into the H5Dprivate.h
    header file. With the FPHDF5 stuff, we need access to this data
    structure.
Platforms tested:
    Eirene...change small, so no need for all three tests.
2002-11-11 17:00:09 -05:00
Quincey Koziol
02a2fc238c [svn-r6071] Purpose:
Code cleanup

Description:
    Start using the H5_HAVE_FILTER_GZIP macro to enable the gzip filter.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?
    Tested FreeBSD 4.7 (sleipnir) also
2002-11-11 15:33:42 -05:00
Quincey Koziol
b7cd698fcd [svn-r6070] Purpose:
New feature.

Description:
    Add in '--enable-filters=filter1,filter2' flag to configure script.  This
    can also be used as '--enable-filters=all' or just '--enable-filters' to
    enable all the internal I/O filters in the library.

    This flag can also be set to '--disable-filters' to disable all the internal
    I/O filters.  Individual filters can not be disabled due to the limitations
    of autoconf.

    Additionally, added "H5_HAVE_FILTER_<foo>" macros to H5pubconf.h header
    file, so the presence of each filter can be detected.

    This is in preparation for Kent's shuffling filter to be imported shortly.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    Tested FreeBSD 4.7 (sleipnir) also
2002-11-11 15:32:02 -05:00
Quincey Koziol
58d7916983 [svn-r6069] Purpose:
Fix Windows portability bug

Description:
    "long long" is not defined on Windows.

Solution:
    Use our internal definition of "long_long" instead.

Platforms tested:
    eyeballed.
2002-11-11 13:36:35 -05:00
Quincey Koziol
59459d5eb8 [svn-r6068] Purpose:
Fix Windows portability bug

Description:
    "long long" is not defined on Windows.

Solution:
    Use our internal definition of "long_long" instead.

Platforms tested:
    eyeballed.
2002-11-11 13:30:05 -05:00
Albert Cheng
4305e64b67 [svn-r6066] Purpose:
Improvement
Description:
    if neither -f option nor $HDF5_PARAPREFIX was set, it exited.
Solution:
    Use '.' (current directory) if neither -f option nor $HDF5_PARAPREFIX
    is used.  Try to proceed as much as possible.
Platforms tested:
    only sleipnir since it was a simple fix and was failing in sleipnir
    only.
2002-11-11 11:54:30 -05:00
Bill Wendling
dddcde81ea [svn-r6064] Purpose:
Code Cleanup
Description:
    A function was returning "NULL" instead of "FAIL" for an error
    condition. Renamed the variable "class" to "h5_class" since class is
    a keyword in C++ and might mess up with a C++ compiler...
Platforms tested:
    Eirene pp (too small a change for 3 tests)
2002-11-07 16:25:15 -05:00
Quincey Koziol
0b4b91cb55 [svn-r6063] Purpose:
Code cleanup

Description:
    Cleaned up some error values that were incorrect, added some assertions
    and refactored the integer & floating-point native conversions some.

Platforms tested:
    FreeBSD 4.7 (sleipnir), too small for h5committest
2002-11-07 12:48:12 -05:00
Raymond Lu
2c78145f74 [svn-r6062]
Purpose:
    New function.
Description:
    H5Dget_offset returns the offset of a dataset's data relative to the
    beginning of a file.
Platforms tested:
    arabica(simple function, one test should be enough.)
Misc. update:
    RELEASE.txt
2002-11-07 10:57:53 -05:00
Raymond Lu
a9dea215ed [svn-r6060]
Purpose:
    Add new functions
Description:
    add H5Tget_native_type and H5Tis_variable_str.
Platforms tested:
    arabica, eirene, modi4
Misc. update:
    MANIFEST and release_docs/RELEASE updated.
2002-11-06 16:08:45 -05:00
Albert Cheng
28874d54c4 [svn-r6059] Purpose:
Updated the parallel installation information
Platforms tested:
    Highly sophiscated optical scanning (eyeball it)
2002-11-05 15:19:38 -05:00
Bill Wendling
01b3ee75cf [svn-r6057] Purpose:
New Feature. Support for new FPHDF5 Feature
Description:
    More support for the FPHDF5 feature. This splits the H5D_create
    function into separate parts which update the metadata cache. It was
    necessary to split apart the H5O_create function to do a similar
    thing since it would allocate real space on the hard disk.

    I'm checking this up now so that I don't get too far away from what
    the CVS repository has and so that others may look at the code and
    retch^H^H^H^H^Hmarvel at it. If there are any comments, send them my
    way.

    There is one outstanding issue, though. I need to use non-API
    functions in the FPHDF5 stuff. I'm using some APIs right now and
    should migrate to using others. At the moment, I'm putting that on
    the back burner until I'm more along in the implementation.
Platforms tested:
    Arabica (C++)
    Eirene (Parallel)
    Modi4 (Parallel)
2002-11-05 12:55:27 -05:00
Quincey Koziol
22f38d627e [svn-r6055] Purpose:
New feature

Description:
    Add support for scalar dataspaces in parallel I/O.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    Also, FreeBSD 4.7 (sleipnir) serial & parallel
Misc. update:
    Update release_docs/RELEASE for bug fixes, new features, etc.
2002-11-05 11:31:02 -05:00
Raymond Lu
3ed57b880a [svn-r6054]
Purpose:
    Makefile update
Description:
    Update Makefile.in to handle more output file for cleanup
Platforms tested:
    arabica
2002-11-05 11:28:58 -05:00
Quincey Koziol
4e0b0046df [svn-r6053] Purpose:
Add file

Description:
    Add parallel hyperslab benchmark.
2002-11-05 06:04:53 -05:00
Quincey Koziol
2763df7a3c [svn-r6052] Purpose:
Add benchmark

Description:
    Add multi-D hyperslab benchmark to repo.  It's not hooked up to any makefiles
    yet, so it's not being compiled or tested, etc.  I'm just stashing it here
    so I don't forget about it until I have time to integrate it properly.
2002-11-04 13:45:09 -05:00
HDF Admin
30b45c75e2 [svn-r6050] Snapshot version 1.5 release 40 2002-11-02 03:54:27 -05:00
Quincey Koziol
a6add2ab92 [svn-r6048] Purpose:
Testing fix.

Description:
    Correctly detect when one of the parallel tests fails and stop the make
    from proceeding.

Platforms tested:
    modi4 (parallel), sleipnir (parallel)
2002-11-01 13:43:04 -05:00
Quincey Koziol
ba751a6a4c [svn-r6047] Purpose:
Bug fix & code cleanup

Description:
    Hyperslab code for collapsing dimensions was incorrectly collapsing
    selections inappropriately when the fastest changing dimension couldn't
    be collapsed.

    Also add some more assertions which will make similar bugs easier to find.

Solution:
    Break out of loop earlier.

Platforms tested:
    modi4 (parallel), too small to triple check.
2002-11-01 13:39:20 -05:00
Albert Cheng
23457df13d [svn-r6046] Purpose:
Improvement
Description:
    fillval will fail to find the pre-exist data file if it is run
    in --srcdir mode without setting $srcdir properly.  This is
    setup properly in the Makefile but unsuspecting users trying just
    ./fillval were puzzled by the failure.
Solution:
    put in a more descriptive error message with a possible remedy.
Platforms tested:
    Modi4 only since this is just adding a printf statment.
2002-10-31 08:40:24 -05:00
Quincey Koziol
820f4b6fc6 [svn-r6043] Purpose:
Bug fix

Description:
    I/O using "none" selections in parallel wasn't working correctly.  Also,
    add serial "none" selection test.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
2002-10-29 14:42:10 -05:00
Raymond Lu
eee5b4c40f [svn-r6042]
Purpose:
    Change release note for new functions(H5Gget_comment, H5Arename,
    H5Aget_storage_size).
Misc. update:
    Update release_docs/RELEASE for bug fixes, new features, etc.
2002-10-29 11:40:47 -05:00
Raymond Lu
67a679af07 [svn-r6041]
Purpose:
    Bug fix
Description:
    #340 - get comment length for H5G;
    #435 - H5Aget_storage_size;
    #644 - H5Arename
Platforms tested:
    eirene, arabica
2002-10-29 11:37:49 -05:00
Quincey Koziol
0d1aba339e [svn-r6040] Purpose:
Code cleanup

Description:
    Add more comments and clean up small bits of the FPH5 code.

Platforms tested:
    FreeBSD 4.7 (sleipnir), changes too minor to affect other platforms.
2002-10-28 13:45:26 -05:00
Albert Cheng
4bd557ec1e [svn-r6036] Description:
Updated with the new entry of Daily_tests_explained.
Platforms tested:
    bin/chkmanifest
2002-10-28 12:56:00 -05:00
Albert Cheng
83107da480 [svn-r6035] Description:
Added the new doc "Daily_Test_Explained" into the TechNotes section.
Platforms tested:
    Used IE to view the result.
2002-10-28 12:54:22 -05:00
HDF Admin
f2b49d18fe [svn-r6033] Snapshot version 1.5 release 39 2002-10-26 03:51:04 -05:00
Robert E. McGrath
da647e3537 [svn-r6031] Purpose:
Fixes bug #836.
	Also fixes the 'usage' message.
Description:
Solution:
Platforms tested:
Misc. update:
2002-10-24 09:48:19 -05:00
Bill Wendling
d77d7e04c5 [svn-r6030] Purpose:
Another Oops
Description:
    I accidentally checked in the H5D.c module when I shouldn't have.
Solution:
    Rolled back to 1.281 version
Platforms tested:
    Linux
2002-10-23 17:13:00 -05:00
Bill Wendling
d1f3de3a58 [svn-r6029] Purpose:
Oops
Description:
    The H5FPprivate.h file was being #included even if PARALLEL was
    turned off.
Solution:
    put the #include of the H5FPprivate.h file within the #ifdef block so
    that it doesn't get included if H5_HAVE_FPHDF5 isn't defined.
Platforms tested:
    Linux...
2002-10-23 17:09:33 -05:00