Commit Graph

20 Commits

Author SHA1 Message Date
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
Bill Wendling
09da63a8b9 [svn-r7026] Purpose:
Bug Fix

Description:
    On HP-UX platforms, the "open()" function needs to specify that the
    file being created has permissions S_IRWXU, which means that it gives
    read/write/execute permissions to the user who created the file (how
    nice of it!).

Solution:
    Added the S_IRWXU flag to the open() function call.

Platforms tested:
    HP-UX 11
    Arabica,
    Modi4,
    Verbena

Misc. update:
2003-06-11 17:18:37 -05:00
Bill Wendling
36a0b8e3dd [svn-r6822] Purpose:
Code Improvements/Bug Fixes

Description:
    Comparison of equality of a double/float variable to 0.0 is not
    guaranteed to work and is bad practice.

Solution:
    Test that the absolute value of the variable is < a very small
    positive number.

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

Misc. update:
2003-05-07 15:49:51 -05:00
Bill Wendling
eefb691edf [svn-r6809] Purpose:
Bug Fix

Description:
    The "mkstemp()" function isn't as portable as I hoped it would be (it
    fails on Crays and other beasts).

Solution:
    Removed and just use a fixed filename instead.

Platforms tested:
    Linux
    Solaris w/ zlib
    Irix w/ zlib

Misc. update:
2003-05-06 16:04:39 -05:00
Quincey Koziol
8e391ad35a [svn-r6269] Purpose:
Code cleanup

Description:
    Various code cleanups to allow the development branch to be compiled with
    a C++ compiler (i.e. CC=g++ )

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir) C++
2003-01-13 08:15:49 -05:00
Quincey Koziol
bc2d9432b3 [svn-r6131] Purpose:
Code cleanup

Description:
    Clean up compiler warnings from IRIX64 builds.

Platforms tested:
    IRIX64 6.5 (modi4)
2002-11-21 11:23:38 -05:00
Quincey Koziol
6aa57414fa [svn-r6112] *** empty log message *** 2002-11-20 08:04:10 -05:00
Quincey Koziol
5e7f799ca9 [svn-r5985] Purpose:
Code cleanup

Description:
    Cleaned up more compiler warnings...

Platforms tested:
    FreeBSD 4.6 (sleipnir) w and w/o parallel
    Linux 2.2.x (eirene) w/FORTRAN & C++
    Solaris 2.7 (arabica) w/FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN & parallel
2002-10-14 13:34:47 -05:00
Bill Wendling
ceba60418c [svn-r5807] Purpose:
Update, Bug Fix, and Feature Add
Description:
    - Updated how AC_{ENABLE,WITH} help messages were being generated.
      Autoconf now gives you an AC_HELP_STRING macro to use to create
      them.

    - Fixed the problem with Linux LFS on RedHat 7.3 machines. It wasn't
      finding getdents64(), so we can't rely on that being present
      anymore...

    - Added GPFS detection and setting.

    - Updated how compression is specified. It's no longer necessary to
      test for HAVE_ZLIB_H, HAVE_LIBZ, and HAVE_COMPRESS2. The one macro
      {H5_}HAVE_COMPRESSION takes care of all of these.
Solution:
    Changed the check for Linux LFS from looking for getdents() to
    looking at the version number of the kernel (using the uname -r
    command). You can still override with the --enable-linux-lfs switch
    if you really believe that your <2.4 kernel has LFS support.
Platforms tested:
    Linux (2.2 and 2.4)
2002-07-17 11:10:46 -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
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
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
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
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
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
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
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