Commit Graph

4516 Commits

Author SHA1 Message Date
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
Quincey Koziol
127dc2f80d [svn-r6308] Purpose:
Bug fix

Description:
    Currently, when the library encounters an object header message that isn't
    know, it fails to open that object in the file.

Solution:
    Allow the library to skip over the unknown object header message and
    continue to process the remaining messages, in the hope that the skipped
    message isn't important later.  If it is important, it will be caught at
    a higher level of the library.

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-01-21 15:20:13 -05:00
Quincey Koziol
ba63879ea2 [svn-r6307] Purpose:
Bug fix

Description:
    Currently, when the library encounters an object header message that isn't
    know, it fails to open that object in the file.

Solution:
    Allow the library to skip over the unknown object header message and
    continue to process the remaining messages, in the hope that the skipped
    message isn't important later.  If it is important, it will be caught at
    a higher level of the library.

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-01-21 15:19:48 -05:00
Binh-Minh Ribler
fffa25d34c [svn-r6303] Purpose:
new functions
Description:
    Added these member functions to class Group per the new C functions
    H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx:

        // Returns the number of objects in the group.
        hsize_t getNumObjs() const;

        // Retrieves the name of an object in a given group by giving index
        ssize_t getObjnameByIdx(hsize_t idx, string& name, size_t size) const;

        // Returns the type of an object in a given group by giving index;
        // the overloaded function also provided the object type in text as
        // "group" for H5G_GROUP
        // "dataset" for H5G_DATASET
        // "datatype" for H5G_TYPE
        int getObjTypeByIdx(hsize_t idx) const;
        int getObjTypeByIdx(hsize_t idx, string& type_name) const;
Platforms:
    SunOS 5.7 (arabica)
    Linux 6.2 (eirene)
    IRIX 6.5.11 (modi4)
2003-01-20 20:31:43 -05:00
Albert Cheng
052153434e [svn-r6302] Added the testing of libmpe.
This is generated by autoheader.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? YES
    Other platforms/configurations tested? eirene with --enable-mpe
2003-01-18 09:38:02 -05:00
Quincey Koziol
04f2fe8ff8 [svn-r6301] Purpose:
Code cleanup & bug fix

Description:
    Cleanup another set of warnings on Windows and also fix mis-placed assertion
    that caused the daily tests to fail.

Platforms tested:
    IRIX64 6.5 (modi4) w/-n32
2003-01-18 08:17:33 -05:00
MuQun Yang
628c3cd504 [svn-r6299]
Purpose:
  update hdf5.dsp and hdf5dll.dsp
Description:
Solution:
Platforms tested:
hdf5test.f90 doesnot exist. flush1fortran cannot be built.
Tested Dec fortran on 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-17 17:12:18 -05:00
MuQun Yang
f286236407 [svn-r6297]
Purpose:
Update h5pubconf.h
Description:
Add a macro to distinguish VS 6.0 and VS 7.0 since FUNCTION is a keyword for 7.0
but not for 6.0
Solution:
Use MSC_VER
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-17 16:39:02 -05:00
Quincey Koziol
1208e94eff [svn-r6296] Purpose:
Code cleanup

Description:
    Reduce warnings on Windows

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-01-17 15:34:14 -05:00
Albert Cheng
6f667500c1 [svn-r6293] Purpose:
Another patch
Description:
    libtool will fail if pgcc compiler is used.
    Now apply the patch if gcc is NOT used.
Platforms tested:
    Tested only on eirene because I am sure it is correct and am trying
    to beat the daily test checkout.
2003-01-17 00:21:57 -05:00
Albert Cheng
a9c79d6b61 [svn-r6286] Purpose:
bug fix
Description:
    Added a barrier to ensure all processes have finished using
    the file before cleaning it away.
    Added H5close() to ensure all HDF5 stuff are closed before
    calling MPI_Finalize.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? Yes
2003-01-15 11:06:47 -05:00