Commit Graph

4221 Commits

Author SHA1 Message Date
Quincey Koziol
03ccb39fa9 [svn-r5720] Purpose:
New Feature

Description:
    Added support for collective I/O with MPI and HDF5 access methods.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-27 10:09:12 -05:00
Quincey Koziol
925d61b775 [svn-r5718] Purpose:
New Feature

Description:
    Added interleaved block pattern to MPI and HDF5 access methods.  Also,
    changed the blocks to just use the same size as the regular blocks for I/O,
    instead of a separate block size.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-27 08:11:31 -05:00
Albert Cheng
218c0a70e7 [svn-r5716] Description:
Fixed a typo in LT_LINK_EXE=... line.
Platforms tested:
    modi4 (pp)
2002-06-27 00:20:46 -05:00
Bill Wendling
80b47a7f58 [svn-r5710] Purpose:
Bug Fix
Description:
    Was nulling out the RUNPARALLEL and other macros which shouldn't be
    nulled out.
Solution:
    Removed the code which does the nulling out of those macros.
2002-06-25 16:25:51 -05:00
Quincey Koziol
f99e630ccb [svn-r5707] Purpose:
Bug Fix.

Description:
    Contiguous types created for "all" and contiguous hyperslab selections was
    not being committed before using them.

Solution:
    Commit them. :-)  This fixes the problems on the LLNL Blue Pacific machine.

Platforms tested:
    LLNL Blue Pacific w/parallel.
2002-06-25 15:19:20 -05:00
Bill Wendling
95df5a6a01 [svn-r5701] Purpose:
Bug Fix
Description:
    Making of the programs when using the --srcdir option didn't work. It
    couldn't find the files to compile.
Solution:
    Specified where the files are by prepending the $(srcdir) macro to
    them.
Platforms tested:
    Linux
2002-06-25 13:59:11 -05:00
Quincey Koziol
154e4a384e [svn-r5696] Purpose:
Update FreeBSD release info.
2002-06-25 10:44:15 -05:00
Bill Wendling
fa453b42de [svn-r5692] Purpose:
Bug Fix
Description:
    Ported the bug fix for h5cc failing on platforms from the 1.4 branch
    to 1.5 branch. In a nutshell, when we ran "make check" in the
    examples directory, libtool would get in the way trying to compile
    things to .lo for us. but we didn't want libtool to do this.
Solution:
    Made it so that make check will compile only the .c files to
    executables without the intervening .lo stage...
Platforms tested:
    Linux (Dangermouse and Platinum)
2002-06-24 17:34:35 -05:00
Quincey Koziol
ace1f474b7 [svn-r5690] Purpose:
Bug Fix

Description:
    When parallel I/O is used, the MPI-I/O VFL driver uses a "lazy" model to
    call MPI_File_set_view() in order to reduce the number of calls to this
    function.  However, this is unsafe, because if a collective I/O which uses
    MPI derived types (and thus uses MPI_File_set_view()) is immediately
    followed by an independent I/O, the code will attempt to call
    MPI_File_set_view() in order to switch back to the default view of the
    file.  MPI_File_set_view() is a collective call however, and this causes
    the application to hang.

Solution:
    Removed "lazy" MPI_File_set_view() code, instead set the file view when it
    is needed (with MPI derived types) and immediately set the file view back to
    the default view before leaving the I/O routine.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel.  Also, tested with the latest development
    and release code for the SAF library, which now works correctly with this
    change.  (Although the release branch of the SAF library seems to have a
    bug, this 1.4.4 release candidate code gets as far as the version the SAF
    library is released on top of (1.4.2-patch1, I believe)).
2002-06-24 08:47:14 -05:00
Albert Cheng
4e184b81a2 [svn-r5686] Purpose:
sync with v1.4 of usage messages.
Platforms tested:
    eirene pp.
2002-06-19 22:44:20 -05:00
Quincey Koziol
b1514ea26d [svn-r5680] Purpose:
New feature.

Description:
    There is some discussion among the SAF team as to whether it is better
    to use MPI derived types for raw data transfers (thus needing a
    MPI_File_set_view() call), or whether it is better to use a sequence of
    low-level MPI types (i.e. MPI_BYTE) for the raw data transfer.

Solution:
    Added an in internal flag to determine whether derived types are preferred
    (the default), or whether they should be avoided.  An environment variable
    ("HDF5_MPI_PREFER_DERIVED_TYPES") can be set by users to control whether MPI
    types should be used or not.  Set the environment variable to "0" (i.e.:
    'setenv HDF5_MPI_PREFER_DERIVED_TYPES 0' to avoid using MPI derived types.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 15:16:20 -05:00
Quincey Koziol
8aa24fc44a [svn-r5679] Purpose:
Code cleanup

Description:
    Changed ifdef name from "VERBOSE" to "BARRIER_CHECKS", to better describe
    what it affects.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 13:29:12 -05:00
Quincey Koziol
3659ae4176 [svn-r5677] Purpose:
Code improvement

Description:
    Some small code cleanups and took out the code the was turning off the
    metadata cache for parallel I/O (!)

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 12:07:52 -05:00
Quincey Koziol
ea052ffd55 [svn-r5674] Purpose:
Code cleanup

Description:
    Removed more compiler warnings, etc.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel
2002-06-19 11:06:55 -05:00
Quincey Koziol
29a0f3e358 [svn-r5670] Purpose:
Code cleanup

Description:
    Remove "COALESCE_READS" ifdefs, which were brought in by the DPSS VFL
    driver and are no longer used.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 08:42:02 -05:00
Quincey Koziol
aefc39ac32 [svn-r5667] Purpose:
Code cleanup

Description:
    Turn on more warnings in the IRIX builds and clean them up.

Platforms tested:
    IRIX64 6.5 (modi4) w/parallel
2002-06-19 07:54:53 -05:00
Quincey Koziol
64b7be4a52 [svn-r5662] Purpose:
Bug fix.

Description:
    The chunking code was using internal allocation routines to put blocks on
    a free list for reuse, instead of using the system allocation routines (ie.
    malloc, free, etc.).  This causes problems when user filters attempt to
    allocate/free chunks for their algorithm's use.

Solution:
    Switched the chunking code back to using the system allocation routines,
    we can address performance issues with them if it becomes a real problem.

Platforms tested:
    Linux 2.2.x (eirene) && IRIX64 6.5 (modi4)
2002-06-18 09:39:26 -05:00
Quincey Koziol
972707dcd3 [svn-r5660] Purpose:
Code optimization

Description:
    Avoid creating MPI types (and thus requiring a MPI_File_set_view() call)
    when contiguous selections are used for dataset I/O.  This should be a
    performance improvement for those sorts of selections.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel && IRIX64 6.5 (modi4) w/parallel & FORTRAN
2002-06-18 09:02:17 -05:00
Bill Wendling
ad9ca47cec [svn-r5659] Purpose:
Feature Add
Description:
    Allow you to specify the percentage you'd like a random buffer to be
    compressible. It can go from 0% (non-compressible) to 100%
    (completely compressible).
Platforms tested:
    FreeBSD
2002-06-17 16:02:33 -05:00
Albert Cheng
91170d97dc [svn-r5657] Updated. 2002-06-17 15:09:38 -05:00
Bill Wendling
5e12a077ab [svn-r5656] Purpose:
Feature Add
Description:
    Use the /dev/urandom device for random data if it's available. (That
    is stat() doesn't return a -1 when ran on it). Use random() otherwise.
Platforms tested:
    Linux, FreeBSD
2002-06-17 15:01:17 -05:00
Bill Wendling
12e0c2e474 [svn-r5654] Purpose:
Feature Add
Description:
    Added a feature that outputs the total time spent compressing all of
    the blocks of data.
Platforms tested:
    Linux
2002-06-17 12:45:06 -05:00
Quincey Koziol
15a916df4b [svn-r5652] Purpose:
Code cleanup

Description:
    Use dataset transfer property list to hold information about the MPI types
    for the current transfer, instead of setting pseudo-global variables in
    the file's struct.

Platforms tested:
    Linux 2.2.x (eirene) w/parallel & IRIX64 6.5 (modi4) w/parallel & FORTRAN
2002-06-17 11:38:43 -05:00
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