Commit Graph

6681 Commits

Author SHA1 Message Date
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
a4038aed6e Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit 'd6ea49f5cbcaa852cd0caf34278ec61108667bc3':
  Switch to using flag in signal handler, to trigger dropping out of main loop and shutdown cleanly, instead of calling leave() from the signal handler.
  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-04 12:15:32 -05:00
Larry Knox
d6ea49f5cb Merge pull request #390 in HDFFV/hdf5 from develop to hdf5_1_10
* commit 'd522632b9e1f1d88db2117e89f3caba0dc4cf38b':
  Switch to using flag in signal handler, to trigger dropping out of main loop and shutdown cleanly, instead of calling leave() from the signal handler.
  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 18:48:51 -05:00
Allen Byrne
399060c17a Update with checks for index bounds 2017-04-03 12:35:38 -05:00
Allen Byrne
1f88a34fa7 Update with checks for index bounds 2017-04-03 12:34:17 -05:00
Allen Byrne
dd2749d1be Merging in latest from upstream (HDFFV/hdf5:refs/heads/hdf5_1_10)
* commit '6387f7099d22c66dab415c57f9fd547eb86e4ad5':
  Small corrections to DOPYING file.
  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:
2017-04-03 09:23:33 -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
lrknox
f4b64cd845 Merge branch 'develop' into hdf5_1_10 2017-03-31 11:59:20 -05:00
Allen Byrne
c99679337a HDFFV-10143 fix use before set 2017-03-30 17:41:35 -05:00
Allen Byrne
0892bf320c HDFFV-10143 fix use before set 2017-03-30 17:40:44 -05:00
Allen Byrne
0f9e09a65d Fix code error and use H5PL_MAX_PATH_NUM in test 2017-03-30 17:12:53 -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
33ad855c6b HDFFV-10143 Cleanup due to comments 2017-03-30 15:03:56 -05:00
Allen Byrne
51412aa48c HDFFV-10143 Cleanup due to comments 2017-03-30 15:03:31 -05:00
Allen Byrne
09e76f7782 HDFFV-10143 change h5PLget to use buffer like H5Iget_name 2017-03-30 14:40:52 -05:00
Allen Byrne
cb222dded2 HDFFV-10143 change put to replace and add const 2017-03-30 14:40:44 -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
Allen Byrne
c25651fc5c HDFFV-10143 Use Windows A version of ExpandEnvironmentStrings 2017-03-30 13:04:19 -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
db3638b791 Remove redundant code 2017-03-30 12:37:05 -05:00
Allen Byrne
0bd67539d6 Remove redundant code 2017-03-30 12:36:12 -05:00
Allen Byrne
10ef22fcd6 HDFFV-10143 Fix initial issues from review 2017-03-30 12:20:59 -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
77e1f1e491 HDFFV-10143 add APIs to manipulate plugin path table 2017-03-28 14:15:13 -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
Quincey Koziol
a77bf61074 Further minor cleanups 2017-03-27 22:48:41 -07: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
37de3f30e4 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_hyperslab_updates 2017-03-27 20:29:44 -07:00
Quincey Koziol
8859a5a270 Checkpoint normalization against incoming hyperslab / selection / dataspace
improvements.
2017-03-27 20:25:06 -07:00
Quincey Koziol
ddb870b4b6 Add H5_DLL to H5AC_get_mdc_image_info() prototype 2017-03-24 08:25:18 -07:00
lrknox
972344e231 Merge bin/h5vers changes from develop.
Pull version from configure for version test in h5repack_plugin.sh.in
Update version to 1.10.2-snap0 for hdf5_1_10 branch.
2017-03-23 20:03:27 -05:00
lrknox
d0b1c6f6ed Add H5_DLL to function prototype. 2017-03-23 00:05:51 -05:00
Quincey Koziol
9ab96feda6 Merge pull request #361 in HDFFV/hdf5 from merge_h5clear_revert to develop
* commit '46c9ab600de491657520897322b75659c3bdfb5f':
  Minor style cleanups
  Revert "Switch h5clear for cache images to use existing H5Pget_cache_image_config()"
2017-03-23 00:04:49 -05:00
Quincey Koziol
a533dba4d1 Add prototype for H5AC_get_mdc_image_info 2017-03-23 00:01:04 -05: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