Commit Graph

9008 Commits

Author SHA1 Message Date
Raymond Lu
65d30cc9c3 [svn-r12739] Added Direct I/O driver to VFD. It's only supported by SGI Altix (cobalt). There's a configure
option --enable-direct-vfd/--disable-direct-vfd to enable/disable Direct I/O support.  The default
is enabled.  There's a small test in test/vfd.c.  Another way to test it is to set environment
variable HDF5_DRIVER to "direct" and run "make check" in the test/ directory.  There'll be some
further improvement in the following checkin including allowing user to provide memory boundary
value, file block size, and copying buffer size.
2006-10-10 15:07:16 -05:00
Quincey Koziol
176f59f0f4 [svn-r12738] Description:
Tweak down some of the static array definitions for new & re-loaded object
header data structures, to reduce memory use in common cases.

Tested on:
    Linux/32 2.6 (chicago)
2006-10-10 14:41:37 -05:00
Quincey Koziol
14dcb6db33 [svn-r12736] Description:
Add "use the latest format" support for dataspace object header encode/
decode routines and clean up format a bit for the latest format (new to 1.8.x
releases)

    Remove storing 'perm' parameter for array datatypes in memory and the file,
and add test to make certain that if any user applications are attempting to
store them, we get some reports back.  (Should be unlikely, since the RefMan
says that the parameter is not implemented and is unsupported).
    Carry those changes into the tests, etc.

    Clean up a bunch more compiler warnings.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 23:18:18 -05:00
Quincey Koziol
20720af231 [svn-r12735] Description:
Clean up some compiler warnings and resolve some inconsistenceis between
hsize_t and size_t in the interface.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 23:14:29 -05:00
Quincey Koziol
25d1056dbf [svn-r12734] Description:
Clean up some compiler warnings.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 22:51:03 -05:00
Quincey Koziol
6a18d20b40 [svn-r12733] Description:
Use calloc() instead of malloc(), in order to fail a bit more gracefully
on errors.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 21:52:40 -05:00
Quincey Koziol
4ebe2f792b [svn-r12732] Description:
Fix error with passing in new root indirect block instead of NULL pointer
to protect of previous root direct block, when converting heap to use a root
indirect block.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-1.6-compat
2006-10-08 21:51:48 -05:00
MuQun Yang
f372694841 [svn-r12731] Updating the batch file to reflect the recent change of h5repack tool. 2006-10-06 15:56:54 -05:00
MuQun Yang
df31eab474 [svn-r12730] Add _WIN32 macro since some windows applications need to use this macro rather than WIN32. 2006-10-06 15:12:44 -05:00
James Laird
953efd5c47 [svn-r12729] Skipped reserved test. Hopefully the test will be updated someday.
Tested on heping.
2006-10-06 12:38:42 -05:00
MuQun Yang
0f047c1cfe [svn-r12728] Updated windows installation documents to reflect the support of HDF5 on windows 64-bit platform. 2006-10-06 11:19:14 -05:00
MuQun Yang
081a9b37fd [svn-r12727] 1. Cleaning up the comments of the source code.
2. Using H5Dmpio_Debug macro to reflect the debugging information of new parallel IO supports.


They are very minor changes. Tested at heping. t_pflush2 failed. Others passed.
2006-10-06 11:18:22 -05:00
Pedro Vicente Nunes
af51ee1e00 [svn-r12726]
added calls for the scale offset filter to the h5repack test script
2006-10-06 10:41:30 -05:00
Albert Cheng
ad80fe7ea9 [svn-r12725] Purpose:
Bug Fix (Bug 544)

Description:
SGI Altix's MPI_File_get_size overflowed at 2GB and more.
Put in a temporary patch to use stat() instead to make Cobalt
passing on this test (bigdset).  A better fix (like detect if
MPI_File_get_size does not work before using this is preferred.)

Tested:
Cobalt and Heping.
2006-10-05 19:27:05 -05:00
James Laird
831be1cdff [svn-r12723] Fix a bug where return values were overwritten in H5F_dest, and another bug
exposed by that one in which closing a read/write file ID wouldn't flush the
cache if there was another file handle open.  This caused problems when the
second file handle was read-only; neither would actually flush the cache.

Now all read/write file handles flush the cache when the close, but only
when the file is going to be destroyed is the cache destroyed.  This way
read-only file handles keep the cache open but it is always clean.

Tested on mir, heping, sol, and copper (parallel)
2006-10-05 15:30:07 -05:00
Pedro Vicente Nunes
c13697362a [svn-r12722]
added new tests for h5copy script, generated in the test file generator program
2006-10-05 14:46:45 -05:00
Pedro Vicente Nunes
40250f05a3 [svn-r12721]
corrected commnet
2006-10-05 11:12:27 -05:00
Pedro Vicente Nunes
5df5ee8956 [svn-r12720]
added output of error messages using the tools library function error_msg, that prints the program name and error on the message

tested: kagiso
2006-10-05 09:35:40 -05:00
James Laird
4d8a0f4c54 [svn-r12719] Configured external links to (by default) use the FAPL of the parent
file, rather than H5P_DEFAULT.

This lets them be used with stdio and directio drivers.

Tested on mir and juniper (check-vfd takes a long time!).
2006-10-04 17:40:06 -05:00
Leon Arber
4dea870b6a [svn-r12718] Purpose: New Feature
Description: Add a new part to the flush test that checks to see what happens in case a file is flushed, and
	     then a new dataset is created and the program exits without flushing this subsequent dataset. 
	     The test verifies that, at the very least, the data written out before the H5Fflush call is correct.
2006-10-04 14:50:40 -05:00
Leon Arber
3ac3e03244 [svn-r12717] Purpose: Bug Fix
Description:
	It seems that, on AIX, calling MPI_Finalize without closing all files results in an error.
	This causes t_pflush1 to fail because the whole point of the test is to see what happens if you
	don't close a file.  Try getting rid of the call to MPI_Finalize to see if this will silence the error.

Tested:
	AIX (copper)
2006-10-03 19:36:04 -05:00
MuQun Yang
eff5e13304 [svn-r12716] updating library project files to reflect the recent addition of source code. 2006-10-03 18:09:24 -05:00
James Laird
e5f0444b3a [svn-r12715] Incorporated a user-submitted patch to better detect the 'tr' utility
and quote its arguments.  Also checks for the 'socket' library on
Solaris.

If this patch passes the Daily Tests and makes the user happy, I'll
port it back to the 1.6 branch.

Tested on mir and sol.
2006-10-03 17:41:34 -05:00
MuQun Yang
d2019d7c50 [svn-r12714] check in the new dataspace file 2006-10-03 13:44:10 -05:00
Pedro Vicente Nunes
e23d2acad8 [svn-r12713]
added new tests with different datatypes  for h5dump binary output

tested: kagiso
2006-10-03 11:33:55 -05:00
Quincey Koziol
16fe9dbb82 [svn-r12712] Description:
Finish 'use the latest version of the format' changes to the datatype
object header message.  Compound and enumerated types will now be encoded
more efficiently by packing the field names & member offsets better.

Tested on:
    Linux 2.6/32 (chicago)
    Linux 2.6/64 (chicago2)
2006-10-03 11:05:09 -05:00
Quincey Koziol
05429c6c6c [svn-r12711] Description:
Define 'TRUE' macro and remove dependency on h5test header/library.

Tested on:
    Linux/64 2.6 (chicago2) w/--enable-build-all
2006-10-03 10:48:22 -05:00
James Laird
858cbb7c09 [svn-r12710] Added an include for "h5test.h" to test/gen_new_group.c to fix a compilation
error.

Since this is a "gen" program that generates a test file, it isn't always
built.  Use ./configure --enable-build-all to test it.
2006-10-03 09:13:59 -05:00
Quincey Koziol
dc1a35a843 [svn-r12709] Description:
Don't use 'TEST_ERROR' macro in file generation...

Tested on:
    None, just eyeballed - very minor...
2006-10-03 08:34:41 -05:00
Quincey Koziol
e9ea7e8eaf [svn-r12708] Description:
Add the "use the latest version of the format" support to datatype
messages.  And a regression test to check that it's working.

    Also, found that we have been over-allocating space for compound datatype
messages (when they have array datatypes or can use the latest version of the
format) and trimmed the size back.

    Clean up datatype & dataspace encode/decode routines by having them
allocate & release "fake" file structures, which gets them out of needing to
"know" about the internals of file structures.

    Other minor whitespace/formatting cleanups, etc.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-10-02 19:54:33 -05:00
Quincey Koziol
84a4166e72 [svn-r12707] Description:
Further minor modifications to the file format for tracking links in groups.
This is tentatively the "final" file format for groups.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-10-02 16:46:39 -05:00
Quincey Koziol
79aecf8953 [svn-r12706] Description:
Clean up some of the warnings on 64-bit Linux...

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
    Too minor to require h5committest
2006-10-02 14:59:46 -05:00
Quincey Koziol
a36a5b30d7 [svn-r12705] Description:
Fix file handle destroy routine to not attempt to flush out partially
initialized file handles (when opening a file fails).

Tested on:  (until they finished testing, this time... :-)
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/64 2.4 (mir) w/1.6 compat
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Mac OSX/32 10.4.8 (amazon)
2006-10-02 13:32:46 -05:00
Leon Arber
9da1caea15 [svn-r12704] Purpose: Bug fix
Description: 
    Fix copper failures by adding MPI_Finalize call and also close the dataset and file in case of failure prior to exiting.
2006-10-02 12:45:53 -05:00
James Laird
79bc4a9b03 [svn-r12703] Using int64_t in H5Lpublic.h caused errors on Windows, where int64_t is only
defined in H5private.h.

Moved definition of int64_t from H5private.h to H5public.h as a temporary
solution.

Tested on heping and Windows (windows also needed H5Gdense.c and H5Gbtree2.c
to be added to hdf5 project).
2006-10-02 12:08:28 -05:00
Quincey Koziol
22a3d4b0c9 [svn-r12702] Description:
Add test to fractal heaps to exercise issues with opening the same heap
through two different file handles.

    Fix issues with file handle contexts in metadata cache callbacks for heap
components.

    Fix bug in file close handling where cached information was being
invalidated even when another file handle was open to the file.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/64 2.4 (mir) w/1.6 compat
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Mac OSX/32 10.4.8 (amazon)
2006-10-02 09:45:49 -05:00
Quincey Koziol
f45bd27537 [svn-r12701] Description:
Clean up formatting/whitespace

Tested on:
    Mac OSX/32 10.4.8 (amazon)
    Too minor to require full h5committest
2006-10-02 09:39:55 -05:00
Quincey Koziol
a6f6462541 [svn-r12700] Alert:
File format is not stable, don't keep files produced!

Description:
    First stage of checkins modifying the format of groups to support creation
order.  Implement "dense" storage for links in groups.

    Try to clarify some of the symbols for the H5L API.

    Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest
file format options (including "dense" link storage in groups)

    Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation
order tracking in groups (although no index on creation order yet).

    Remove --enable-group-revision configure flag, as file format issues are
now handled in a backwardly/forwardly compatible way.

    Clean up lots of compiler warnings and other minor formatting issues.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-v1.6 compa
    Mac OSX/32 10.4.8 (amazon)
    AIX 5.3 (copper) w/parallel & FORTRAN
2006-10-02 05:24:03 -05:00
Quincey Koziol
9bc29ea538 [svn-r12699] Description:
Fix problems with opening a fractal heap multiple times, from different
file handles.

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) w/FORTRAN & C++
    Linux/64 2.4 (mir) w/enable-v1.6
    Mac OS/32 10.4.8 (amazon)
2006-10-02 04:57:26 -05:00
Leon Arber
a03647db10 [svn-r12698] Updated to include t_pflush tests. 2006-10-01 16:29:29 -05:00
Leon Arber
c7a381b324 [svn-r12697] Purpose: New Feature
Description:
    Preliminary test of H5Fflush to verify that it still works when using MPIO collective mode.

Platforms:
    Linux (heping)
2006-10-01 16:27:47 -05:00
Leon Arber
c8a9a305cc [svn-r12696] Purpose: Add Feature
Description: 
    Add a second test case to the serial flush tests.  This tests the case when the file is not flushed out to disk and verifies that it fails as expected.

Platforms:
    Linux (heping)
2006-09-29 17:01:07 -05:00
James Laird
609fbd6952 [svn-r12695] Added --enable-debug=all to the list of known problems in RELEASE.txt. 2006-09-29 15:59:23 -05:00
James Laird
e40c86fb2d [svn-r12694] Fixed a couple of typos in the comment block for H5Oincr_refcount. 2006-09-29 14:19:54 -05:00
James Laird
1573bbcec4 [svn-r12693] Changed return values of H5O*_refcount functions to be herr_t instead of
int.

Mostly cosmetic change.  Testing on mir.
2006-09-29 14:14:24 -05:00
James Laird
71ba8671b3 [svn-r12692] Removed code that was used to support lazy allocation of file space
since HDF5 no longer allocates file space lazily.

Tested on mir; should be only a cleanup, since the code isn't called from
anywhere.
2006-09-28 14:36:25 -05:00
MuQun Yang
3289dc5a18 [svn-r12691] Fix two minor bugs at batch files that include testing h5jam/h5unjam.
MSVS 6.0 C/C++
2006-09-27 17:20:04 -05:00
MuQun Yang
46e41daa62 [svn-r12690] h5test.h and libtest.a are needed for high level test projects. Windows projects need to be updated.
Test with MSVS 6.0
2006-09-27 17:18:49 -05:00
James Laird
b0c2c41e57 [svn-r12689] Added bin/gcov_script to the MANIFEST 2006-09-27 09:23:37 -05:00
James Laird
97db646184 [svn-r12688] Added a script to generate code coverage information. To create files that
record how often each line of HDF5 source was run, check out a fresh
copy of hdf5 and run "bin/gcov_script" .

No changes to the code.
2006-09-26 16:33:43 -05:00