Commit Graph

3145 Commits

Author SHA1 Message Date
Quincey Koziol
a780719ff4 [svn-r3962] Purpose:
Code cleanup
Description:
    Incremented error count when error conditions occur.
Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-06-05 17:59:47 -05:00
Elena Pourmal
e8ed850fa8 [svn-r3959]
Purpose:
    Bug fix
Description:
    All examples used "FILE"  string in the #define preprocessor
    directive. That caused error on Windows platforms since
    FILE is a structure returned by fopen calls.
Solution:
    Changed "FILE" to "H5FILE_NAME"
Platforms tested:
    Linux (eirene)
2001-06-05 13:00:37 -05:00
Elena Pourmal
5fcefe52a2 [svn-r3958]
Purpose:
    HPUX 11.00 port
Description:
    Redundant USE statements triggered a bug in the HP F90 compiler.
Solution:
    Source code was rearranged to avoid redundancy: definitions of the
    object and dataset region reference types were moved from H5Rff.f90
    to H5f90global.f90; "USE H5R" statement was removed from H5Rff.f90.
    Now H5Rff.f90 uses "USE H5GLOBAL" statement only as the rest of
    the modules.

Platforms tested:
    HPUX 11.00 (kelgia), Solaris 2.7 (arabica)
2001-06-04 16:28:06 -05:00
Dan Wells
53f03a4c72 [svn-r3957]
Purpose:
    Bug fix
Description:
    The MPI I/O calls were not being traced.
Solution:
    Changed the calls to traceEvent from the MPI I/O tracing to HDFtraceEvent
    in the Pablo Traceing.
Platforms tested:
    Irix 32 and 64, HP VClass 32 and 64 bit and Solaris
2001-06-04 13:12:50 -05:00
Albert Cheng
88b91373d6 [svn-r3955] Purpose:
Bug fix
Description:
    This file is not C++ friendly/compliant because the protocols
    are not bracketed by the #ifdef __cplusplus macro.  This was
    discovered by a user attempting to use C++ with enable-parallel.
Solution:
    Though we are not supporting C++ in parallel mode yet, it is
    simple to add the macro bracket.  It would help if C++ is supported
    in the future.
Platforms tested:
    modi4 (64,n32) and eirene (mpich).
2001-06-01 11:18:01 -05:00
Bill Wendling
fcf16f2453 [svn-r3952] Purpose:
Update
Description:
    Added the fact that HP V2500 & N4000 are now supported.
2001-05-30 14:51:39 -05:00
Binh-Minh Ribler
d898338173 [svn-r3951]
Purpose:
    Removing known problem
Description:
    Removed the note about the c++ test compresion failed on Linux.
    This was meant to be in the RELEASE.txt of 1.4 branch, but I put
    it here by mistake.  The problem is fixed now, I'll make a note
    in the correct RELEASE.txt.
Platforms tested:
    Keeping my fingers crossed on this!
2001-05-29 18:58:28 -05:00
Bill Wendling
a56b6bedd4 [svn-r3950] Purpose:
Updated
Description:
    Showed removal of versinfo
2001-05-29 14:43:29 -05:00
Albert Cheng
ceaa84bb69 [svn-r3948] Description:
This script file is not used any more.
Platforms tested:
    "grep versinc *" does not return any reference.  Verified with Quincey too.
2001-05-29 13:43:28 -05:00
Bill Wendling
1c61d72cf1 [svn-r3946] Purpose:
Code Simplification
Description:
    H5Pget_class() was being called from the H5.c module. Changed it so
    that it calls H5P_get_class() instead. Also, the H5Pget_class() and
    H5P_get_class() functions were identical. Changed so that
    H5Pget_class() calls H5P_get_class().
Platforms tested:
    Linux
2001-05-29 10:53:25 -05:00
Bill Wendling
07b035e2d4 [svn-r3944] Purpose:
Fixlet
Description:
    Some variables weren't being assigned before being used.
Solution:
    Initialized with '\0'.
Platforms tested:
    Linux
2001-05-25 16:00:41 -05:00
Bill Wendling
f9653273a7 [svn-r3942] Purpose:
Update
Description:
    Updated with the latest/greatest version of install-sh.
Platforms tested:
    Linux
2001-05-25 15:02:33 -05:00
Bill Wendling
c604072c6f [svn-r3941] Purpose:
Small Fix
Description:
    Don't delete the /tmp/${USER,LOGIN} directory when we're done with
    it. Also, only do the /tmp/${USER,LOGIN} if this is a parallel
    configured library.
Solution:
    Removed the removal of the /tmp/${USER,LOGIN} directory and added
    checks to determine if we're in a parallel configured library before
    munging the filename...
Platforms tested:
    Linux
2001-05-25 15:01:38 -05:00
Bill Wendling
0112e428a6 [svn-r3940] Purpose:
Update
Description:
    Added mention of support for Linux 2.4.x machines.
2001-05-25 13:49:33 -05:00
Albert Cheng
5d1278c077 [svn-r3939] Snapshot version 1.5 release 6
(Somehow snapshot did not commit these files in the last release.)
2001-05-24 22:15:03 -05:00
Bill Wendling
e98e0fac5a [svn-r3937] Purpose:
Update
Description:
    Described the installation methods for installing parallel HDF5 on
    Linux 2.4 or greater.
Platforms tested:
    Teletype
2001-05-24 09:35:11 -05:00
Bill Wendling
3b252585d0 [svn-r3936] Purpose:
Feature Add
Description:
    Added the feature (not a bug, a FEATURE!) that, if the person has the
    env variables USER or LOGIN set, then it will place the temporary
    files in the "/tmp/$USER" or "/tmp/$LOGIN" directory (in that order).
    This is only if the prefix the user gives is the default one "/tmp".

    After the tests are finished, it will remove the directory for the
    user.
Platforms tested:
    Linux
2001-05-22 18:27:38 -05:00
Bill Wendling
9ac96a9bd3 [svn-r3935] Purpose:
Test Addition
Description:
    I added a small test to determine if the MPI library has a working
    version of the MPI_Get_count() function. If it does, then I define
    the macro:

            MPI_GET_COUNT_WORKS

    This should (hopefully) take care of the kludges in H5FDmpio.c...

    NOTE: This isn't implemented in the H5FDmpio.c file since I don't
    know the code in there and don't know which solution will work. Also,
    the test program I put into the configure script needs to be checked
    on a platform which does have a working MPI_Get_count()
    function...I.e., this is just a first stab.
Platforms tested:
    Linux
2001-05-17 15:26:50 -05:00
Bill Wendling
0d2d6fb97d [svn-r3933] Purpose:
Updated to reflect removal of bin/ directory in fortran/ and c++/
    directories.
2001-05-15 13:05:58 -05:00
Bill Wendling
c9abea2e53 [svn-r3930] Purpose:
Fix
Description:
    Removed the redundant executables here. We just use the ones in the
    top-level of the tree.
Platforms tested:
    Linux
2001-05-15 13:00:20 -05:00
Albert Cheng
83f26c15a2 [svn-r3929] Purpose:
Cleanup old unused code.  Edited couple comments.
Platforms tested:
    modi4,pp
2001-05-13 07:24:44 -05:00
Albert Cheng
b9bcf81f6b [svn-r3927] Purpose:
Bug fix
Description:
    Some mpi.h already includes MPI-IO definitions in it (e.g., SGI,
    SP2).  Made the #include of mpio.h be dependent on whether some
    MPI-IO constant is already defined or not.
Platforms tested:
    modi4 (IRIX64) and IBM SP2.
2001-05-12 23:13:15 -05:00
Albert Cheng
b6265298d8 [svn-r3926] Description:
Changed MPI_File_seek then MPI_File_write or MPI_File_read to just
    MPI_File_write_at and MPI_File_read_at.  Some compiler, e.g., IBM
    mpcc_r does not support MPI_File_seek and MPI_File_read or MPI_File_write.
    This is a better measurement against HDF5 performance since HDF5
    uses MPI_File_write_at and MPI_File_read_at all the times.
    It is a more thread safe to use MPI_xxx_at than the other seek then
    read/write approaches.
Platforms tested:
    modi4 (irix64 parallel), IBM sp2.
2001-05-12 22:54:28 -05:00
HDF Admin
408161748f [svn-r3925] Snapshot version 1.5 release 5 2001-05-12 22:34:19 -05:00
Elena Pourmal
ac946ee749 [svn-r3922]
Purpose:
    Bug fix
Description:
    There was a typo in the gif.h path that I overlooked first time.
Solution:
    Fixed a typo. bin/chkmanifest does not complain anymore.
Platforms tested:
    baldric
2001-05-12 14:12:25 -05:00
Elena Pourmal
7cb85190c8 [svn-r3921]
Purpose:
    Fooling around
Description:
    Added deleted gif.h file
2001-05-12 14:00:43 -05:00
Elena Pourmal
88b6fcfa5d [svn-r3920]
Purpose:
    Bug fix
Description:
    Rushabh added new directory tools/gifconv to CVS. He also modified
    MANIFEST, but  bin/chkmanifest complains this file.
Solution:
    I will try to delete gif.h and then to add it once more.
2001-05-12 13:59:29 -05:00
Rushabh Doshi
2eb5516b09 [svn-r3919]
Purpose:
    Adding new feature
Description:
    Added gif2h5 and h52gif conversion utilities
Solution:
    The utilites follow the framework built for the gif2hdf and hdf2gif
    utilities for hdf4. The main files modified were those that read the
    H5 file and those that write H5 file. In the future, if you wish to
    continue with the framework and extend it to .png or some other fileformat
    the main files to edit will be the gif reader and writer.
    One point to note with h52gif. You have to specify the exact location of
    the image and the palette that it links to. You can choose not to specify
    a palette (uniform grayscale chosen in this case) but you must specify
    image location. In the future, someone could edit the readhdf.c source
    to enable the reader to parse the hdf file and select all images with
    corresponding palettes.
Platforms tested:
    modi4 , eirene , hawkwind , arabica , Ren (NT 4.0) , Personal box (win2k)
2001-05-12 12:55:47 -05:00
Albert Cheng
00eeb08a51 [svn-r3918] Updated. 2001-05-12 12:39:31 -05:00
Albert Cheng
d3764cd73d [svn-r3916] Purpose:
New feature
Description:
    Added verification of H5_VERS_INFO in H5check_version().
Platforms tested:
    Eirene (linux).
2001-05-12 12:33:27 -05:00
Bill Wendling
09d2a0e719 [svn-r3914] Purpose:
Replace Kludge with Another Kludge
Description:
    The MPI_Get_count function isn't found on most systems. We need to
    replace this with a configure call which checks and defines the macro
    H5_HAVE_MPI_GET_COUNT or something.
Solution:
    If-def'ed out the code for everyone (since H5_HAVE_MPI_GET_COUNT is
    never defined anywhere).
Platforms tested:
    SDSC HP N9000
2001-05-11 17:23:58 -05:00
Bill Wendling
6c722c3846 [svn-r3913] Purpose:
Bug Fix
Description:
    FILENAME_MAX is short on some systems. It's better to use PATH_MAX
    which tends to be longer (we hope).
Solution:
    Removed FILENAME_MAX and replaced it with PATH_MAX instead.
Platforms tested:
    Skinner (SDSC HP N9000).
2001-05-11 17:01:08 -05:00
Albert Cheng
aca9a213a9 [svn-r3911] Purpose:
Cosmetic adjustment
Description:
    Changed Version information from just "HDF5 version ..."
    to "HDF5 library version" since this is really about a
    library implementation.
Platforms tested:
    eirene (used "h5vers -s ..." to see the effect.)
2001-05-11 09:08:27 -05:00
Elena Pourmal
434ab9dca2 [svn-r3908]
Purpose:
    Bug fix
Description:
    There was a syntax error on Windows, and I fixed it long time ago but forgot
    to check this file into CVS.
Solution:
    Fix the error.
Platforms tested:
    Windows98
2001-05-10 17:24:12 -05:00
Albert Cheng
37832b192e [svn-r3907] Purpose:
feature
Description:
    -i option update the RELEASE.txt file too.
Platforms tested:
    eirene
2001-05-10 17:15:50 -05:00
Bill Wendling
ce7c9f7b08 [svn-r3906] Purpose:
Bug Fix
Description:
    A parallel example was added to the examples/ subdirectory. This was
    being built whether --enable-parallel was defined or not. This was
    causing some havoc with certain setups.
Solution:
    Added logic to make it so that the parallel examples are made only if
    --enable-parallel is specified.
Platforms tested:
    Linux
2001-05-10 16:43:34 -05:00
Albert Cheng
e1a266b72e [svn-r3904] Purpose:
new feature
Description:
    Added feature to update RELEASE.txt with release information just
    like what happens to README.  Make a copy of RELEASE.txt to accompany
    the tarball file(s).
    Also moved the umask command up to cover all files created on the fly.
Platforms tested:
    eirene.
2001-05-10 10:02:00 -05:00
Albert Cheng
9c0f0b60dc [svn-r3903] Purpose:
Bug fix
Description:
    test_mpio_offset() was called with wrong syntax.  Dumb mistake.
Platforms tested:
    modi4, pp
2001-05-10 08:47:17 -05:00
Albert Cheng
3214f19350 [svn-r3901] Purpose:
Bug fix
Description:
    added a barrier to prevent racing condition before remove file and
    open file.
Platforms tested:
    modi4,pp
cVS: ----------------------------------------------------------------------
2001-05-10 08:40:07 -05:00
Albert Cheng
b563af455f [svn-r3899] Purpose:
Update & new feature
Description:
    Updated with information of the re-implementation of alignment allocation.
    Changed the title line to reflect the current version information correctly.
2001-05-10 00:08:54 -05:00
Robb Matzke
67cad00a75 [svn-r3897] ./hdf5/src/H5public.h
Implemented the string version number stuff for Albert.
2001-05-09 16:24:18 Robb Matzke  <matzke@llnl.gov>
	*: Added definition for H5_VERS_INFO, which is a string
	   representation of the hdf5 version number.
2001-05-09 15:34:38 -05:00
Robb Matzke
b490fc52c9 [svn-r3896] ./hdf5/bin/h5vers
Implemented the string version number stuff for Albert.
2001-05-09 16:21:37 Robb Matzke  <matzke@llnl.gov>
	* setvers: Adjust definition of H5_VERS_INFO, which should be a #define for
	   a string constant.
2001-05-09 15:34:34 -05:00
Bill Wendling
0ab7cc82f0 [svn-r3894] Purpose:
Brain Fix
Description:
    Corrected the broken English I used in the sentence...
Solution:
    Brain transplant
2001-05-08 16:04:28 -05:00
Bill Wendling
8edf0ec438 [svn-r3893] Purpose:
Bug Fix
Description:
    Small fix. The "off_t" typedef's size wasn't being set correctly.
Solution:
    The tests for 64-bit files (getdents64() in particular) needed to
    occur before checking for the sizeof off_t.
Platforms tested:
    Linux
2001-05-08 15:59:31 -05:00
Bill Wendling
93129f271e [svn-r3892] Purpose:
Better Mouse Trap^W^WBug Fix
Description:
    Instead of having the large file support stuff be in the
    config/gnu-flags directory, I added it to the configure.in file so
    that it first checks for the syscall ``getdents64()''. If it finds
    it, then it removes the ``-malign-double'' flag if the GCC compiler
    is 2.95.x since this flag doesn't play well with the LFS stuff.
Solution:
    Added test for getdents64(), if found it removes the -malign-double
    flag if the compiler is 2.95.x. This is done in the configure.in
    file. The gnu-flags file is returned to normal. A new field is added
    to the H5config.h.in file because of the getdents64 check.
Platforms tested:
    Linux
2001-05-08 13:42:42 -05:00
Bill Wendling
4a72a04048 [svn-r3891] Purpose:
Bug Fix
Description:
    Linux does actually support 64 bit files (those greater than 2GB),
    you just have to defined a bunch of, seemingly meaningless, macros in
    order to coax glibc to work with you. 64 bit file support is in the
    2.3 and above kernels by default. For lower, well...upgrade or
    something. The one weird thing, the "-mdouble-align" flag was causing
    hdf5 to barf when the large file support was compiled in there. It
    has something to do with the structures and their alignment or
    something. Very weird.
Solution:
    Added a test to see if we're on a Linux boxen with kernel >2.3 and if
    so then specify the flags for LFS support. Removed the -mdouble-align
    flag if we do use LFS support since it causes damage.
Platforms tested:
    Linux (Dangermouse)
2001-05-07 19:04:50 -05:00
HDF Admin
ee5b6b12af [svn-r3889] Snapshot version 1.5 release 4 2001-05-05 22:33:45 -05:00
Quincey Koziol
076efa3382 [svn-r3885] Purpose:
Document bug fix
Description:
    IMPORTANT! IMPORTANT! IMPORTANT!
    A case where metadata in a file could get corrupted in certain unusual
    sitations was detected and fixed.

    In certain circumstances, metadata could get cached in the raw data cache,
    and if that particular piece of metadata was updated on disk while
    incorrectly cached, the new metadata would get overwritten with the stale
    metadata from the raw data cache when it was flushed out.

    Additionally, I've patched up the raw data cache to be smarter about how
    much it caches and how much I/O it triggers, leading to some speedups.

Solution:
    Changed the raw data I/O routines which perform caching to require a
    parameter with the size of the dataset being accessed and limited the
    cache to no more than that many bytes.

Platforms tested:
    FreeBSD 4.3 (hawkwind)
2001-05-02 10:04:55 -05:00
Quincey Koziol
f21aa7af8c [svn-r3884] Purpose:
Document bug fix
Description:
    IMPORTANT! IMPORTANT! IMPORTANT!
    A case where metadata in a file could get corrupted in certain unusual
    sitations was detected and fixed.

    I _strongly_ suggest upgrading to the latest snapshot after this patch is
    committed.
2001-05-02 10:00:10 -05:00
Albert Cheng
9f0c10b507 [svn-r3883] Updated for newly added files. 2001-05-01 17:32:33 -05:00