Commit Graph

12445 Commits

Author SHA1 Message Date
Dana Robinson
9978868c11 [svn-r20499] Fixes erroneous H5_HAVE_GETTIMEOFDAY behavior on Windows (JIRA HDFFV-5931). Previously, H5_HAVE_GETTIMEOFDAY was never properly defined. The timezone struct and Wgettimeofday() timezone output was also added.
This is a merge of several changesets from the log_vfd branch where this work took place: 20355, 20359, 20411, 20413, 20431, 20460

Tested on: Windows
2011-04-14 14:33:15 -05:00
Raymond Lu
2a5e9f353f [svn-r20497] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. I took out some comment.
No test needed.
2011-04-14 12:26:37 -05:00
Raymond Lu
824dc864bf [svn-r20496] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. I made a change in H5Sset_extent_simple to
forbid setting the dimension size bigger than existing maximal size.  In this checkin, I restored it to the previous 
behavior that any change will wipe out previous record of dimensionality.

Tested on jam - a simple change.
2011-04-14 12:24:03 -05:00
Neil Fortner
ce35ebecfb [svn-r20491] Rename H5Frelease_file_cache to H5Fclear_elink_file_cache.
Tested: Fedora (too minor for full committest)
2011-04-13 16:03:30 -05:00
Jonathan Kim
3ca91ad9dc [svn-r20490] Purpose:
Fixed HDFFV-4342 : GMQS:  h5dump test fails when source directory is read-only

Description:
    Updated CMake script to prevent stripping top 3 lines from expected output
    file for cmake testing.

    Also added missing test cases for "# Exceed the dimensions for subsetting"
    from different Bug fix in the past.

Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-04-13 15:23:36 -05:00
Jonathan Kim
eb4a8c7e7d [svn-r20488] Purpose:
Fix HDFFV-4342 : GMQS:  h5dump test fails when source directory is read-only

Description:
    Updated h5dump test case script to prevent entire test failure upon 
    source code directory is read-only.

Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-04-12 18:02:33 -05:00
Raymond Lu
6fc1d05359 [svn-r20487] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. This is a follow-up checkin for
r20440 and r20469:
  1. The dataspace code has another bug - when the maximal dimension isn't passed in for H5Sset_extent_simple, it
     is supposed to be same as the dimension.  The current library sets NULL to it.  I corrected it and added a
     test case to it.
  2. I corrected the tests of Fortran and C++ for this problem.

Tested on heiwa, jam, and amani.
2011-04-12 15:25:27 -05:00
Allen Byrne
1285f6734c [svn-r20486] Fix handling of ext libs Windows naming for External_Project builds of "Debug" builds. 2011-04-12 14:30:31 -05:00
Larry Knox
60abcfd2e8 [svn-r20482]
Fixed issue HDFFV-5866 (BZ 2156).  Changed scripts to run examples to use specific names for compiled executable files instead of a.out, which did not work on Cywin as it produces a.exe by default.  Removed issue from known problems section of RELEASE.txt.

Tested with Cygwin 1.7.8 on Windows 7.

This line, and those below, will be ignored--

M    release_docs/RELEASE.txt
M    hl/c++/examples/run-hlc++-ex.sh.in
M    hl/fortran/examples/run-hlfortran-ex.sh.in
M    hl/examples/run-hlc-ex.sh.in
M    c++/examples/run-c++-ex.sh.in
M    fortran/examples/run-fortran-ex.sh.in
M    examples/run-c-ex.sh.in
2011-04-12 12:58:57 -05:00
Quincey Koziol
e4c6ef2f06 [svn-r20480] Description:
Remove global variable for the path name in the group traversal code.  Also
clean up a bunch of compiler warnings.

Tested on:
    Mac OS X/32 10.6.7 (amazon) w/debug & production
    FreeBSD/32 6.3 (duty) w/debug
    FreeBSD/64 6.3 (liberty) w/debug
    Solaris/32 2.7 (linew) w/debug
2011-04-12 11:59:33 -05:00
Jonathan Kim
9af7a65b4f [svn-r20477] remove duplicated -f option from a test case script.
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-04-11 17:45:04 -05:00
Dana Robinson
3fbbb862a9 [svn-r20476] Removed all references to memory.h 2011-04-11 16:43:15 -05:00
Mike McGreevy
e006157deb [svn-r20475] Purpose:
- Revise shared Fortran library disabling scenarios in configure
    - Improve configure output summary

Description:

    Shared Fortran libraries are not supported on Mac, but were being
    disabled by configure in a way that also forced the C libraries
    to be static-only. This has been fixed, so now only shared Fortran
    is disabled while shared C can remain.

    This prompted two additional changes:

        1. While working on the check that addresses whether or not
           shared Fortran libraries are allowed, removed old and no
           longer needed check(s) that disable shared Fortran
           libraries with HP, Intel 8, PGI, and Absoft compilers.
           (Essentially, Mac is the only situation in which Fortran
           shared are disabled by configure.)

        2. Having two different states of libraries (i.e. shared C
           library with static-only Fortran library) was not apparent
           in the configure summary, which labeled all libraries as
           either shared and/or static. I've added lines to both the
           C++ and Fortran output sections to list shared/static-ness
           of these libraries specifically.

    Additionally, I've made sure that the new --enable-unsupported
    configure option correctly overrides configure if it tries to
    disable a shared library.

Tested:

    jam, fred, & h5committest
2011-04-11 16:00:38 -05:00
Allen Byrne
a835d1e65a [svn-r20472] Add message that H5_HAVE_WIN_THREADS requires WINVER >= 0x600 (VISTA or WIN7) 2011-04-11 15:52:09 -05:00
Raymond Lu
a67dbbaf81 [svn-r20469] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. This is a follow-up checkin for r20440:
1. I added a test case of extending dataset of zero dimension size and shrinking back to zero dimension size.
  2. I updated the Makefile to include the new data file to be cleaned up.

Tested on jam - relatively simple.
2011-04-11 10:59:41 -05:00
Allen Byrne
338beff4e4 [svn-r20467] Change test option to use --enable-error-stack instead of -E 2011-04-11 10:20:20 -05:00
Allen Byrne
c8fa42ed48 [svn-r20465] Add CDASH_LOCAL option to direct where ctest results are reported 2011-04-11 10:18:12 -05:00
Dana Robinson
b4f14a012e [svn-r20462] The basic STDIO VFD test in test/vfd.c fails on 64-bit Solaris 5.10 (SPARC) and 32-bit Darwin 10.7.0 (Intel). This check-in skips the STDIO test on all platforms while we investigate.
Bug report HDFFV-5936 filed in JIRA.
2011-04-10 16:05:57 -05:00
Dana Robinson
8a7973b011 [svn-r20459] Purpose:
Progress on bug 2138 (bugzilla) / HDFFV-4298 (JIRA)

Description:

- Added basic VFD tests (i.e. cloned the SEC2 test) for the Windows, STDIO and log VFDs.
- Added H5Pget_driver() sanity check to all VFD's tests.
- Added log output file to list of files to clean up in Makefile.am.

Tested on:

- h5committest script platforms (jam, amani, heiwa)
- Windows 7 (32- and 64-bit)
2011-04-08 16:31:31 -05:00
Allen Byrne
0c032eef21 [svn-r20458] Change handling of reference files so that the output of import is restored
HDFFV-5930
2011-04-08 16:20:47 -05:00
Dana Robinson
c480a8c717 [svn-r20453] Reordered two expressions to avoid integer overflow (quiets a compiler warning). 2011-04-08 15:20:20 -05:00
Allen Byrne
e4c9340564 [svn-r20452] Pass value of last test variable into sub-macro of add-test for diff tests. 2011-04-08 15:01:10 -05:00
Allen Byrne
0f49c47ee1 [svn-r20446] Updated valgrind ignore list 2011-04-08 09:31:34 -05:00
Raymond Lu
4b7f286a45 [svn-r20440] Bug 1386 - allow dimension size to be zero even though it isn't unlimited. I added test cases for contiguous, compact, and chunked, and external storage datasets, and also attribute. The test includes dataspace selections. I'll handle the tools in the next step.
Tested on jam, amani, and heiwa.
2011-04-07 16:56:38 -05:00
Allen Byrne
baba8a3d59 [svn-r20438] Fix typo in lib name for mingw 2011-04-07 16:12:36 -05:00
Allen Byrne
3cba2b092f [svn-r20433] Implement MinGW changes to CMake configuration
Tested: local linux
2011-04-07 13:07:41 -05:00
Allen Byrne
f9ef7ec457 [svn-r20430] Remove config message for windows - H5_HAVE_GETCONSOLESCREENBUFFERINFO always gets set on windows (this is from the pubconf.h in the windows folder) 2011-04-07 10:14:12 -05:00
Allen Byrne
7728391265 [svn-r20429] CMake: correct h5copy test macros, add userblock script test to h5jam tests, and correct h5jam tests
Tested: local linux
2011-04-07 09:03:08 -05:00
Jonathan Kim
00b2dc9137 [svn-r20427] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for 
    --use-system-epsilon option

Description:
    Additional check in from the previous checkin r20424.
    Updated help page again.
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-04-06 15:59:37 -05:00
Quincey Koziol
434c14d2f2 [svn-r20426] Description:
Add a note to the "new" hyperslab API routines that they have never been
finished or released.

Tested on:
    Not needed - only a comment
2011-04-06 15:43:04 -05:00
Jonathan Kim
b64aad457c [svn-r20424] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for 
    --use-system-epsilon option

Description:
    Additional check in from the previous checkin r20384.
    Updated help page.
     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2011-04-06 14:02:42 -05:00
Allen Byrne
f6f3ad2b7b [svn-r20420] Correct typo in macro parameter
Tested: local linux
2011-04-05 15:00:39 -05:00
Allen Byrne
032459b94a [svn-r20419] Correct typo in macro parameter 2011-04-05 14:20:06 -05:00
Allen Byrne
816d780cc2 [svn-r20417] ExternalProject_ADD calls changed to use common project output folders for external projects. This eliminates the library copy commands, which were failing on windows.
Tested: local linux
2011-04-05 12:32:12 -05:00
Larry Knox
4cc019977e [svn-r20410] Corrected text in INSTALL file: there is no --enable-szlib configure option, it should be --with-szlib=. 2011-04-04 08:19:57 -05:00
Quincey Koziol
b035e980f0 [svn-r20406] Description:
Refactor root group routines to centralize and simplify them some.
Also patch root group's file pointer when it doesn't match the querying
file, from H5G_rootof.

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
        Mac OS X/32 10.6.6 (amazon) in debug mode
        Mac OS X/32 10.6.6 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
        Mac OS X/32 10.6.6 (amazon) w/parallel, in debug mode
2011-04-03 23:23:12 -05:00
Quincey Koziol
e9e713869c [svn-r20405] Description:
Bump patch release number, after giving out private snapshots.
2011-04-03 21:28:07 -05:00
Allen Byrne
09a7dad099 [svn-r20391] Add overlooked condition for external project around packaging section of extlibs 2011-04-01 13:38:31 -05:00
Jonathan Kim
553e452ce4 [svn-r20384] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for 
    --use-system-epsilon option

Description:
    Merged from HDF5 1.8 branch r20369.
    Fixed h5diff for --use-system-epsilon option: the calculation changed
    from ( |a - b| / b ) to ( |a - b| ). This was decided for better 
    performance and was corrected only in HDF5 trunk, so 1.8 got updated.
    Also comments for equal_XXX() function were updated correctly. 
    Also help page and RM got updated correctly.
    Also add test cases for testing the differences w/wo the option.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
2011-03-31 16:43:46 -05:00
Jonathan Kim
d03182a94e [svn-r20379] Missed test file from previous checkin r20378.
Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions
2011-03-30 13:22:10 -05:00
Jonathan Kim
c1899d567b [svn-r20378] Purpose:
Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions

Description:
    Decided to use --enable-error-stack long option name only to 
    display error stack messages from HDF5 lib among tools.
    Updated to unify option name to '--enable-error-stack' for printing 
    HDF5 error stack messages for HDF5 tools. h5ls and h5dump for now.
    For h5ls, this replaces "-e/--errors" option, which is deprecated.
    For h5dump, remove -E from help page and RM , which was added by mistake
    before release1.8.7.
    Help page and RM got updated.
    Updated test case.

     
Tested:
 jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
2011-03-30 11:06:14 -05:00
Allen Byrne
0eb440cdec [svn-r20375] Test name change needed to be updated in valgrind ignore list 2011-03-30 10:24:56 -05:00
Allen Byrne
e2d24714fa [svn-r20372] Separate no option test within ADD_TEST so depends behaves correctly 2011-03-29 12:58:33 -05:00
Allen Byrne
466c139597 [svn-r20363] Updated commands to properly clear generated files
Tested: local linux
2011-03-29 10:15:02 -05:00
Allen Byrne
9118e203f1 [svn-r20362] Added missing character in CMake command 2011-03-29 09:21:44 -05:00
Allen Byrne
1f2528189a [svn-r20358] added notation for BZ 1725 2011-03-28 11:06:19 -05:00
Allen Byrne
321bd966d9 [svn-r20357] Add missing declarations that caused linking errors on windows.
Tested: windows
2011-03-28 10:49:30 -05:00
Scot Breitenfeld
bcf7bc892e [svn-r20353] Bug 1752 - H5Lite Fortran APIs do not allow you to create 4 dimensional datasets (or greater)
* Fixed and tested the integer, real, double routines for creating and reading 
             dimensional dataset with ranks 4-7

Tested: jam (intel, gnu compilers)
2011-03-26 23:13:53 -05:00
Allen Byrne
bbd2a41075 [svn-r20352] Update Valgrind ignore list 2011-03-26 09:49:51 -05:00
Allen Byrne
8656f3a9a5 [svn-r20349] BZ1725: H5DUMP displays type of reference for H5T_REFERENCE
Tested: local linux
2011-03-25 16:19:25 -05:00