Commit Graph

312 Commits

Author SHA1 Message Date
Quincey Koziol
5db6c61f18 [svn-r7993] Purpose:
Code cleanup, bug fixes

Description:
    Wrap up rest of changes necessary for fixing the "short" MPI-I/O read
problem that Robb reported.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-12-29 14:34:11 -05:00
Quincey Koziol
b6fd9f9d76 [svn-r7990] Purpose:
Update release notes for recent VL-datatype bug fix.
2003-12-29 14:03:45 -05:00
HDF Admin
99e520c8cb [svn-r7982] Snapshot version 1.7 release 13 2003-12-28 03:20:06 -05:00
HDF Admin
4b0b1191da [svn-r7974] Snapshot version 1.7 release 12 2003-12-21 03:10:57 -05:00
HDF Admin
baf1da6e4b [svn-r7955] Snapshot version 1.7 release 11 2003-12-14 03:15:50 -05:00
Quincey Koziol
8dc49da486 [svn-r7950] Purpose:
Bug fix

Description:
    Attributes which were created with scalar dataspaces were reporting their
dataspace as a simple dataspace when queried later.

Solution:
    Fix the dataspace handling code when reading in the attribute message from
the file to set the extent type correctly.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-12-13 15:08:09 -05:00
Quincey Koziol
4feb66edc9 [svn-r7948] Purpose:
Update with correct location on FTP server.
2003-12-13 13:52:40 -05:00
Quincey Koziol
a8161177b9 [svn-r7943] Purpose:
Bug fix.

Description:
    Using a selection offset with hyperslab selections in chunked datasets
was getting into an infinite loop and hanging the application.

Solution:
    Apply the selection offset to the hyperslab selection properly.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o parallel
    h5committest
2003-12-13 13:14:36 -05:00
Quincey Koziol
1b1e1ebbbd [svn-r7915] Purpose:
Bug fix

Description:
    Make a copy of the index value for H5Giterate and use that instead of
dereferencing the index pointer.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to need h5committest
2003-12-06 09:57:06 -05:00
Albert Cheng
684db5595b [svn-r7900] Updated. 2003-11-27 12:19:00 -05:00
MuQun Yang
52846d6aac [svn-r7888] Purpose:
Fix some typos and clean up the doc.

Description:

Solution:

Platforms tested:

Misc. update:
2003-11-26 11:34:15 -05:00
Quincey Koziol
56ce635a1d [svn-r7877] Purpose:
Update release notes with recent bug fix.
2003-11-24 11:49:54 -05:00
Raymond Lu
dd87124e3a [svn-r7870] Purpose: new feature
Misc. update:   data type conversion between integers and floats.
2003-11-21 12:11:40 -05:00
Quincey Koziol
22a36e9d59 [svn-r7865] Purpose:
Mention metadata benchmark in release notes.
2003-11-20 09:55:47 -05:00
Quincey Koziol
48c64453b3 [svn-r7862] Purpose:
Update release notes with metadata change information
2003-11-20 09:39:03 -05:00
Quincey Koziol
e1792ebb22 [svn-r7842] Purpose:
Bug fix

Description:
    Variable length strings and sequences with NULL pointers were not handled
by library, causing problems access the data.  This also affected fill values
for variable-length datatypes.

Solution:
    Address the issues in the library by detecting NULL sequences/strings
and avoid trying to convert them.

    Patched up dumper to display NULL sequences/strings.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-11-13 10:19:50 -05:00
HDF Admin
834c8a06f3 [svn-r7831] Snapshot version 1.7 release 10 2003-11-09 03:06:07 -05:00
Quincey Koziol
a1ee1c9190 [svn-r7824] Purpose:
Code optimization

Description:
    Improved integer & floating-point datatype conversions by removing some
corner cases.  Got rid of algorithm which walked the buffer of elements to
convert backwards, switching to algorithm which computes the non-overlapping
space in the buffer and repeatedly converts it in the forward direction.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
    Cray SV1 & T3E (T90 is not accessible)
2003-11-07 15:21:43 -05:00
Bill Wendling
bfbfda0cae [svn-r7816] Purpose:
Improvement

Description:
    If the library is built in parallel mode, then name the "h5cc" and
    "h5fc" programs "h5pcc" and "h5pfc" resp. This saves the user from
    worrying about mixing serial and parallel builds of the library and
    having to specify the pathnames and so-forth.

Platforms tested:
    Linux (w/ parallel & Fortran)
    Modi4 (w/ parallel & Fortran)
    Sol (Serial & Fortran & C++)

Misc. update:
    Updated release/docs/RELEASE
2003-11-04 13:10:59 -05:00
Albert Cheng
15505bd890 [svn-r7811] Updated with bug fix commmitted. 2003-11-03 10:37:52 -05:00
HDF Admin
fd7fc53c9d [svn-r7807] Snapshot version 1.7 release 9 2003-11-02 03:07:05 -05:00
Quincey Koziol
90e269d552 [svn-r7789] Purpose:
Bug fix & code cleanups

Description:
    Change our use of MPI derived datatypes to not create datatypes with
"0-sized" lengths, which causes the LANL Q machine to hang.

    Also, get rid of "prefer MPI derived datatypes" environment variable since
it has no advantage.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w & w/o parallel
    h5committest
2003-10-29 14:32:36 -05:00
Raymond Lu
219f713c6f [svn-r7783] Purpose: New feature
Description: new function H5Iget_file_id.  It returns file ID given an obeject
             (group, dataset, or attribute) ID.


Platforms tested: h5committest

Misc. update: RELEASE.txt
2003-10-29 12:04:39 -05:00
HDF Admin
035991e5c0 [svn-r7739] Snapshot version 1.7 release 8 2003-10-26 02:02:15 -05:00
Quincey Koziol
ccb5838240 [svn-r7734] Purpose:
Bug fix

Description:
    Single hyperslab selections (which were set with only one call to
H5Sselect_hyperslab) that had dimensions that could be "flattened" but were
interspersed with dimensions that could not be flattened were not correctly
handled, causing core dumps.

Solution:
    Re-work "flattening" code to handle this case properly.

Platforms tested:
    FreeBSD 4.9 (sleipnir) w/parallel
    h5committest
2003-10-25 11:41:20 -05:00
Pedro Vicente Nunes
c5888ae35b [svn-r7677] Purpose:
bug fix, update documentation

Description:
version 8 of Code Warrior has a bug on the open file function
that causes one of our tests to fail
documented this in the install instructions

removed a CW specific header file include , that was left from version 6
from the file testhdf5.c




Platforms tested:
Code Warrior
linux


Misc. update:
2003-10-20 15:46:07 -05:00
Quincey Koziol
21a2ab6e22 [svn-r7673] Purpose:
Note recent type conversion speedup
2003-10-20 12:19:21 -05:00
HDF Admin
794b7d2a5a [svn-r7668] Snapshot version 1.7 release 7 2003-10-19 07:09:33 -05:00
Albert Cheng
fca686260e [svn-r7647] Purpose:
Updated.
2003-10-15 18:08:31 -05:00
Elena Pourmal
bf8a376ee3 [svn-r7622]
Purpose: Big fix

Description:  Documented h5pset(get)_cache_f subroutines' parameter change


Platforms tested: kelgia, arabica 64-bit, solatis 2.7 64-bit

Misc. update:
2003-10-13 17:27:34 -05:00
HDF Admin
d19001584b [svn-r7605] Snapshot version 1.7 release 6 2003-10-12 07:18:10 -05:00
Elena Pourmal
c72601e0d6 [svn-r7601]
Purpose: Bug fix

Description: Parameter rdcc_nelmts of the h5pget_cache_f subroutine
             had wrong INTEGER(SIZE_T) instead of INTEGER type.

Solution: Fixed the type

Platforms tested: arabica in 64-bit mode (where INTEGER(SIZE_T) is not
                  the same as INTEGER)

Misc. update:
2003-10-10 17:19:00 -05:00
Quincey Koziol
c71ef4801c [svn-r7594] Purpose:
Bug fix

Description:
    The 'char *' type is one of the "strongly" aligned types on Crays, but
a 'void *' is "weakly" aligned.  So, assigning a 'void *' (pointing to a
location to place a 'char *') to a 'char **' can change the pointer value
during the assignment.

Solution:
    Don't alias the 'void *' where the variable-length information ('char *'
or 'hvl_t') will go.  Use a temporary variable on the stack to build up the
information about the VL string or sequence and then memcpy() the temporary
variable directly to the location pointed to with the 'void *'

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Cray SV1 (wind)
    specific to Cray problems, h5committest not necessary.
2003-10-10 10:23:46 -05:00
Quincey Koziol
62311b71ee [svn-r7587] Purpose:
Updated information about FreeBSD versions
2003-10-09 12:15:22 -05:00
Quincey Koziol
48b4a56d93 [svn-r7572] Purpose:
Bug fix

Description:
    When too many messages were inserted into an object header, the library
had an internal pointer to the "new message" that was pointing to the incorrect
location when the array of messages was re-allocated.
    In the worst case, this could cause a file to be corrupted.

Solution:
    Update the internal pointer when the array is re-allocated.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too small to require h5committest
2003-10-08 12:58:58 -05:00
Quincey Koziol
58c03f79fd [svn-r7561] Purpose:
Feature add

Description:
    Add a few new fields to the H5G_stat_t structure, to allow more information
about the object header to be retrieved.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-07 10:27:19 -05:00
Quincey Koziol
f766b32d07 [svn-r7559] Purpose:
Add feature

Description:
    Add H5Fget_freespace() routine, to check the amount of free space in a
    file.  This information is only valid until the file is closed currently,
    however (until we start recording the free space information in the file
    itself).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-07 08:32:32 -05:00
HDF Admin
259247fc32 [svn-r7558] Snapshot version 1.7 release 5 2003-10-07 06:15:05 -05:00
Quincey Koziol
c708028588 [svn-r7553] Purpose:
Improved algorithm (bug fix, sorta)

Description:
    The internal algorithm for adding new IDs in the ID manager code (H5I) was
adding new IDs to the front of the linked list and never adjusting the order
of the items on the list (unless an ID was deleted).  If many new objects were
created, they would push earlier ones _way_ down the list (especially if the
objects were being leaked in the application, as they appear to be in the
current HDF-EOS5 library) and would cause O(n) search time for items on the
list.
    The ID caching code in the ID manager was avoiding this behavior sometimes,
but it was adding IDs that were looked up to the very tail of the cache and
they would frequently leave the cache before helping.

Solution:
    Implemented a "move to front" scheme for the linked list of IDs, which
improves the lookup situation for frequently accessed objects.

    Removed ID caching code now, as the "move to front" algorithm actually
works better.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-10-06 14:14:15 -05:00
Quincey Koziol
98dfa67e89 [svn-r7551] Purpose:
Bug/feature fix.

Description:
    Relax restriction on parallel writing to compact datasets to allow partial
I/O.

    Updates to reference manual mentioning the issues involved are delayed until
reference manual 'lock' is removed later this week.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too minor to require h5committest
2003-10-06 10:17:09 -05:00
Quincey Koziol
b8201120fc [svn-r7538] Purpose:
Bug fixes and code cleanup

Description:
    Lots of changes here:
        - Fixed bug #691 - when shared datatypes are used in attributes they
            are incorrectly copied into the attribute instead of referring
            the the named datatype in the file.  This required bumping the
            version of the attribute message.  The new version of the attribute
            message is only written out when a shared datatype is used in
            the attribute.  [Also, this format change made the size of the
            attribute smaller.]
        - Added information to attribute debugging routine so that shared
            datatypes are displayed correctly with the h5debug tool.
        - Refactored the H5O* routines to extract code that was common to
            several routines into subroutines to call.
        - Added 'link' method for H5O message sub-classes, which increments
            the link count on shared objects when a message is created which
            shares them.
        - Corrected [unreported] bug where the link count was not being
            decremented on the shared object when a object header message
            with a reference to that object was deleted from the file.
        - Reduced size of shared message from 49 bytes (which was incorrect
            anyway and should have been 48 bytes) to 10 bytes, which required
            bumping the version of "shared" messages.
        - Refactored some of the shared datatype routines to allow for easier
            queries of "committedness" internally to the library and also
            added routine to easily increment/decrement the reference count of
            a shared datatype.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-10-05 16:12:26 -05:00
Raymond Lu
7e79a8d71e [svn-r7507] *** empty log message *** 2003-09-24 14:26:50 -05:00
HDF Admin
be77a044fe [svn-r7502] Snapshot version 1.7 release 4 2003-09-21 06:12:33 -05:00
Quincey Koziol
d7bde16f45 [svn-r7480] Purpose:
Bug fix

Description:
    The MPI_File_set_size() routine on ASCI Red is not able to extend files
so that they are larger than 2GB.

Solution:
    Add an extra macro which controls whether MPI_File_set_size() can handle
>2GB offsets or if our "older" way of reading a byte, then writing a byte at
the appropriate offset should be used.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-16 12:33:00 -05:00
HDF Admin
fb44f88bc6 [svn-r7472] Snapshot version 1.7 release 3 2003-09-14 05:50:14 -05:00
Quincey Koziol
965a4cd7c9 [svn-r7468] Purpose:
Code cleanup, etc.

Description:
    Generalize Ray's datatype fixes to handle packing compound datatypes which
are the base type of an array or variable-length type, etc.

    Also track "packedness" of a compound datatype from it's creation, instead
of only setting the 'packed' flag after the datatype was explicitly packed.

    Updated docs to reflect that a compound datatype is allowed to grow (but
not shrink).

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-11 23:35:48 -05:00
Quincey Koziol
6a9188f0cb [svn-r7457] Purpose:
Bug fix.

Description:
    Correct bug where a file opened twice, once with read-write permission
and once with read-only permission would cause closing the file with the
read-only file ID to fail because it was trying to flush information out
of the file.

Solution:
    Check the permissions on file IDs that are being closed and only flush
when the particular file ID was opened with write permission.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest

Misc. update:
2003-09-10 13:32:28 -05:00
Quincey Koziol
303d35202a [svn-r7441] Purpose:
Bug fix

Description:
    The VFL driver ID in a file's access proprty list wasn't being reference
counted correctly, causing the VFL driver to get prematurely closed after
several calls to "H5Pget_access_plist->H5Pclose".

Solution:
    Increment VFL driver ID reference count when copy of file's access property
list is made in H5Pget_access_plist()

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-03 21:04:45 -05:00
HDF Admin
38d6179b31 [svn-r7436] Snapshot version 1.7 release 2 2003-08-31 03:33:11 -05:00
Quincey Koziol
f92d7f73df [svn-r7434] Purpose:
Bug Fix and code cleanup

Description:
    Correct error in H5T_detect_class that was causing nested compound datatypes
with to not detect the datatype class of fields correctly, which caused errors
with fill-values, variable-length datatypes and chunks later on.

    Return the rank of the array datatype from H5Tget_array_dims(), like
H5Sget_dims().

    Lots of cleanups to datatype code, to make the handling of arrays, compound
types, variable-length strings and sequences and enumerated types more
consistent and robust.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-08-30 20:48:01 -05:00