Commit Graph

4526 Commits

Author SHA1 Message Date
Quincey Koziol
0475dd9a70 [svn-r6412] Purpose:
Code cleanup

Description:
    Update dependencies and clean up a few warnings.

Platforms tested:
    Linux 2.2 (eirene) w/parallel
2003-02-17 12:11:03 -05:00
Quincey Koziol
946c606452 [svn-r6411] Purpose:
Code cleanup

Description:
    Clean up miscellaneous warnings which have crept into the code.

    Fix "_POSIX_C_SOURCE not defined" warning on FreeBSD.

    Adjust gcc compiler flags to be more concise for production mode.

    Refactor the H5O code so that there is a stronger boundary between code
    in the H5O package and code in the library which just calls H5O routines.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir) serial & parallel and gcc 2.95.4 & gcc 3.2.2

Misc. update:
    Update MANIFEST if you add or remove any file.
2003-02-17 10:54:15 -05:00
Quincey Koziol
fb4be743d3 [svn-r6410] Purpose:
Bug fix.

Description:
    Correct compile errors when configured with --enable-debug=all.

Platforms tested:
    FreeBSD 4.7 (sleipnir) serial & parallel
2003-02-17 09:58:38 -05:00
HDF Admin
65edf41cc7 [svn-r6407] Snapshot version 1.5 release 47 2003-02-15 06:24:35 -05:00
Bill Wendling
ce6a77eb3e [svn-r6406] Purpose:
Update
Description:
    Since metadata doesn't use a "set view" to do I/O, I moved the check
    for the use_set_view variable down into the "real" write routine.

    Also added a check for when the server is dumping metadata to the
    file. in that case, don't write this information to the SAP...
Platforms tested:
    Linux
2003-02-14 17:06:18 -05:00
Bill Wendling
0f125bf0fc [svn-r6404] Purpose:
Bug Fix (Bug #806)
Description:
    When compiling/installing with the command "make install" (without
    performing a "make" beforehand) the tools weren't being made. This
    was because the `install' command in the Makefiles only relied upon
    public libraries, not private ones (which the one in the tools
    directory is).
Solution:
    Had the `install' command be dependent upon an "AUX_LIB" macro which
    includes libraries which are needed but aren't distributed (that is,
    they're staticly compiled).
Platforms tested:
    Linux
2003-02-14 16:17:16 -05:00
Albert Cheng
b40eef5c96 [svn-r6403] Purpose:
Updated it with the v1.4 revision.
2003-02-14 14:58:07 -05:00
Bill Wendling
6c83d3d264 [svn-r6402] Purpose:
Update
Description:
    Added the flush function.

    Modified so that it calls the FPHDF5 code for reading and writing.
    This involved splitting the write function up into three different
    parts to avoid lame goto's. There's some code which will copy a data
    xfer property list and add in there that we're "dumping" the data so
    that we can recall this layer when the SAP dumps metadata to a
    process...
Platforms tested:
    Linux
2003-02-12 16:32:42 -05:00
Bill Wendling
645b7e8c37 [svn-r6401] Purpose:
Update
Description:
    Added a "metadata flush" function which allows the clients to force a
    dump of the metadata from the SAP. This should be done before closing
    the file.

    Modified the information stored on an "open" of the file. The
    filename is unnecessary, so I got rid of it.

    More integration with the File Driver code: Passing in a data xfer
    property list.
Platforms tested:
    Linux
2003-02-12 16:30:20 -05:00
Raymond Lu
d2bfd727ca [svn-r6400]
Purpose:
    Change feature
Description:
    Switch to Fletcher32 from Adler32 checksum
Platforms tested:
    arabica, eirene, modi4
Misc. update:
    MANIFEST and RELEASE.txt updated.
2003-02-12 15:07:21 -05:00
Bill Wendling
2f8719efde [svn-r6399] Purpose:
Bug Fix
Description:
    Pesky little thing: H5GOTO_ERROR was returning NULL instead of FAIL.
Solution:
    Changed accordingly
Platforms tested:
    Linux.
2003-02-12 12:13:24 -05:00
Quincey Koziol
1074ccf4d9 [svn-r6398] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-02-12 12:04:40 -05:00
MuQun Yang
bf1419ffe4 [svn-r6397]
Purpose:
update windows project files
Description:
Some new files such H5Tcommit.c is added in.
Solution:
windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2003-02-12 10:53:20 -05:00
Bill Wendling
07c40148c1 [svn-r6396] Purpose:
Bug Fix
Description:
    Some of the error conditions in the H5GOTO_ERROR macros were NULL
    instead of FAIL.
Solution:
    Changed accordingly.
Platforms tested:
    Linux
2003-02-12 09:36:32 -05:00
Quincey Koziol
7d63d5e3ff [svn-r6395] Purpose:
Code cleanup.

Description:
    Break up the ~9350 line H5T.c module into smaller pieces, which contain
    code for a particular feature or support for a datatype class.

    This should make the "main" H5T code (still in H5T.c) easier to support,
    as well as removing some of the "minor" routines from the user applications
    which don't use them (my rough estimates show about 4% reduction (~30K on
    a FreeBSD machine) in optimized, staticly-linked binaries for very simple
    programs)

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir)

Misc. update:
    Update MANIFEST
2003-02-12 08:44:31 -05:00
Quincey Koziol
997d4e3742 [svn-r6394] Purpose:
Bug fix.

Description:
    Missed adding the dxpl to the 'flush' VFL callback in the stream driver,
    causing the C++ compiles to fail.

Solution:
    Added the dxpl parameter.

Platforms tested:
    FreeBSD 4.7 (sleipnir) w/CC=g++
2003-02-12 07:39:55 -05:00
Frank Baker
905585f913 [svn-r6393]
Purpose:
    To bring the H5Z_func_t definition from the old User's Guide
    into the Reference Manual.
Description:
    Added custom filter function H5Z_func_t definition to the
    H5Zregister function description.
    This definition will next be edited to bring it up-to-date.
Platforms tested:
    IE 5
2003-02-11 12:09:25 -05:00
Bill Wendling
273479f8f8 [svn-r6392] Purpose:
Update

Description:
    Folded in Quincey's changes to the caching stuff. (Stole the code
    from the H5FDmpio driver).

    Roughed in some code for doing a read from the SAP. Also roughed in
    code for doing a write. However, the write requires an OID, which I'm
    not sure how to pass down into the driver (maybe via the
    dxpl_id?...but then it has always to be set before calling one of
    these routines...).

    Removed some of the global variables which were there because of the
    FPHDF5 stuff...

    Removed the H5Ofphdf5.* stuff from the Makefile.in, since I'm pretty
    sure it's going away and I don't want to waste time updating that
    module if that's the case...so just don't compile it.

Platforms tested:
    Linux
2003-02-10 16:53:08 -05:00
Bill Wendling
fab16671cb [svn-r6391] Purpose:
Fix
Description:
    The extra field I put in this structure wasn't needed.
Solution:
    Placed it in the file driver's structure instead.
Platforms tested:
    Linux
2003-02-10 16:47:03 -05:00
Bill Wendling
83f20f35f7 [svn-r6390] Purpose:
Update

Description:
    Removed some obsolete fields - such as the AC_subst_t object ID -
    which isn't needed. Fixed so that there are fewer global variables.
    There are still some left, however. Modified the client and server
    code so that it handles read requests better. There were some flaws
    in how this was done before (it was calling H5FD_read() instead of
    just returning the status that it couldn't find the metadata in the
    cache).

Platforms tested:
    Linux
2003-02-10 16:45:36 -05:00
Bill Wendling
cfd1226724 [svn-r6389] Purpose:
Update
Description:
    Added Flexible Parallel HDF5 support to the ending message that
    configure spits out.

    Reordered a few other of the messages so that they're in alphabetical
    order.
Platforms tested:
    Linux
2003-02-10 15:55:52 -05:00
Quincey Koziol
b55e5cb944 [svn-r6388] Purpose:
Update feature

Description:
    Relax collective constraint for API functions which only read metadata
    from a file.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 w/parallel
2003-02-10 13:44:22 -05:00
Quincey Koziol
24d8506dd5 [svn-r6387] Purpose:
Bug Fix

Description:
    Metadata cache in parallel I/O can cause hangs in applications which
    perform independent I/O on chunked datasets, because the metadata cache
    can attempt to flush out dirty metadata from only a single process, instead
    of collectively from all processes.

Solution:
    Pass a dataset transfer property list down from every API function which
    could possibly trigger metadata I/O.

    Then, split the metadata cache into two sets of entries to allow dirty
    metadata to be set aside when a hash table collision occurs during
    independent I/O.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
        modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir) serial & parallel

Misc. update:
    Updated release_docs/RELEASE
2003-02-10 12:26:09 -05:00
Quincey Koziol
738661ab9f [svn-r6386] Purpose:
Bug fix

Description:
    The "system scope" for threads isn't supported on all platforms.

Solution:
    Add detection of this feature to the configure script and check for
    "H5_HAVE_SYSTEM_SCOPE_THREADS" in the appropriate places.

Platforms tested:
    modi4 w/threadsafe
2003-02-10 10:38:52 -05:00
Quincey Koziol
168d67dbd2 [svn-r6383] Purpose:
New feature for developers.

Description:
    Added "function stack" tracing to library.  This allows developers (there
    is no public API) to call H5FS_print within the library and get a listing
    of the functions traversed to reach that point in the library.  Eventually,
    I may add support for reporting the parameters to each function also...

    Mainly for debugging parallel I/O programs, but I think it will come in
    handy in other cases also.

    The function stack tracking is controlled with a configure switch:
    --enable-funcstack, which defaults to enabled currently.  When we branch
    for 1.6, we should change the default setting on the branch to be disabled.

    Also, added a destructor to the thread-specific keys when thread-safety is
    turned on in the library.  Otherwise, they were leaking memory and causing
    difficult to debug errors in threaded programs (like the test/ttsafe test).

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir) w/thread-safety enabled.

Misc. update:
    Updated MANIFEST with new files added (src/H5FS.c & src/H5FDprivate.h)

    Update release_docs/RELEASE with thread-safety bug fix.
2003-02-07 16:14:19 -05:00
Quincey Koziol
4e8da9d224 [svn-r6382] Purpose:
Update with missing files.
2003-02-07 06:34:00 -05:00
Bill Wendling
ad1bf227cd [svn-r6381] Purpose:
Field Addition
Description:
    Added a File ID field to the H5FD_t structure so that, way deep down
    in the H5FD_* functions, I'll know what ID the SAP wants for this
    particular file.

    This is #ifdef'd out so that if you don't have FPHDF5 enabled, then
    it won't be there...
Platforms tested:
    Linux
2003-02-06 17:20:29 -05:00
Bill Wendling
4507d01c42 [svn-r6380] Purpose:
Update
Description:
    Added support for the H5FDfphdf5.[ch] file driver.
Platforms tested:
    Linux
2003-02-06 17:08:31 -05:00
Bill Wendling
c7cce26e6a [svn-r6379] Purpose:
Update
Description:
    H5FP.c, H5FPclient.c, H5FPprivate.h, H5FPserver.c:
        Update. More progression towards the SAP as metadata cache. It
        only lacks the ability to take care of metadata allocations.

    H5FDfphdf5.[ch]:
        Start of a new driver for FPHDF5. Not fully implemented just
        yet...
Platforms tested:
    Linux
2003-02-06 17:08:05 -05:00
Bill Wendling
76457aac6c [svn-r6378] Purpose:
Update
Description:
    MANIFEST:
        - Added .autom4te.cfg and H5FDfphdf5.[ch] files.
    .autom4te.cfg
        - When the new versions of libtool/autoconf come out, this file
          will help get rid of the annoying autom4te.cache directory.
Platforms tested:
    Linux
2003-02-06 17:06:35 -05:00
Albert Cheng
a472b6c30a [svn-r6377] Purpose:
Update
Description:
    version 1.4 has renamed the tool from pio_perf to h5perf.
    Folded the chagne into this branch too.
    Also updated the Copyright notes.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?  Tested in burrwhite with PP only.
    [If no, why not?]  It is a pretty straight forward Makefile change.
2003-02-06 15:34:56 -05:00
Raymond Lu
8251a25286 [svn-r6376]
Misc. update:
    Update MANIFEST to add H5Zadler32.c.
2003-02-04 13:53:11 -05:00
Raymond Lu
3879dcce1b [svn-r6375]
Purpose:
    New feature
Description:
    Added Adler32 checksum as a filter in pipeline
Platforms tested:
    arabica (fortran), eirene (, C++), modi4 (parallel, fortran)
Misc. update:
    Update release_docs/RELEASE.
2003-02-04 13:50:56 -05:00
Bill Wendling
092a41fe51 [svn-r6374] Purpose:
Update
Description:
    Converted the "FUNC_LEAVE" macros to "FUNC_LEAVE_NOAPI" to be
    consistent with the rest of the library.

    Note: This is probably completely useless as the file is going to go
    away with the new model of the SAP as metadata cache...But it helps
    me compile...
Platforms tested:
    Linux (FPHDF5)
2003-02-03 17:53:44 -05:00
Bill Wendling
b14417185c [svn-r6373] Purpose:
Update
Description:
    Added support for defining what the haddr type is in terms of MPI
    types.
Solution:
    Include some #defines when we typedef haddr...
Platforms tested:
    Linux (For FPHDF5 stuff)...
2003-02-03 17:52:16 -05:00
Bill Wendling
fed785b2eb [svn-r6372] Purpose:
Buglet
Description:
    The title of the function in FUNC_ENTER_* was wrong.
Solution:
    Changed to correct title.
Platforms tested:
    Linux (small change).
2003-02-03 15:44:55 -05:00
Bill Wendling
9b9c71ffb6 [svn-r6371] Purpose:
Update
Description:
    Changes:

        - Added support for the server dumping metadata writes to a
          client.
        - Some of the code wasn't handling allocated buffers correctly
          (freeing twice).
        - Modified server so that it handles metadata only.
Platforms tested:
    Linux
2003-02-03 15:41:53 -05:00
HDF Admin
e91291e458 [svn-r6358] Snapshot version 1.5 release 46 2003-02-01 04:23:56 -05:00
Bill Wendling
ceec9c45d9 [svn-r6353] Purpose:
Update
Description:
    Updated the configure scripts. Fortran and C++ didn't have proper
    checks for Linux LFS support. Also needed to remove the "-g" flag
    from the compile line if --enable-production is set. For that, I took
    how it's being done in HDF5 Lite...
Platforms tested:
    Linux
2003-01-30 17:20:13 -05:00
Pedro Vicente Nunes
1e35713691 [svn-r6344] Purpose:
bug fix
    added more verbose help message
    added support for all dataset types
    added more error checking
    added new output format (28 Jan version )



Platforms tested:
    windows , linux
2003-01-29 15:56:34 -05:00
MuQun Yang
7d449de73d [svn-r6343]
Purpose:
Update H5pubconf.h on both all.zip and all_withf90.zip
Update some project files on all_withf90.zip
Description:
Make H5pubconf.h work for both .Net and 6.0
Update some project files on all_withf90.zip
Currently fortran interface failed on windows, may be handled after 1.4 release.
Solution:
Platforms tested:
windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2003-01-29 09:47:35 -05:00
Bill Wendling
749c50fcd8 [svn-r6336] Purpose:
Update

Description:
    This is the first conversion of the FPHDF5 code to be a metadata
    cache. There's an extra error message. I rewrote the sync/change code
    to be read metadata/write metadata instead.

    I still need to hook these changes into the HDF5 code so that it
    looks at the SAP first before checking the file for metadata.

Platforms tested:
    Linux
2003-01-27 15:38:38 -05:00
Quincey Koziol
a6542d06b1 [svn-r6330] Purpose:
Bug Fix

Description:
    When calling H5Fopen with the core VFL driver, but without the
    H5F_ACC_CREAT flag goes ahead and creates a memory file.

Solution:
    Check for the H5F_ACC_CREAT flag before allowing the memory file to be
    created.

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-01-24 13:09:57 -05:00
Pedro Vicente Nunes
e4dc71bbee [svn-r6328] Purpose:
fix bug in Makefile.in

Platforms tested:
    windows , linux
2003-01-24 13:01:44 -05:00
Pedro Vicente Nunes
85751bbbe9 [svn-r6326] Purpose:
added h5diff to CVS
    current version, options only work for float dataset type
Platforms tested:
    windows, linux
2003-01-23 17:08:51 -05:00
Bill Wendling
f1c8081093 [svn-r6318] Purpose:
Update

Description:
    Added description of the configure bugfix for people specifying
    --with-*=/usr/include,/usr/lib in their scripts during configure...
2003-01-23 14:19:46 -05:00
Bill Wendling
355c902a73 [svn-r6317] Purpose:
Bug Fix

Description:
    Some compilers were having problems if we included the -I/usr/include
    and -L/usr/lib flags which are completely redundant. This could occur
    if the user configured with something like:

        ./configure --with-zlib=/usr/include,/usr/lib

Solution:
    Check if the --with-* command is specified with /usr/include and
    /usr/lib. If so, then don't place them in the compile macros.

Platforms tested:
    Linux, Modi4
2003-01-23 14:19:02 -05:00
Albert Cheng
daa26b6c11 [svn-r6313] Purpose:
Updated
Description:
    Updated Copyright notice.
    Replaced HGOTO_ERROR calls involving MPI calls with HMPI_GOTO_ERROR.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?  Tested on Eirene (PP) only since
	the code is in the MPIO module only.
2003-01-22 14:56:45 -05:00
Frank Baker
5fba11cf8a [svn-r6312]
Purpose:
    Added 2003 to the "Copyright <years>" line.
Platforms tested:
    Viewed in vi (COPYING) and in IE 5 (doc/html/Copyright.html).
2003-01-22 14:29:08 -05:00
Albert Cheng
06ace9e426 [svn-r6310] Purpose:
patch
Description:
    Tflops interprets "$@" as "" when no parameter is given (e.g., the
    case of missing file name).  Changed it to use $@ till Tflops fixes it.
Platforms tested:
    Tflops, burrwhite (pp), modi4(pp)
2003-01-22 01:08:52 -05:00