4398 Commits

Author SHA1 Message Date
Quincey Koziol
2ae3f6b866 [svn-r5650] Purpose:
Code cleanup

Description:
    Change MPI-I/O code to use the address of the dataset for the displacement,
    instead of having a separate displacement value.  Removed displacement
    parameter from H5FD_mpio_setup parameters.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel & IRIX64 6.5 (modi4) w/parallel.
2002-06-17 09:12:34 -05:00
Albert Cheng
90abe2ed25 [svn-r5649] Bugs in src/Makefile and test/Makefile have been resolved. 2002-06-17 03:16:05 -05:00
Bill Wendling
81ab0b5efc [svn-r5645] Purpose:
Possible Bug Fix
Description:
    There seems to be a problem with the h5cc script picking up old
    header files. This may have something to do with the CPPFLAGS macro
    being set to some nefarious thing and the compiler looking in those
    directories for the header files instead of the one where HDF5 is
    actually installed.
Solution:
    Put the -I$includedir first.
Platforms tested:
    None...This is really triggered by the nightly tests. I'm kind of
    hoping that this will fix things...
2002-06-16 10:26:47 -05:00
Quincey Koziol
6c9733c4ea [svn-r5636] Purpose:
Default change

Description:
    Enable the use of MPI types for collective I/O by default.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel
2002-06-14 15:08:31 -05:00
Albert Cheng
ae10cd5e83 [svn-r5633] Updated. 2002-06-14 10:12:59 -05:00
Elena Pourmal
08e9bf64be [svn-r5630]
Purpose:
    [is this a bug fix? feature? ...]
Description:
    [describe the bug, or describe the new feature, etc]
Solution:
    [details about the changes, algorithm, etc...]
    [Please as detail as you can since your own explanation is
    better than others guessing it from the code.]
Platforms tested:
    [machines you have tested the changed version.  This is absolute
    important.  Test it out on at least two or three different platforms
    such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and
    64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
2002-06-13 17:44:32 -05:00
Albert Cheng
9cee5851f3 [svn-r5627] Purpose:
Bug fix
Description:
    Old setup put $(srcdir)/h5redeploy in the install list but this
    same list is used for clean too, thus the file is removed from
    source.  That is bad.
Solution:
    Set it to use a cp to do it.  Need to change the source version
    name to something else because for one, it is confusing to use
    the same name. For another, if the build is done in place (i.e.,
    not using --srcdir), the source file is removed, again.
    So, renamed it with the .in suffix.  Who knows, it may take
    more processing than just cp when more features are added to it.
Platforms tested:
    Eirene
2002-06-13 08:53:55 -05:00
Albert Cheng
124c299db4 [svn-r5625] Updated. 2002-06-13 06:57:10 -05:00
Albert Cheng
2237d52cd0 [svn-r5623] Purpose:
It has been replaced by the more general locate_sw.
2002-06-13 06:53:50 -05:00
Albert Cheng
aaf7818a66 [svn-r5621] Purpose:
feature
Description:
    Removed the search of HDF4 library specifically.
    Replaced the locate_hdf4 with a more general locate_sw.
    Added the search of zlib.
Platforms tested:
    eirene and all hdf group machines.
2002-06-13 06:52:22 -05:00
Albert Cheng
ceff48eb58 [svn-r5619] The TFLOPS configure instructions have been simplified.
This file is no longer needed or useful.
2002-06-13 06:45:41 -05:00
Albert Cheng
81a53a5950 [svn-r5617] Purpose:
Bug fix
Description:
    removed a debug code that was left in by mistake.
Platforms tested:
    eirene
2002-06-13 06:32:12 -05:00
Albert Cheng
9d7f7c5f9b [svn-r5613] Purpose:
New feature
Description:
    This search for various software (hdf4, hdf5, zlib) among possible
    locations.  It is customized toward NCSA machines structure.
Platforms tested:
    eirene.
2002-06-12 18:16:03 -05:00
Albert Cheng
f0a98bd85b [svn-r5612] Added h5redeploy to the install list.
Tested on eirene.
2002-06-12 15:14:07 -05:00
Albert Cheng
596e3da561 [svn-r5610] Updated with the added h5redeploy tool. 2002-06-12 15:13:11 -05:00
Albert Cheng
665ea1c36f [svn-r5606] Purpose:
New tool
Description:
    This updates compiler tools (e.g., h5cc) with new directory where
    the HDF5 software has been installed.
Platforms tested:
    modi4.
2002-06-12 14:31:53 -05:00
Quincey Koziol
1ae81a8ede [svn-r5605] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings...

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-12 13:24:25 -05:00
Quincey Koziol
bdefbb5cba [svn-r5603] Purpose:
Bug fix

Description:
    I/O on "Regular" hyperslab selections could fail to transfer correctly
    if the number of elements in the selection's row did now fit "evenly"
    into the buffer being used for the transfer.

Solution:
    Correct the calculation of the block & count offsets within the optimized
    "regular" hyperslab routines.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-12 12:01:01 -05:00
Bill Wendling
3bbc9285cf [svn-r5601] Purpose:
More Output
Description:
    Added some more output, including the compression ratio.
Platforms tested:
    Linux, FreeBSD
2002-06-12 10:56:10 -05:00
Quincey Koziol
1b082cf2c2 [svn-r5597] Purpose:
Code cleanup

Description:
    The test for inserting a compound datatype into itself (which should fail)
    is issuing warnings about this failure.

Solution:
    Turn the warnings off during this test.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-11 15:02:27 -05:00
Elena Pourmal
2206ffc090 [svn-r5596]
Purpose:
    Bug #774 fix
Description:
    Added a test for the H5Tenum_nameof and H5Tenum_valueof functions.
    Values that do not exists in the enumeration type are supplied to
    the functions; functions should fail instead of succeeding.
Platforms tested:
    Solaris 2.7 and Linux 2.2.18
2002-06-11 14:34:02 -05:00
Elena Pourmal
bd3d277cd7 [svn-r5595]
Purpose:
    Bug #774 fix
Description:
    H5Tenum_valueof and H5Tenum_nameof functions did not fail
    when non-existing name or non-existing value were supplied.
    This happened because binary search algorithm did not check
    if value or name found during the search were equal to the supplied
    one.
Solution:
    Added an appropriate check condition.
Platforms tested:
    Solaris 2.7 and Linux 2.2.18
2002-06-11 14:31:19 -05:00
Bill Wendling
9075854dd9 [svn-r5591] Purpose:
Update
Description:
    Explained that, if the user uses the "make install prefix=NEW_DIR"
    option, they'll need to modify the installed h5cc file to reflect the
    change.
2002-06-11 12:30:33 -05:00
Bill Wendling
238b9488c1 [svn-r5590] Purpose:
Bug Fix
Description:
    The test for compression needed to be reversed.
Solution:
    Instead of "!(defined...) used just "(defined..."
Platforms tested:
    Modi4
2002-06-11 12:21:12 -05:00
Quincey Koziol
d81a04ff48 [svn-r5589] Purpose:
Bug fix.

Description:
    H5P_get was reading a 'hsize_t' field into a 'size_t' variable, causing
    problems on the HP's and Windows.

Solution:
    Changed the variable to be an hsize_t

Platforms tested:
    HP/UX 11.0 (kelgia)
2002-06-11 11:53:26 -05:00
Bill Wendling
1721bcdbb5 [svn-r5587] Purpose:
Bug Fix take 2
Description:
    The check for ZLIB_H wasn't sufficient.
Solution:
    Used the test for compression stuff that was in the test/dsets.c
    file.
2002-06-11 11:24:16 -05:00
Quincey Koziol
33a1bc03c4 [svn-r5586] Purpose:
Bug Fix

Description:
    H5Dcreate and H5Tcommit allow "empty" compound and enumerated types (i.e.
    ones with no members) to be stored in the file, but this causes an assertion
    failure and is somewhat vapid.

Solution:
    Check the datatype "makes sense" before using it for H5Dcreate and
    H5Tcommit.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-11 11:03:04 -05:00
MuQun Yang
e4a300b04e [svn-r5584]
Purpose:
update windows project
Description:
H5Tinit.c is manually maintained on w2k, FUNC_ENTER and FUNC_LEAVE need to be consistent with the
rest changes of library.
Solution:
Platforms tested:
w2000(many tests failed not due to the check-in, somewhere at H5P.c is not working correctly)
2002-06-11 10:35:45 -05:00
Quincey Koziol
22385db35b [svn-r5582] Purpose:
Code cleanup

Description:
    Need to change FUNC_ENTER_NOINIT to FUNC_ENTER_API_NOINIT for
    H5dont_atexit()

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 16:15:09 -05:00
Bill Wendling
5afb12313a [svn-r5581] Purpose:
Bug Fix
Description:
    On AIX machines, the number of script interpreters which ran the
    testh5dump.sh script would strip too many of the quotes away, causing
    problems if you're quoting something with a space in it.
Solution:
    Just got rid of the spaces and used ',' instead.
Platforms tested:
    AIX and Linux
2002-06-10 15:26:23 -05:00
Bill Wendling
2f1538cd7a [svn-r5580] Purpose:
Bug Fix
Description:
    Not all platforms have zlib. This shouldn't be compiled then.
Solution:
    ifdef-ed the code out if the zlib wasn't specified.
Platforms tested:
    Linux
2002-06-10 14:53:29 -05:00
Quincey Koziol
3ca52ffcc2 [svn-r5573] Purpose:
Bug fix (#620)

Description:
    Change slightly misleading error message when creating attribute with same
    name as existing attribute to something a bit more clear.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 12:51:32 -05:00
Quincey Koziol
3f225a14b7 [svn-r5571] Purpose:
Bug Fix (#709)/Code improvement.

Description:
    Allow chunks for chunked datasets to be cached when file is open for
    read-only access.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-10 12:35:34 -05:00
Quincey Koziol
7a272fc660 [svn-r5567] Purpose:
Bug fix (bug #777)

Description:
    Current code allows a compound datatype to be inserted into itself.

Solution:
    Check if the ID for the member is the same as the ID for the compound
    datatype and reject it if so.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 12:07:38 -05:00
Quincey Koziol
8bb2a0cfd8 [svn-r5566] Purpose:
Bug fix (bug #777)

Description:
    Current code allows a compound datatype to be inserted into itself.

Solution:
    Check if the ID for the member is the same as the ID for the compound
    datatype and reject it if so.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 12:02:10 -05:00
Quincey Koziol
bdef89f41c [svn-r5563] Purpose:
New Feature

Description:
    Add H5P[set|get]_small_data_block_size API function, per our discussions at
    last week's HDF5 meeting.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 10:47:35 -05:00
Quincey Koziol
41aa2ec073 [svn-r5562] Purpose:
Code cleanup

Description:
    Allow H5FD_free to return successfully (but ignore) freeing objects with
    size 0.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 10:31:06 -05:00
Quincey Koziol
5f2b8eee13 [svn-r5560] Purpose:
Bug Fix for bug #789

Description:
    Creating a 1-D dataset region reference caused the library to hang (go into
    an infinite loop).

Solution:
    Corrected algorithm for serializing hyperslab regions.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-10 10:19:19 -05:00
Bill Wendling
c6d6257ba2 [svn-r5556] Purpose:
Feature Add
Description:
    Added ability to fill the data buffer with random data.
Platforms tested:
    Linux
2002-06-07 17:23:02 -05:00
Bill Wendling
b77825d9a7 [svn-r5555] Purpose:
Feature Update
Description:
    It now writes an uncompressed version of the file out. The first
    tests didn't look all that wonderful. Here is a typical output:

        Buffer size == 1MB
            Uncompressed Write Time: 0.55s
            Uncompressed Write Throughput: 116.00MB/s
            Compressed Write Time: 8.76s
            Compressed Write Throughput: 7.31MB/s
Platforms tested:
    Linux
2002-06-07 17:06:27 -05:00
Bill Wendling
c8721abdbc [svn-r5554] Purpose:
Compress I/O Test Add
Description:
    This is the initial check-in of the compress I/O test. It will write
    out compressed buffers to a file.

    I need to implement a write of uncompressed data first for
    comparison...
Platforms tested:
    Linux
2002-06-07 16:06:10 -05:00
Quincey Koziol
ff3f6f1a67 [svn-r5551] Purpose:
Bug fix.

Description:
    Added extra check to locations where metadata and "small data" blocks were
    being returned to the file's list of free space to avoid freeing 0-sized
    blocks.  This should fix the problems in last night's daily tests.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-07 09:15:22 -05:00
Quincey Koziol
35c3c893e8 [svn-r5550] Purpose:
Code Improvement

Description:
    Split the metadata accumulator code into two parts: one for allowing writes
    of the accumulator buffer during reads (when the buffer is dirty and needs
    to be flushed to disk in order to hold the new metadata being read in) and
    another for only allowing writes of the buffer during writes.

    This allows the MPI-I/O VFL driver to use the metadata accumulator (but
    only during writes) and benefit from the reduced number of metadata I/O
    operations that it brings.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-06 22:34:21 -05:00
Quincey Koziol
01f102c2d4 [svn-r5547] Purpose:
Bug fix.

Description:
    H5Fopen call was using H5P_DEFAULT instead of file access flags

Solution:
    Changed H5P_DEFAULT to H5F_ACC_RDONLY

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-06 14:09:58 -05:00
Quincey Koziol
b5dfb3116d [svn-r5545] Purpose:
Code cleanup

Description:
    Back out [apparently] unnecessary include of H5F package include files.

Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-06 10:43:02 -05:00
Quincey Koziol
74c3fec9f5 [svn-r5543] Purpose:
Bug fix.

Description:
    Return H5S_all_opt_possible() prototype to original position in H5Spkg.h,
    it is not related to parallel I/O.
Platforms tested:
    FreeBSD 4.5 (sleipnir)
2002-06-06 10:00:33 -05:00
Quincey Koziol
754f4780f2 [svn-r5542] Purpose:
Code cleanup/bug fix

Description:
    Unused space in the file was being "dropped on the floor" when the metadata
    or "small data" block was moved to a new location in the file and there was
    unused space in the old block.

Solution:
    Put the space left in the allocation block into the free list of space for
    the file.  This allows it to be [potentially] reused and sometimes allows
    the file to be smaller.

Platforms tested:
    Solaris 2.7 (arabica) w/FORTRAN and FreeBSD 4.5 (sleipnir) w/C++
2002-06-06 08:54:26 -05:00
Albert Cheng
7292287c89 [svn-r5539] Description:
Added the '-D v' option for "verify data correctness".
Platforms tested:
    modi4, eirene, burrwhite (all pp).
2002-06-05 23:58:29 -05:00
Quincey Koziol
b803308acd [svn-r5538] Purpose:
Code improvement.

Description:
    Added boot block and driver info block checksumming feature to the shared
    file information.  This prevents these blocks from being written out
    multiple times when they haven't changed.

    This reduces the number of I/O operations which hit the disk for my test
    program from 15 to 14 (i.e. from 393 to 14, overall).

Platforms tested:
    Solaris 2.7 (arabica) w/FORTRAN and FreeBSD 4.5 (sleipnir) w/C++
2002-06-05 13:18:56 -05:00
Quincey Koziol
6b1208407f [svn-r5536] Purpose:
New feature.

Description:
    Added a "small data" block allocation mechanism to the library, similar to
    the mechanism used for allocating metadata currently.

    See the RFC for more details:
        http://hdf.ncsa.uiuc.edu/RFC/SmallData/SmallData.html

    This reduces the number of I/O operations which hit the disk for my test
    program from 19 to 15 (i.e. from 393 to 15, overall).

Platforms tested:
    Solaris 2.7 (arabica) w/FORTRAN and FreeBSD 4.5 (sleipnir) w/C++
2002-06-05 10:23:20 -05:00