Commit Graph

25 Commits

Author SHA1 Message Date
MuQun Yang
054aabaea6 [svn-r13876] Purpose: Fix mingw errors
Description:
Removed sys/uio.h dependency, which was originally added to clean up compiler warnings.  It is no longer needed, and needs to be removed to compile on mingw, which doesn't have this header.

Tested:
kagiso, duty, mingw
2007-06-18 17:17:10 -05:00
Scott Wegner
87a41d4286 [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform.
Tested:
Visual Studio (32- and 64-bit) on Win XP
2007-05-18 10:14:43 -05:00
Albert Cheng
ed7d456e51 [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice.
Tested platform:
Kagiso only since it is only a comment block change.  If it works in one
machine, it should work in all, I hope.  Still need to check the parallel
build on copper.
2007-02-07 09:56:24 -05:00
Quincey Koziol
34bd25f361 [svn-r11144] Purpose:
New port

Description:
    Elena asked me to check in her NEC SX-6 work, so here it is! :-)

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    NEC SX-6 (by Elena)
2005-07-22 20:55:12 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -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
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