Commit Graph

3340 Commits

Author SHA1 Message Date
Quincey Koziol
c663f8a79c [svn-r7182] Purpose:
Code cleanup

Description:
    Add "lint" control file for PC-Lint 8.0
2003-07-08 16:02:25 -05:00
Quincey Koziol
4e23c80758 [svn-r7181] Purpose:
Version update

Description:
    Removed 1.4 compatibility code in the library.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-07-07 14:02:46 -05:00
Quincey Koziol
3816afb172 [svn-r7175] Purpose:
Bug fix

Description:
    Boot block checksum was being used instead of file driver info checksum
    in one calculation.

    Also, the offset of the file driver info was hard-coded to the end of the
    superblock, instead of using the file driver offset variable.

Solution:
    Changed to use file driver checksum and file driver offset variable.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small for h5committest
2003-07-07 11:39:32 -05:00
Quincey Koziol
42d5893f16 [svn-r7173] Purpose:
Bug fix

Description:
    Fix "unaligned access" warning on IA64 (and alpha, probably) machines.

Solution:
    Make certain that temporary destination buffer is aligned on correct
boundary for type conversion.

Platforms tested:
    IA64 Linux cluster (titan)
    too small for h5committest
2003-07-07 11:32:13 -05:00
Quincey Koziol
6028d7f9c9 [svn-r7172] Purpose:
Code cleanup

Description:
    Remove "UNUSED" keyword from function prototypes in header files.

Platforms tested:
    IA64 Linux cluster (titan)
    too small to need commit test
2003-07-07 11:20:43 -05:00
Quincey Koziol
76ae1a3f45 [svn-r7166] Purpose:
Update configuration

Description:
    Now that we've split the tree (Yea!), change the main trunk back to debug
    on and production off.

    Also, change the version # to 1.7.0
2003-07-03 16:20:33 -05:00
Albert Cheng
c5b2fb2a87 [svn-r7146] Purpose:
update for release

Description:
Set the version information to 1.6.0-pre1 to get ready for
v1.6 release.
(Not sure why H5F.c got changed--probably done gmake automatically
during testing.)

Platforms tested:
h5committested.

Misc. update:
2003-07-02 23:17:58 -05:00
Elena Pourmal
1eb32020ef [svn-r7131] Purpose: Maintenance for the fifth round of testing
Description: Bumped version number for 1.5.63 after creating a tar ball
             for the next round of testing

Solution:

Platforms tested:

Misc. update:
2003-07-01 10:21:13 -05:00
Quincey Koziol
70db25c561 [svn-r7126] Purpose:
Code cleanup

Description:
    Add in rest of szip "options mask" macros that were missing.  Also made
"raw" options mask set by the library, instead of requiring users to always set
it.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    Minor tweaks too small fo h5committest
2003-06-30 14:47:40 -05:00
Quincey Koziol
87a5f6480c [svn-r7122] Purpose:
Code cleanup/Feature removal

Description:
    Remove "round robin" writing of metadata in MPI VFDs (and a couple of other
places).  This never really worked the way I hoped it would and it causes
problems on certain machines.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    Too small for triple check.
2003-06-30 10:53:02 -05:00
Quincey Koziol
55869bd2ff [svn-r7116] Purpose:
Update code

Description:
    Move "PABLO_MASK" definition above header file inclusion to avoid problems
with inline functions in header files.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-27 10:59:48 -05:00
Quincey Koziol
2629b6e4d3 [svn-r7109] Purpose:
Code cleanup

Description:
    Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-25 21:10:33 -05:00
Elena Pourmal
891fc014f7 [svn-r7099]
Purpose: Maintenance

Description: Bumped the version number to 1.5.62 after creating
             a tar ball for the fourth round of testing.

Solution: run bin/h5vers -s scipt on arabica

Platforms tested: N/A

Misc. update:
2003-06-24 15:36:29 -05:00
Quincey Koziol
e3a8e61c26 [svn-r7097] Purpose:
Bug fix

Description:
    Alignment of some types (namely 'short's) was still not being correctly
detected on some Crays.

Solution:
    Revert part of last change which accidentally got the offset of 'short's
wrong on Crays

    Correct check for alignment of 'short's on Crays.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
    Cray SV1 (wind)
    Cray T3E (hubble)
    Cray T90 (gypsy)
2003-06-24 15:10:36 -05:00
Quincey Koziol
90f8e6c9f7 [svn-r7096] Purpose:
Bug fix

Description:
    Aligned data is not being detected by type conversion routines correctly
on some Crays, causing corrupted data during I/O.

Solution:
    Add extra checking for strange pointer behavior on Crays.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
    Cray SV1 (wind)
    Cray T3E (hubble)
    Cray T90 (gypsy)
2003-06-24 15:08:35 -05:00
Quincey Koziol
76508013e1 [svn-r7094] Purpose:
Bug fix

Description:
    Change final "long" to "long double" in native floating-point check.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
    Cray SV1 (wind)
    Cray T3E (hubble)
    Cray T90 (gypsy)
2003-06-24 15:05:44 -05:00
Quincey Koziol
38aa393e8a [svn-r7084] Purpose:
Bug fix

Description:
    Alignment on Cray SV1 machine was not being detected correctly and was
not aligning integer types correctly for type conversion, nor was detecting the
proper internal offset of the data in a 'short' type.

Solution:
    Added more checks to detect way Cray aligns pointers in addition to current
checks.

    Corrected 'offset' detection on big-endian machines.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-23 09:22:19 -05:00
Quincey Koziol
2fa2bb4162 [svn-r7083] Purpose:
Bug fix

Description:
    Tighten up checks on "index" parameter to H5Aiterate to disallow negative
    values and values greater than the number of attributes on an object.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-23 08:28:21 -05:00
Quincey Koziol
88598fbeaa [svn-r7082] Purpose:
Bug fix (backward compatibility)

Description:
    Track changes to allow H5Giterate to pass along iterator callback's return
    value

    Also, improve range checking on "index" parameter to disallow invalid
    starting indices (<0 or > the number of objects in a group).

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-23 08:27:02 -05:00
Quincey Koziol
403f1bac7c [svn-r7080] Purpose:
Bug fix (backward compatibility)

Description:
    Changes we've made during development of the 1.5.x branch had broken the
    feature of allowing user's callbacks to H5Giterate to return a value
    through the library back to the application which called H5Giterate.

Solution:
    Correctly pass along iterator callback return value and adjust internal
    library code to conform to this design.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-23 08:24:56 -05:00
Quincey Koziol
e0d8e90d61 [svn-r7074] Purpose:
Bump version # after another private snapshot for SAF team.
2003-06-20 10:42:36 -05:00
Quincey Koziol
d12e5f8ebf [svn-r7072] Purpose:
Bug fix & code cleanup

Description:
    The H5F_get_objects_cb was returning SUCCEED (i.e. 0) to indicate that
the ID iterator should exit early, but the ID iterator needs a non-zero return
from a callback to exit early.

    Also, track change to ID iterator "operator data" to be non-const

Solution:
    Changed H5F_get_objects_cb() to return "TRUE" instead, to indicate an
early exit for the ID iterator.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-20 10:21:35 -05:00
Quincey Koziol
970416829f [svn-r7071] Purpose:
Code cleanup

Description:
    Tweak internal iterator over IDs to not require constant "operator" data.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-20 10:19:18 -05:00
Quincey Koziol
e34f6e8c9e [svn-r7070] Purpose:
Code cleanup

Description:
    Add another dependency to the API shutdown code to not shut down the ID
management code until the other APIs which use IDs are shut down.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-20 10:17:22 -05:00
Quincey Koziol
7c1054856a [svn-r7061] Purpose:
Bump version # after creating private snapshot.
2003-06-18 15:59:35 -05:00
Quincey Koziol
4fc73028ed [svn-r7060] Purpose:
Code cleanup

Description:
    Change some variables that are keywords in C++ to non-keywords.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to require full h5committest
2003-06-18 15:54:19 -05:00
Quincey Koziol
b6fca58d92 [svn-r7058] Purpose:
Bug fix and refactored code

Description:
    Return the file space we have allocated already when a dataset creation
fails.

    Also track the change to the H5Fget_obj_<foo> APIs

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:51:49 -05:00
Quincey Koziol
d0d6ef4a90 [svn-r7057] Purpose:
Bug fix, refactored code

Description:
    Fixed closing objects for "strong" file degree, which previously would
sometime attempt to close the same object twice (when a named datatype and
a dataset which used it were both left open before the file was closed).

    Stopped datatype iteration from querying for the group entry of non-named
datatypes.

    Added attributes to the list of objects that can be queried by
H5Fget_obj_count and H5Fget_obj_ids, since they can hold open a file also.

    Took a suggestion from Robb to return the number of open objects
in the return values of H5Fget_obj_count and H5Fget_obj_ids.

    Also, added a "max_objs" parameter to the H5Fget_obj_ids function, so that
it can work well with staticly allocated arrays.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:50:22 -05:00
Quincey Koziol
4e3716dd66 [svn-r7053] Purpose:
Bug fix.

Description:
    When a duplicate object was attempted to be created, the library would
leak file memory and object references in the file, potentially causing an
infinite loop when shutting the library down.

Solution:
    Clean up after ourselves... :-)

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:41:28 -05:00
Quincey Koziol
780d678ddd [svn-r7052] Purpose:
Code cleanup

Description:
    Correct name of H5FD_term_interface function in FUNC_ENTER macro.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:39:34 -05:00
Quincey Koziol
dfe4c63e19 [svn-r7051] Purpose:
Bug fix

Description:
    When objects were left open in a file, the API shutdown code would end
up closing property lists "out from underneath" files that were left open
pending the objects in the being closed.  This caused problems later when
file objects would try to access their property list and fail to close,
causing an infinite loop in the library shutdown.

Solution:
    Create some dependencies in the order that APIs are shut down, trying to
close "higher" level APIs before closing "low" level APIs.  This still isn't
precise, but it does work correctly now.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-18 15:38:17 -05:00
Quincey Koziol
3f7ec1a4b8 [svn-r7043] Purpose:
Windows portability fix

Description:
    Change "long long"s in code to "long_long"s, which is the portable version
of this type.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    to small for h5committest
2003-06-16 10:57:18 -05:00
Raymond Lu
20848c55fd [svn-r7042] Purpose: bug fix
Description: H5Tget_native_type fails on Cray for compound datatype.

Solution: there's size comfusion in the library on H5T_get_native_int function

Platforms tested: Cray, h5committest

Misc. update:
2003-06-16 10:44:14 -05:00
Quincey Koziol
8abb016fa5 [svn-r7037] Purpose:
Bug fix

Description:
    The fill time in a dataset with no fill value information created with an
older version of the library was getting set to H5D_FILL_TIME_ALLOC instead of
the new default H5D_FILL_TIME_IFSET and was causing H5Dcreate() calls with that
dataset creation property list to fail now.

Solution:
    Set the new default in the fill time initialization for missing fill value
information.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:35:17 -05:00
Quincey Koziol
1b2d904890 [svn-r7036] Purpose:
Code cleanup

Description:
    Add new H5D_FILL_TIME_IFSET value to debugging output.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-06-13 15:32:15 -05:00
Quincey Koziol
b8632ce735 [svn-r7029] Purpose:
New feature/Bug fix

Description:
    Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value
to a dataset if the user has defined one, otherwise not writing the fill value
to the dataset.

Platforms tested:
    FreeBSD 4.8 (sleipnir) serial & parallel
    h5committest
2003-06-11 22:40:34 -05:00
Quincey Koziol
c0f9f41be8 [svn-r7027] Purpose:
Bug fix

Description:
    MPE instrumentation was out of date and wasn't reporting the correct name
of the API functions in the library.

Platforms tested:
    IBM p690 (copper)
    h5committest not performed because it doesn't test MPE.
2003-06-11 21:59:49 -05:00
Elena Pourmal
2714638dec [svn-r7023]
Purpose: Maintenance for the third round of testing

Description: Increased the version number to 1.5.59 after creating
             a tar ball for testing.

Solution:

Platforms tested:

Misc. update:
2003-06-11 07:46:09 -05:00
Raymond Lu
67449f5c65 [svn-r7021] Purpose: bug fix
Description: H5Tget_native_type fails for multiple kinds of datatype on Cray; it fails
             fix-length string type, too.


Platforms tested: Cray, h5committest
2003-06-10 16:04:58 -05:00
Quincey Koziol
b6f348df6e [svn-r7020] Purpose:
Bump version number after making snapshot
2003-06-10 14:35:29 -05:00
Quincey Koziol
204b899029 [svn-r7019] Purpose:
Compatibility fix

Description:
    The H5P[set|get]_fapl_mpiposix calls changed between v1.4.x and v1.5.x.

Solution:
    Wrap them in the v1.4 backward compatibility #ifdefs and update tests, etc.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/paralle & v1.4 compatibility
    h5committest pointless
2003-06-10 14:05:06 -05:00
Quincey Koziol
6ea5252281 [svn-r7018] Purpose:
Bug fix

Description:
    The dataset's modification time was getting set whenever raw data was
written with H5Dwrite.  Unfortunately, this is a metadata change (which are
required to be performed collectively) and H5Dwrite may be called independently
from a parallel program, resulting in metadata cache corruption and/or program
hangs.

Solution:
    Don't update the modification time when raw data it written. :-(

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committest

Misc. update:
    Noted in release notes and also sent to Frank for updating the docs.
2003-06-10 13:47:26 -05:00
Quincey Koziol
82384d5785 [svn-r7016] Purpose:
Bug fix

Description:
    Chunked datasets with early space allocation and unlimited dimensions were
running into problems where the dataset's "layout" message was marked as
constant too early, preventing the dataset's dimensions from being extended.

Solution:
    Change logic for marking the layout message constant to wait a bit longer.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committest
2003-06-10 13:44:22 -05:00
Albert Cheng
ec6f9400d0 [svn-r7009] Purpose:
Bug fix

Description:
libhdf5.settings should be removed in DISTCLEAN, not CLEAN.

Solution:

Platforms tested:
COpper.

Misc. update:
2003-06-09 18:51:17 -05:00
Quincey Koziol
e3d55f9f12 [svn-r7008] Purpose:
Bug fix

Description:
    Correct file->mpi->size to just mpi_size.

Platforms tested:
    FreeBSD 4.8 (sleipnir)

Misc. update:
    Reported by: Bill
2003-06-09 16:33:00 -05:00
Quincey Koziol
91c305443c [svn-r7007] Purpose:
Bug fix.

Description:
    Changed "x=(x++)%y" to "x=(x+1)%y", since the former was not guaranteed to
compile to the latter.

Platforms tested:
    Eyeballed.

Misc. update:
    Pointed out by: Forsythe, Christi <caforsy@sandia.gov>
2003-06-09 14:34:55 -05:00
Quincey Koziol
007adfc452 [svn-r7000] Purpose:
New feature

Description:
    Dump variable-length sequence datatype info with h5debug

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch provided by Robb Matzke (matzke@llnl.gov)
2003-06-09 14:14:35 -05:00
Quincey Koziol
1e495825d2 [svn-r6999] Purpose:
Bug fix.

Description:
    Don't dump core when displaying global heaps in h5debug.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest

Misc. update:
    Patch submitted by Robb
2003-06-09 14:12:56 -05:00
HDF Admin
6953bd7082 [svn-r6986] Snapshot version 1.5 release 56 2003-06-06 09:45:55 -05:00
Quincey Koziol
c134146b3e [svn-r6975] Purpose:
Bug fix

Description:
    Don't attempt to perform collective I/O on chunked datasets.

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    h5committested
2003-06-05 15:05:52 -05:00