Commit Graph

10809 Commits

Author SHA1 Message Date
Quincey Koziol
cea8049404 [svn-r15983] Description:
Remove redundant check for 1.6 default API.

Tested on:
    Eyeballed - very trivial
2008-10-28 18:43:50 -05:00
Pedro Vicente Nunes
ace46106f3 [svn-r15979] some test files from rev 15866 from 1.8 branch
tested: linux
2008-10-28 14:53:24 -05:00
Pedro Vicente Nunes
3eb56dc9ab [svn-r15978] remove h5diff -c mention and add long double mention 2008-10-28 14:37:03 -05:00
Pedro Vicente Nunes
b7dc9a06b3 [svn-r15977] merge rev 15866 from 1.8 branch into trunk (diffs for unsigned long long)
tested: windows, linux
2008-10-28 14:13:42 -05:00
Raymond Lu
ab2de0d63c [svn-r15968] Correct some minor syntax errors in the checkin #15943.
Tested with h5committest.
2008-10-27 12:10:28 -05:00
Scott Wegner
cea73f9ff9 [svn-r15965] Purpose: Mention Windows bugfix in release document
Description:
In June, we discovered a bug in Windows which only affected specific timezones with the mtime test.  This bug was promptly fixed, but never documented.  This checkin adds a note to the release document.
2008-10-27 10:01:12 -05:00
Binh-Minh Ribler
8e7e1f1119 [svn-r15961] Description:
Fixed some typos and replaced free/HDfree and malloc/HDmalloc.

Platforms tested:
    Linux 2.6 (kagiso)
    SunOS 5.10 (linew)
2008-10-27 07:59:12 -05:00
Binh-Minh Ribler
3677f54877 [svn-r15959] Description:
Added missing wrappers for H5Rdereference.
    Also, for these wrappers, improved exception handlings to report specific
        overloaded functions, where failure occurs.  Will do the same for more
        functions later...

Platforms tested:
    Linux 2.6 (kagiso)
    SunOS 5.10 (linew)
    FreeBSD (duty)
2008-10-26 21:30:06 -05:00
Christian Chilan
ff3481d957 [svn-r15957] Revised the help page of h5perf.
Tested on kagiso.
2008-10-26 16:20:30 -05:00
HDF Tester
d5913fd08f [svn-r15953] Snapshot version 1.9 release 20 2008-10-26 06:00:24 -05:00
Albert Cheng
9ec51ea115 [svn-r15952] Fix Bug 1300.
Removed duplicated information due to previous incompleted changes.
Also rearranged the entries to a more logical combinations.

Tested: h5committest.
2008-10-25 20:47:53 -05:00
Mike McGreevy
dc4434724c [svn-r15947] Purpose: Bug Fix
Description: Adding the SZIP path to LD_LIBRARY_PATH within configure was
             inadvertently blowing away anything already in LD_LIBRARY_PATH. This
             fixes that, which solves, among other things, the problem where
             configure failed to learn how to print 'long long' on cobalt.

Tested: full make check install: kagiso, smirom
        configure / make / h5ls test only : cobalt, linew
2008-10-24 16:30:07 -05:00
Raymond Lu
fb1499b60c [svn-r15944] A follow-up checkin for the last-round commit(r15943). Added a test in this script file to
check whether the macros H5_USE_16_API works properly.  There used to be a problem to compile
if H5_USE_16_API is defined in the application program (see bug #1264).

Tested on kagiso - simple change.
2008-10-24 14:32:26 -05:00
Raymond Lu
5deed723e5 [svn-r15943] Changed the library's macros H5_USE_16_API to H5_USE_16_API_DEFAULT avoid possible conflict wi
th user's definition of H5_USE_16_API.  The H5_USE_16_API_DEFAULT is defined through
configure with the flag --with-default-api-version=v16.

Tested with h5committest.
2008-10-24 14:12:21 -05:00
Mike McGreevy
a664274624 [svn-r15942] Purpose: Bug Fixes and Libtool Upgrade
Description:
     - Remove need to set LD_LIBRARY_PATH when using shared szip library.

     - Libtool 2.2.6a is now used to generate libraries.

     - 'make check install' dependency bug is fixed, and should no longer
       break the build. 
  
     - removed hard coding of shell in config/commence.am, as this causes
       problems on Solaris with the new version of libtool.
   
     - RELEASE.txt with appropriate changes.

Tested:
     - kagiso, smirom, linew (merged from 1.8, pretty quick tests)
2008-10-24 12:19:34 -05:00
Neil Fortner
220c8585e1 [svn-r15941] Purpose: Close bug 1305.
Description: Added a new function, H5O_alloc_shrink_chunk, which removes all
null messages from a chunk and shrinks the chunk appropriately.  Modified
H5O_merge_null to call this function when a null message is created with a size
>= 64k.  Tests added for this functionality.

Tested: kagiso (h5committest on 1.8 version)
2008-10-23 20:05:41 -05:00
Quincey Koziol
53a8b67778 [svn-r15937] Description:
Correct error in metadata accumulator code which wasn't expanding the
metadata accumulator when adjoining (but not overlapping) I/O writes occurred.

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-23 15:25:09 -05:00
Albert Cheng
dca84b3f9b [svn-r15920] Updated with the information of the removal of libhdf5_fortran.settings. 2008-10-21 11:13:14 -05:00
Albert Cheng
7c67ccef7e [svn-r15913] Bug fix: #933
The information of libhdf5_fortran.settings are all included in
libhdf5.settings now. Remove it from the source.

Tested: kagiso with fortran and C++.
2008-10-21 00:05:50 -05:00
Scott Wegner
0ec21efe65 [svn-r15905] Purpose: Remove old source files from Windows
Description:
The source file H5fortran_flags.f90 was recently removed as their symbols were consolidated into the H5E module.  We were still referencing the files in Windows, and causing errors.  This checkin completely removes references of H5fortran_flags.f90 from Windows.

Tested:
Vs2005 on WinXP
2008-10-20 09:58:42 -05:00
Scott Wegner
59309308f1 [svn-r15904] Purpose: Add new h5dump test to Windows
Description:
Two new test cases for h5dump were recently added to the test script on Unix.  This checkin also adds the new cases to Windows.

Tested:
VS2005 on WinXP
2008-10-20 09:56:01 -05:00
Scott Wegner
2a2bc80987 [svn-r15903] Purpose: Fix Windows compiler error
Description:
Visual Studio compiler was complaining because variables were declared mid-function, when they should be declared at the top.  This checkin simply moves the declarations to the top.

Tested:
Simple edit, VS2005 only
2008-10-20 09:34:40 -05:00
Neil Fortner
ad28fa5b0c [svn-r15886] Purpose: Close bug 1332
Description: Improved external link traversal of h5dump.  h5dump will now
    properly avoid all cycles, even those spanning multiple files.  Improvement
    to the output of committed datatypes.  Committed datatypes are now checked
    for uniqueness (like other objects).  Tests added for these cases.

Tested: kagiso, linew, smirom (h5committest)
2008-10-15 22:52:16 -05:00
Scot Breitenfeld
273f31211e [svn-r15880] Description:
Moved the H5E fortran flags contained in H5fortran_flags.f90 to the H5E fortran Module (H5Eff.f90), so H5fortran_flags.f90 is no longer needed.
2008-10-15 15:40:26 -05:00
Scot Breitenfeld
2f28a019a9 [svn-r15879] Description:
Moved the H5E flags from H5fortran_flags.f90 into the H5E module, we therefore don't need H5fortran_flags.f90.
2008-10-15 15:32:22 -05:00
Quincey Koziol
0e51a4244e [svn-r15868] Description:
Correct a minor error in file free space allocation which was affecting
the 'multi' VFD and preventing some tests from fully working with it.

	Wholesale revisitation of all the places where tests were disabled
with various VFDs and remove or correct all these so that _only_ the tests
which _really_ can't work with particular VFDs are skipped during a
'make check-vfd' test.

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-14 20:46:34 -05:00
Scot Breitenfeld
bea2e1790d [svn-r15864] Description:
We check for all the available reals in Fortran and if 16 byte real is available in Fortran and not in C then we disable the 16 byte real in Fortran. Also added the test for 12 byte real in Fortran so that it can match the 12 byte float in C if available. Note: if KIND=10 and KIND=16 are both avaiable as when using g95, then it may be the case on some systems that the size of KIND=10 and KIND=16 are both 16 bytes, so the program will print twice in H5fort_type_defines.h 

#define H5_FORTRAN_HAS_REAL_16

which should not cause any errors.
2008-10-14 12:04:50 -05:00
Quincey Koziol
22cd1b61cc [svn-r15861] Description:
Various bug fixes & cleanups with VFDs and file free space changes,
along with cleaning up compiler warnings.

	Enable more VFDs (for 'make check-vfd' testing) for many 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-14 08:16:25 -05:00
Scott Wegner
c9d37a8e3f [svn-r15855] Purpose: Bring recent Windows-specific fixes from 1.8 branch to trunk
Description:
This checkin includes revisions 15845, 15846, and 15853 from the 1.8 branch.  From the svn log:

r15845:
Purpose: Add Windows-specific version of HDftruncate

Description:
Windows doesn't include a version of the system call ftruncate.  There is a similar call, _chsize_s, which performs very similarly.  Thus, we map HDftruncate to _chsize_s in our Windows header file, H5win32defs.h.

r15846:
Purpose: Declare loop variable at beginning of function

Description:
On Windows, we were getting compile errors because h5test.c includes a function with variable declarations in the middle of the call.  The Microsoft C compiler demands that all variables be declared at the top of the function.  This checkin simply moves the declaration to the top to satisfy Visual Studio.

r15853:
Purpose: Decrease size of points array in links test

Description:
In the external_set_elink_fapl2 links test, there is a large array of points which declared on the stack for testing.  Previously, the array was 1000 x 1000, which was too large for Visual Studio to handle.  As a result, we were getting stack overflows during the test.  We've reduced the number to 400, as this seems to be below the limit.  The exact number of points in the array isn't important to the test.

Tested:
VS2005 on WinXP
2008-10-13 14:16:54 -05:00
Raymond Lu
63d0b37133 [svn-r15852] Added a new test case. When a datatype is a SOHM type in one file, test that the
second file using the same datatype actually save it in the file, too.

Tested with h5committest.
2008-10-13 13:25:34 -05:00
Scot Breitenfeld
ffef670c90 [svn-r15851] Description:
Added additional H5T definitions: H5T_NATIVE_REAL_4, H5T_NATIVE_REAL_8, H5T_NATIVE_REAL_16
2008-10-13 13:00:20 -05:00
Scot Breitenfeld
db0867d957 [svn-r15850] Description:
Removed refences to "double" so that we don't distinguish between writeDoubleToFiles and writeFloatToFiles such that we match the definitions of c_float_4, c_float_8, and c_float_16 in H5f90i_gen.h
2008-10-13 12:57:15 -05:00
Scot Breitenfeld
c22b3f133b [svn-r15849] Description:
Changed the datatype test programs such that we don't distinguish between writeDoubleToFiles and writeFloatToFiles so that we only define c_float_4, c_float_8, and c_float_16 in  H5f90i_gen.h

Added the definition of real_4_f, real_8_f, real_16_f depending on if they are available, also in  H5f90i_gen.h
2008-10-13 12:54:42 -05:00
Scot Breitenfeld
6176a8a286 [svn-r15848] Description:
Cosmetic changes: added additional comments at the start of the file.
2008-10-13 12:51:53 -05:00
Vailin Choi
f89adf1d5b [svn-r15843] 1. Remove "ifdef OUT" from test/links.c
2. Add description to release doc for the two new public routines and h5stat bug fix.
2008-10-13 11:16:01 -05:00
Christian Chilan
08da960c2c [svn-r15832] Modified the display of the accumulated times taken to open and close files.
Tested on kagiso.
2008-10-09 13:12:34 -05:00
Quincey Koziol
488508c815 [svn-r15828] Description:
Skip some free space manager tests when using a VFD that doesn't
support the feature being tested.

	Use a particular memory type with the file free space sections.

	Uncomment the metadata aggregator feature for the fmily VFD, as it
appears to be working after the file free space changes.

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-09 09:51:53 -05:00
Quincey Koziol
05cc7c234f [svn-r15825] Description:
Fix various problems with a the core & sec2 VFDs.

	Improve the h5_get_file_size() routine to handle files created with
VFDs that use multiple files.

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-08 22:44:22 -05:00
Albert Cheng
70b4cf15ac [svn-r15824] Updated a bug fix information. 2008-10-08 16:03:24 -05:00
Albert Cheng
a59735101d [svn-r15822] Bug fix: #1090
The custom rules for installing h5cc, h5fc, and the fortran modules in fortran
and in hl/fortran don't use $(DESTDIR).  Added it to all those rules.

Tested: kagiso both serial and parallel with fortran and cxx enabled.
Tested by:
    make install
    make DESTDIR=/tmp/acheng install
    diff -r /tmp/acheng/.../hdf5 hdf5
2008-10-08 15:56:21 -05:00
Vailin Choi
da42cfa2c4 [svn-r15819] Modifications for bug #1253:
1. Fixed segmentation fault in print_group_info()
 2. Call print_statistics() in main() when objects/links are successfully traversed;
    otherwise, return warning message. 
line, and those below, will be ignored--

M    h5stat/h5stat.c
2008-10-08 13:52:23 -05:00
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