Commit Graph

11767 Commits

Author SHA1 Message Date
Quincey Koziol
b4efcabc8a [svn-r19657] Description:
Bring r19656 from trunk to 1.8 branch:

Move B-tree sanity checking down below revised node unprotect calls
in H5B_insert().

Tested on:
   Mac OS X/32 10.6.4 (amazon) w/debug=all
  (too obscure to require h5committest)
2010-10-21 10:43:42 -05:00
Quincey Koziol
d1117ac78c [svn-r19655] Description:
Bring r19654 from trunk to 1.8 branch:

Bring Coverity revisions from branch back to trunk, and clean up some other
misc. compiler warnings also.

r19500:
Fix coverity items 1446 and 1447.  Moved up calls to memset in test_cont in
ohdr.c so the test never tries to close uninitialized locations.

r19501:
Fix coverity items 1398-1445.  Various uninitialized variable errors in fheap.c.

r19502:
Fixed coverity issue 579 and some additional warnings in the file as well.

r19503:
Bug fix: This fix addressed the "RESOURCE_LEAK" problems #789 and 790, run 26

r19504:
minor mods to try to keep coverity from flagging false positives.

r19505:
Fixed coverity issues 566 - 571.  Declared variables that are passed to functions that use them as arrays to be arrays of size 1.


Tested on:
   Mac OS X/32 10.6.4 (amazon) w/debug, production & parallel
  (h5committested on coverity branch)
2010-10-21 09:08:13 -05:00
Allen Byrne
afd3511982 [svn-r19653] Put back deleted library check in configure.
Remove shared library check around ws2_32.lib linking in test library. Issue on windows static builds.

Tested: windows
2010-10-20 11:43:37 -05:00
John Mainzer
b6b910bc6e [svn-r19647]
Replaced calls to H5Dcreate() and H5Acreate() with calls to H5Dcreate2()
and H5Acreate2() respectively in t_mdset.c.

This was done to repair a compile failure that occured on a build
with the --with-default-api-version=v16 config option

Cursory commit test
2010-10-19 16:18:47 -05:00
Allen Byrne
758b64c580 [svn-r19644] Correct configuration library checks symbol names 2010-10-19 15:28:29 -05:00
Jonathan Kim
6a6314af5d [svn-r19640] Purpose:
Fix nightly build error on non-linux platform related to 
 the Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option. (r19634)

Description:
 - Updated to use standard C functions instead of strndup() due to failure on non-linux platforms.
 - Changed to Use HDxxx macros for future reference.
 - Correct indentation.


Tested:
 jam, linew(solaris), mac (tejeda)
2010-10-19 12:40:31 -05:00
Quincey Koziol
28a43b2058 [svn-r19639] Description:
Bring r19638 from trunk to 1.8 branch:

	Bring some of Neil's changes to help support SWMR access in the v1
B-tree code from the revise_chunks branch back to the trunk.

Tested on:
       FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2010-10-19 12:04:37 -05:00
Jonathan Kim
0c6929dfde [svn-r19634] Purpose:
Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.

Description:
 Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19633.


Tested:
 jam, amani
2010-10-18 18:17:33 -05:00
John Mainzer
5abc2e63ff [svn-r19631]
Modified test code in t_mdset to use H5Dopen2() instead of H5Dopen1().
This should fix the compile failure when we used --disable-deprecated-symbols

Cursory commit test
2010-10-18 17:13:54 -05:00
Jonathan Kim
331bc7fa0f [svn-r19627] Remove syntax error mistakenly added in from previous checkin. 2010-10-18 16:38:50 -05:00
Allen Byrne
65748bdf09 [svn-r19626] Because h5diff changed and now can compare groups recursively, h5copy diff tests no longer should fail.
Tested: windows
2010-10-18 16:04:19 -05:00
Mike McGreevy
ee72596c8e [svn-r19624] Purpose:
- Fix a bug in each of the metadata accumulator source and test code
Description:
    - In accum.c test file, switch dxpl_id used in H5F_accum_*
      function calls to H5P_DATASET_XFER_DEFAULT (instead of 
      H5AC_dxpl_id), to fix compilation on windows.
    - Changed boundary checking from <= to < when checking
      if a read from disk with overlapping dirty metadata in the 
      accumulator has the read ending such that it aligns exactly
      with the dirty accumulator (line 234 of H5Faccum.c).
Tested:
    - h5committested
2010-10-18 15:46:36 -05:00
John Mainzer
93b2b7cf07 [svn-r19621] Port fo fix for the round robin parallel flush bug caused by the failure
of the H5Ocache.c code to update its image of the on disk representation
of the object header on a call to clear callback.

This wasn't an issue as long as all flushes of the object header were 
made from the same process, but if an object header is modified, and 
then flushed on one process and cleared on the rest, the changes were
not be reflected in the images of the on disk representation on all 
processes where the object header was cleared rather than flushed.

If one of these processes did the next flush, the changes were lost in
the on disk representation.

Fixed this by causing all dirty messages and to be written to the copy 
of the on disk image maintained by the object header code on both flush 
and clear.

Also added associated test code in t_mdset.c.

Also checking in some cache debug code developed while chasing this bug.

Commit tested and tested (parallel) on phoenix.
2010-10-17 02:52:19 -05:00
Mike McGreevy
1c14d3e96d [svn-r19618] Purpose:
Bring metadata accumulator fixes and tests into 1.8
Description:
    Changes consist of addition of tests for H5Faccum.c source code,
    as well as some fixes that address some discovered bugs in the
    metadata accumulator on several corner cases.
Tested:
    h5committested
2010-10-15 14:59:07 -05:00
Allen Byrne
d6410ca195 [svn-r19614] Add option command to set flags OFF for if not using ExternalProjects 2010-10-15 13:17:27 -05:00
Allen Byrne
ac4461a25e [svn-r19612] Add missing XXX_USE_EXTERNAL flags for ExternalProjects 2010-10-15 10:33:20 -05:00
Allen Byrne
3309c8168c [svn-r19608] Add message when ExternalProject is built 2010-10-15 09:50:52 -05:00
Jonathan Kim
051d66e755 [svn-r19604] Purpose:
Backout the previous changes (r19599):
 (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.)

Description:
 Forgot to delete this file which was added.
 Some failure occurred on talwit, so backout the changes and will put it back after fix.
 (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19598.)
2010-10-14 18:53:09 -05:00
Jonathan Kim
b40ed7bfd4 [svn-r19603] Purpose:
Backout the previous change:
 (Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.)

Description:
 Some failure occurred on talwit, so backout the changes and will put it 
 back after the fix.
 (Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19598.)
2010-10-14 18:41:40 -05:00
Allen Byrne
4696e799d9 [svn-r19601] Add ExternalProject note 2010-10-14 17:00:26 -05:00
Jonathan Kim
5b444e61a2 [svn-r19599] Purpose:
Fix for bug# 2040 - h5copy should fail gracefully for expected failure copying to non-exist nested group without -p option.

Description:
 Fixed h5copy to fail gracefully when copying object to non-exist group without -p option. This is expected to be failed.
 Merged from hdf5 trunk r19598.

Tested:
 jam, amani
2010-10-14 16:08:15 -05:00
Albert Cheng
8ed77258a3 [svn-r19593] Bug fix: H5D_create should return NULL on failure but one of return code was
FAILED. Rejected by the xlc compiler.

Solution: changed it to reutrn NULL.
Tested: UP make passed. serial passed but some parallel tests failed. The
parallel tests failed were not related to this fix.
2010-10-13 18:36:03 -05:00
Albert Cheng
726463178d [svn-r19591] Bug fix: since the addition of
RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA"}
kind of mess things up for the parallel HDF5 configure.
Changed it to 
    RUNSERIAL=${RUNSERIAL="env LDR_CNTRL=MAXDATA=0x20000000@DSA MP_PROCS=1 MP_TASKS_PER_NODE=1 poe"}
if --enable-parallel.

Also merge powerpc-ibm-aix5.x with ibm-aix by making powerpc-ibm-aix5.x to
source ibm-aix just like ibm-aix6.x.  This is in preparation that all AIX
platforms will eventually just use ibm-aix directly.

Fixed a small problme in ibm-flags: some older xlc (e.g. v7.1) prints the
version information with a leading blank. So, accommodate this pattern by
removing the "^".

Tested: LLNL uP, 32/64bits, serial/parallel. (parallel has tests failed
but this change is mainily for configure issues.)
Also tested BP, 32/64bits but serial only.
2010-10-13 18:24:59 -05:00
Quincey Koziol
97d7903312 [svn-r19589] Description:
Correct minor error in sizes of objects on 1.8 branch.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode
2010-10-13 12:43:18 -05:00
Quincey Koziol
a294ddffe5 [svn-r19588] Description:
Bring r19587 from trunk to 1.8 branch:

	Address issue with object headers being created getting evicted from
the metadata cache cache before they are completely initialized.  This is
done by pinning the object header in the cache until it is completely
initialized and attached to a group.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
        FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                in production mode
2010-10-13 11:17:52 -05:00
Raymond Lu
a911db88e4 [svn-r19585] Bug 1707 - I took out an extra line from the set default function.
Tested on jam - simple change.
2010-10-12 13:37:52 -05:00
Raymond Lu
98c90bd9cd [svn-r19583] Bug fix for 1707 - H5Eset_auto causes a seg fault when an application uses -DH5_USE_16_API
with the 1.8 library to compile.  The cause is from the mismatch of H5Eprint1 and H5Eprint2 
set through H5Eset_auto.  I changed the structure H5E_auto_t.  I added a IS_DEDAULT flag in 
it.  Both H5Eprint1/2 are the default now.  If the user sets his/her own printing function.
Then a call to H5Eget_auto1/2 will have to match H5Eset_auto1/2.  

Tested on heiwa, jam, and amani.

The property change in configure.in, config, tools/misc, tools/lib, c++/test, fortran, and 
Makefile.am came from the merge of the trunk library change.

--This line, and th se below, will be ignored--

_M   .
M    test/testerror.sh.in
M    test/err_compat.c
M    test/testfiles/err_compat_1
_M   configure.in
M    src/H5Epkg.h
M    src/H5E.c
M    src/H5Eint.c
M    src/H5Edeprec.c
_M   tools/misc
_M   tools/lib
_M   config
_M   c++/test
_M   Makefile.am
_M   fortran
2010-10-12 11:45:36 -05:00
Allen Byrne
09d549d0e9 [svn-r19581] Correct target format in ADD_DEPENCIES command 2010-10-12 09:17:30 -05:00
Allen Byrne
97141dcb0d [svn-r19574] Adjust external library names depending on build type for ExternalProject Command
Tested: local linux, windows
2010-10-11 15:36:22 -05:00
Allen Byrne
2f27903505 [svn-r19571] Parameterize SVN URLs.
Add ExternalProject dependicies of external libs copy on project build.
Force ExternalProject Libs to build release.

Tested: local linux
2010-10-11 10:13:15 -05:00
Elena Pourmal
0e617633fc [svn-r19567] Maintenance: Added -O3 to be used with the C Intel v 11 compilers; set default to -O for all
unknown versions of the C Intel compilers.
             Modified apple config file to display Intel compiler information.
             Updated RELEASE.txt notes accordingly.
Platfroms tested: jam, amani and dubna (Mac 64-bit) with Intel C, Fortran and C++ compilers.
2010-10-08 15:57:57 -05:00
Allen Byrne
2305dc9b7a [svn-r19549] Remove reference files from clearall command
Add IF check for NOT PACKEDBITS to nofilename test
2010-10-08 09:30:16 -05:00
Mike McGreevy
3bf8b6a38a [svn-r19545] Purpose:
Patch for metadata accumulator bug
Description:
   Linew failed one of the randomly seeded fheap tests
   due to a corner case bug in the metadata accumulator code.
   This patch fixes the corner case.
Tested:
    used same random seed in fheap tests to reproduce and 
   verify on linew; plus full make check on jam.
    unit tests for accumulator code coming soon.
2010-10-08 08:59:10 -05:00
Quincey Koziol
b1edd6811e [svn-r19542] Description:
Bring r19541 from trunk to 1.8 branch:

	Correct assert statement to acount for pinned entries.

Tested:
	Linux/64 2.6 (chicago)
	(too peculiar to Chicago setup h5committest)
2010-10-07 17:13:22 -05:00
Allen Byrne
32daa26065 [svn-r19537] Cleanup formatting 2010-10-07 12:19:23 -05:00
Allen Byrne
2518d8188c [svn-r19535] Add using-memchecker option 2010-10-07 11:05:54 -05:00
Larry Knox
6dbfc9d3ae [svn-r19529] Added line to config/examples.am to remove execute permission from example source files that are installed in .../share/hdf5_examples/. This will address bugzilla #2025.
Tested with h5committest on amani, heiwa, and jam.
2010-10-06 18:33:56 -05:00
Allen Byrne
c18db616e5 [svn-r19528] Add clear generated objects commands to test blocks.
Add configurefile command to copy CTestCustom to build folder.

Bring r19527 back from trunk

Tested: local linux
2010-10-06 15:51:02 -05:00
Allen Byrne
22db4c3113 [svn-r19526] Updated tested Windows platforms 2010-10-06 09:47:47 -05:00
Raymond Lu
6456ce8313 [svn-r19522] I added another test case - disabling chunk cache. H5Dwrite will fail instead of H5Dclose
when the chunk cache is disabled and the mandatory filter fails.

Tested on jam - simple change.
2010-10-05 15:14:40 -05:00
Allen Byrne
df16831eea [svn-r19521] Move 'int nerrors = 0' declaration out of '#ifdef' block to match return.
Bring r19520 back from trunk
2010-10-05 15:00:33 -05:00
HDF Tester
4518f8ba2c [svn-r19511] Snapshot version 1.8 release 7 (snap0) 2010-10-05 08:28:37 -05:00
Allen Byrne
694c9065e0 [svn-r19510] Improve CMake support for CYGWIN.
Correct script comment in testh5diff.sh

Bring r19509 back from trunk

Tested: Windows Cygwin
2010-10-04 16:41:03 -05:00
Quincey Koziol
0574011fe8 [svn-r19499] Description:
Bring r19498 from trunk to 1.8 branch:

        Optimize the vector-vector memcpy() routine even further, for a total
of ~2x speedup.  :-)

        Make a generic vector-vector operation routine and convert other
vector-vector read & write routines to use generic routine instead of multiple
copies of the basic algorithm.

Tested on:
        FreeBSD/32 6.3 (duty) in debug mode
	(h5committested on trunk)
2010-10-01 00:43:11 -05:00
Allen Byrne
d4927395ba [svn-r19496] Change ExternalProject Dependicies guard to positive match (Windows configure error)
Tested: Windows
2010-09-30 09:31:31 -05:00
Allen Byrne
bd5541038d [svn-r19494] Correct static external project library base names.
Tested: windows
2010-09-29 15:57:29 -05:00
Jonathan Kim
c88c65c130 [svn-r19492] Purpose:
Update help page for exclude-path feature.

Description:
 Merged from hdf5 trunk (r19491).
 Related to "1890:  h5diff excluding object for file comparison via command line" checkins. (r19406)

Tested:
 jam, linew
2010-09-29 10:45:11 -05:00
Allen Byrne
24e0792396 [svn-r19490] Correct dependency on extlib project when not using external projects. 2010-09-29 09:48:15 -05:00
Allen Byrne
0a00129bae [svn-r19486] Add ExternalProject support for external libs - option added Defaults to NO. SVN allows downloading project from svn. Future option is to use a tar file.
Tested: Windows, local Linux
2010-09-28 13:28:28 -05:00
Quincey Koziol
09384e14e7 [svn-r19485] Description:
Bring r19484 from trunk to 1.8 branch:

    Clean up formatting a bit.

Tested on:
    FreeBSD/32 6.3 (duty) w/debug
    (Too minor to require h5committest)
2010-09-28 10:29:53 -05:00