Commit Graph

11018 Commits

Author SHA1 Message Date
John Mainzer
e16277e5bc [svn-r15818] Fixed error in metadata cache configuration validation code uncovered
when updating documentation for "cork the cache" and flash cache size
increment code.

Tested:  Serial on Phoenix
         Parallel on Kagiso
	 Serial on Linew
2008-10-08 13:10:19 -05:00
Scott Wegner
7064d9d8ad [svn-r15816] Purpose: Update h5ls test script
Description:
The general h5ls test script was recently updated.  This checkin brings those changes to Windows

Also add freespace & mf to general test script, since I forgot in the last checkin

Tested:
VS2005 on WinXP
2008-10-08 11:04:39 -05:00
Scott Wegner
fdfb8cf2a0 [svn-r15815] Purpose: Add new source code and tests to Windows
Description:
Many new source files were added from the freespace branch.  This checkin adds the code to Windows as well.

Note: Some tests are still failing on Windows, but this checkin brings us closer to fixing them.  In particular, freespace test fails on compile (Quincey is working on it), and the DLL links test fails at runtime (I'll look into it)

Tested:
VS2005 on WinXP
2008-10-08 11:01:43 -05:00
Albert Cheng
36e90dd9e2 [svn-r15810] Some test produced files were not cleaned by "make clean".
Added them to the clean list.

Tested: kagiso.
2008-10-07 21:49:38 -05:00
Albert Cheng
47e3636a31 [svn-r15808] Some test produced files were not cleaned by "make clean".
Added them to the clean list.

Tested: kagiso, serial and parallel.
2008-10-07 21:03:35 -05:00
Pedro Vicente Nunes
413bedbddf [svn-r15807] correction in test name, testing "non" initialized chunks
tested: windows, linux
2008-10-07 13:10:49 -05:00
Neil Fortner
698a6d8845 [svn-r15804] Purpose: Add option to h5ls to enable external link traversal.
Description: Added -E option to h5ls.  When set, this alows h5ls to enter
external files (currently only through an external link).  The -r option by
itself will no longer allow h5ls to traverse external links.

Tested: kagiso, linew, smirom (h5committest)
2008-10-07 09:54:26 -05:00
Quincey Koziol
c05f2a85a3 [svn-r15802] Description:
Skip some file free space tests that deal with aligned allocations when
using the stdio VFD, which has its own allocation process that drops the
unaligned fragments instead of tracking them with the free space manager.

Tested on:
	Mac OS X/32 10.5.5 (amazon) w/stdio VFD
2008-10-07 09:14:14 -05:00
Quincey Koziol
9f60f016ab [svn-r15800] Description:
Bring file free space branch changes through r15795 into trunk, which
includes a fair bit of code cleanup & rearrangement along with a couple of
bug fixes also.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-10-06 23:17:35 -05:00
Quincey Koziol
504c67846e [svn-r15798] Description:
Change H5Tcommit() call to H5Tcommit2() call, so that library builds with
the default API set to v16 work.

Tested on:
    Linux/64 2.4 (smirom) w/default API set to v16
2008-10-06 23:10:20 -05:00
Neil Fortner
7d95527f30 [svn-r15796] Purpose: Close bug #1322
Description: Fixes a possible datatype id leak that could occur during compound
datatype conversion, or more precisely, when unregistering those conversions.
Datatype ids normally registered by the library are no longer visible to the
application via H5Fget_obj_ids and H5Fget_obj_count.

Tested: kagiso, linew, smirom (h5committest)
2008-10-06 22:47:09 -05:00
Pedro Vicente Nunes
2e9986a01e [svn-r15792] Bug fix. When detecting the user requested filters, the "all" option was not taken in consideration when printing the compression ratio
Tested: windows, linux
2008-10-06 15:52:44 -05:00
Scott Wegner
87a508cd00 [svn-r15789] Purpose: Add new source file, H5EAsblock.c, to Windows
Description:
The source file H5EAsblock.c was recently added to svn.  This checkin also adds it into our Windows project files.

Note that it hasn't been included in the Visual Studio .NET projects.  We are discontinuing our support for Visual Studio .NET in the trunk so we can use C99 features not available in Visual Studio .NET.  From this point forward, the Visual Studio .NET projects won't be maintained, and will likely be deleted before the 1.10 release.
2008-10-06 14:07:16 -05:00
Christian Chilan
0753d5964c [svn-r15772] Added feature to display file open and close times.
Tested on kagiso and cobalt.
2008-10-03 15:51:19 -05:00
Neil Fortner
3a867ec1c1 [svn-r15767] Fix version numbers in vms h5pubconf.h
Tested: gedit
2008-10-03 12:00:07 -05:00
Vailin Choi
3d008d3756 [svn-r15762] Changes for bug #1247 so that the user can specify the driver
to use when opening the external linked target file.
1. Two new public routines are added to H5Plapl.c as well as
"del/copy/close" callbacks for the property itself.
2. Modify H5L_extern_traverse() to use the fapl set via 
H5Pset_elink_fapl() and retrieve via H5Pget_elink_fapl().
3. Add 3 tests to links.c to verify H5Pset/get_elink_fapl().

Also fix the compiler warning for the "if condition" in 
H5_build_extpath() of H5system.c.
2008-10-02 22:54:23 -05:00
Quincey Koziol
33ae6a749e [svn-r15758] Description:
Extend extensible array tests

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-10-02 15:09:08 -05:00
Pedro Vicente Nunes
8e97904f5f [svn-r15757] Bug #1312
Solution:
Check for the existence of chunks before pruning them (an assertion was triggered when attempting to do so)

Tested: windows , linux, solaris
2008-10-02 14:56:45 -05:00
Quincey Koziol
4f7970f9f0 [svn-r15755] Description:
Fix some minor problems w/extensible array super blocks and extend
tests.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-10-02 13:49:09 -05:00
Scot Breitenfeld
8e9bb8af7c [svn-r15749] Description:
Removed blank lines
2008-10-01 14:57:52 -05:00
Scot Breitenfeld
8500d30e82 [svn-r15748] Fixed spelling errors 2008-10-01 14:53:53 -05:00
Quincey Koziol
f75d422410 [svn-r15746] Description:
Add support for extensible array "super block".

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-10-01 14:24:32 -05:00
Scot Breitenfeld
d9f91a3a60 [svn-r15744] Description:
Removed extraneous comments and unused code.
2008-10-01 11:36:38 -05:00
Quincey Koziol
e9fbf9b055 [svn-r15741] Description:
Extend testing for data block reachable from the index block.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-09-30 17:56:55 -05:00
Quincey Koziol
ee1e49e8f6 [svn-r15738] Description:
Correct a couple of minor bugs for handling data blocks from index
block and extend tests further.

Tested on:
        Mac OS X/32 10.5.5 (amazon) in debug mode
        Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-09-30 16:25:51 -05:00
Scot Breitenfeld
393100b2b6 [svn-r15737] Description:
Changed the tests so that the *.h5 test files are removed depending on the HDF5_NOCLEANUP environment variable.
bug 696
2008-09-30 16:05:39 -05:00
Pedro Vicente Nunes
915ed32696 [svn-r15733] #1307
A space id was not closed in H5PTopen

Tested: windows, linux
2008-09-30 13:44:02 -05:00
Scott Wegner
ad6c6761a4 [svn-r15723] Purpose: Add h5import test to Windows
Description:
Add a new test for h5import to check for alignment.  Also fix the failing h5repack test, now that ublock has been added to svn.

Tested
VS2005 on WinXP
2008-09-29 14:41:16 -05:00
Pedro Vicente Nunes
1d625572d3 [svn-r15721] Added a file with user block data to be used by the h5repack windows shell script only Note: for the unix shell script this file is not used 2008-09-29 14:02:20 -05:00
HDF Tester
94c2902fc5 [svn-r15713] Snapshot version 1.9 release 19 2008-09-28 04:57:24 -05:00
Albert Cheng
ff05ce79ab [svn-r15711] Purpose:
features.

Description:
Added -shlib tests and verbosity control.

Tested Platform:
Kagiso.
2008-09-27 04:13:02 -05:00
Pedro Vicente Nunes
9460d5493b [svn-r15705] bug fix
make a test generate a LE output for test portability

tested: linux, solaris
2008-09-26 14:14:21 -05:00
Raymond Lu
6f5d0e22f3 [svn-r15704] I changed the return values of H5Fget_obj_ids and H5Fget_obj_count to ssize_t and modified
C++ and Fortran API functions.  This is for bug #1245. 

Tested on smirom, linew, and kagiso.
2008-09-26 13:55:32 -05:00
Quincey Koziol
f9f71a001b [svn-r15703] Description:
Further progress on extensible array implementation - add support for
more data blocks from index block.

Tested on:
        Mac OS X/32 10.5.4 (amazon) in debug mode
        Mac OS X/32 10.5.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-09-25 18:14:43 -05:00
Quincey Koziol
6a1614de3e [svn-r15701] Description:
Remove some unused variables.

Tested on:
        Mac OS X/32 10.5.4 (amazon) in debug mode
        Mac OS X/32 10.5.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-09-25 17:55:35 -05:00
Pedro Vicente Nunes
a6e2a45d15 [svn-r15699] Bug fix #1281
The TEXTFPE was described in the usage (read floats in scientific notation) but was not implemeneted.
Solution:
remove TEXTFPE from the help system and have the TEXTFPE input type do
the same thing as TEXTPF currently does to support backwards compatibility (the format read for both TEXTFPE and TEXTPF is %f)
added a test

tested: windows, linux
2008-09-25 15:38:21 -05:00
Scot Breitenfeld
41e1d56e32 [svn-r15696] Description:
Fix for test of H5Tget_native_type_f
2008-09-25 09:57:47 -05:00
Scot Breitenfeld
f85aafd50d [svn-r15693] Description:
Added test for h5tget_native_type_f
2008-09-24 15:00:54 -05:00
Scot Breitenfeld
457514fab7 [svn-r15692] Description:
Added the optional 'mounted' variable to H5Gget_info_by_idx_f/H5Gget_info_f/H5Gget_info_by_name_f to see that it passes the correct values.
2008-09-24 12:51:57 -05:00
Scot Breitenfeld
3a26bc2d0f [svn-r15691] Cosmetic changes. 2008-09-24 11:28:46 -05:00
Scot Breitenfeld
8866806873 [svn-r15690] Description:
In nH5Sget_select_bounds_c swapped array bounds to account for C and Fortran reversed array notation.
2008-09-24 11:26:32 -05:00
Scot Breitenfeld
acf7dd2c74 [svn-r15689] Description:
Added additional tests for h5sget_select_bounds_f
2008-09-24 11:23:54 -05:00
Scot Breitenfeld
844a56e79b [svn-r15688] Description:
Added additional tests for h5sget_select_hyper_blocklist_f
and 5sget_select_elem_pointlist_f
2008-09-23 16:52:19 -05:00
Scot Breitenfeld
9b4a0aea49 [svn-r15687] Description:
Fixed 
nh5sget_select_hyper_blocklist_c
nh5sget_select_elem_pointlist_

for bug 1319. by transposing arrays for C-FORTRAN convention.
2008-09-23 16:51:07 -05:00
Pedro Vicente Nunes
44e038362b [svn-r15684] New feature (h5diff -c) 2008-09-23 11:26:32 -05:00
Neil Fortner
5bbc0eedff [svn-r15682] Purpose: fix bug 1298
Description: The optimized "subset" compound conversion function would
improperly copy the "blank" space at the end of compound types.  Modified
H5T_conv_struct_init to detect when the subset type has extra space at the end,
and calculate the size of the data that should be copied into the conversion
buffer for each element.  Changes to the functions that implement these
conversions.

Tested: kagiso, linew, smirom (h5committest)
2008-09-22 18:41:31 -05:00
Quincey Koziol
fe6cf16d94 [svn-r15681] Description:
Correct small error in allocating data block elements and add some more
tests.

Tested on:
        Mac OS X/32 10.5.4 (amazon) in debug mode
        Mac OS X/32 10.5.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-09-22 17:42:21 -05:00
Pedro Vicente Nunes
d0859bb174 [svn-r15678] formatted code
tested: windows, linux
2008-09-22 13:40:38 -05:00
Quincey Koziol
071e281a3d [svn-r15676] Description:
Centralize all macros for declaring "magic numbers"/signatures for
objects in the file into src/H5Fprivate.h, so it's easier to know what values
have already been defined, etc.

Tested on:
        Mac OS X/32 10.5.4 (amazon) in debug mode
        Mac OS X/32 10.5.4 (amazon) w/C++ & FORTRAN, w/threadsafe,
                                in production mode
        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
2008-09-22 12:13:21 -05:00
Scott Wegner
02156246da [svn-r15675] Purpose: Add new source file H5EAdblock.c to Windows.
Description:
New source file H5EAdblock.c was added to the library.  This checkin adds the file to our Windows projects, hdf5 and hdf5dll (VS2005 and VS.NET project files)

Tested:
Build only, VS2005 on WinXP
2008-09-22 11:35:25 -05:00