Commit Graph

5701 Commits

Author SHA1 Message Date
Jordan Henderson
77f155da5d Remove potential infinite loops caused by goto in error label region 2017-02-10 10:58:48 -06:00
Dana Robinson
d875f7f3e6 Minor warning fixes. 2017-02-09 11:44:38 -05:00
Jordan Henderson
2de2112cf6 Remove note about src_type_size vs dst_type_size 2017-02-09 08:26:57 -06:00
Jordan Henderson
5610256c72 Trigger error if library tries to break to independent I/O with filters
in the pipeline
2017-02-08 11:40:57 -06:00
Allen Byrne
c2043bf482 Merge pull request #281 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9875-investigate-adding-static-library to develop
* commit 'd1292691c42cbc548fc7e4b39e4dd9cc1a376f94':
  HDFFV-9875 enable static pdb and cleanup exports
  Add static lib to pdb exports
  HDFFV-9875 Fix typo
  HDFFV-9875 Change test for shared libs
  HDFFV-9875 Remove compile pdb references
  HDFFV-9875 Fix target exports and add static tools pdb files
2017-02-03 16:29:03 -06:00
Jordan Henderson
ce5e303050 Fix issue in H5D__mpio_array_gather when no one contributes anything
Fix issue in Multi-chunk IO where IO would crash if no one has a
selection
2017-02-03 14:50:37 -06:00
Jordan Henderson
09469dfd55 Iterator for initial chunk entry IO operation should use source datatype
size
2017-02-03 13:42:49 -06:00
Jordan Henderson
b458565918 Fix bug where data doesn't write correctly when MEMSPACE isnt the same
as FILESPACE
2017-02-03 13:21:10 -06:00
Quincey Koziol
45a85f4fc4 Optimize loading cache image, removing lots of memory allocations and copies. 2017-02-02 19:26:39 -08:00
Allen Byrne
290a83ff8f Add static lib to pdb exports 2017-02-02 16:34:07 -06:00
Jordan Henderson
af3227fe4e Check return value of H5S_GET_EXTENT_NPOINTS macro
Fix bug where a process with no selection during Multi-chunk IO could
cause other processes to copy back incorrect chunk information after
chunk re-allocation
2017-02-02 13:18:06 -06:00
Allen Byrne
177c050891 HDFFV-9875 Fix target exports and add static tools pdb files 2017-02-02 12:09:10 -06:00
Jordan Henderson
3ccc4f7ab3 Fix macro complaint in H5Dmpio.c
Fix debugging file output for test suite
2017-02-02 10:24:00 -06:00
Quincey Koziol
5d7aba67f7 Simplify H5C__serialize_single_entry(), using H5C__generate_image() 2017-02-01 20:21:06 -08:00
Jordan Henderson
3f44709578 Test code for user passing one-chunk-per-process hint to library 2017-01-31 14:21:30 -06:00
Quincey Koziol
6cf541b6c2 Merge pull request #274 in HDFFV/hdf5 from develop_merge_cache_image_08 to develop
* commit '0827105ddaffa5024ed25bd0268aa329f4b97e74':
  Review changes to closing files on error in H5Fcreate.
2017-01-31 10:17:57 -06:00
Jordan Henderson
f7cef1b768 Implement realloc strategy when receiving data modification messages 2017-01-31 08:11:11 -06:00
Quincey Koziol
0827105dda Review changes to closing files on error in H5Fcreate. 2017-01-30 21:26:03 -08:00
Quincey Koziol
8ffa26c49c Update sanity checks for dataset refresh code. 2017-01-30 20:32:45 -08:00
Jordan Henderson
4e6eb3ffe9 Add minor error code for H5D__mpio_array_gather failures
Catch case where total IO size is greater than chunk size (Overlapping
write)

Update full chunk overwrite code to not need MPI calls
2017-01-30 13:47:41 -06:00
Jordan Henderson
16507a763a Add mechanism for determining if a chunk is being fully overwritten 2017-01-30 12:22:16 -06:00
Jordan Henderson
79220e9665 Add back debugging statements
Move conditional check inside while loop in
construct_filtered_io_info_list
2017-01-30 08:20:15 -06:00
Quincey Koziol
3ad18072eb Add missing files 2017-01-28 23:21:22 -08:00
Quincey Koziol
1949d5756d Cache image feature and testing 2017-01-28 23:19:37 -08:00
Quincey Koziol
5a776edb81 Bring change to use array of metadata cache entry classes for H5C_create
instead of array of class names from cache image branch.
2017-01-27 23:18:47 -08:00
Quincey Koziol
349f41d974 Switch list lengths to unsigned integers (to align better w/cache image merge) 2017-01-27 20:35:14 -08:00
Jordan Henderson
5ed72c3d41 Remove Debugging Statements for Code Review 2017-01-27 10:52:17 -06:00
Jordan Henderson
0a93759774 Remove unnecessary num_chunks_selected_array from
H5D__construct_filtered_io_info_list
2017-01-27 09:06:56 -06:00
Jordan Henderson
344781f17d Multiple Bug Fixes
Add comments explaining different variables

Check more overflow/conversion sign change issues
2017-01-26 14:03:36 -06:00
lrknox
2d88960894 Commit Vailin's fix for the h5format_convert test failure.
DAILYTEST-256 #2.

Tested on emu, kituo, mayll, ostrich, and osx1011dev with previously failing test configurations.
2017-01-25 21:42:20 -06:00
Jordan Henderson
0b6016a3fc Fix bug with chunk data updating 2017-01-25 19:34:10 -06:00
Jordan Henderson
aab742c9a2 Test code for sending chunk modification data around 2017-01-24 15:01:31 -06:00
Jordan Henderson
b19b0ea67d Clean up H5Dmpio.c warnings 2017-01-20 14:09:20 -06:00
Jordan Henderson
5426599c91 For sake of complexity, force multi chunk IO for parallel filtered read 2017-01-19 14:32:17 -06:00
Jordan Henderson
740e85a82d Code refactoring
Modify single chunk entry function to handle both read and write cases

Store array of MPI derived types in Multi-chunk IO so that all freeing
can be done at end instead of during processing

Add read support for Multi-chunk IO only currently
2017-01-19 11:54:07 -06:00
Jordan Henderson
2c8bddb4ab Clean up const and other warnings
Add notes about need for another minor error code
2017-01-18 17:36:07 -06:00
Jordan Henderson
9bb49c6b05 Update documentation for link and multi chunk IO 2017-01-18 17:09:17 -06:00
Jordan Henderson
4a83ceaf7d Major cleanup
Separate update phase for chunk entry into its own function, since code
for multi-chunk IO and link-chunk IO is exactly the same

Remove last IO mode code from multi-chunk IO, since filtered collective
writes cannot break to independent IO mode

Fix collective overlapping IO for multi-chunk IO by iterating equal to
the max number of chunks on any process

Make hard separation between collective read and write since trying to
mix the two into one loop becomes messy

Add preliminary code for asynchronous sending of chunk modification data
to new owning process when redistributing chunks
2017-01-18 16:48:27 -06:00
Jordan Henderson
349b3634f7 Add chunk redistribution for shared chunks
Remove check for process having a selection as this needs to be reworked
2017-01-17 14:39:41 -06:00
Jordan Henderson
2292a8520d Eliminate owner field
Work on redistributing shared chunks
2017-01-13 14:21:59 -06:00
Jordan Henderson
a3605cbdeb Switch working branch from master to develop 2017-01-13 08:14:38 -06:00
Allen Byrne
e1bcae8a6a Update cmake min version and cmake command convention 2017-01-10 17:10:03 -06:00
Quincey Koziol
8d4c84eae2 Bring changes to metadata cache "get entry status" call and new
"child serialized / unserialized" messages and support from the cache image
branch.
2017-01-06 11:37:17 -08:00
Quincey Koziol
7568dcaf15 Add "image up to date" flag / parameter to metadata cache entry status calls. 2017-01-06 07:51:40 -08:00
Quincey Koziol
afd7e5b476 Bring file shutdown code from cache image branch 2017-01-04 21:36:14 -08:00
Quincey Koziol
6232dd6d62 Merge code from cache image branch to split FSM ring into two types: raw data
and metadata.  Also, some more ring reset safeties and minor code cleanups.
2017-01-04 09:20:01 -08:00
Quincey Koziol
15f474ee0d Align w/incoming cache image changes, and improve recovery on errors. 2017-01-04 08:11:44 -08:00
Quincey Koziol
363c140661 Revert accidental changes to freespace open and close routines. 2017-01-03 08:34:33 -08:00
Quincey Koziol
e73a32b852 Remove 'const' from cache client pre_serialize callback, to reduce warnings,
and correspondingly remove 'const' from some internal routines.  Also rename
some H5MF* routines to reflect their static/package usage.
2017-01-03 08:28:05 -08:00
Quincey Koziol
edd3ff3098 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_04 2017-01-02 12:09:34 -08:00
Quincey Koziol
ce3877d298 Align with incoming cache_image branch changes: use the index list (instead of
the hash buckets) for scanning the entries during a flush, and also add in
counters for tracking operations during cache flushes.
2017-01-02 12:06:08 -08:00
Dana Robinson
54629912eb Fixed a macro in H5Cpkg.h that was only updated in the version that
is used in develop/debug mode.
2017-01-01 23:30:48 -05:00
Quincey Koziol
0610c41c75 Bring support for doubly-linked list of all entries in cache from incoming
cache image branch.
2016-12-30 02:22:48 -08:00
Quincey Koziol
e500f2d3da Align with name change of "user" ring in incoming cache image changes. 2016-12-30 02:22:00 -08:00
Quincey Koziol
eecc0a26ef Refactor several cache clients to have only one copy of their deserialization
code.
2016-12-30 00:50:05 -08:00
Dana Robinson
5e26cd2d82 Merge pull request #223 in HDFFV/hdf5 from develop_merge_cache_image_02 to develop
Merged normalizations w/ cache_image branch.

* commit 'da2f1610d1f2cba40770aee6d0d6fbc8196645ae':
  More normalizations against incoming cache image branch.
2016-12-29 09:43:39 -06:00
Dana Robinson
890e1f3263 Merge pull request #200 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:name_macros to develop
Merged naming check improvement in function enter macros.

* commit '441c8ea43ab6a6559d1f167bdfbbaf3720621804':
  Added text to the function check macros so that a more helpful error message is emitted when there is a problem.
2016-12-29 09:42:49 -06:00
Dana Robinson
affa32b149 Merge pull request #222 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Odtype_tidy to develop
H5Odtype tidy.

* commit 'a25a08dff04c4ba03f28e8219a2ea782cf33d466':
  Cleaned up H5Odtype.c
2016-12-29 05:57:48 -06:00
Quincey Koziol
da2f1610d1 More normalizations against incoming cache image branch. 2016-12-29 02:40:26 -08:00
Dana Robinson
a25a08dff0 Cleaned up H5Odtype.c 2016-12-29 03:05:39 -05:00
Quincey Koziol
9e6a5a5f2c Normalize against incoming cache image feature. 2016-12-28 11:36:32 -08:00
Quincey Koziol
f8cfbee05e Merge SWMR-related testing to existing tests. 2016-12-18 02:19:26 -08:00
hdftest
e0b353b6f5 Snapshot version 1.9 release 235 2016-12-16 15:23:58 -06:00
Dana Robinson
441c8ea43a Added text to the function check macros so that a more helpful
error message is emitted when there is a problem.
2016-12-12 18:25:34 -05:00
Allen Byrne
ae59766fc9 Change dlopen from RTLD_NOW to RTLD_LAZY 2016-12-12 17:08:01 -06:00
Dana Robinson
651c2f3030 Fix bad implementation of Windows nanosleep equivalent. 2016-12-12 14:16:07 -05:00
Quincey Koziol
46754fec41 Merge pull request #194 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_03 to develop
* commit 'feb9d1f6761b541a388100d04ec56a9b88a7e462':
  Bring over changes from revise_chunks that cleanup recent SWMR changes from code review feedback.
2016-12-12 09:24:42 -06:00
Dana Robinson
652e02db4e Removed NDEBUG guards from H5AC test functions.
H5AC_dump_cache() is now used in test/cache_tagging.c and the
underlying H5C functions are not protected by NDEBUG guards.
2016-12-11 14:46:32 -05:00
Quincey Koziol
feb9d1f676 Bring over changes from revise_chunks that cleanup recent SWMR changes from
code review feedback.
2016-12-11 00:28:05 -08:00
Dana Robinson
cc6eb939f4 Merge pull request #191 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_h5fs_fix to develop
Final fix for evict-on-close issues with new-style groups.

* commit '02879bc4b2ba161dc259bf28a71e7a99b44be0e3':
  Updated the H5FS cache code to grab the correct tag and modified the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors.
  Changed the name of H5MF_alloc_close() to H5MF__alloc_close() to make the FUNC_ENTER macro happy.
  Reverted the freespace test. The TAG macros in H5MF_get_freespace() make the changes unnecessary.
  Added missing TAG macros to H5MF_get_freespace().
  Updated the freespace test so functions take a common, tagged dxpl so the test will work with the new H5FS tag changes.
  Updated the cache_tagging test so it correctly analyzes the new fractal heap free space manager behavior.
  Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG gets set on the dxpl correctly. Also restored the TAG macro to H5FS__cache_hdr_pre_serialize() since otherwise the tag won't be initialized.
  First cut at fixing the tagging issue with the free space managers. * Converted the tag macros to regular ones so the parent's tag   is used via the dxpl.
2016-12-10 08:09:40 -06:00
Dana Robinson
02879bc4b2 Updated the H5FS cache code to grab the correct tag and modified
the freespace test to use dxpls that have been tagged with
the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id.
The library code now expects the owner of the free space manager
to tag it so the owner-less free space managers in the freespace
tag had to be tagged with *something* to avoid cache errors.
2016-12-07 21:16:12 -05:00
Dana Robinson
16a5c7c8f3 Merge branch 'develop' into eoc_h5fs_fix 2016-12-07 17:21:07 -05:00
Dana Robinson
0f2f51bb7b Updated the comment for the valgrind fix. 2016-12-06 19:44:18 -05:00
Dana Robinson
a366c0a492 Fixed a valgrind problem in file shutdown exposed by the swmr.c test. 2016-12-06 19:03:00 -05:00
Quincey Koziol
e1026bd354 Correct oversight in Java test and remove direct VFD from SWMR supported
drivers.
2016-12-02 11:36:27 -08:00
Quincey Koziol
15e04901a0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_swmr_merge 2016-12-02 08:08:49 -08:00
Quincey Koziol
64a339183f Bring SWMR support in to the main development branch. (Finally!) More tests
and the tool and API wrappers will be coming in over the weekend.
2016-12-02 08:07:04 -08:00
derobins
488f19a9cb Fixed a comment. 2016-12-02 01:00:45 -05:00
derobins
0c5f56a865 Added Windows-only versions of the round() functions, which do not
exist in VS2012 and earlier.

Tested on: 32-bit Windows 7 w/ VS2012 Pro
2016-12-02 00:51:07 -05:00
Quincey Koziol
5d7d029b97 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_swmr_merge 2016-12-01 01:41:13 -08:00
Quincey Koziol
5922bbb45f Minor normalization cleanups. 2016-11-30 14:41:31 -08:00
Dana Robinson
f3dfc133cc Changed the name of H5MF_alloc_close() to H5MF__alloc_close()
to make the FUNC_ENTER macro happy.
2016-11-30 03:51:28 -05:00
Dana Robinson
1093e7a1f7 Added missing TAG macros to H5MF_get_freespace(). 2016-11-30 03:25:09 -05:00
Dana Robinson
f4a74462f2 Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG
gets set on the dxpl correctly. Also restored the TAG macro
to H5FS__cache_hdr_pre_serialize() since otherwise the tag
won't be initialized.
2016-11-30 01:37:52 -05:00
Dana Robinson
a046ac31d2 First cut at fixing the tagging issue with the free space managers.
* Converted the tag macros to regular ones so the parent's tag
  is used via the dxpl.

* Updated the tag sanity check logic so for free space managers.

* Turned new-style group checks back on in test/evict_on_close.c
2016-11-29 23:53:52 -05:00
Dana Robinson
d3dbe9d90e Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-29 15:06:37 -05:00
Quincey Koziol
b092dbcdfd Bring over another batch (hopefully the last) of non-SWMR "normalization"
changes from the revise_chunks branch.
2016-11-28 16:34:36 -08:00
Dana Robinson
8fd8115715 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:33:08 -05:00
Dana Robinson
a6ab26c74b Merge pull request #175 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:new_H5AC_dump_cache to develop
Updated H5AC_dump_cache() to emit more information.

* commit '7a8c7c6063e328fdac28aa3f77ead4bdc91860e5':
  Updated the cache dump to use the stored type name instead of the (redundant) array of names I previously created.
  Updated the format of H5AC/C_dump_cache() to include more information and be easier to read.
2016-11-28 12:19:23 -06:00
Dana Robinson
978e83fb5b Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:01:10 -05:00
Dana Robinson
7a8c7c6063 Updated the cache dump to use the stored type name instead
of the (redundant) array of names I previously created.
2016-11-28 12:47:59 -05:00
Quincey Koziol
2cb2d5a533 Remove "collective write list" parameter from H5C__flush_single_entry() as it
is only used in a couple of places.  The collective write list has been moved
to be internal to the cache data structure instead.
2016-11-28 01:26:33 -06:00
Dana Robinson
1a0de8ebd8 Updated the format of H5AC/C_dump_cache() to include
more information and be easier to read.
2016-11-27 20:50:13 -05:00
Quincey Koziol
460b573a73 Eliminate unnecessary data structure for parallel collective metadata cache I/O 2016-11-27 19:00:12 -06:00
Dana Robinson
2c3d02e6e5 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-26 13:11:08 -05:00
Dana Robinson
a8d1aff235 Tentative fix for valgrind issues related to EoC.
Adds /*out*/ parameters to H5O_close() and H5F_try_close() so
that H5D/G_close() will know when H5O_close() has triggered a
file close and thus the file struct is not reliable.

Also removes the H5F_CLOSING() macro and related which were
formerly used to check if the file was closing.
2016-11-26 10:47:32 -05:00
Quincey Koziol
1071d8bf73 Add a flag for H5C__flush_single_entry() to allow the parallel code to request
that images for entries be generated, even when not writing the entry from an
MPI rank.
2016-11-25 16:07:23 -06:00
Dana Robinson
fff898558e Merge pull request #167 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Applied the evict-on-close "check for file closing" change that was successful for groups to datasets.

* commit '88b6f2e24cafcfaffe7d99ab6c5afc2290ce93b4':
  Added the H5F_CLOSING() check that makes valgrind happy in the evict-on-close code in H5G_close() to H5D_close().
2016-11-22 08:54:47 -06:00
Dana Robinson
72ecaf0940 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-21 17:48:03 -05:00
Dana Robinson
88b6f2e24c Added the H5F_CLOSING() check that makes valgrind happy in
the evict-on-close code in H5G_close() to H5D_close().
2016-11-21 17:45:46 -05:00
Dana Robinson
a44d7b8754 Merge pull request #166 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Two minor evict-on-close changes:

* Fix for a valgrind-reported issue where invoking EoC behavior when the file is closing leads to garbage file data being passed to downstream calls. The solution is to ignore EoC when the file is closing anyway.

* Added brackets so an infinite loop that arises when evicting tagged entries (due to pinned entries preventing progress) raises an error instead.

* commit '4e7b19f8260a7adb0e3b3df30e2d8289fccdcca6':
  Two minor cache changes:
2016-11-21 12:28:48 -06:00
Dana Robinson
4e7b19f826 Two minor cache changes:
* Evict-on-close behavior is now skipped when the file is closing.
  This fixes a potential issue discovered by Valgind on Windows
  where potentially garbage data would be availble for manipulation.

* Added brackets to some code in the tagged entry evict iterators
  so that the flag that determines if progress was made only gets
  set if things are actually evicted. This prevents an infinite
  loop (and emits an error) when pinned entries prevent eviction
  and thus progress.
2016-11-20 11:57:46 -05:00
Quincey Koziol
3b0c2b24da Bring over support for retrying metadata cache entry loads, along with all the
supporting metadata cache callback changes, etc.
2016-11-20 04:24:57 -08:00
Quincey Koziol
eba0ff43c9 Remove 'clear' callback from metadata cache client interface, using the
new 'entry cleaned' notify action innstead.
2016-11-17 17:48:21 -08:00
Quincey Koziol
be27e1ad79 Remove explicit support within the metadata cache for tracked compressed
entries, they are now completely handled in the clients.
2016-11-17 12:58:04 -08:00
Quincey Koziol
d4591ff54d Bring over new 'notify' metadata cache client callback actions for when an
entry is cleaned / dirtied or its [flush dependency] child entry is cleaned /
dirtied.
2016-11-12 14:01:30 -08:00
Quincey Koziol
d183e9a1a2 Merge pull request #155 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_05 to develop
* commit '1c6924f18bd8fdad63c4f191c00605092c17fa6e':
  Refactor H5O code to clean up message allocation, align cache deserialize code with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 13:01:58 -06:00
Quincey Koziol
1c6924f18b Refactor H5O code to clean up message allocation, align cache deserialize code
with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 01:05:47 -08:00
Quincey Koziol
80ac4343cd Align w/minor cleanups in revise_chunks branch. 2016-11-11 23:14:58 -08:00
Quincey Koziol
70938cbf28 Merge pull request #151 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '31ffc1e72687b4d27602a044565bde6b1e9d803f':
  Clean up cache code to eliminate dead-ends and unify code.
2016-11-11 17:13:03 -06:00
derobins
be0dfa3e22 Moved Win32 variables to top of function in H5FDlog.c. 2016-11-11 14:16:24 -05:00
Quincey Koziol
492eae3995 Clean up cache code to eliminate dead-ends and unify code. 2016-11-10 12:49:22 -08:00
Dana Robinson
c5ca422496 Merge pull request #138 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Pget_driver_info_retval to develop
Changed the return type of H5Pget_driver_info() from void * to const void *

* commit '8eaa0af30585adbbab29686541cd33e058abd6e8':
  Changed the return type of H5Pget_driver_info() from void * to const void *. Fixes HDFFV-10017.
2016-11-07 11:11:58 -06:00
Quincey Koziol
9504d3f337 Switch to new, more scalable, metadata cache entry tagging. 2016-11-06 23:14:10 -08:00
Quincey Koziol
323ae13590 Remove routines not yet used in develop 2016-11-06 22:04:36 -08:00
Quincey Koziol
bb6cb6adb0 Code style and warning cleanups, from revise_chunks branch. 2016-11-06 12:08:19 -08:00
Dana Robinson
8eaa0af305 Changed the return type of H5Pget_driver_info() from void * to
const void *. Fixes HDFFV-10017.
2016-11-05 00:31:26 -04:00
Quincey Koziol
9187e8c5d0 Add missing retrieval of cache logging name, from revise_chunks. 2016-11-04 09:56:55 -07:00
Quincey Koziol
872d1666b4 Add public H5F* routines for cache logging. 2016-11-04 08:14:12 -07:00
Quincey Koziol
ed452ce690 Add cache logging property and file pieces. 2016-11-03 23:06:17 -07:00
Quincey Koziol
af057ac92b Add logging prototypes and cache struct fields. 2016-11-03 22:53:55 -07:00
Quincey Koziol
0263062a6f Add logging error message. 2016-11-03 22:50:26 -07:00
Quincey Koziol
f9ba956d69 Bring cache logging routines from revise_chunks branch to develop. 2016-11-03 22:40:56 -07:00
Quincey Koziol
ef28e31f89 Remove static definition for debugging routines. *sigh* 2016-11-03 21:34:21 -07:00
Quincey Koziol
a2f15ab726 Add missing prototypes for cache debugging routines. 2016-11-03 21:24:29 -07:00
Quincey Koziol
7ac8215cbf Merge pull request #123 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'b2878dec04c120e4e3cdf00e943283e359862c84':
  Move cache debugging routines into separate module.
  Change file memory type for extending to default, and correct error in backward compatibility for multi VFD.
  Warning and whitespace cleanup.
  Improvements to the log VFD, for helping with SWMR debugging.
  Minor code cleanups.
  Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping in tools code.
2016-11-03 16:15:26 -05:00
Dana Robinson
50c7c54514 Merge pull request #122 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_groups to develop
Merged EoC for groups. Will expand the tests as discussed in the code review at a later date.

* commit '30f5f7d9f97e7e4e331894c3574cc1b6c4df6d9e':
  Removed commented-out lines that clean up test files.
  Added a test for old- and new-style groups under evict-on-close.
  Evict-on-close now works with groups.
2016-11-03 15:17:02 -05:00
Quincey Koziol
b2878dec04 Move cache debugging routines into separate module. 2016-11-03 11:55:42 -07:00
Quincey Koziol
17468defc7 Change file memory type for extending to default, and correct error in
backward compatibility for multi VFD.
2016-11-03 09:33:19 -07:00
Quincey Koziol
d935aa3555 Warning and whitespace cleanup. 2016-11-03 09:32:30 -07:00
Quincey Koziol
9b68a163bf Improvements to the log VFD, for helping with SWMR debugging. 2016-11-03 09:25:28 -07:00
Quincey Koziol
57ad6334c0 Minor code cleanups. 2016-11-03 09:16:25 -07:00
Dana Robinson
4175847a19 Fixed wayward parentheses in H5Sprivate.h. 2016-11-02 14:10:24 -04:00
Dana Robinson
de3abdf5d7 Evict-on-close now works with groups.
test/evict_on_close.c has been updated to generate
groups but does not yet check EoC works correctly.
2016-10-28 15:58:18 -04:00
Allen Byrne
b424328063 Add error log for dlopen 2016-10-27 09:14:22 -05:00
Allen Byrne
3ee36553b9 Add support for namespace and add tools to binaries config 2016-10-14 11:22:22 -05:00
lrknox
6cb0d90338 Snapshot release: increment version. 2016-10-01 09:41:26 -05:00
Dana Robinson
cbc260e636 - Removed BRANCH.txt and MANIFEST entry
- Fixed a missing line in H5Dint.c
2016-09-30 13:06:12 -04:00
Dana Robinson
5088217e42 - Removed non-implemented code from H5Gint.c
- Removed commented-out debug code from H5Dint.c
- Added blank lines to eliminate delta in a fortran file.
2016-09-30 05:04:11 -04:00
Dana Robinson
77e7c43bf0 Merge branch 'develop' into evict_on_close 2016-09-30 04:31:59 -04:00
Dana Robinson
8655536171 Merge branch 'evict_on_close' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into evict_on_close 2016-09-30 04:29:45 -04:00
Dana Robinson
a2fe6f7db9 Added code to create the test file for all chunk index and layout types. 2016-09-30 03:24:44 -04:00
Quincey Koziol
30ca70b096 Merge pull request #46 in HDFFV/hdf5 from ~KOZIOL/hdf5:features/warning_cleanups to develop
* commit '5a7880183025f56421cf6f2274d9f1ac36f59641':
  Clean up hardcoded constants and check return values better.  (Comments from group code review)
  Description:     Cleanups from Dana's review.
  Description:     Further warning cleanups: from 667 warnings to 503.
2016-09-29 15:19:35 -05:00
Quincey Koziol
fa66428a6d Description:
Further warning cleanups: from 667 warnings to 503.
2016-09-27 10:29:16 -07:00
Neil Fortner
a7fb4ede86 Merge pull request #42 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0179 to develop
* commit '748d6f318c5ebe4fa7ee5d8e4ca2681d69792b70':
  Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect.
2016-09-23 10:58:37 -05:00
Neil Fortner
51c6e5b595 Merge pull request #41 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0177 to develop
* commit '866d17f57f47414b6e778d63fcdcc2a82b208683':
  Fix bug in "nooptype" decode in fix for TALOS-0177.
  Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow.
2016-09-23 10:58:22 -05:00
Dana Robinson
430ff33b5c Added "Purpose:" information to the API call comments for the
new functions.
2016-09-23 01:18:11 -04:00
Dana Robinson
2646f917ad Cleaned up feature for dissemination to LLNL:
- Removed support for datatypes.
    - Commented out support for groups
    - General change clean-up
    - Added a list of improvements to BRANCH.txt
2016-09-19 16:18:30 -04:00
Dana Robinson
7f99d42583 Reverted H5T code since datatypes will not be supported at
this time.
2016-09-19 14:52:45 -04:00
Dana Robinson
7f817fea7c Merge branch 'develop' into evict_on_close 2016-09-14 17:02:43 -04:00
Neil Fortner
391a231b76 Fix bug in "nooptype" decode in fix for TALOS-0177. 2016-09-09 12:08:30 -05:00
Neil Fortner
bc10fd219e Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect. 2016-09-08 13:47:22 -05:00
Neil Fortner
2409f99166 Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow. 2016-09-08 10:48:54 -05:00
Neil Fortner
b1eb1b3ee8 Replace assertion in H5O_dtype_decode_helper for number of array dimensions with a check and error. The assertion was inappropriate because it is operating on data read from the file, which the library does not always have direct control of. 2016-09-01 17:24:24 -05:00
Allen Byrne
f14e4b3e20 [svn-r30312] HDFFV-9706: Commit changes as discussed in HDF5-379. 2016-08-22 11:36:59 -05:00
Vailin Choi
c8af99f530 [svn-r30308] Fix for HDFFV-7991--error when copying dataset with attribute which is a compound datatype consisting of
a variable length string.
Tested on mayll, platypus, osx1010test, emu, kituo, kite, quail, moohan, ostrich.
2016-08-19 15:58:16 -05:00
Dana Robinson
00c508dc68 [svn-r30303] Fixed unbalanced parentheses in H5F_SAME_SHARED macro.
This version of the macro isn't used anywhere in the
HDF5 source.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-08-18 14:09:42 -05:00
Quincey Koziol
f40381b0ea [svn-r30285] Description:
More warning cleanups, bringing the build down to 25 unique types of
warnings, with 550 warnings in 122 files (down from 28, 770, and 134).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-08-13 04:23:53 -05:00
Neil Fortner
7de719287a [svn-r30270] Fix an issue that could occur when allocating a chunked dataset in parallel,
with an alignment threshold set to be larger than the chunk size but smaller
than the size of the small data aggregator.

Tested: koala, ostrich (h5committest); jelly, ummon
2016-08-08 16:56:50 -05:00
Neil Fortner
297268f238 [svn-r30264] Fixed an issue that could occur when using H5Pset_alignment where a block could
be unaligned, causing an assertion failure.

Tested: koala, ostrich, jelly (h5committest), ummon
2016-08-08 13:46:21 -05:00
Allen Byrne
2bb3a09add [svn-r30231] HDFFV-9944: else statement and braces.
refactored out the assert statement since H5MM_xfree allows null argument.
2016-08-01 11:45:44 -05:00
Dana Robinson
faea627254 [svn-r30224] Added HDprintf() macro that uses HDfprintf w/ stdout.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-07-27 11:56:42 -05:00
Quincey Koziol
4af66b09e0 [svn-r30219] Description:
More warning cleaups: down to 770 warnings (from ~940) in 134 files (from
148), with 28 unique kinds of warnings (from 31).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-22 17:43:18 -05:00
Quincey Koziol
bb19817c9f [svn-r30189] Description:
Clean up more warnings: drop the warning count from ~1310 down to ~940,
with only 31 types of warnings in 148 files (down from 38 types in 167 files).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-17 19:18:42 -05:00
Quincey Koziol
ec2fbe0883 [svn-r30158] Description:
More warning cleanups.  This brings us down to ~1300 warnings in 167 files

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-07 13:54:11 -05:00
Dana Robinson
8e9edc8dc1 [svn-r30147] Removed #ifdef-guarded debug output from core VFD.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial w/ core and core_paged VFDs
2016-07-05 19:58:58 -05:00
Vailin Choi
af0829aa17 [svn-r30143] Fix for HDFFV-9940.
Tested on jam, osx1010test, moohan, platypus, emu, kite, kituo, mayll, ostrich, quail.
2016-07-03 23:06:34 -05:00
Quincey Koziol
4f967d5029 [svn-r30139] Description:
Bring over missing flush+refresh routines, to address Java failures.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    Linux/64 2.6.18 (jam) w/Java
2016-07-02 00:14:06 -05:00
Neil Fortner
bfae878d8f [svn-r30131] Fix bug reported by Cisco Talos TALOS-CAN-0178. Added check for a message that
should not be sharable being marked as sharable on disk, returns failure in
this case. Needs testing.

Tested: ummon
2016-07-01 10:31:44 -05:00
Quincey Koziol
35e6928220 [svn-r30127] Description:
Use internal rounding routine, if the StdC ones aren't available (like on
Windows).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-30 15:59:15 -05:00
Quincey Koziol
1f811ecceb [svn-r30126] Description:
Correct build error with non-debug parallel builds

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-30 15:23:42 -05:00
Dana Robinson
c15d93826b [svn-r30118] Sync with trunk. 2016-06-29 10:13:20 -05:00
Quincey Koziol
83724bd787 [svn-r30113] Description:
Clean up warnings (from 2774 -> 1560, with my standard debug build)

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:53:48 -05:00
Quincey Koziol
b8f809981b [svn-r30112] Description:
Move updated flush dependency code in metadata cache from revise_chunks
branch to trunk.  Also many of the cleanups from r30111 in the revise_chunks
branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:39:09 -05:00
Dana Robinson
88c8c78763 [svn-r30108] Moved group flush and evict code to H5G_close from H5Gclose. 2016-06-25 22:41:48 -05:00
Dana Robinson
35f8a064c5 [svn-r30107] Moved dataset flush and evict code to H5D_close from H5Dclose. 2016-06-25 11:15:52 -05:00
Dana Robinson
b236c21601 [svn-r30106] Moved datatype close code to new internal function. H5Oclose()
now supports evict-on-close for datatypes.
2016-06-25 09:54:33 -05:00
Dana Robinson
f9312d49d5 [svn-r30105] Datatypes and Groups now support evict-on-close. 2016-06-25 08:30:11 -05:00
Dana Robinson
29cb102f12 [svn-r30104] Fixes evict-on-close feature by propagating global
flush flag up the function call stack and not setting
it during H5Dclose().
2016-06-24 17:19:09 -05:00
Dana Robinson
280907a9bf [svn-r30102] Cleaned up incorrect comments in H5AC_type_t enum.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
           (comment and whitespace changes only)
2016-06-22 21:37:17 -05:00
Dana Robinson
75aa26981b [svn-r30084] First pass at the evict-on-close feature.
The features is controlled via H5Pset/get_evict_on_close()
and is currently enabled by default (it will be disabled
by default in the final implementation).

There is a bug in the code where the eviction of tagged
metadata fails due to some of the metadata being dirty,
resulting in error return values and test failures.
2016-06-15 13:55:59 -05:00
Quincey Koziol
d3396a7953 [svn-r30075] Description:
Bring object/dataset/group/named datatype features from revise_chunks
branch to trunk.  Also CMake support for h5format_convert and a bunch of
misc. cleanups.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-14 18:07:03 -05:00
Quincey Koziol
7a9e13afdb [svn-r30068] Description:
Bring metadata cache corking to trunk.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-13 12:49:39 -05:00
Quincey Koziol
2e6ccbfff8 [svn-r30053] Description:
Create iterator routine for tagged entries and refactor current routines
to use it.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-07 19:50:46 -05:00
Quincey Koziol
d124a1fe47 [svn-r30035] Description:
Extract tagging routines into separate source module.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-06 01:41:16 -05:00
Quincey Koziol
e1f276f267 [svn-r30033] Description:
Extract epoch marker metadata client into separate source file.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-06 00:51:17 -05:00
Quincey Koziol
48fd9fd20a [svn-r30031] Description:
Minor code cleanup to align w/revise_chunks branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-06 00:13:14 -05:00
Quincey Koziol
a580fdedc1 [svn-r30025] Description;
Bring a few code cleanups in from thr revise_chunks branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 22:49:55 -05:00
Quincey Koziol
2053438661 [svn-r30023] Description:
Make the trace open/close routines static.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 22:42:19 -05:00
Quincey Koziol
dd6c8994c0 [svn-r30017] Description:
Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from
revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production.
    (h5committest forthcoming)
2016-06-05 19:45:37 -05:00
Vailin Choi
52ac99827b [svn-r30009] Fix for h5format_convert daily test failures when --enable-using-memchecker.
Tested on jam, ostrich, moohan, osx1010test, quail, kite, mayll.
2016-06-03 21:52:35 -05:00
Dana Robinson
fcaf9c483a [svn-r30002] Fixed some minor warnings in H5AC.c and H5C.c, cleaned up warnings
in the cache tests, and made some huge static arrays dynamic
in the cache tests.

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-06-01 12:02:30 -05:00
Quincey Koziol
3384f4c0b9 [svn-r29985] Description:
Extract query routines into separate source module.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2016-05-30 04:06:26 -05:00
Quincey Koziol
dbc1e0e980 [svn-r29980] Description:
Cleanup whitespace to align w/revise_chunks branch

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 02:25:01 -05:00
Quincey Koziol
cc95ed32fd [svn-r29978] Description:
Bring r29914 from revise_chunks branch to trunk:

Banished -Wformat= warnings from the library, tools, and tests.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 02:03:37 -05:00
Quincey Koziol
8e5447a185 [svn-r29976] Description:
Bring over remaining piece of r29675 from revise_chunks branch:

Refactor coding in H5D__farray_idx_delete() to be similar to H5D__earray_idx_delete()

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 01:37:52 -05:00
Quincey Koziol
bf566b775b [svn-r29969] Description:
Bring r29934 from revise_chunks branch to trunk:

(1) Fix for HDFFV-9434: throw an error instead of assertion when v1 btree level hits the 1 byte limit.
(2) Modifications to better handle error recovery when conversion by h5format_convert fails.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-29 05:57:47 -05:00
Quincey Koziol
18ad868b23 [svn-r29924] Description:
Bring h5format_convert tool from revise_chunks branch to trunk.

Tested on:
    MacoSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-12 15:47:03 -05:00
Allen Byrne
2f1b517021 [svn-r29884] VDS correction for get_space_status, with test change.
Add new files for repack tests.
Add repack tests for VDS files.
2016-05-04 11:38:08 -05:00
Allen Byrne
74f3326a67 [svn-r29862] Convert source list names from *_SRCS to *_SOURCES.
Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR.
2016-05-04 10:06:05 -05:00
Quincey Koziol
a6ce3d4e45 [svn-r29850] Description:
Bring H5DOappend(), H5P[s|g]et_object_flush_cb, and H5P[s|g]et_append_flush
from revise_chunks branch to trunk.  Brings along updated metadata cache
entry tagging, and the internal object flush routine.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-01 05:24:56 -05:00
Quincey Koziol
bd33a9d6da [svn-r29842] Description:
Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from
revise_chunks branch to the trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 01:10:38 -05:00
Quincey Koziol
f63b2c50ac [svn-r29815] Description:
Change 'value' pointer to H5Pset() from 'void *' to 'const void *'.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial
    (h5committest forthcoming)
2016-04-26 14:33:45 -05:00
Quincey Koziol
b0980a5f54 [svn-r29776] Description:
Bring "file pointer patching" code & test from revise_chunks to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:50:00 -05:00
Quincey Koziol
3ac0a74bf3 [svn-r29775] Description:
Another change for 'none' file pointers.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:37:18 -05:00
Quincey Koziol
b2d6d68d5d [svn-r29770] Description:
Bring 'none' chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-23 00:03:00 -05:00
Quincey Koziol
c02c88f874 [svn-r29742] Description:
Add missing source file for single chunk index.

Tested on:
    Windows (via daily testing
2016-04-19 09:18:30 -05:00
Quincey Koziol
f7aff7d5cf [svn-r29738] Description:
Bring "single" chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-18 23:21:12 -05:00
Quincey Koziol
36062736a5 [svn-r29722] Description:
Bring over more dataset tests from the revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-17 02:26:51 -05:00
Quincey Koziol
81ef260f6b [svn-r29717] Description:
Correct chunk index computation for earrays and farrays, particularly when
copying datasets with H5Ocopy() and other operations (like H5Dget_storage_size)
that require iterating over all chunks.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:42:48 -05:00
Quincey Koziol
d3574d0570 [svn-r29715] Description:
Clean up coding to increment/decrement underlying FAPL for multi/split
VFDs, to avoid copying property lists as much.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:39:01 -05:00
Quincey Koziol
ccdf15d88a [svn-r29712] Description:
Minor code cleanups to address typos & warnings.

Tested on:
    MaOSX/64 10.11.4 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-04-16 03:34:27 -05:00
Dana Robinson
c575abdeff [svn-r29668] Added H5Dfarray.c to CMake.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           CMake serial
2016-04-07 20:06:17 -05:00
Dana Robinson
e5c94192d7 [svn-r29659] Added fixed array chunk indexing from revise_chunks.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ Java, Fortran, & C++
2016-04-07 13:21:47 -05:00
Dana Robinson
f2c3407eb6 [svn-r29655] Added H5D_CHUNK_BTREE to the deprecated section of H5Dpublic.h.
Tested on: 64-bit Ubuntu 15.10 (build only, not used in existing code)
2016-04-07 09:50:44 -05:00
Quincey Koziol
b84fc45857 [svn-r29644] Description:
Finish correcting initializer for chunked layouts.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (to minor to require h5committest)
2016-04-05 23:18:54 -05:00
Quincey Koziol
c622ca83f5 [svn-r29640] Description:
Add missing inializer from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial
    (Too minor to require h5committest)
2016-04-05 11:52:38 -05:00
Dana Robinson
939da8a35e [svn-r29638] Added new chunk index types to trace code.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-04-05 09:49:50 -05:00
Quincey Koziol
5d46ad9b39 [svn-r29635] Description:
Bring support for earray and v2 B-trees from revise_chunks branch to
trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-05 02:12:56 -05:00
Quincey Koziol
c7d4951634 [svn-r29626] Description:
Revise method of invoking object flush callback.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-04 17:22:56 -05:00
Quincey Koziol
2221a9a96e [svn-r29625] Description:
Removed unused routines

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-04 17:14:54 -05:00
Dana Robinson
0024745638 [svn-r29620] Merge of r29619 from revise_chunks. Minor H5Fpublic.h comment update.
Tested on: 64-bit Ubuntu 15.10 (build only, no code changes)
2016-04-04 16:01:45 -05:00
Quincey Koziol
86f401d740 [svn-r29614] Description:
Bring updated code for setting chunk size information from revise_chunks
branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-03 04:18:25 -05:00
Quincey Koziol
3cd705e56e [svn-r29612] Description:
Bring updated layout and EFL property comparisons and new "latest format"
flags from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-03 03:48:50 -05:00
Quincey Koziol
9d2178ab88 [svn-r29607] Description:
Bring "don't filter partial edge chunks" capability from revise_chunks
to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/debug, production & parallel
    (h5committest forthcoming)
2016-04-02 04:39:32 -05:00
Dana Robinson
53a286f7da [svn-r29552] Normalization with revise_chunks in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-24 00:19:52 -05:00
Dana Robinson
caf3b0db14 [svn-r29549] Minor normalization w/ revise_chunks in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 23:27:14 -05:00
Dana Robinson
9333a2e39c [svn-r29548] Minor normalization w/ trunk in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 22:58:43 -05:00
Dana Robinson
2280524115 [svn-r29500] Made CMake header generation a normal (not advanced) option
since users will need to set this if they check out source.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           CMake serial (CMake 3.2.2)
2016-03-22 02:28:14 -05:00
Dana Robinson
6668fe8c83 [svn-r29499] Minor prettification of Java configure code and library
settings file.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/Java
2016-03-22 02:22:52 -05:00
Dana Robinson
7f641b520d [svn-r29482] Switched a few Visual Studio #ifdefs to Win32
Tested on 64-bit Win10 w/ VS 2015 Pro
2016-03-21 11:36:23 -05:00
Dana Robinson
775f0cabad [svn-r29474] Removed prototype enclosed in #ifdef OUT in H5Oprivate.h.
This is unused and causes problems for a user who has OUT #defined.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-18 14:54:26 -05:00
Dana Robinson
5d342b26d4 [svn-r29440] Minor typo fix. 2016-03-15 22:19:34 -05:00
Dana Robinson
0dd0ffd5c1 [svn-r29421] Fix for HDFFV-9516.
Corrects a problem where H5Dget_access_plist() returns a dapl that
does not contain all dapl fields.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-15 12:43:34 -05:00
Dana Robinson
8f874a5010 [svn-r29395] Corrected parentheses in floating-point compare macros.
Corrected H5_EB and H5_PB macros.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-12 04:23:51 -05:00
Mohamad Chaarawi
23e97565cf [svn-r29372] minor error reporting fix. 2016-03-09 10:03:16 -05:00
Larry Knox
d380f20a0d [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted:  29341, 29326
Branch features/h5check_version was created for further development.

Files changed
     test/tcheck_version.c
     test/testcheck_version.sh.in
     src/H5public.h
     src/H5.c
     config/lt_vers.am
     bin/h5vers

Tested with h5committest.new
2016-03-08 12:49:38 -05:00
Albert Cheng
2c36685010 [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared library version numbers instead of the library version numbers.
bin/h5vers: 
    Changed to copy the shared lib version from lt_vers.am to H5public.h
    (Thanks to Larry who made the changes.)
config/lt_vers.am:
    cosmetic change, nothing material.

src/H5public.h:
    Changed by bin/h5vers.

src/H5.c:
    Changed H5check_version() to use shared library version for compatibility
    checking.

test/tcheck_version.c:
test/testcheck_version.sh.in:
    Changed to use shared library version numbers instead of the HDF5 library
    version numbers for testing.

Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).
2016-03-07 17:03:57 -05:00
Dana Robinson
f5b516d0c9 [svn-r29279] Tidying of H5C_load_entry() before complicated merge.
No significant code changes. Smoke checked on 64-bit Windows 10
with VS 2015 Pro.
2016-03-04 22:36:14 -05:00
Allen Byrne
6e7e6bb3aa [svn-r29266] Header generation default should be OFF.
For Trunk - cacheinit.cmake should enable it ON
2016-03-04 10:22:29 -05:00
Mohamad Chaarawi
c9c8ec5f7c [svn-r29245] use HDONE_ERROR instead of HGOTO after done. 2016-03-01 11:28:33 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Vailin Choi
337e62226c [svn-r29202] Fix for unknown message HDFFV-9697.
Tested on jam, ostrich, platypus, kite, quail, osx1010test, emu, mayll, moohan.
2016-02-24 16:30:35 -05:00
Dana Robinson
19a8216bd5 [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configure
external dataset storage path behavior.

This check-in fixes a bug in the original check-in where the
external path stored in the file struct was not copied on reopen
causing subsequent dataset operations to fail.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
           autotools parallel (MPICH 3.1.4) w/ fortran
2016-02-22 16:40:03 -05:00
Mohamad Chaarawi
70ad55b105 [svn-r29150] fix for Jira issue 9670 - HDF5 segfaults on corrupted file.
Change compare callback in Btree2 class to correctly account for errors.

tested on bb-8.
2016-02-18 15:50:37 -05:00
Mohamad Chaarawi
8025f6b712 [svn-r29096] fix bug in internal dxpls generated exposed by production and parallel. 2016-02-12 11:54:39 -05:00
Dana Robinson
2018728897 [svn-r29094] Removed the v-1 B-tree package from the list of packages that
can be configured to generate extra debugging output in both
the autotools and CMake.

This can still be set by defining H5B_DEBUG manually or by
using a custom string in configure.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
           CMake serial
2016-02-12 09:42:15 -05:00
Mohamad Chaarawi
d12a994986 [svn-r29088] - Add a test for retrieving the property values for the new coll md functions.
- ifdef some code that don't need to be built in parallel
- more minor enhancements

tested on bb-8 with parallel and serial
2016-02-11 11:03:44 -05:00
Mohamad Chaarawi
fba3bbc7bf [svn-r29086] missed renaming the GET collective metadata read requirement. 2016-02-11 08:12:17 -05:00
Dana Robinson
5655e5a91a [svn-r29084] Revert of:
r29069 and 72 (gheap cleanup)

r29041 and 43 (HDFFV-8740 external storage)

These cause problems in the daily tests. They will be
re-introduced when their respective problems have been
addressed.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (check-vfd) w/ Fortran and C++
           autotools parallel w/ Fortran
           CMake serial
2016-02-10 23:40:10 -05:00