Commit Graph

11525 Commits

Author SHA1 Message Date
Albert Cheng
cf212aebf8 [svn-r17562] Fixed a syntax error that generates a file named 0.
Tested:
Jam as it is simple shell script change.
2009-09-30 22:44:43 -05:00
Quincey Koziol
ee383d182f [svn-r17553] Description:
Bring general fixes/improvements from file_free_space branch back to
trunk.

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/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) 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, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.5.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-09-29 15:08:01 -05:00
Albert Cheng
531f086cbc [svn-r17550] Updated with H5check_version tests. 2009-09-29 11:49:34 -05:00
Albert Cheng
8feb521bbb [svn-r17544] 2009-09-28 23:45:46 -05:00
Albert Cheng
0f2901843c [svn-r17543] Bug fix (ID 1656):
Changed H5check_version() to suppress the warning message totally if
$HDF5_DISABLE_VERSION_CHECK is 2 or higher. (Old behavior treated 3 or higher
the same as 1, that is to print a warning and allows the program to continue.

Tested:
h5committested, extra jam serial, --disable-embedded-libinfo.
2009-09-28 23:43:22 -05:00
Albert Cheng
06a71c86a3 [svn-r17542] New test:
Add new tests (tcheck_version, testcheck_version.sh) to verify H5check_version()
does issue warnings and abort accordingly.

Tests:
H5committed tested plus jam serial tested.
2009-09-28 10:44:35 -05:00
Allen Byrne
541f147c91 [svn-r17541] Added missing farray(dll) project dependicies on hdf5 and libtest to the solution file. 2009-09-28 08:49:58 -05:00
Larry Knox
96318e678f [svn-r17538] Snapshot version 1.9 release 46 2009-09-27 07:42:31 -05:00
Neil Fortner
a57f2246b2 [svn-r17535] Purpose: Fix bug 1620
Description:
H5Ppublic.h listed H5Pget_filter_by_id1 and H5Pget_filter_by_id2 as returning
H5Z_filter_t, when in fact they return herr_t.  The header file has been
corrected to indicate that they return herr_t.

Tested: jam
2009-09-25 14:13:22 -05:00
Neil Fortner
2f3d788b2c [svn-r17534] Add note to RELEASE.txt for changes in r17530 2009-09-25 14:08:41 -05:00
Neil Fortner
260d1d3873 [svn-r17530] Purpose: Fix bug 1555
Description:
At several places in H5Pint.c properties were being compared using memcmp, not
using the registered "cmp" callback.  This could cause memory checkers to
report uninitialized memory errors, and could conceivably cause runtime errors
if memcmp reported false equality (for example if a value pointed to by the
property changed).

The code has been changed to always use the cmp callback.  Tests have been added that check this in all the places that previously used memcmp.

Tested: jam, linew, smirom (h5committest)
2009-09-25 13:09:06 -05:00
Allen Byrne
f1cf5ab7aa [svn-r17529] Added farray projects to solution file. 2009-09-25 09:21:19 -05:00
Allen Byrne
08d1b36d93 [svn-r17528] Added missing windows project files for farray 2009-09-25 08:56:46 -05:00
Quincey Koziol
d020ce731b [svn-r17524] Description:
Switch to using system call wrapper macros instead of "raw" system calls.

Tested on:
    Mac OS X/32 10.5.8 (amazon) w/debug & production
    (too minor to require h5committest)
2009-09-24 18:10:20 -05:00
Allen Byrne
85202f5a06 [svn-r17520] Added project files and test for new farray.c file 2009-09-24 15:49:30 -05:00
Quincey Koziol
74c6507d9f [svn-r17518] Description:
Bring most of Vailin's changes to the fixed array data structure back
to the trunk, including new regression test for data structure.

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/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) 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, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.5.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-09-24 15:30:47 -05:00
Raymond Lu
d67bb5f130 [svn-r17516] In the function test_rw_noupdate, I added a test with the system functions to make
sure the stat function behaves as we expected.  This test is skipped on some system because 
the modification time from stat is the same as the last access time (We know OpenVMS behaves 
in this way).

Tested on jam, smirom, and linew.  My account for OpenVMS expired.  I'll test it once I have
it back.
2009-09-24 13:26:42 -05:00
Larry Knox
ecdc905099 [svn-r17511] Move misplaced ')' after make uninstall command so 'du -ks' command is run in test directory instead of running in snapshot directory. Snapshot directory has many more subdirectories and is often remote, increasing test running time and reporting incorrect disk usage.
Tested on smirom in hdfdts version.
2009-09-22 14:41:46 -05:00
Albert Cheng
cd0f704f4d [svn-r17503] Bug fix:
Test failed with libhdf5.so not found in MacOS which uses a different
suffix (*.dylib) for shared lib.

Solution:
Added code to setup shared lib file suffix according to OS types.

Tested:
Tejeda, jam.
2009-09-22 11:09:56 -05:00
Albert Cheng
1d2bf10ae7 [svn-r17502] Purpose:
Stage 2 implementation of embedded library information feature.

H5.c: added code to print the embedded library information when there is
a library versions mis-match occurs. This ensures the library information
string is included in the executable.
Also modifies the code so that the Library mismatch warning string is
included only once in the executable.

H5private.h:
Added a global reference to the libinfo string variable to prepare
for possible stage 3 implementation of a public API.

test/testlibinfo.sh.in:
A new test added to verify the library information is indeed included
in the executables.

configure.in:
configure:
Added entry to auto-generate test/testlibinfo.sh.

H5detect.c:
Modified the libhdf5settings generating code to allow it to insert the
strings to a file other than stdout.  This maybe needed in stage 3
implementation.

MANIFEST:
updated with the newly added file of testlibinfo.sh.in.

Tested:
h5committest passed. Additional tests:
jam serial; jam --disable-embedded-libinfo; jam --disable-shared. All passed.
2009-09-21 00:28:44 -05:00
Scot Breitenfeld
22d4097ff7 [svn-r17498] Bug 1471 - H5Tset_order_f missing constant option H5T_ORDER_NONE
- Fixed, added H5T_ORDER_NONE_F

Tested: smirom (g95, gfortran, ifort, pgf90)
        linew
2009-09-18 09:49:10 -05:00
Allen Byrne
b0883a206f [svn-r17494] Added missing test for display buffer resize. 2009-09-17 15:57:51 -05:00
Allen Byrne
d00707bf11 [svn-r17492] Moved printing of brackets before printing contents of region references.
Changed default Error handling init to successful as all error macros set the return to failure

Tested: local linux
2009-09-17 15:31:44 -05:00
Raymond Lu
5713f108ce [svn-r17489] Skip the test in the function test_rw_noupdate() for OpenVMS because the modification time
returned from the system function stat is the same as the last access time, making it 
impossible to test whether the file is modified.

Tested on jam - simple change.
2009-09-17 14:23:08 -05:00
Scot Breitenfeld
b7b9099627 [svn-r17487] Cleaned-up comments in h5lget_info_by_idx 2009-09-17 12:20:51 -05:00
Raymond Lu
1dad72e54c [svn-r17483] Added H5Dlayout.c to make.com.
Not tested yet.
2009-09-15 16:25:23 -05:00
Scot Breitenfeld
84527bc7ac [svn-r17482]
Bug 1652 -  h5lget_info_by_idx_f missing/broken functionalit
  * added returned val_sel, link_type and address that were missing

In the process, fixed the integer type in H5lget_info_f for address and val_sel

  * wrote test for val_sel, address, and link_type returned values

  * to check address values added h5Oopen_by_addr_f function and test program.

Tested: smirom (pgf90/pgcc, ifort/icc)
        linew
        jam (gcc/g95)
2009-09-15 15:19:02 -05:00
Raymond Lu
8537263df1 [svn-r17480] Added H5Fsuper_cache.c into the make.com.
Not tested yet.
2009-09-15 13:55:22 -05:00
Allen Byrne
485653ffc6 [svn-r17479] Fixed obvious error : changed talign.c to talign on TEST_PROG assignment. 2009-09-15 10:41:50 -05:00
Allen Byrne
b19d0fb868 [svn-r17478] Update Windows project file for test refactored out of tools lib.
Tested: Windows
2009-09-14 17:03:53 -05:00
Allen Byrne
cd3c2dea7b [svn-r17477] Corrected use of ERROR macro H5E_LEAVE to H5GOTO_DONE.
Tested: local linux
2009-09-14 16:48:32 -05:00
Allen Byrne
b9c80f7b7b [svn-r17476] Update test file that was refactored. 2009-09-14 15:39:28 -05:00
Allen Byrne
43db823044 [svn-r17475] Added error handling to h5dump and region reference handling functions in the tools lib. Bring back from NPOESS. Added missing tests to h5dump test script for region references.
Tested:   local linux
2009-09-14 14:52:42 -05:00
Scot Breitenfeld
fa3eab20dd [svn-r17473] Description:
Declared the variable H5L_LINK_EXTERNAL_F need for failing with the portland compiler.

Tested: jam (pgif90, pgcc)
2009-09-14 11:09:21 -05:00
Allen Byrne
5a5ca3f12c [svn-r17471] Corrected use of _DEBUG preprocessor value in release configurations of hdf5_f90cstubdll.vcproj
Corrected debug configuration of examples project file
Updated windows batch file to match the testh5diff.sh script change in rev 17466.

Tested: windows
2009-09-11 17:13:56 -05:00
Scot Breitenfeld
dd68ba15ea [svn-r17470] Bug fix:
Bug 1653 -  H5_LINK_* values defined in H5f90global.f90 are incorrect

The Fortran EQUIVALENCE constant variables did not match those from the C definitions, fixed.

Missed because there is not a Fortran test function that uses these constants. 

Tested: smirom (ifort, g95)
2009-09-11 16:50:47 -05:00
Peter Cao
5f3a7254c1 [svn-r17466] " Use strict equality as default
"   Use "--use-system-epsilon" for system EPSILON
"   Use "-p" or "-d" for whatever user's choice of epsilon
"   Use "-p 0" or "-d 0" for strict equality (same as default)
2009-09-11 15:09:34 -05:00
Quincey Koziol
f41b8ab87b [svn-r17463] Description:
Add another regression test for userblock+alignment usage, and correct
[another] issue with the combination. *sigh*

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/C++ & FORTRAN, w/threadsafe,
        in debug mode
    Linux/64-amd64 2.6 (smirom) 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, in production mode
    Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
        in production mode
    Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
    Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
    Mac OS X/32 10.5.8 (amazon) in debug mode
    Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
2009-09-11 07:19:45 -05:00
Quincey Koziol
f4d4d427b2 [svn-r17461] Description:
Fix a few more problems when the user block is not aligned properly.

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/C++ & FORTRAN, w/threadsafe,
        in debug mode
    Linux/64-amd64 2.6 (smirom) 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, in production mode
    Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
        in production mode
    Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
    Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
    Mac OS X/32 10.5.8 (amazon) in debug mode
    Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
2009-09-10 14:02:40 -05:00
Quincey Koziol
eaf4ee3eb9 [svn-r17459] Description:
Correct bad interaction between non-zero userblocks with non-zero
alignments.

    Also add some additional range checking and tests for invalid userblock
sizes.

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 (smirom) 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, in production mode
    Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
        in production mode
    Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
    Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
    Mac OS X/32 10.5.8 (amazon) in debug mode
    Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
2009-09-08 15:15:37 -05:00
Allen Byrne
1cad9f4751 [svn-r17456] Added dataspace type check for region, changed dimension_break processing to use boolean.
Tested:
    local linux
2009-09-08 09:51:59 -05:00
Quincey Koziol
eae58095d0 [svn-r17455] Description:
Correct a 'hsize_t *' to 'hsize_t' and vice versa.

Tested on:
    Mac OS X/32 10.5.8 (amazon) in debug mode
    Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
        in production mode
    (too minor to require h5committest)
2009-09-08 08:03:38 -05:00
Albert Cheng
097ae3ae4b [svn-r17454] Bug fix. (Daily test failure).
Generic function name is used but that would fail when v16API is used.
Changed the H5Dcreate() and H5Acreate() to v18 names as H5Dcreate2() and H5Acreate2().

tested: jam (regular and --with-default-api-version=v16).
2009-09-07 02:51:08 -05:00
Allen Byrne
c1f98f4763 [svn-r17451] Added new features for h5dump in tools section. Moved h5dump bug fix to bug fixed section. 2009-09-04 15:38:40 -05:00
Allen Byrne
c7590ca38e [svn-r17450] Bring h5dump single subsetting selection and region reference changes from NPOESS
Tested: local linux smirom
2009-09-04 09:50:13 -05:00
Mike McGreevy
4978a681f9 [svn-r17447] Purpose:
Script Update

Description:

    Updated autoconf version in bin/chkconfigure script to 2.64
2009-09-03 13:38:25 -05:00
Larry Knox
458358f0bd [svn-r17446] Snapshot version 1.9 release 45 2009-09-03 13:02:46 -05:00
Mike McGreevy
49b638104c [svn-r17440] Purpose:
Add warning to configure

Description:

   Patched up the configure script to issue a warning when the user
   has supplied the --enable-static-exec flag on a system that libtool
   indicates does not support the -static linker flag.

Tested:

   jam, smirom, linew, liberty.
2009-08-31 11:21:56 -05:00
Quincey Koziol
f88607ed24 [svn-r17432] Description:
Simplify out dataspace cleanup code.

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 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) 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, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.5.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-08-27 14:44:08 -05:00
Quincey Koziol
b1512c79e5 [svn-r17429] Description:
Bring work from "compress group's fractal heap" branch back to trunk:
reove unnecessary v2 B-tree 'retrieve' callback from v2 B-tree clients.

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 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) 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, in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
        Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
        Mac OS X/32 10.5.8 (amazon) in debug mode
        Mac OS X/32 10.5.8 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
2009-08-27 11:40:57 -05:00