Commit Graph

19949 Commits

Author SHA1 Message Date
Binh-Minh Ribler
7857a59bf0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5-bmr into develop 2019-08-28 10:14:10 -05:00
Binh-Minh Ribler
e06bf9d263 HDFFV-10677 and HDFFV-10661
Description:
    - Added functions to query chunk information:
        H5Dget_num_chunks(dset_id, fspace_id, *nchunks)
            Gets the number of written chunks that intersect with the given
            dataspace.  However, in this version, the intersection is not
            yet completed.  Thus, the number of all written chunks will be
            returned.
        H5Dget_chunk_info_by_coord(dset_id, *offset, *filter_mask, *addr, *size)
            Given a chunk's logical coordinates, returns the chunk's filter,
            address, and size.
        H5Dget_chunk_info(dset_id, fspace_id, index, *offset, *filter_mask, *addr, *size)
            Given a chunk's index, returns the chunk's logical coordinates, filter,
            address, and size.  The chunk belongs to a set of chunks that have
            nonempty intersection with the specified dataspace.  However, in
            this version, the intersection is not yet completed, and the index
            is of all the written chunks.
        These functions comply with VOL.

    - Fixed some oversights found in the library for the tests in chunk_info.c
      to work correctly.  The returned value from a callback function was not
      checked in H5EA_iterate(), H5FA_iterate(), and H5D__none_idx_iterate().
      This oversight caused a callback function to continue iterating even though
      it's supposed to stop.
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1011test)
2019-08-28 10:08:12 -05:00
Dana Robinson
fb8296371c Merge pull request #1896 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Pset_fapl_mpi to develop
* commit '937616872cf228f838fd1eb2853ce6110f3da10b':
  Minor tweaks to new H5P MPI code based on code review feedback.
  Fixed a bug in the cache image code that was introduced by the HD changes.
  Added H5Pset/get_mpi_params calls and unified them with the MPI-I/O VFD info in H5FDmpio.c.
2019-08-27 16:17:50 -05:00
Dana Robinson
937616872c Minor tweaks to new H5P MPI code based on code review feedback. 2019-08-27 14:00:49 -07:00
Dana Robinson
477bd6cd77 Merge branch 'develop_minor_pr' into H5Pset_fapl_mpi 2019-08-27 13:28:55 -07:00
Dana Robinson
7dfe176924 Fixed a bug in the cache image code that was introduced by the HD
changes.
2019-08-27 13:26:22 -07:00
Dana Robinson
1b95221105 Merge pull request #1903 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor_pr to develop
* commit '9a4f86997ad160bcc8a3f9eefdbd92d4a63e14c6':
  Fixed typo from HD changes
2019-08-27 14:26:34 -05:00
Dana Robinson
9a4f86997a Fixed typo from HD changes 2019-08-27 12:20:12 -07:00
Dana Robinson
89928e7c21 Merge branch 'develop' into H5Pset_fapl_mpi 2019-08-27 12:19:03 -07:00
Dana Robinson
91a34039ba Merge pull request #1902 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:fcntl_lock_bug to develop
* commit 'd42de626b604b75963fd593a145fd9c9b9e20602':
  Fixed a bug where we incorrectly pass a lock struct to fcntl for file locking instead of a pointer.
2019-08-27 14:10:30 -05:00
Allen Byrne
506a5069a8 Merge pull request #1899 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '392340062b7c130a02368aee79bc34ba9868038a':
  Add HD prefix
2019-08-27 10:26:38 -05:00
Allen Byrne
392340062b Add HD prefix 2019-08-27 09:21:08 -05:00
Dana Robinson
d42de626b6 Fixed a bug where we incorrectly pass a lock struct to fcntl
for file locking instead of a pointer.
2019-08-27 07:03:51 -07:00
Allen Byrne
9689c6cf0a Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'ddf04a9a727252f40197c48da541212dff646046':
  Add a 'closing' flag on the shared file struct, and switch several of the "internal" data structures to use it.
  Fixed the assertion failure for HDFFV-10873.
2019-08-27 08:43:19 -05:00
Allen Byrne
ddf04a9a72 Merge pull request #1893 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ba974c031deb709b6d4241da95485b48d747afdd':
  OESS-29 Update HD prefix mostly
2019-08-27 08:43:03 -05:00
Dana Robinson
68cd4eea0e Merge branch 'develop' into H5Pset_fapl_mpi 2019-08-27 02:42:18 -07:00
Quincey Koziol
6e8c48182f Merge pull request #1897 in HDFFV/hdf5 from ~KOZIOL/hdf5:refactor_file to develop
* commit '3090ac81506094ee510ae89c31749b5c1632aa34':
  Add a 'closing' flag on the shared file struct, and switch several of the "internal" data structures to use it.
2019-08-26 17:25:17 -05:00
Quincey Koziol
3090ac8150 Add a 'closing' flag on the shared file struct, and switch several of the
"internal" data structures to use it.
2019-08-26 14:38:58 -05:00
Dana Robinson
3bcbce5538 Added H5Pset/get_mpi_params calls and unified them with the MPI-I/O
VFD info in H5FDmpio.c.
2019-08-26 10:26:31 -07:00
Vailin Choi
a367340a17 Merge pull request #1892 in HDFFV/hdf5 from ~VCHOI/my_third_fork:bugfix/HDFFV-10873-assertion-v-oh--nmesgs-failed to develop
* commit '021919206df7764f951037ae76ccae006b2eea99':
  Fixed the assertion failure for HDFFV-10873.
2019-08-26 12:02:31 -05:00
Allen Byrne
ba974c031d OESS-29 Update HD prefix mostly 2019-08-24 14:07:33 -05:00
Vailin Choi
021919206d Fixed the assertion failure for HDFFV-10873. 2019-08-23 15:06:19 -05:00
Quincey Koziol
884ad149e2 Merge pull request #1889 in HDFFV/hdf5 from ~KOZIOL/hdf5:shared_file_ptr to develop
* commit 'f42c7cc0d85cc5b232afd621711fdbd64f6e19d9':
  Fix major error codes
  Switch shared file struct name from 'H5F_file_t' to 'H5F_shared_t', to match naming convention for shared structs in rest of library data structures.
  Small tidy up.
  Progress toward movig H5MF* API to use shared file pointers instead of top file pointers.
  Progress on moving the H5MF* interface to using shared file pointers instead of top file pointers.
  Begin converting the H5MF interface to use shared file pointers instead of top file pointers.
  Progress toward moving the dataset routines to using the 'shared' file pointer instead of the 'top' file pointer.
  Begin converting dataset code to use shared file pointer instead of top file pointer.
  Finish converting H5PB_* routines to use shared file pointer, instead of top file pointer.
  First pass of converting H5PB_* routines to use shared file pointers.
  Rest of changes for 'top' file pointer to 'shared' file pointer for H5F__accum routines.
  Partial H5F__accum_* routines.
2019-08-23 10:21:08 -05:00
Quincey Koziol
f42c7cc0d8 Fix major error codes 2019-08-22 17:06:00 -05:00
Quincey Koziol
c36d2eeae7 Switch shared file struct name from 'H5F_file_t' to 'H5F_shared_t', to match
naming convention for shared structs in rest of library data structures.
2019-08-22 13:28:20 -05:00
Quincey Koziol
5d6f27b32b Merge branch 'develop' into shared_file_ptr 2019-08-21 15:36:17 -05:00
Quincey Koziol
0b85fa6004 Small tidy up. 2019-08-21 15:34:43 -05:00
Quincey Koziol
d3545afbc5 Progress toward movig H5MF* API to use shared file pointers instead of top
file pointers.
2019-08-20 21:55:16 -05:00
Quincey Koziol
901c42640f Progress on moving the H5MF* interface to using shared file pointers instead of
top file pointers.
2019-08-20 21:32:13 -05:00
Quincey Koziol
53eaeff26a Begin converting the H5MF interface to use shared file pointers instead
of top file pointers.
2019-08-20 21:07:13 -05:00
Quincey Koziol
2ef7eb51b9 Progress toward moving the dataset routines to using the 'shared' file pointer
instead of the 'top' file pointer.
2019-08-20 20:38:10 -05:00
Dana Robinson
f0272e4945 Merge pull request #1886 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_minor_pr to develop
* commit 'e747237a9c03e551eef017cf4a0de5d67ca4fd71':
  Removed unnecessary H5S_FRIEND and dead code.
2019-08-20 19:55:41 -05:00
Quincey Koziol
67d7d28c03 Begin converting dataset code to use shared file pointer instead of top file
pointer.
2019-08-20 18:21:53 -05:00
Quincey Koziol
25f982abbd Finish converting H5PB_* routines to use shared file pointer, instead of top
file pointer.
2019-08-20 17:26:10 -05:00
Dana Robinson
e747237a9c Removed unnecessary H5S_FRIEND and dead code. 2019-08-20 13:16:20 -07:00
Dana Robinson
c5ba214097 Merge pull request #1884 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:new_vfd_build_cleanup to develop
* commit '3ee329cb463538cceffef722101fb28e37fbddcb':
  Untangle #ifdef mess in ROS3 code.
2019-08-20 11:22:29 -05:00
Dana Robinson
3ee329cb46 Merge branch 'develop' into new_vfd_build_cleanup 2019-08-19 18:16:30 -07:00
Dana Robinson
8c40dab59e Untangle #ifdef mess in ROS3 code. 2019-08-19 18:02:47 -07:00
Quincey Koziol
f285c76ef2 First pass of converting H5PB_* routines to use shared file pointers. 2019-08-19 18:48:06 -05:00
Quincey Koziol
df36318b5f Rest of changes for 'top' file pointer to 'shared' file pointer for H5F__accum
routines.
2019-08-19 18:00:05 -05:00
Quincey Koziol
85a56a9c4f Partial H5F__accum_* routines. 2019-08-19 17:47:28 -05:00
Larry Knox
a63c20cdd0 Merge pull request #1883 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '92f103cfd4b19b61a0ddf6e62e1692d2b3eeb4d9':
  Add H5_DLL to all s3comms function prototypes to stop Windows unresolved external symbols errors.  HDFFV-10889.
2019-08-19 16:05:18 -05:00
Allen Byrne
8b6f3bc7e6 Merge pull request #1882 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '935f27c1b803faf981131ff936619aecd9f76e38':
  HDFFV-10887 Implement requested functions
2019-08-19 12:46:56 -05:00
Larry Knox
92f103cfd4 Add H5_DLL to all s3comms function prototypes to stop Windows unresolved
external symbols errors.  HDFFV-10889.
2019-08-19 12:03:44 -05:00
Allen Byrne
935f27c1b8 HDFFV-10887 Implement requested functions 2019-08-19 11:58:52 -05:00
Allen Byrne
06e5cbd541 Merge pull request #1880 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '9081fb266cc15198e0c75a77f23f2b252c6ee79f':
  Add missing HD prefix
  This test cannot use HD prefix macro with printf of fprintf
  Update HD prefix and reconcile hl/cpp test
  Add HD prefix to tests
2019-08-19 09:04:05 -05:00
Allen Byrne
9081fb266c Add missing HD prefix 2019-08-18 11:33:45 -05:00
Allen Byrne
2bce24576e This test cannot use HD prefix macro with printf of fprintf 2019-08-17 13:33:41 -05:00
Allen Byrne
228ef0684e Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'dcf084aff42d3abafaa82b356493a2d1585afb85':
  Changes based on PR feedback.
  Fix for HDFFV-10813 H5Fset_metadata_read_retry_info() test fails on jelly with PGI/19.
2019-08-17 13:25:26 -05:00
Allen Byrne
96bf97f534 Update HD prefix and reconcile hl/cpp test 2019-08-16 13:23:29 -05:00