Commit Graph

16280 Commits

Author SHA1 Message Date
Binh-Minh Ribler
b6cb20d608 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)
2017-03-19 22:57:47 -05:00
Binh-Minh Ribler
34731511da 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

    New wrappers in FileCreatPropList:

        // Sets the strategy and the threshold value that the library will
        // will employ in managing file space.
        void setFileSpaceStrategy(H5F_fspace_strategy_t strategy, hbool_t persist, hsize_t threshold) const;

        // Returns the strategy that the library uses in managing file space.
        void getFileSpaceStrategy(H5F_fspace_strategy_t& strategy, hbool_t& persist, hsize_t& threshold) const;

        // Sets the file space page size for paged aggregation.
        void setFileSpacePagesize(hsize_t fsp_psize) const;

        // Returns the threshold value that the library uses in tracking free
        // space sections.
        hsize_t getFileSpacePagesize() const;

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-18 23:40:37 -05:00
Binh-Minh Ribler
c89e53431b Merge pull request #344 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp2:develop to develop
* commit '5acc8b9e169e6416e353433791321bc9c4e7b725':
  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)
2017-03-17 16:55:32 -05:00
Binh-Minh Ribler
5acc8b9e16 Description:
Fixed typos.
Platforms tested:
    Linux/64 (jelly)
2017-03-17 16:51:52 -05:00
Binh-Minh Ribler
f63b32c194 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp2 into develop 2017-03-17 16:23:46 -05:00
Binh-Minh Ribler
c2f3ce287f Description:
Deprecating versions of PropList::setProperty that have arguments that
    miss "const"
Platforms tested:
    Linux/64 (jelly)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-17 16:20:24 -05:00
Binh-Minh Ribler
983658973b Merge pull request #342 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp2:develop to develop
* commit '50ac3cd6ecc37bb2196bcebe8a202711e315759d':
  Description:     Miscellaneous clean-up: format and comments Platforms tested:     Linux/64 (jelly)     Darwin (osx1010test)
2017-03-17 12:49:07 -05:00
Allen Byrne
2d22e8af0b Merge pull request #340 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '4c6f538770f92a09c6be46e44de056ad7ec68426':
  Add toolset option to cmake configure
  Update cmake pubconf to match autotools and add strtoll checks
2017-03-17 12:21:36 -05:00
Binh-Minh Ribler
50ac3cd6ec Description:
Miscellaneous clean-up: format and comments
Platforms tested:
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-03-17 11:03:18 -05:00
Allen Byrne
4c6f538770 Add toolset option to cmake configure 2017-03-17 10:36:49 -05:00
Binh-Minh Ribler
f7711df680 Merge pull request #334 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp2:develop to develop
* commit '98090fe3b08a0ff85ae9bc93218a14017a6f37fe':
  Purpose: Add new C++ wrappers Description:     Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist,     H5Oopen, H5Oclose and H5Pset_virtual
2017-03-16 18:19:32 -05:00
Allen Byrne
24b11709af Update cmake pubconf to match autotools and add strtoll checks 2017-03-16 12:59:20 -05:00
Allen Byrne
368089572a Merge pull request #336 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f21374c455b713df8e866d0ebfddece7874b0f47':
  HDFFV-10138 Merge app framework to examples
2017-03-16 11:28:45 -05:00
Allen Byrne
f21374c455 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '887783eb0e9a1787c77092ed53a7737ad4aaac3a':
  Switch from HDatoll to HDstrtoll, for Windows compatibility.
2017-03-16 11:28:11 -05:00
Quincey Koziol
887783eb0e Merge pull request #339 in HDFFV/hdf5 from merge_page_buffering_10 to develop
* commit 'a16d142f80630b11ac45c0bcf00ee2ea5b88f08e':
  Switch from HDatoll to HDstrtoll, for Windows compatibility.
2017-03-16 11:13:57 -05:00
Allen Byrne
b2bd7883c3 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'cee9624b0febcb60a7b2699262104e9eaf20313d':
  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.
2017-03-16 10:45:59 -05:00
Quincey Koziol
a16d142f80 Switch from HDatoll to HDstrtoll, for Windows compatibility. 2017-03-16 08:38:24 -07:00
Larry Knox
cee9624b0f Merge pull request #338 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '98567db19290dc07cc86efae720b0dc457ae9f65':
  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.
2017-03-15 22:21:07 -05:00
lrknox
98567db192 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.

testflushrefresh.sh.in:
        flushrefresh and other SWMR tests have been failing
        occasionally but regularly since bringing them to the develop
        branch.  The logs and debugging point to unexpected deletion of
        signal files as the point of failure, and John Mainzer suggests
        that two such tests running simultaneously in the same directory
        may lead to the operating system deleting the other test's
        signal file. Running the flushrefresh test in its own directory
        seems to solve the problem.
2017-03-15 12:49:19 -05:00
Quincey Koziol
bf69edf565 Merge pull request #337 in HDFFV/hdf5 from merge_page_buffering_09 to develop
* commit 'ecfdadfb1eff5ae8f18269e33dce3856e22f4bd7':
  Correct double sourcedir name on copied datafiles.
2017-03-14 23:28:41 -05:00
Quincey Koziol
ecfdadfb1e Correct double sourcedir name on copied datafiles. 2017-03-14 20:58:21 -07:00
Allen Byrne
3fcfb36748 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'd0aeefd6455d6877afd934e238362636a86e4b42':
  Final merge of page buffering branch to develop
2017-03-14 14:31:10 -05:00
Quincey Koziol
d0aeefd645 Merge pull request #335 in HDFFV/hdf5 from merge_page_buffering_08 to develop
* commit '0313cbb91d974b153dbe8747d193ac3c619eea3b':
  Final merge of page buffering branch to develop
2017-03-14 12:23:34 -05:00
Allen Byrne
2687321987 HDFFV-10138 Merge app framework to examples 2017-03-14 12:14:44 -05:00
Quincey Koziol
0313cbb91d Final merge of page buffering branch to develop 2017-03-13 21:30:37 -07:00
Binh-Minh Ribler
98090fe3b0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp2 into develop 2017-03-13 22:55:32 -05:00
Binh-Minh Ribler
a48c9c4024 Purpose: Add new C++ wrappers
Description:
    Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist,
    H5Oopen, H5Oclose and H5Pset_virtual

        // Checks if the given ID is valid.
        static bool isValid(hid_t an_id);

        // Sets the number of soft or user-defined links that can be
        // traversed before a failure occurs.
        void setNumLinks(size_t nlinks) const;

        // Gets the number of soft or user-defined link traversals allowed
        size_t getNumLinks() const;

        // Returns a copy of the creation property list of a datatype.
        PropList getCreatePlist() const;

        // Opens an object within a group or a file, i.e., root group.
        hid_t getObjId(const char* name,...);
        hid_t getObjId(const H5std_string& name,...);

        // Closes an object opened by getObjId().
        void closeObjId(hid_t obj_id) const;

        // Maps elements of a virtual dataset to elements of the source dataset.
        void setVirtual(const DataSpace& vspace, const char *src_fname,...);
        void setVirtual(const DataSpace& vspace, const H5std_string src_fname,...);

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-13 22:53:43 -05:00
Quincey Koziol
847d675f27 Merge pull request #333 in HDFFV/hdf5 from merge_page_buffering_07 to develop
* commit '4fad103187db9095afc8eab90b5f5544feb1d19b':
  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-13 14:04:33 -05: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
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
d0226dffb2 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_page_buffering_07 2017-03-09 20:41:07 -08:00
Scot Breitenfeld
56e5b4ed05 Merge pull request #330 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'd297ee6e82adbbbbca168997953cdf0c5a3922eb':
  updated AM_SILENT_RULES syntax
  Added a check for AM_SILENT_RULES before enabling it.
2017-03-09 09:56:39 -06:00
M. Scot Breitenfeld
d297ee6e82 updated AM_SILENT_RULES syntax 2017-03-09 09:54:19 -06:00
M. Scot Breitenfeld
ed37cbfd2e Added a check for AM_SILENT_RULES before enabling it. 2017-03-08 16:21:24 -06:00
Allen Byrne
2a0cacb015 Merge pull request #328 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '71fa3dc480d9d6b1ea00c4f10e9ee0ec10c2c8d9':
  Fix alignment
  Fix vds tests
2017-03-08 11:51:50 -06:00
Allen Byrne
71fa3dc480 Fix alignment 2017-03-08 11:51:17 -06:00
Allen Byrne
527d1a185e Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '7942414b24288d497d4878754319dffa24bbec11':
  Description:     Only format changes: mostly tabs vs. spaces Platforms tested:     Linux/64 (jelly) - very minor
2017-03-08 08:34:42 -06:00
Quincey Koziol
0afab7474b Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_page_buffering_07 2017-03-07 15:54:05 -08:00
Binh-Minh Ribler
7942414b24 Merge pull request #323 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Replaces tabs with spaces.

* commit '8f5a1f43d0cf527488be2b2805bac2b6c86b8c66':
  Description:     Only format changes: mostly tabs vs. spaces Platforms tested:     Linux/64 (jelly) - very minor
2017-03-07 16:05:53 -06:00
Quincey Koziol
7f95d847e6 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into merge_page_buffering_07 2017-03-07 13:56:41 -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
Allen Byrne
12b87f0f84 Fix vds tests
java wrong call
vds test - missing checks and if content
2017-03-07 10:06:38 -06:00
Allen Byrne
1a1bdc1219 Merge pull request #324 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'cceddc6b4f002fe98470f9f6af5dbf9f6461c95a':
  Correct result code for strings test
  Add extension to filename
  HDFFV-10128 fix string compare and add tests
  Lowercase math and set CMake commands
2017-03-06 13:17:44 -06:00
Allen Byrne
cceddc6b4f Correct result code for strings test 2017-03-03 15:26:06 -06:00
Allen Byrne
eebe786cca Add extension to filename 2017-03-03 15:10:40 -06:00
Allen Byrne
9e75847d67 HDFFV-10128 fix string compare and add tests 2017-03-03 14:47:59 -06:00
Binh-Minh Ribler
8f5a1f43d0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp into develop 2017-03-03 08:50:04 -06:00
Binh-Minh Ribler
861a849530 Description:
Only format changes: mostly tabs vs. spaces
Platforms tested:
    Linux/64 (jelly) - very minor
2017-03-03 08:45:57 -06:00