Commit Graph

2535 Commits

Author SHA1 Message Date
Neil Fortner
9786fe2f61 [svn-r27192] Improve support for printf selections (support partial blocks with
H5_VDS_FIRST_MISSING)
Add test for this
Rework VDS code to not depend on unlimited selections having a "clipped" state
in preparation for removing the clipped state from unlimited selections.
Other bug fixes/cleanup

Tested: Kubuntu 64 (home computer)
2015-06-11 23:26:53 -05:00
Dana Robinson
aa4e3e3985 [svn-r27191] Merged r26781 to r27185 from trunk
Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2
    (C++ and Fortran 2003 also tested)
2015-06-11 14:18:52 -05:00
Mohamad Chaarawi
b9f2a18b5a [svn-r27185] fix more instances where both mpi is_initialized and is_finalized need to be checked before making any MPI calls.
tested with h5committest.
2015-06-10 12:57:32 -05:00
Allen Byrne
0f4e97907c [svn-r27172] Change disable to skip big test on cygwin 2015-06-09 13:52:43 -05:00
Allen Byrne
84311eb701 [svn-r27171] Disable big test on cygwin 2015-06-09 13:48:03 -05:00
Neil Fortner
c27904bc5f [svn-r27153] Implement fill value support for VDS.
Add testing for this.
Fix bug in printf string parsing.
Add test for this.
Other minor fixes/cleanup.

Tested: ummon
2015-06-05 16:55:24 -05:00
Dana Robinson
fad77fd2c2 [svn-r27150] Added an empty VDS testfile generator to tools/misc directory.
test/Makefile.in was updated due to changes in the Makefile.am
file that missed a reconfigure. The changes just added a few
VDS test files to the deletion list.

Note that there are trace issues with a new VDS struct that
show up when running bin/reconfigure. I reverted these for
fixing at a future date.

Tested on: jam
2015-06-04 14:46:50 -05:00
Neil Fortner
5d12a79db2 [svn-r27145] Add some testing for printf-style source dataset name resolution.
Various bug fixes, including a temporary fix for printf with FIRST_MISSING view.
Other cleanup.

Tested: ummon
2015-06-03 13:00:58 -05:00
Quincey Koziol
235b3b86c1 [svn-r27144] Description:
Normalize trunk against the metadata_cache_merge branch, in preparation
for merging the branch into the trunk.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/64 2.6.x (koala) w/serial
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-03 10:35:28 -05:00
Mohamad Chaarawi
fc45d5fcb0 [svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z)  __attribute__((format(X, Y, Z)))
- Rename UNUSED attribute characterstic to H5_ATTR_UNUSED.
- Rename NORETURN attribute characterstic to H5_ATTR_NORETURN

tested with h5committest.
2015-06-01 14:38:09 -05:00
Neil Fortner
948722cde8 [svn-r27103] Merge revisions 26780 through 27102 from trunk to vds branch.
Tested: ummon
2015-05-21 12:13:16 -05:00
Dana Robinson
194d647721 [svn-r27097] Fixed a typo in test/th5o.c that caused the wrong property list
ID to be checked.

Tested on: h5committest
2015-05-18 08:00:54 -05:00
Quincey Koziol
8be8a708a3 [svn-r27084] Description:
Clean up cache tests, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:16:09 -05:00
Quincey Koziol
d0de32fc3a [svn-r27074] Description:
Clean up H5EA interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 20:54:30 -05:00
Neil Fortner
f7e10b55ab [svn-r27053] Add more tests for unlimited selections.
Fix off by 1 error involving minimum extent of VDS.
Other minor fixes/cleanup.

Tested: ummon
2015-05-12 10:39:10 -05:00
Neil Fortner
5b92a99024 [svn-r27049] Rename H5Pset/get_virtual_dataspace_bounds to H5Pset/get_virtual_view and rename
enum argument.
Add support for AND and NOTA/NOTB operations with unlimited selections.
Add some tests for unlimited selections.
Other minor fixes/cleanup.
Note: "clipped" status of unlimited selections is not properly updated with
H5Sselect_copy.  This is a deliberate omission since fixing it would take work
and we are planning to eliminate the clipped status anyways.

Tested: ummon
2015-05-11 14:01:42 -05:00
Dana Robinson
bfa5786184 [svn-r26986] Removed H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero and
has been listed as deprecated.

Fixes: HDFFV-1074

Tested on:
    h5committest
    32-bit Linux w/ C++ and Fortran and multi VFD
    32-bit Linux w/ C++ and Fortran and multi VFD (no deprec symbols)
2015-04-30 14:32:25 -05:00
Neil Fortner
c1e74850e7 [svn-r26984] Add support for unlimited selection being clipped in the middle of a block.
Add tests for this (pure selection tests, needs testing with VDS).
Various bug fixes.

Tested: ummon
2015-04-30 12:29:25 -05:00
Neil Fortner
f53cfbe9d6 [svn-r26828] Implement support for unlimited selections (not supported by VDS code yet).
Add tests for unlimited selections.
Various other minor changes.

Tested: ummon
2015-04-16 15:57:26 -05:00
Neil Fortner
6a27582a44 [svn-r26781] Merge revisions 26305 through 26780 from trunk to vds branch.
Tested: ummon
2015-04-10 18:00:48 -05:00
Scot Breitenfeld
5619a9a119 [svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype.
Tested: jam (using split virtual driver)
2015-04-09 10:57:01 -05:00
Scot Breitenfeld
1215ef0370 [svn-r26767] Added test to address HDFFV-3065:
H5Iget_name on datatype that is not named returns no error

Tested: h5committest
2015-04-08 11:06:48 -05:00
Quincey Koziol
4662835250 [svn-r26757] Description:
Minor typos & code cleanups

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-07 14:16:25 -05:00
Larry Knox
3032f3adf3 [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure.
Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths.

Tested with h5committest.
2015-04-02 16:07:53 -05:00
Allen Byrne
99baa66184 [svn-r26699] Generators are only built static 2015-04-01 16:02:43 -05:00
Neil Fortner
b31a086f3e [svn-r26690] Fix error in H5Sextent_copy
When the selection is set to all, H5Sextent_copy did not update the number of
elements in the selection in the destination space.  Fixed H5Sextent_copy to do
this.  Added tests for this functionality.

Tested: jam, koala, ostrich (h5committest)
2015-04-01 09:22:16 -05:00
Neil Fortner
904c84b2a2 [svn-r26668] Fix error in H5D__virtual_read/write that prevented short circuit.
Fix off by 1 error in H5S__hyper_project_intersection algorithm.
Add many tests for fixed size hyperslab I/O.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-30 17:11:58 -05:00
Allen Byrne
45577d5693 [svn-r26660] HDFFV-9131: autotols rework
Remove CXX_CONDITIONAL
remove unneeded/obsolete sections.

h5commtitest
2015-03-30 13:55:21 -05:00
Mohamad Chaarawi
01093ad350 [svn-r26649] squish warnings. 2015-03-30 10:12:49 -05:00
Quincey Koziol
c2472b4d00 [svn-r26625] Description:
Bring r26543 from autotools_rework branch to trunk:

    Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around
bugs in very old SGI/FreeBSD/Windows compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:50:44 -05:00
Quincey Koziol
79f59eaf4d [svn-r26623] Description:
Bring r26513 from autotools_rework branch to trunk:

    Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around
bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:11:12 -05:00
Quincey Koziol
e30b4b17cf [svn-r26618] Description:
Bring r26511 from autotools_rework branch to trunk:

    Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 11:34:08 -05:00
Allen Byrne
eafd204b2d [svn-r26607] Correct test of plugin read when disabled to not print FAILURE when successful 2015-03-26 14:24:25 -05:00
Quincey Koziol
c4ec20a6de [svn-r26606] Description:
Bring r26508 from autotools_rework branch to trunk:

    Remove HW_FP_TO_LLONG_NOT_WORKS macro/define, it was only addressing
Windows .NET 2003 compiler issues.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 14:13:13 -05:00
Quincey Koziol
39373fbabb [svn-r26605] Description:
Bring r26503 & r26528 from autotools_rework branch back to the trunk:

    Remove old platform configure files: craynv, dec-flags, hpux11.23,
ia64-linux-gnu, nec-superux14.1, sv1-cray, x86_64-redstorm-linux-gnu

   Also remove CONVERT_DENORMAL_FLOAT, since this was only set in the
configure files being removed.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 13:34:11 -05:00
Quincey Koziol
c8a5172968 [svn-r26602] Description:
Bring r26502 from autotools_rework branch to trunk:

    Remove the H5_SW_ULONG_TO_FP_BOTTOM_BIT_WORKS and
H5_FP_TO_ULLONG_BOTTOM_BIT_WORKS macros/defines, as they are no longer used by
supported platforms.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 12:02:13 -05:00
Quincey Koziol
90cc5df290 [svn-r26598] Description:
Bring r26501 from the autotools_rework branch to the trunk:

    Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 22:05:30 -05:00
Quincey Koziol
27dd4e0f05 [svn-r26597] Description:
Bring r26500 from autotools_rework branch to trunk:

    Remove the LLONG_TO_FP_CAST_WORKS macro/define, as it targets problems with
the Visual Studio 6 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 21:25:32 -05:00
Quincey Koziol
b03d04742d [svn-r26596] Description:
Bring r26499 from autotools_rework branch to trunk:

    Remove ULLONG_TO_FP_CAST_WORKS macro/define, as it only applies to older
platforms we aren't supporting any longer.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 20:47:41 -05:00
Quincey Koziol
c622cc7b38 [svn-r26595] Description:
Bring r26494 from autotools_rework branch back to trunk:

    Remove the LDOUBLE_TO_UINT_ACCURATE macro/define, it was addressing
problems with older Intel compilers on Linux that are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for several days)
2015-03-25 17:11:19 -05:00
Allen Byrne
451a91e53b [svn-r26594] Merge macros and fortran changes from dual_binary feature.
Tested: local linux
2015-03-25 17:08:46 -05:00
Quincey Koziol
d3114a96da [svn-r26591] Description:
Bring r26492 from autotools_rework branch back to trunk:

    Remove the FP_TO_ULLONG_ACCURATE and FP_TO_ULLONG_RIGHT_MAXIMUM
macros/defines, which were added to address problems with older PGI
compilers and HP-UX systems and are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-25 16:33:48 -05:00
Quincey Koziol
e89290b777 [svn-r26584] Description:
Bring r26485 from the autotools_rework branch to the trunk:

    Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the
Sandia system where it was necessary.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested for >1 week)
2015-03-25 14:12:00 -05:00
Neil Fortner
1583b1b729 [svn-r26566] Fix error in H5S__hyper_project_intersection algorithm.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-24 18:23:18 -05:00
Quincey Koziol
460b629e03 [svn-r26560] Description:
Bring r26483 from autotools_rework branch back to trunk:

    Remove INTEGER_TO_LDOUBLE_ACCURATE macro/define - we no longer support
SGI systems.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-24 17:06:27 -05:00
Vailin Choi
4de770788f [svn-r26514] Fix for HDFFV-9173:
H5Pset_istore_k() will validate the "ik" value to not exceed the max v1 btree entries (2 bytes)
The same check for H5Pset_sym_k()  "ik" value.
h5committested.
2015-03-20 17:37:17 -05:00
Jerome Soumagne
1cd7c16a9d [svn-r26509] Run reconfigure after merges from autotools_rework branch. 2015-03-20 14:15:51 -05:00
Quincey Koziol
9fb399b3d2 [svn-r26495] Description:
Bring r26258 from the autotools_rework branch to the trunk - remove
the LDOUBLE_TO_INTEGER_WORKS macro/define, which was addressing issues with
SGI systems that are no longer supported.

Tested on:
    Linux 2.6.x (jam) w/serial & parallel
    Daily tested on branch for >2 weeks
2015-03-19 17:22:06 -05:00
Quincey Koziol
5329a7d6f1 [svn-r26491] Description:
Bring r26257 from autotools_rework branch back to the trunk - removes
the LDOUBLE_TO_INTEGER_ACCURATE macro/define, which was addressing problems
with SGI systems and is no longer supported.

Tested on:
    Linux 2.6.x/32 (jam) w/serial & parallel
    Daily tested on branch for >2 weeks.
2015-03-19 16:52:50 -05:00
Neil Fortner
43dec53436 [svn-r26482] Opening source files now reuses the flags from the virtual file.
Added tests for I/O on virtual dataset with source datasets in unopened files.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-19 15:04:36 -05:00