Commit Graph

4717 Commits

Author SHA1 Message Date
Quincey Koziol
c54ea2b978 [svn-r6646] Purpose:
Code cleanup, bug fix & new feature.

Description:
    Moved some "package-scope" information out of the private header file and
into the code module. (code cleanup).

    Fixed a few places where the "destroy but don't flush" code wasn't working
correctly, which mostly affects the FPH5 effort. (bug fix).

    Added the ability to "unprotect" a metadata object and delete it at the
same time. (new feature).


Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/parallel & FORTRAN

    (h5committest not run due to my ongoing difficulties with C++ on burrwhite).
2003-04-13 23:21:18 -05:00
Quincey Koziol
c2c94ab707 [svn-r6644] Purpose:
Code cleanup

Description:
    Uncompressed buffers can't get to the szip filter's decompression code now
that they are handled correctly by the chunk's filter mask.

Solution:
    Remove handling of uncompressed buffers from szip filter's decompression
code.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    h5committest not necessary & doesn't test szip code.
2003-04-12 07:45:10 -05:00
HDF Admin
e9232d6def [svn-r6643] Snapshot version 1.5 release 50 2003-04-12 04:30:10 -05:00
Elena Pourmal
7bae8de483 [svn-r6642]
Purpose: Catching up with C library

Description: I added tests for new functions
             h5pset_szip_f
             h5pget_filter_by_id_f
             h5pall_filters_avail_f
             I am not sure how to test h5pmodify_filter_f.

Solution:

Platforms tested: arabica (with and without SZIP Library),
                  modi4 (with SZIP and parallel)
                  burrwhite (with SZIP and PGI C and Fortran compilers)

Misc. update:
2003-04-11 23:11:30 -05:00
Elena Pourmal
a496f905b8 [svn-r6641]
Purpose: Catching up with C library

Description: I added four new functions
             h5pset_szip_f
             h5pget_filter_by_id_f
             h5pmodify_filetr_f
             h5pall_filters_avail_f

Solution:

Platforms tested: arabica (with and without SZIP Library),
                  modi4 (with SZIP and parallel)
                  burrwhite (with SZIP and PGI C and Fortran compilers)

Misc. update:
2003-04-11 23:09:49 -05:00
Bill Wendling
15a0473d74 [svn-r6640] Purpose:
Fix

Description:
    This is an analogue to the previous bug-fix for filters not being
    applied to data written but being applied when read. The old way was
    if the SZlib library couldn't deflate a dataset, then we'd munge
    along pretending that it was okay.

Solution:
    Trigger it as an error in this situation. The H5Z_pipeline code which
    calls this function can clear the error stack if need be.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:13:44 -05:00
Bill Wendling
a471c1ca4a [svn-r6639] Purpose:
Fix

Description:
    There are some Fortran compilers which don't have a module flag.

Solution:
    If they don't have one, then don't specify it on the line. Also added
    the LDFLAGS to the compile line so that we pick up the proper
    libraries and their directories.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:12:07 -05:00
Bill Wendling
a816333314 [svn-r6638] Purpose:
Update

Description:
    Updated so that the example programs are built with the new h5fc
    script after it's installed. (So you need to cd into the examples/
    directory and type "make check" or similar. This is how it is in the
    C part).

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:11:10 -05:00
Bill Wendling
cbe3372aa9 [svn-r6637] Purpose:
Update

Description:
    Added check for the SZlib option. The SZlib stuff needs to propagate
    down to the h5fc script.

    Also, removed "examples" from some of the Makefile's rules so that
    it's the same as in the C library.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:10:09 -05:00
Bill Wendling
624fcdfbc6 [svn-r6636] Purpose:
Update

Description:
    Added printing of the compiler used in the end message.

Platforms tested:
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)
    Baldric (Fortran), but make check didn't work because of "libucb.so"
    error that I can't fix...)

Misc. update:
2003-04-11 17:08:59 -05:00
Quincey Koziol
031ddfdb58 [svn-r6634] Purpose:
Mention that we are using -std=gnu99 instead of -ansi when compiling
with gcc 3.x
2003-04-11 12:20:37 -05:00
Quincey Koziol
e804b4c75b [svn-r6632] Purpose:
Bug fix

Description:
    This fixes a bug in the low-level metadata caching code in the library
which could possibly lose metadata during file I/O when a lot of objects are
inserted into a group.

    This also fixes a couple of (similar) fencepost bugs in the B-tree
deletion code.

Solution:
    For the metadata bug - call the low-level driver's 'write' routine instead
of H5FD_write.

    For the B-tree bug - include the correct number of keys.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++
    Linux 2.4 (burrwhite) w/FORTRAN
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel

    (h5committest is still not working for me on burrwhite)

Misc. update:
2003-04-11 11:37:18 -05:00
Bill Wendling
705194a4ea [svn-r6628] Purpose:
Buglet Fix

Description:
    When filtering data, those filters which failed and are optional
    weren't being specified inside of the H5Z_pipeline() function like
    they're supposed to be.

Solution:
    Modified the code to set the appropriate bit in the "failed" flag to
    say that the filter failed if it did and was optional. Removed some
    cases of setting the "failed" flag where it didn't have any effect
    (like, right before an HGOTO_ERROR() statement).

Platforms tested:
    Burrwhite (Fortran)
    Arabica (Fortran)
    Modi4 (Parallel & Fortran)

Misc. update:
2003-04-10 13:34:00 -05:00
Pedro Vicente Nunes
b7df7a09d2 [svn-r6627] Purpose:
added new files for tests , according to test matrix


Description:

Solution:

Platforms tested:


Misc. update:
2003-04-09 22:17:24 -05:00
Pedro Vicente Nunes
2596820e38 [svn-r6626] Purpose:
added new tests
removed compiler warnings from unix platforms
changed usage message

Description:

Solution:

Platforms tested:
w2000, linux, arabica, modi4

Misc. update:
2003-04-09 22:16:17 -05:00
Pedro Vicente Nunes
9a30f6f020 [svn-r6625] Purpose:
added new test files for h5diff

Description:

Solution:

Platforms tested:

Misc. update:
2003-04-09 22:14:20 -05:00
Bill Wendling
e783f65f9f [svn-r6624] Purpose:
Bug Fix

Description:
    The way to detect modules wasn't in there.

Solution:
    Added the 'F9XMODFLAG' variable and have it pointing to the
    appropriate place.

Platforms tested:
    Arabica. Will test on other platforms one at a time. This won't
    affect other parts of the system...

Misc. update:
2003-04-09 20:17:16 -05:00
Bill Wendling
16af7806e7 [svn-r6623] Purpose:
Bug Fix

Description:
    Some of the macros in the script weren't being updated by configure
    correctly. Also, the FFLAGS needed to be used during compilation.

Solution:
    Put the correct macros in there. Added FFLAGS.

Platforms tested:
    Arabica. Only testing it on one platform for now since this is a
    script change and needs to be tested on one machine first before
    further testing...

Misc. update:
2003-04-09 20:05:03 -05:00
Bill Wendling
44deb0bdec [svn-r6622] Purpose:
Addition

Description:
    Added "h5fc" utility. This is the same as the "h5cc" utility but for
    Fortran. It only handles static libraries since that's the only
    library we build for Fortran.

    Note! I've tested the code on the normal platforms but I haven't
    tested the utility itself.

Platforms tested:
    Arabica (Fortran)
    Modi4 (Fortran & Parallel)
    Burrwhite (Fortran & C++

Misc. update:
2003-04-09 19:48:46 -05:00
Bill Wendling
bb0df72af6 [svn-r6621] Purpose:
Update

Description:
    Updated the copyright statements that I forgot...

Platforms tested:
    Modi4 (Fortran & Parallel)
    Arabica (Fortran)
    Burrwhite (Fortran & C++)

Misc. update:
2003-04-09 19:34:15 -05:00
Bill Wendling
c8f8501ae3 [svn-r6619] Purpose:
Update

Description:
    The "--enable-parallel=TYPE" option was revamped but the help string
    wasn't modified.

Solution:
    Modified it to print out just "--enable-parallel" because we no
    longer support the "=TYPE" option.

Platforms tested:
    arabica (Fortran)
    Modi4 (Parallel & Fortran)
    Burrwhite (Fortran & C++)

Misc. update:
2003-04-09 18:24:30 -05:00
Elena Pourmal
79890b5022 [svn-r6618]
Purpose: Bug fix

Description: On HP11.00 and True64 systems strtoll function that is used
             to read text to long integers is not available. Compilation
             fails for h5import.c

Solution: Replace strtoll with HDstrtoll. HDstrtoll is a private HDF5 function
          defined in H5private.h file, but this include file was already used
          by h5import for some other reasons. It would be probably better
          to choose strtol or strtoll functions at the configuration
          time, but HDstrtoll provided really simple solution for now.

Platforms tested: arabica (to test that where it was working, it is still working),
                  kelgia (HP11.00) and PSC True64 machine.

Misc. update:
2003-04-09 17:15:15 -05:00
Albert Cheng
ca9591caed [svn-r6617] Purpose:
Bug fix.

Description:
The macro MAX defined here is very commonly defined, e.g., AIX systems.
The compiler did not like duplicated macro defines.

Solution:
H5_MAX is already defined in H5f90.h and used in other code.
Remove MAX and change its use to H5_MAX.

Platforms tested:
"h5committested", plus tested at LLNL Blue.

Misc. update:
2003-04-09 15:02:33 -05:00
Quincey Koziol
33bad44a26 [svn-r6616] Purpose:
Code cleanup

Description:
    Chase H5Zfilter API changes.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/C++

Misc. update:
2003-04-09 09:27:01 -05:00
Quincey Koziol
dbd6046ec6 [svn-r6615] Purpose:
Updated release notes with changed and new API functions.
2003-04-08 21:38:32 -05:00
Quincey Koziol
4522509d0c [svn-r6614] Purpose:
Add new H5Zpkg.h header
2003-04-08 21:38:07 -05:00
Quincey Koziol
e9f862203b [svn-r6613] Purpose:
Code cleanup & new tests

Description:
    Updated szip and shuffle testing to reflect changes to API functions.

    Added testing for new API functions: H5Pmodify_filter, H5Pget_filter_by_id
and H5Pall_filters_avail.

    Added testing for "can apply" and "set local callbacks.

    Cleaned up various things, also.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:37:27 -05:00
Quincey Koziol
f725c99c60 [svn-r6612] Purpose:
Update code

Description:
    Chase changes for registering filters.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:35:36 -05:00
Quincey Koziol
92b6e81789 [svn-r6611] Purpose:
Code cleanup/new features

Description:
    Switch over to a new style for registering filters with the library -
instead passing in an ID, a string and a callback function to H5Zregister,
the client should pass in a single pointer to a H5Z_claass_t struct which
contains the ID, the description string and all the function callbacks as
fields.
    Added support for a new "can apply" callback for each filter, which is
called when a dataset is created to check whether the parameters for that
filter apply correctly to the combination of the datatype and the chunk size
(i.e. dataspace) for the dataset.
    Added support for a new "set local" callback for each filter, which
is called when a dataset is created (after the "can apply" filter callback)
and sets filter parameters that are specific to that particular dataset.
    Switched the filters we ship over to use the new H5Z_class_t struct for
their internal registrations and also added "set local" callbacks to the
szip and shuffle filters and a "can apply" callback to the szip filter.
    Lots of other code cleanups, etc. also


Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:34:21 -05:00
Quincey Koziol
099a9f4e74 [svn-r6610] Purpose:
Code cleanup & new features

Description:
    Added three new API functions for working on I/O filters: H5Pmodify_filter,
H5Pget_filter_by_id and H5Pall_filters_avail.  Documentation on these will be
added for the 1.6.0 release, until then, we'll have to use the source code.
    Also, simplified the H5Pset_szip and H5Pset_shuffle API interfaces, since
those filters are using the new "set local" callback facility to set dataset-
specific parameters.
    Probably, some of the changes to internal H5Z routines are captured in
these changes also.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:27:07 -05:00
Quincey Koziol
8738df19b4 [svn-r6609] Purpose:
Code cleanup

Description:
    Got rid of anonymous inline struct for filter information in a pipeline
and replaced with typedef'd type.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:19:09 -05:00
Quincey Koziol
4956cd61f3 [svn-r6608] Purpose:
New feature

Description:
    Added new internal API function: H5S_create_simple() for creating
    simple dataspaces inside the library.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:16:17 -05:00
Quincey Koziol
8ba880027f [svn-r6607] Purpose:
Code cleanup

Description:
    Chase internal API changes for H5Z_pipeline and H5S_set_extent_simple

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 21:08:00 -05:00
Quincey Koziol
cbb1e0c952 [svn-r6606] Purpose:
New feature

Description:
    Added new error descriptions.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:53:31 -05:00
Quincey Koziol
831841b58f [svn-r6605] Purpose:
Code cleanup

Description:
    Array declaration was using hard-coded constant for maximum number of
dimensions.

Solution:
    Changed to use H5O_LAYOUT_NDIMS.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:52:10 -05:00
Quincey Koziol
99252b703d [svn-r6604] Purpose:
New feature

Description:
    Hooked up internal dataset creation call (H5D_create) to the new "can apply"
and "set local" callbacks for filters.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:51:09 -05:00
Quincey Koziol
dcf796501e [svn-r6603] Purpose:
Code cleanup

Description:
    Update dependencies.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:48:53 -05:00
Quincey Koziol
5f94cb8141 [svn-r6602] Purpose:
Code cleanup

Description:
    Adjusted parameters for fortran wrappers of H5Pset_shuffle to match the
changes to the C API function.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/szip
    Linux 2.4 (sleipnir) w/szip
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/szip, FORTRAN & parallel

Misc. update:
2003-04-08 20:47:03 -05:00
Elena Pourmal
c319d5813a [svn-r6601]
Purpose: This a fix for bug #921

Description: On platforms where big test runs, it creates a set of
             "solid" 1GB files. Test will take forever (modi4) or will fail
             if quotas are exceeded.

Solution: Default library behavior is to allocate dataset space earlier and
          to write fill values. I changed the test to use late space allocation
          and never write fill values.

Platforms tested: True64 (PSC), modi4 (sequential and parallel), arabica with 64-bit
                  option(test was skipped there). I also enabled szip and it passed :-)


Misc. update:
2003-04-08 18:16:40 -05:00
Frank Baker
4c6122a53c [svn-r6600]
Purpose:
    Link in additional Fortran90 functions.

Description:
    Linked 68 new Fortran90 functions to the discussions of the corresponding
        C functions.  Made the corresponding Fortran index changes in the
        function listings at the tops of the RM pages.
    Fixed formatting and link typos in RM_H5P.html & fortran/h5p_FORTRAN.html.

Platforms tested:
    Safari and IE 5
2003-04-08 16:33:50 -05:00
Pedro Vicente Nunes
7e723792ba [svn-r6599] Purpose:
code warrior port

Description:
replaced strdup with HDstrdup  for CW portability

Solution:

Platforms tested:
w2000(CW , MS)
linux
arabica
modi4

Misc. update:
2003-04-08 15:27:27 -05:00
Pedro Vicente Nunes
86b0cc22c8 [svn-r6598] Purpose:
code warrior port

Description:
added some type casts (char*) for CW portability

Solution:

Platforms tested:
w2000(CW , MS)
linux
arabica
modi4

Misc. update:
2003-04-08 15:26:42 -05:00
Quincey Koziol
351d3f5ebb [svn-r6597] Purpose:
Code cleanup

Description:
    Corrected a few comments.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Linux 2.4 (eirene)

Misc. update:
2003-04-08 14:53:01 -05:00
Quincey Koziol
5d20142327 [svn-r6596] Purpose:
Code cleanup/bug fix

Description:
    Clean up files created during testing.

Solution:

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Linux 2.4 (eirene)

Misc. update:
2003-04-08 14:50:17 -05:00
Pedro Vicente Nunes
d9b2c2d930 [svn-r6595] Purpose:
Code Warrior added projects

Description:

Added new CW projects for
file_handle
getname
ntypes
set_extent
h5diff
h5difftst

added #undef for szip for the CW case in H5pubconf.h

/* szip not currently ported to code warrior */
#if defined(__MWERKS__)
#undef H5_HAVE_SZLIB_H
#undef H5_HAVE_FILTER_SZIP
#endif



Solution:

Platforms tested:
CW

Misc. update:
2003-04-08 14:45:06 -05:00
Pedro Vicente Nunes
f49c63ea47 [svn-r6594] Purpose:
added h5diff test project fo windows
Description:
the h5diff test project is in a paralel path as h5dump test, in /tools/testfiles/h5difftst


Solution:

Platforms tested:

Misc. update:
2003-04-08 10:52:26 -05:00
MuQun Yang
31910efcc2 [svn-r6593] Purpose:
modification for szip supports on windows

Description:
Special handlings should be used for building DLL to connect DLL to DLL application

Solution:
SZDLL should added as predefined macro for HDF5DLL.
In the application, SZUSEDLL should be used to connect application to HDF5DLL.

Platforms tested:
No needs to test on other platforms except windows since it is windows specified.
Tested on windows 2000.

Misc. update:
2003-04-07 12:38:34 -05:00
Pedro Vicente Nunes
9988fab5ea [svn-r6592] Purpose:
added testfiles of h5diff to MANIFEST

Description:

Solution:

Platforms tested:
none

Misc. update:
2003-04-06 23:31:08 -05:00
Albert Cheng
cc2855c56e [svn-r6591] Purpose:
Bug fixes

Description:
There is a typo in each of the expected output files. Corrected them.

Platforms tested:
h5committested.

Misc. update:
2003-04-06 12:43:27 -05:00
Elena Pourmal
3de935af7b [svn-r6589]
Purpose: Bug fix

Description: h5import tests will fail if srcdir option
             is used with configure.

Solution: Modified h5importtest.c h5importtestutil.sh files
          to search for input files in the proper directory and
          to write output files to the proper directory.

Platforms tested: Tested on burrwhite, arabica, and modi4.
                  Unfortunately srcdir option was used only on
                  arabica, since I am having a weird 'timezone'
                  problem on all Linux machines when srcdir is used, and
                  on modi4 build has to be done in the same directory (at
                  least this is a message I am getting from configure;
                  should it work?)

Misc. update:
2003-04-05 12:34:31 -05:00