Commit Graph

5720 Commits

Author SHA1 Message Date
Dana Robinson
0d6930d3c2 Purged the unused H5I_REFERENCE from the library. 2017-06-30 20:53:56 -07:00
Dana Robinson
b6944aeb2a Added a test for VFD IDs to testhdf5.
This required adding some code to generate a fake VFD class
to pass to H5FDregister().

Also, a bunch of whitespace and comment tidying.
2017-06-30 18:35:09 -07:00
Vailin Choi
804a88fafd Fix for HDFFV-10160
Modifications to fix the assertion/abort failure when the application does not close the file.
2017-06-29 01:11:44 -05:00
Vailin Choi
980d5b4266 Fix for HDFFV-7853 H5Ocopy doesn't work with open identifiers
Changes made so that raw data for dataset objects are copied from cached info when possible instead of flushing objects to file and read them back in again.
2017-06-10 19:40:19 -05:00
Dana Robinson
005bf26ff8 Revert "Merge pull request #567 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop"
This reverts commit 4242753848, reversing
changes made to b0e79fe6dd.
2017-06-09 18:09:08 -04:00
Dana Robinson
d391d8a690 * Made STATIC free lists EXTERN for H5O_layout_t.
* Made all non-global instances of H5O_layout_t in H5Pdcpl.c dynamic.
2017-06-07 18:10:48 -04:00
Dana Robinson
390b5a9feb Updated H5O_layout_t dynamic work to use the H5FL interface. 2017-06-07 13:38:27 -04:00
Dana Robinson
1ccb1b3c1f Made some H5O_layout_t stack allocations dynamic (quiets warnings). 2017-06-06 14:07:09 -04:00
Dana Robinson
1e9354bcf5 Merge branch 'develop' into windows_open 2017-05-31 15:07:49 -07:00
Dana Robinson
343b53d64f Merge branch 'develop' into compat_feature_flag 2017-05-26 17:29:52 -04:00
Dana Robinson
cf80aac401 Merge pull request #538 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:may_dev_warnings to develop
* commit '57f0a296c0b727e3d86cea312ba46efc98d76227':
  Minor warning fix.
  More minor warning fixes.
  Minor warning fixes in the tools.
  Minor type fixes to h5watch.
  A few more warnings fixed.
  Fixed additional minor warnings.
  Fixed many minor warnings.
2017-05-26 10:43:56 -05:00
Frank Willmore
53c5b41ec2 Merge pull request #534 in HDFFV/hdf5 from ~FRANK.WILLMORE/hdf5:fix-set-mpi-err-handler to develop
* commit '1ee90786196c10c2c616a9fb4b8b1f92ebefa1f2':
  updated MPI error handling call for MPICH2 standard
  cleanup
  enabled MPI error handling
  added test file
2017-05-25 13:30:54 -05:00
Dana Robinson
1b74c5ca95 More minor warning fixes. 2017-05-25 10:11:26 -04:00
Dana Robinson
946fd98b8d Fixed many minor warnings. 2017-05-25 06:45:53 -04:00
Dana Robinson
8807f918b9 Added missing casts for the return value of H5I_object_verify(). 2017-05-24 16:13:12 -04:00
Dana Robinson
479f326a26 * Added new public H5FDdriver_query() API call.
* Changed return type of H5FD_driver_query() to herr_t.
* Updated swmr.c to use H5FDdriver_query() instead of the private call.
* Added some flags tests to vfd.c.
2017-05-24 09:41:26 -04:00
Dana Robinson
e5a57c97aa * Made H5FD_driver_query() a private function instead of static.
* Moved H5FD_driver_query() to H5FDint.c.
* Minor typo fixes in H5I.c.
* Updated swmr.c to check the VFD feature flags and skip the
  retries test when the VFD is not compatible with H5P_DEFAULT.
2017-05-24 07:44:18 -04:00
Frank Willmore
1ee9078619 updated MPI error handling call for MPICH2 standard 2017-05-23 19:01:52 -07:00
Frank Willmore
8f25e21e10 enabled MPI error handling 2017-05-23 10:14:35 -07:00
Dana Robinson
14c286d51a Fixed HDFFV-10214:
* Updated comments in the library to accurately reflect the semantics
  of the H5FD_FEAT_POSIX_COMPAT_HANDLE flag.
* Removed the check for the POSIX compatible handle feature flag
  when determining if a VFD supports SWMR.
Partial work for HDFFV-10197:
* Added a new H5FD_FEAT_DEFAULT_VFD_COMPATIBLE feature flag that is
  set when a VFD creates output that is compatible with the default
  VFD. Will be used in the testing but might also be generally useful
  to users.
2017-05-19 14:58:34 -07:00
Vailin Choi
54dff33177 Incorporate additional code changes for the H5DOread_chunk patch from GE Heathcare (HDFFV-9934)
This is the similar set of changes that was checked in to 1.8 branch:
Incorporate the code changes that were missing from the original patch:
(1) Additional tests in hl/test/test_dset_opt.c
(2) Fix in src/H5Dchunk.c for direct access when an entry is in chunk cache but not dirty
Tested on platypus, ostrich, kituo, mayll, osx1010test, moohan, quail, emu.
2017-05-15 10:25:15 -05:00
Dana Robinson
f95ef72a5e Merged HDFFV-10187 direct chunk overwrite bugfix to develop from 1.10 branch. 2017-05-11 23:31:57 -04:00
Allen Byrne
445c805a4c HDFFV-10186 Add endianess to bitfield and fix tests 2017-05-10 10:59:13 -05:00
Vailin Choi
8482314d7d Fix for HDFFV-10051
Fix missing declaration for H5D__layout_compact_dirty_test().
Tested on mayll and osx1010test.
2017-05-09 17:30:20 -05:00
Vailin Choi
e062a77e0e Merge pull request #494 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit 'd436db6c6efdfe7e9dbe06a642715116ef0eb5e3':
  Fix for the two issues reported in HDFFV-10051 Modifications made based on the review comments from pull request #494 Tested on moohan, mayll, kituo, platypus, ostrich, osx1010test, quail, emu.
  Fix for the two issues reported in HDFFV-10051: (1) Repeated open/close of a compact dataset fails due to the increment of ndims in the dataset structure for every open. --This is done only for chunked dataset via H5D__chunk_set_sizes(). (2) layout "dirty" flag for a compact dataset is not reset properly after flushing the data at dataset close. --Reset the "dirty" flag before flushing the message to the object header via H5O_msg_write(). Tested on moohan, kituo, platypus, ostrich, osx1010test, quail, emu.
2017-05-09 13:18:26 -05:00
Allen Byrne
5263bc9029 HDFFV-10186 Whitespace changes
Mostly replacing tabs with spaces
Removed empty mod sections
2017-05-09 10:41:00 -05:00
Vailin Choi
d436db6c6e Fix for the two issues reported in HDFFV-10051
Modifications made based on the review comments from pull request #494
Tested on moohan, mayll, kituo, platypus, ostrich, osx1010test, quail, emu.
2017-05-08 22:14:20 -05:00
Vailin Choi
6a4f1187cc Fix for the two issues reported in HDFFV-10051:
(1) Repeated open/close of a compact dataset fails due to the
increment of ndims in the dataset structure for every open.
--This is done only for chunked dataset via H5D__chunk_set_sizes().
(2) layout "dirty" flag for a compact dataset is not reset
properly after flushing the data at dataset close.
--Reset the "dirty" flag before flushing the message to the object header
via H5O_msg_write().
Tested on moohan, kituo, platypus, ostrich, osx1010test, quail, emu.
2017-05-06 23:40:44 -05:00
Jordan Henderson
92759cc3b9 Revise shared chunks redistribution algorithm 2017-05-01 10:51:32 -05:00
Jordan Henderson
d367d397e3 Separate shared chunks redistribution code out to its own function 2017-05-01 10:01:53 -05:00
Dana Robinson
734aebc395 Rework of the POSIX file open permissions and macros to clean up
HDopen() calls.

Also fixed a minor const warning in the core VFD.
2017-04-28 18:13:22 -04:00
Dana Robinson
d3b664b6a7 Changed the Windows POSIX open() file permissions to be correct
according to MSDN. Partial fix for HDFFV-9630.
2017-04-28 08:11:29 -07:00
Dana Robinson
80d57c242a Set the HDF5_GENERATE_HEADERS CMake option to default to ON and removed
the option from the CMake cache init files.

Fixes HDFFV-10184
2017-04-27 15:18:18 -04:00
Allen Byrne
a302f508a5 Change position of declaration to top of block 2017-04-27 08:52:34 -05:00
Vailin Choi
bacb45b38a Modifications based on pull request review.
Made couple changes based on the review comments.
2017-04-26 14:00:34 -05:00
Vailin Choi
cb8e82a53d Incorporate patch from GE Healthcare (HDFFV-9934)
This is the same patch that had already been integrated to 1.8 branch (pull request #387).
Tested on moohan, ostrich, platypus, emu, osx1010test, quail, kituo, mayll.
2017-04-25 18:08:53 -05:00
Allen Byrne
2420df5a85 HDFFV-10170 revert entire change 2017-04-25 16:34:52 -05:00
Larry Knox
89fbe00dec Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
* commit '54957d37f5aa73912763dbb6e308555e863c43f4':
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
  Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh.
  Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1
  Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
2017-04-25 16:05:36 -05:00
lrknox
1073ac45ef Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. 2017-04-25 15:59:21 -05:00
Allen Byrne
6fac0de158 Revert HDFFV-9655 by disabling test and not using new function. 2017-04-24 15:10:58 -05:00
Allen Byrne
e2bf6e2beb Merge pull request #447 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9655-plugin-path-relative to develop
* commit 'a995a63085d88e1a633770536efeff5b01569445':
  HDFFV-9655 fix test and some warnings
  HDFFV-9655 fix compile and test
  HDFFV-9655 - Add functions for '@' - untested
2017-04-21 14:40:37 -05:00
Allen Byrne
a995a63085 HDFFV-9655 fix test and some warnings 2017-04-21 10:58:32 -05:00
Allen Byrne
aeb1500897 Merge remote-tracking branch 'origin/develop' into
bugfix/HDFFV-9655-plugin-path-relative
2017-04-21 10:41:50 -05:00
Allen Byrne
3968c5c3bf Fix parameter form 2017-04-21 10:07:30 -05:00
Allen Byrne
ae1144f882 HDFFV-9655 fix compile and test 2017-04-21 10:02:43 -05:00
Dana Robinson
739f413b78 Fixed problems that prevent bin/trace from marking up some functions. 2017-04-20 20:19:15 -04:00
Dana Robinson
5ed622b9ca The cache_image test shows a skipped message about EoC in parallel. 2017-04-20 16:11:47 -04:00
Dana Robinson
d594cb2cc6 Added code to disable the evict-on-close feature in
the parallel library.
2017-04-19 18:28:21 -04:00
Allen Byrne
afcede5368 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '5f7822fac4673cdb9e8ed60d104566c9df43303f':
  Express test mods to test/cache.c
2017-04-17 12:34:10 -05:00
Allen Byrne
6bbc8b69cf HDFFV-10173 fix compile on VS2008 2017-04-17 11:32:32 -05:00
Jordan Henderson
4a0937f26a Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '906c1819188755a04fde6cc0ad7346775a6e61b8':
  Skip tests for page buffering in test/fheap.c for parallel build Skip the two tests for page buffering in test/fheap.c because this feature is disabled in parallel. Activate full testing when this feature is re-enabled in the future for parallel build.
  Due to HDFVIEW-19 add read VL as string function
  Fix URL name
  updated with README changes
  DAILYTEST-250 change test props to reduce timeout
  Combined the README_DEVEL and README, and removed out-dated README material
  Fix for H5Dset_extent test failure with extensive array indexing (HDFFV-9771) 1) Calculate chunk index for extensive array index based on swizzled max chunks when unlim_dim > 0 2) Minor fixes to test/fheap.c that somehow were missed from last check in.  See pull request #396 review comments.
2017-04-17 09:29:24 -05:00
mainzer
4651eb738d Express test mods to test/cache.c
Modified test/cache.c to skip the smoke checks with paged aggregation
for all express test levels other than 0

Change to src/H5PL.c seems to be the result of autogen.sh.  As it
seems to be correct, I am checking it in.

Tested serial and parallel (debug only) on jelly.
2017-04-14 23:44:23 -05:00
Jordan Henderson
ad99159ad6 Fix deadlocking issue 2017-04-13 15:52:21 -05:00
Jordan Henderson
78321f1013 Fix link-chunk I/O by tidying up local_info_array 2017-04-13 10:37:36 -05:00
Jordan Henderson
cbbd6b0df3 Minimize size of H5D_filtered_collective_io_info_t struct 2017-04-11 15:57:31 -05:00
Vailin Choi
9742792f8c Fix for H5Dset_extent test failure with extensive array indexing (HDFFV-9771)
1) Calculate chunk index for extensive array index based on swizzled max chunks when unlim_dim > 0
2) Minor fixes to test/fheap.c that somehow were missed from last check in.  See pull request #396 review comments.
2017-04-11 11:59:27 -05:00
Jordan Henderson
a22597fab4 Revise first-phase algorithm to only use rank 0 for redistribution 2017-04-10 14:59:58 -05:00
Jordan Henderson
ca9b25fd01 Merge pull request #4 in ~JHENDERSON/hdf5 from feature/parallel_filters to develop
* commit '7883c0d01b4eadba84697c7bb3322a304d242ed6': (38 commits)
  Add comments
  In current implementation, list must be gathered to all
  Correct error with usage of array_gather function
  Make array_gather routine more general
  Updated comments
  Add comments to H5D_filtered_collective_io_info_t data structure
  Remove debugging statements
  Revert "Merge latest changes from develop"
  Merge latest changes from develop
  removed erroneous casts from non-rvalue H5MM_free() calls. Replaced assignment of void return values with explicit value of NULL
  Fix issue with uninitialized chunk index during chunk re-insertion into index
  Remove potential infinite loops caused by goto in error label region
  Remove note about src_type_size vs dst_type_size
  Trigger error if library tries to break to independent I/O with filters in the pipeline
  Fix issue in H5D__mpio_array_gather when no one contributes anything
  Iterator for initial chunk entry IO operation should use source datatype size
  Fix bug where data doesn't write correctly when MEMSPACE isnt the same as FILESPACE
  Check return value of H5S_GET_EXTENT_NPOINTS macro
  Fix macro complaint in H5Dmpio.c
  Test code for user passing one-chunk-per-process hint to library
  ...
2017-04-10 09:46:06 -05:00
Jordan Henderson
7883c0d01b Add comments 2017-04-10 09:44:19 -05:00
Jordan Henderson
b314f57e23 In current implementation, list must be gathered to all 2017-04-09 16:57:02 -05:00
Jordan Henderson
8a454e941c Correct error with usage of array_gather function 2017-04-09 16:54:51 -05:00
Jordan Henderson
bbc9f1be45 Make array_gather routine more general 2017-04-09 16:36:19 -05:00
mainzer
eb75dc1bb0 Removed commeted out code from H5C_dump_coll_write_list() 2017-04-07 13:17:08 -05:00
mainzer
94c34773ce Checkin of fix for CGNS bug
(https://jira.hdfgroup.org/browse/HDFFV-10055).

    Briefly, in H5C_collective_write() in H5Cmpio.c,
the metadata cache attempts to perform a collective
write of metadata cache entries.

    This worked fine as long as all processes had at
least one entry to write.

    However, when the process has no entries, the
function tries to participate in the collective write
by calling MPI_File_set_view(),
MPI_File_write_all() and then MPI_File_set_view()
again, to match the calls in H5FD_mpio_write().

   After pull request 183, the CGNS test benchmark_hdf5
started failing.  On investigation, I determined that
the failure occurred in the first call to MPI_File_set_view()
in the "no data to write" path through H5C_collective_write().
Note that pull request 183 did not create the problem,
it only exposed it.  The bug can be observed after pull
request 182 if one executes the CGNS progam
src/ptests/benchmark_hdf5 with 90 processes.

    The problem appears to have been that the calls to
MPI_File_set_view() in H5C_collective_write() and
H5FD_mpio_write() were using different values for the
info parameter.  I patched the problem by adding a
MPI specific VFD call allowing me to get the MPI_Info
used in H5FD_mpio_write() for use in
MPI_File_set_view() calls in H5C_collective_write().

    Tested serial & parallel, debug & production on
Jelly.
2017-04-06 18:11:21 -05:00
Allen Byrne
1e0ecb4481 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'b56fb149c9a3c9dca11b406b7a2488f0c93ee187':
  Updated the H5L.c error message after additional thought. Fix for HDFFV-10141.
  Updated an error message in H5L.c to be more helpful. Fixes HDFFV-10141.
2017-04-05 13:24:07 -05:00
Dana Robinson
9876155d3f Updated the H5L.c error message after additional thought.
Fix for HDFFV-10141.
2017-04-05 02:26:36 -04:00
Dana Robinson
2e295975b9 Updated an error message in H5L.c to be more helpful.
Fixes HDFFV-10141.
2017-04-05 02:26:20 -04:00
Allen Byrne
1f88a34fa7 Update with checks for index bounds 2017-04-03 12:34:17 -05:00
Allen Byrne
87e8da6600 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '2412158ed8326a3f3d62fbd947e470667d0b5951':
  Add new file COPYING_LBNL_HDF5.
  Revert "Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries"
  Add LBNL license file and modify COPYING file accordingly.
  Omnibus checkin for several relatively minor modifications:
  Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries in this branch version of RELEASE.txt should be intended for the future 1.12.0 release.
  Fix HDFFV-8089 Description:     Some code within an "ifdef H5D_CHUNK_DEBUG" block was using outdated     data structure but not caught because the case of H5D_CHUNK_DEBUG being     defined was never tested.  It was commented out.     I defined H5D_CHUNK_DEBUG, tested, and commented out again. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-04-03 09:23:27 -05:00
Binh-Minh Ribler
2412158ed8 Merge pull request #374 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Fix HDFFV-8089

* commit '52f8c2ed494ea1b89374981ecc6901abe8fd5fed':
  Fix HDFFV-8089 Description:     Some code within an "ifdef H5D_CHUNK_DEBUG" block was using outdated     data structure but not caught because the case of H5D_CHUNK_DEBUG being     defined was never tested.  It was commented out.     I defined H5D_CHUNK_DEBUG, tested, and commented out again. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-04-03 08:37:30 -05:00
Allen Byrne
0892bf320c HDFFV-10143 fix use before set 2017-03-30 17:40:44 -05:00
Allen Byrne
b46aa5aff7 Fix code error and use H5PL_MAX_PATH_NUM in test 2017-03-30 16:48:10 -05:00
Allen Byrne
51412aa48c HDFFV-10143 Cleanup due to comments 2017-03-30 15:03:31 -05:00
Allen Byrne
d29548351f HDFFV-10143 change h5PLget to use buffer like H5Iget_name 2017-03-30 14:40:03 -05:00
Jordan Henderson
1488ed344e Updated comments
changed variable name for list containing all chunks in the I/O
operation
2017-03-30 13:40:10 -05:00
Jordan Henderson
a513e5bf84 Add comments to H5D_filtered_collective_io_info_t data structure
Correct comment and error message about retrieving the threshold for
performing either Linked-chunk or Multi-chunk I/O
2017-03-30 13:29:11 -05:00
Allen Byrne
af4d79cbb6 HDFFV-10143 change put to replace and add const 2017-03-30 13:22:43 -05:00
Jordan Henderson
6bc14164e6 Merge branch 'feature/parallel_filters' of ssh://bitbucket.hdfgroup.org:7999/~jhenderson/hdf5.git into feature/parallel_filters 2017-03-30 12:58:20 -05:00
Jordan Henderson
588e829b74 Remove debugging statements 2017-03-30 12:58:04 -05:00
Allen Byrne
0bd67539d6 Remove redundant code 2017-03-30 12:36:12 -05:00
Allen Byrne
17bb6be1d8 HDFFV-10143 Use Windows A version of ExpandEnvironmentStrings 2017-03-30 12:17:48 -05:00
Allen Byrne
1dee0d4627 HDFFV-10143 Fix initial issues from review 2017-03-30 12:15:25 -05:00
Allen Byrne
4e11e6dd37 HDFFV-9655 - Add functions for '@' - untested 2017-03-29 09:09:51 -05:00
Allen Byrne
bb80ae9854 HDFFV-10143 add APIs to manipulate plugin path table 2017-03-28 13:35:49 -05:00
mainzer
afd8f64c29 Omnibus checkin for several relatively minor modifications:
1) Added code test/page_buffer.c to verify that page buffering is
   disabled in parallel builds.

2) Added code to test/cache_image.c to verify correct interaction
   between evict on close and cache image -- in particular management
   of a file containing a cache image containing dirty metadata that
   has been opened R/O.  Also fix for the bug exposed.

3) Added code to testpar/t_cache_image.c to verify expected procedure
   for reading cache images, and also supporting stats collection code
   needed for the test.

4) Repair of an overactive sanity check in H5C__reconstruct_cache_contents().

5) Other minor tidies in passing.

Tested serial and parallel, debug and production on Jelly.
2017-03-28 11:21:40 -05:00
Binh-Minh Ribler
52f8c2ed49 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-03-27 23:39:10 -05:00
Binh-Minh Ribler
37c56ebd37 Fix HDFFV-8089
Description:
    Some code within an "ifdef H5D_CHUNK_DEBUG" block was using outdated
    data structure but not caught because the case of H5D_CHUNK_DEBUG being
    defined was never tested.  It was commented out.
    I defined H5D_CHUNK_DEBUG, tested, and commented out again.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-27 23:38:35 -05:00
Quincey Koziol
ddb870b4b6 Add H5_DLL to H5AC_get_mdc_image_info() prototype 2017-03-24 08:25:18 -07:00
Quincey Koziol
e4114236e3 Add prototype for H5AC_get_mdc_image_info 2017-03-22 15:15:51 -07:00
Quincey Koziol
46c9ab600d Minor style cleanups 2017-03-22 10:54:25 -07:00
Quincey Koziol
9c606c3d90 Revert "Switch h5clear for cache images to use existing H5Pget_cache_image_config()"
This reverts commit dd5105fc9912c77f6d6074700d83e5e8282e86c9.
2017-03-22 09:58:40 -07:00
lrknox
cd8ec2cc44 Extend h5vers to update version strings in java files and h5repack
version test expected output file.

Update version on develop branch to 1.11.0.

 Please enter the commit message for your changes. Lines starting
2017-03-20 17:14:16 -05:00
John Mainzer
52ee0344ef Merge pull request #341 in HDFFV/hdf5 from ~MAINZER/hdf5_jrm:develop to develop
* commit 'b7c58f7dfca66d4caa26d7f8b318ad3514b8c46f':
  Minor code changes to address comments in pull request
  Checkin of additions to cache image parallel test code and associated bug fixes.
2017-03-20 13:13:13 -05:00
Jordan Henderson
3a01afc0b1 Merge pull request #3 in ~JHENDERSON/hdf5 from develop to feature/parallel_filters
* commit 'b359e8f1a2349d177e70d34560d0a089ce37c4c8':
  Description:     Removed "#ifndef H5_NO_DEPRECATED_SYMBOLS" in file space tests,     because the wrappers only use the latest functions now. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Purpose: Add new C++ wrappers Description:     Because H5Pset_file_space and H5Pget_file_space are deprecated, changed     to make wrappers for the new functions instead:         H5Ps/get_file_space_strategy         H5Ps/get_file_space_page_size
  Description:     Fixed typos. Platforms tested:     Linux/64 (jelly)
  Description:     Deprecating versions of PropList::setProperty that have arguments that     miss "const" Platforms tested:     Linux/64 (jelly)     Linux/64 (platypus)     Darwin (osx1010test)
  Description:     Miscellaneous clean-up: format and comments Platforms tested:     Linux/64 (jelly)     Darwin (osx1010test)
  Add toolset option to cmake configure
  Update cmake pubconf to match autotools and add strtoll checks
  Switch from HDatoll to HDstrtoll, for Windows compatibility.
  output_filter.sh:         Comment added to address HDFFV-8270.  The sample ontput in the         file's comments are not up-to-date with the scripts in the file         that remove output unique to certain systems when running test         scripts.  This output doesn't match expected output files for         the tests, causing them to fail.  Ther output_filter.sh file         removes such output.  Currently we don't have access to these         systems to update the comments.
  Correct double sourcedir name on copied datafiles.
  HDFFV-10138 Merge app framework to examples
  Final merge of page buffering branch to develop
  Purpose: Add new C++ wrappers Description:     Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist,     H5Oopen, H5Oclose and H5Pset_virtual
  Bring changes to I/O parameters from page_buffering branch.
  Merge in reentrency changes to "make space in cache" from page_buffering branch.
  Minor cleanups and bring over "prefetched dirty" fixes for entries loaded from a cache image.
  Remove some usage of "prefetched_dirty" flag (which hasn't been merged from the page_buffering branch yet.  Also, bring over improvements to flush candidate entries for parallel code.
  Align with incoming page buffering changes: minor cleanups, centralize removing entries from collective metadata read list
2017-03-20 11:51:32 -05:00
mainzer
b7c58f7dfc Minor code changes to address comments in pull request 2017-03-17 04:36:05 -05:00
Allen Byrne
24b11709af Update cmake pubconf to match autotools and add strtoll checks 2017-03-16 12:59:20 -05:00
mainzer
11ce930ae9 Checkin of additions to cache image parallel test code and
associated bug fixes.

Also, modifications to H5PB_dest() to flush the page buffer before
destroying the page buffer.  This is necessary, as when persistant
free space managers are enabled, the page buffer will typically contain
dirty FSM data at page buffer destroy time.

Tested serial/debug, serial/production, serial/check-vfd/debug,
       parallel/debug, parallel/production on Jelly.
2017-03-16 12:42:10 -05:00
Quincey Koziol
0313cbb91d Final merge of page buffering branch to develop 2017-03-13 21:30:37 -07:00
Quincey Koziol
4fad103187 Bring changes to I/O parameters from page_buffering branch. 2017-03-13 08:21:28 -07:00
Quincey Koziol
0b78740ff4 Merge in reentrency changes to "make space in cache" from page_buffering branch. 2017-03-13 07:45:42 -07:00
Quincey Koziol
c4a36e0bb3 Minor cleanups and bring over "prefetched dirty" fixes for entries loaded from
a cache image.
2017-03-12 01:57:19 -08:00
Jordan Henderson
c3663d13d5 Merge pull request #2 in ~JHENDERSON/hdf5 from HDFFV/hdf5:develop to feature/parallel_filters
* commit '56e5b4ed05fb3bad51c226ec5b567871a45e0bce': (112 commits)
  updated AM_SILENT_RULES syntax
  Added a check for AM_SILENT_RULES before enabling it.
  Fix alignment
  Fix vds tests
  Correct result code for strings test
  Add extension to filename
  HDFFV-10128 fix string compare and add tests
  Description:     Only format changes: mostly tabs vs. spaces Platforms tested:     Linux/64 (jelly) - very minor
  Lowercase math and set CMake commands
  Added "flush" and "refresh" to testflushrefresh.sh error output so it's easier to see where errors in the script occur.
  Misc. small cleanups to sync against incoming page buffering changes.
  Update CMake formatting
  Update CMake files and formatting
  Normalize against incoming page buffering changes.
  HDFFV-10120 verify nozlib checking with tools tests
  cmake non-code typo
  Correct issues from pull request reviews.
  Corrected version of 4b5e05c084:     Fix some more signed -> unsigned value issues with cache data structures,     also misc. style cleanups.  All to align w/incoming page_buffering changes.
  Revert "Fix some more signed -> unsigned value issues with cache data structures, also"
  Added virtual to list
  ...
2017-03-10 09:11:49 -06:00
Jordan Henderson
281c24a5a9 Revert "Merge latest changes from develop"
This reverts commit 104d63f25a.
2017-03-10 09:05:36 -06:00
Jordan Henderson
104d63f25a Merge latest changes from develop 2017-03-10 08:32:24 -06:00
Quincey Koziol
36f06cab79 Remove some usage of "prefetched_dirty" flag (which hasn't been merged from the
page_buffering branch yet.  Also, bring over improvements to flush candidate
entries for parallel code.
2017-03-09 21:38:26 -08:00
Quincey Koziol
cc75f67514 Align with incoming page buffering changes: minor cleanups, centralize removing
entries from collective metadata read list
2017-03-07 12:50:41 -08:00
Quincey Koziol
5df52404bc Misc. small cleanups to sync against incoming page buffering changes. 2017-03-02 06:24:46 -08:00
Quincey Koziol
90a0d07f09 Normalize against incoming page buffering changes. 2017-03-01 10:04:28 -08:00
Quincey Koziol
5db402afbb Corrected version of 4b5e05c084:
Fix some more signed -> unsigned value issues with cache data structures,
    also misc. style cleanups.  All to align w/incoming page_buffering changes.
2017-02-27 21:45:55 -08:00
Quincey Koziol
e5fb4191de Revert "Fix some more signed -> unsigned value issues with cache data structures, also"
This reverts commit 4b5e05c084.
2017-02-27 21:23:44 -08:00
Quincey Koziol
321adc3a6f Align w/incoming page buffering changes. 2017-02-25 03:40:00 -08:00
Quincey Koziol
c3321cba03 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_page_buffering_03 2017-02-22 23:23:00 -08:00
Quincey Koziol
4b5e05c084 Fix some more signed -> unsigned value issues with cache data structures, also
misc. style cleanups.  All to align w/incoming page_buffering changes.
2017-02-22 23:21:41 -08:00
Dana Robinson
a247e33678 Changed C++ comments to C comments in H5win32defs.h. 2017-02-22 17:41:42 -05:00
Frank T Willmore
fb7cbe8acb removed erroneous casts from non-rvalue H5MM_free() calls. Replaced assignment of void return values with explicit value of NULL 2017-02-21 15:13:03 -06:00
Jordan Henderson
973594f6ae Fix issue with uninitialized chunk index during chunk re-insertion into
index
2017-02-20 09:03:45 -06:00
Quincey Koziol
101fa7af8e Cleanups and normalizations against incoming page_buffering changes. 2017-02-19 18:28:52 -08:00
Quincey Koziol
4a42b04e59 Switch major error code from H5E_FSPACE [back] to H5E_RESOURCE 2017-02-18 15:42:25 -08:00
Quincey Koziol
b26b684339 Misc. style cleanups from the page_buffering branch. 2017-02-18 15:29:09 -08:00
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