Commit Graph

8941 Commits

Author SHA1 Message Date
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
Quincey Koziol
46467e91b0 [svn-r12649] Description:
Add a CRC algorithm to the library, initially for "small" (<256 byte)
metadata blocks.

    Update checksum tests to verify it's working correctly.

Tested:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
    (Will be testing on more platforms after checkin)
2006-09-05 18:06:54 -05:00
Elena Pourmal
5afc64f31b [svn-r12648] Description:
This is VMS problem only.

  H5Dremove_all function was modified to use HDremove. Since HDremove
  is defined as HDremove_all in H5private.h, function became recursive causing
  all kinds of resource problems.

Solution:
  Use "remove" instead.

Platforms tested:
  VMS server
2006-09-05 17:07:26 -05:00
Quincey Koziol
27473d70b0 [svn-r12647] Description:
Eliminate redundant "B-tree type" byte from internal & leaf nodes.  May
possibly improve B-tree density in rare circumstances...

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-05 16:38:55 -05:00
Quincey Koziol
5fb857d275 [svn-r12646] Description:
Remove some references to "twig" and "branch" internal B-tree nodes, which
were eliminated in the previous checkin.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-05 16:34:17 -05:00
Quincey Koziol
94a96a02d6 [svn-r12645] Description:
Enable the checksums on the free space tracker's metadata.

    Clean up a few compiler warnings from 64-bit machines.

Tested:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-05 16:32:59 -05:00
Quincey Koziol
23b3a6a91b [svn-r12644] Description:
Improve density of the B-tree further.  For greater depths of B-trees,
the gains are over 100%...

    Also, don't split internal nodes with 3->4 splits, use a 1->2 split
instead, so that the density of the nodes around a split is maximized.

Tested:
    Mac OS X/PPC 10.4 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-09-05 15:53:16 -05:00
Frank Baker
35fc3a4a83 [svn-r12642]
Description:
    Update copyright notice, after assignment of the HDF products to THG.
    Adds "Copyright 2006 by The HDF Group (THG)."
    Provides separate credits to the U of I for 'NCSA HF5' and 
        to THG for 'HDF5'.
Testing:
    Visual inspection.
2006-09-04 14:19:06 -05:00
Frank Baker
749a0b9c17 [svn-r12640]
Description:
    Add per-directory abbreviated copyright notices 
    (abbreviated COPYING files pointing to full notices).
Tested:
    MANIFEST verified; not otherwise tested.
2006-09-04 13:30:13 -05:00
Quincey Koziol
d1e7ac416e [svn-r12638] Description:
Split edge nodes in the tree with a 1->2 node split, instead of a 2->3 node
split, which creates a more dense tree when a pattern of record insertions
occurs (because it leaves behind full nodes instead of 2/3 full nodes).

Tested:
    FreeBSD/32 4.11 (sleipnir)
    Linux/64 2.4 (mir)
    Linux/32 2.4 (heping)
    Solaris/64 2.9 (shanti)
2006-09-04 11:37:41 -05:00
Albert Cheng
35a3022373 [svn-r12636] Purpose:
Improve default settings.

Use mpicc, mpif90, mpirun as the default $CC, $FC, and $RUNPARALLEL if
enable-parallel.

Tested:
in TG-NCSA both serial and parallel.
2006-08-29 06:19:11 -05:00
Albert Cheng
66d2d26f5d [svn-r12634] Purpose:
Code cleanup.

Description:
Removed argc and argv from the function arguments of h5tools_get_fapl() and
h5tools_fopen().  They were used to call MPI_Init() which was no longer
needed.

Tested:
heping (serial and parallel).
2006-08-27 19:55:27 -05:00
Elena Pourmal
0265f1ca11 [svn-r12632] Description:
Thread safe error test fails due to the changes in the error stack.

Solution:
  Updated the expected error stack.

Platforms tested:
 heping (too minor, probably will fail on Tuesday anyway)
2006-08-27 16:09:31 -05:00
Quincey Koziol
f49a8d1afc [svn-r12631] Description:
Refactor the file storage of "twig" nodes in the B-tree to allow them to
store more records, increasing the average density of the B-tree 30-40%.

    Increase # of records in "insert lots" regression test to still create
B-tree of depth 4

    Update h5debug to interpret difference of 'branch' and 'twig' internal
nodes in B-tree correctly.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    Solaris/64 2.9 (shanti)
2006-08-26 02:26:07 -05:00
Quincey Koziol
e9889fe2d3 [svn-r12630] Description:
Re-order the fheap & btree2 tests so that the btree2 test runs first,
because the fractal heaps use v2 B-trees for tracking huge objects.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    Solaris/64 2.9 (shanti)
2006-08-26 02:22:57 -05:00
Quincey Koziol
41a1614db8 [svn-r12629] Description:
Rearrange code to avoid compiler bugs on tg-login3 machine with
gcc 3.2.2

Tested on:
        tg-login3
2006-08-25 16:09:28 -05:00
Pedro Vicente Nunes
896f001f33 [svn-r12628]
updated the usage message of h5copy
2006-08-24 16:48:51 -05:00
James Laird
0274a5f3a2 [svn-r12627] Skipped links and fheap tests when stdio file driver is used.
These errors should be investigated more thoroughly later.  The underlying
problem in links.c seems to be that files opened multiple times don't share
the same H5F_shared_t struct.  Perhaps identifying when this is the case
would be helpful?

Tested on mir.
2006-08-24 11:09:23 -05:00
Pedro Vicente Nunes
35661615a5 [svn-r12626]
h5copy, new behavior according to RFC: introduction of -i, -o, -s , -d
switches for file and object names
2006-08-24 10:53:31 -05:00
James Laird
a03c1f742d [svn-r12625] Make sure that a return value in H5Fget_intent is initialized correctly. 2006-08-24 10:05:24 -05:00
James Laird
26f511b761 [svn-r12624] Added external link files to MANIFEST (oops!). 2006-08-24 09:18:42 -05:00
James Laird
9edac8a668 [svn-r12623] Added H5Fget_intent() function to get the "intent" of a file (read/write or
read-only).
Added this to external links, so that external files are opened with the
same intent as the source file.
Added tests.
2006-08-23 19:52:21 -05:00
James Laird
afb817a0a7 [svn-r12622] Updated RELEASE.txt with External Link changes. 2006-08-23 19:39:26 -05:00
Quincey Koziol
fe2ae3efc7 [svn-r12620] Description:
Clean up some compiler warnings by removing "UNUSED" from function
prototypes.

Tested on:
    Linux 2.? (tg-login3)
    Too minor to require h5committest
2006-08-23 13:28:17 -05:00
Quincey Koziol
9c30e7bba1 [svn-r12619] Description:
Fix off-by-one error in computing the size of metadata prefixes for v2
B-tree internal & leaf nodes.

    General code cleanup and reformating.

Tested On:
    Mac OS X.4/PPC (amazon)
    Too minor to require h5committest
2006-08-23 10:26:25 -05:00
MuQun Yang
2c7ce93f85 [svn-r12618] Update project files on windows to catch up with Quincey's new check-in.
VS 6.0 C only
2006-08-23 09:59:56 -05:00
Elena Pourmal
0275bb1399 [svn-r12617] Description:
VMS maintenance; added source files to the command files

Platforms tested:
  VMS server (still running :-)
2006-08-22 17:21:08 -05:00
MuQun Yang
f13881bc4f [svn-r12616] Quincey added H5HFtiny.c in the source code. The hdf5 library projects need to be updated.
Tested with MSVS 6.0.
2006-08-22 16:51:41 -05:00
Quincey Koziol
618fd1f98d [svn-r12615] Description:
Add checksum to v2 B-tree metadata.

Tested On:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-08-22 15:03:21 -05:00
Quincey Koziol
06ae330cd8 [svn-r12614] Description:
Various minor reformatting & code cleanups.

Tested On:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-08-22 15:00:43 -05:00
Quincey Koziol
952c60946c [svn-r12613] Description:
Reorder metadata cache callbacks to be more sensible.

Tested on:
    None - just eyeballed, very simple change
2006-08-22 12:52:14 -05:00
Quincey Koziol
5c5f9e8e28 [svn-r12612] Description:
Provide more abstract internal routine for computing checksums on metadata
in a file.  This will allow a unified policy on which algorithm to choose and
under what criteria (length probably) to be more easily maintained.

Tested On:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-08-22 12:50:25 -05:00
Quincey Koziol
c2c6e2d0d5 [svn-r12611] Description:
Remove unused flag byte from fractal heap metadata on disk.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-08-22 12:20:49 -05:00
Quincey Koziol
dfd71ce126 [svn-r12610] Description:
Add support for checksumming fractal heaps.  This is always enabled for
the heap header and indirect blocks (as they are "pure" metadata) and is
optional for direct blocks, since they may be used for "raw" data.

    Also, rearrange direct block routines in H5HFcache.c to be in a more
sensible location in the file.  (probably should have been a separate checkin,
since the diffs are mostly useless for this checkin... *sigh*)

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-08-22 12:13:17 -05:00
Quincey Koziol
058eb9921d [svn-r12609] Description:
Comment out the use of the "-Wpadded" flag, it's generating far too many
warnings that are impossible to correct and probably making it harder to see
other warnings that are more important.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-08-22 12:08:23 -05:00