Commit Graph

9125 Commits

Author SHA1 Message Date
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
Pedro Vicente Nunes
110a855d5e [svn-r12687] reverted back some changes that inadvertedely added some output to the
parallel part of h5diff

tested : heping parallel
2006-09-26 14:21:55 -05:00
James Laird
6aeb73dd44 [svn-r12686] Added compression to Packet Tables. Now both C and C++ packet tables
have an extra parameter that sets the deflate filter.

Added tests, made examples use the new APIs.

Cleaned up include files a little and removed some casts that I hope are
superfluous.  If anybody encounters strange errors in the packet table
tests where the chunk size is set to some extremely large value, please
let me know, but I was unable to reproduce this error on any system.

Tested on mir, heping, sol, juniper, VS 6.0.  Looked for the chunk size
error on several other systems a month or two ago.
2006-09-26 13:25:03 -05:00
Pedro Vicente Nunes
fdbdaf656b [svn-r12685] added a new binary file for h5dump testfiles 2006-09-26 10:53:44 -05:00
Pedro Vicente Nunes
24fb06cd7a [svn-r12684]
corrected usage message to have an example of the new binary parameters
2006-09-26 10:51:16 -05:00
Pedro Vicente Nunes
e9188e385a [svn-r12683]
revised binary flags, added a new file to the test generator program to
be used in the binary tests

usage is now

     -o F, --output=F     Output raw data into file F
     -b F, --binary=F     Binary output, of form F (into file -o F).
                          Recommended usage is with --dataset=P
                          Form F of binary output is: MEMORY for memory type,
                          FILE for the disk file type, LE or BE for pre-existing
                          little or big endian types

example

./h5dump -d integer -b MEMORY -o out.bin  tbinary.h5
2006-09-26 10:47:36 -05:00
Quincey Koziol
53a2d21415 [svn-r12682] Description:
Make Windows64 compiler happy by initializing variable... :-)

Tested on:
    None - just eyeballed (very minor)
2006-09-26 10:05:42 -05:00
Quincey Koziol
2d009f860c [svn-r12681] Description:
Encode/decode object references in portable way.

Tested on:
    Solaris/64 2.9 (shanti)
2006-09-26 10:00:24 -05:00
Quincey Koziol
c77e39522b [svn-r12680] Description:
Review, revise & checkin in Peter's latest round of object copy changes,
which add basic support for datasets & attributes with reference datatypes.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-25 17:22:14 -05:00
Pedro Vicente Nunes
c439d91f81 [svn-r12678] bug fix
the number of atribute differences was not added to the total sum of
differences
2006-09-25 10:49:26 -05:00
MuQun Yang
afcf6b7608 [svn-r12676] Adding jamtest.bat line for windows. 2006-09-20 15:56:18 -05:00
Pedro Vicente Nunes
bcdbce1f6a [svn-r12675]
added a new output file for the case of missing file name, conforming to
the new usage message
2006-09-20 09:40:33 -05:00
MuQun Yang
6917abeca2 [svn-r12674] Add a batch file to test the validation of h5jam/h5unjam tool. The correctedness test is much harder to be implemented by using batch script on windows. Will handle this later. 2006-09-19 17:19:03 -05:00
Pedro Vicente Nunes
79a3951338 [svn-r12673]
added long names for parameter switches that did not have them,
reformated usage message

tested: heping
2006-09-19 16:22:57 -05:00
Binh-Minh Ribler
fc4e7f7606 [svn-r12672] Purpose: Updating C++ examples
Description:
    Updated existing C++ examples to be similar to C examples.

Platforms tested
    Linux 2.4 (heping)
    SunOS 5.9 (shanti)
    AIX 5.1 (copper)
2006-09-18 23:11:28 -05:00
Pedro Vicente Nunes
b72f6dc836 [svn-r12671]
added a test file generator program for h5copy, modified test script to use
that file, added binary file to repo

tested on heping, shanti
2006-09-18 11:25:47 -05:00
HDF Admin
d5d664a56c [svn-r12670] Snapshot version 1.8 release 0 (alpha5) 2006-09-16 15:38:42 -05:00
Quincey Koziol
b047710a95 [svn-r12669] Description:
Use a slightly less efficient method of computing the log2() on SGI IRIX64,
in order to avoid a compiler bug when optimizations are turned on.

Tested on:
    SGI IRIX64 6.5 (atlantia)
2006-09-15 15:20:39 -05:00
Quincey Koziol
24725d64aa [svn-r12668] Description:
Re-run 'bin/reconfigure' script after recent checkins

Tested on:
    none - shouldn't have any affect on compilation
2006-09-15 15:06:01 -05:00
Elena Pourmal
926011174e [svn-r12667] This is VMS maintenance for alpha5 release.
Commented out fheap test until we have a chance to work on the failures.
2006-09-15 14:48:12 -05:00
Quincey Koziol
0ffb6caabd [svn-r12666] Description:
Initialize local variable that is causing compiler problems on Windows/64

Tested on:
    None - too trivial
2006-09-14 12:35:39 -05:00
Pedro Vicente Nunes
907c60a12a [svn-r12665]
added comments
2006-09-13 09:59:45 -05:00
Pedro Vicente Nunes
d135049773 [svn-r12664]
modified the h5copy test script so that it calls h5diff to check the
copied file/object
2006-09-13 09:46:30 -05:00
Quincey Koziol
78467109a1 [svn-r12663] Description:
Don't protect direct block when removing object from managed heap blocks -
all the information we need is available without the extra I/O.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-12 15:18:00 -05:00
Quincey Koziol
99e3311909 [svn-r12662] Description:
Whitespace/formatting/compiler warning cleanup.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-12 10:30:32 -05:00
Quincey Koziol
d3a12e1058 [svn-r12661] Description:
Add 'loookup3' checksum routine and switch to using it for metadata
checksums - it's just as "strong" as the CRC32 and about 40% faster in general
(with some compiler optimizations, it's nearly as fast as the fletcher-32
algorithm).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-12 10:25:35 -05:00
MuQun Yang
314b3f597b [svn-r12660] More revision for the h5repack batch file for with and without gzip/szlib compression filters 2006-09-11 19:41:11 -05:00
Elena Pourmal
298dbe5396 [svn-r12659] This is VMS maintenance check-in.
Some of the tests cannot be run on VMS since they try to open
the same file twice.

Solution:
Bypass the tests according to the H5_CANNOT_OPEN_TWICE variable setting.

Platforms tested:
VMS server and heping.
2006-09-11 18:18:29 -05:00
MuQun Yang
f546cc8972 [svn-r12658] There was a bug in the repacktest.BAT on windows.
If either szip or zlib filter was not present, the batch still tried to use h5repack tool to test the data compression feature. Therefore the h5repack test failed.

Fixed the bug. Now if the compression filter is not present, that particular repack test will be skipped.
2006-09-11 15:35:15 -05:00
Quincey Koziol
6442a5dd9c [svn-r12657] Description:
Clean up whitespace/formatting.

Tested on:
    Mac OS/PPC 10.4 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-11 12:39:44 -05:00
Quincey Koziol
5e7ab927c6 [svn-r12656] Description:
Add "use the latest version of the file format" flag to the file access
property list and internal file data structures.

    Fix bug where metadata block size was retrieved instead of the small
data block size.

    Categorize property list routine prototypes in the public header file.

Tested on:
    Mac OS/PPC 10.4 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-11 12:30:24 -05:00
Quincey Koziol
e5cad0ef24 [svn-r12655] Description:
Add "op" routine to perform operation on heap object "in situ", to allow
for faster operations on dense links during B-tree traversal & lookup.
Refactor the "read" routine to use the internal version of the "op" routine,
to keep the code duplication as low as possible.

Tested on:
    Mac OS X.4/PPC (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-11 12:25:26 -05:00
Quincey Koziol
9e158b7816 [svn-r12651] Description:
Clean up compiler warnings.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-05 19:38:48 -05:00
Elena Pourmal
d553c60eb0 [svn-r12650] Description:
Purify found some memory leaks in the code related to the HDF5 external links.
  James provided the fix and asked me to check it in.

Tested:

  heping, mir, shanti, and juniper
2006-09-05 18:36:01 -05:00