Commit Graph

16300 Commits

Author SHA1 Message Date
Binh-Minh Ribler
44626957a6 Description:
Fixed typos and missing items in function headers, that were revealed
    by Doxygen, and revised various comments.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-03-20 21:56:50 -05:00
Binh-Minh Ribler
d8199a74ee Description:
Updated the C++ API sections.
2017-03-20 18:36:37 -05:00
Larry Knox
c70a16418b Merge pull request #353 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'dbff1180b763ae41c4ac6aba6a1ca8c782713f4a':
  Extend h5vers to update version strings in java files and h5repack version test expected output file.
  Run swmr tests in their own subdirectory of test to avoid signal file deletion by other tests.
2017-03-20 17:28:55 -05:00
lrknox
dbff1180b7 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-20 17:16:11 -05: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
Allen Byrne
02642c99e3 Merge pull request #351 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e809b609d3f5cc851e13f63bcfed7052958d302b':
  Add reference to CMake application framwork
  Whitespace changes
  Update notes
2017-03-20 15:36:03 -05:00
lrknox
6ac4648fd9 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-20 14:47:57 -05:00
Allen Byrne
e809b609d3 Add reference to CMake application framwork 2017-03-20 13:40:57 -05:00
Allen Byrne
d81fee0d3d Whitespace changes 2017-03-20 13:36:05 -05:00
Allen Byrne
7eacd06b4f Update notes 2017-03-20 13:32:26 -05:00
Allen Byrne
214100d05b Merge pull request #350 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '94850f37cb3130dbad92e39a420e90a73f72aca8':
  Use global variable for test command - update reference
2017-03-20 13:27:14 -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
Allen Byrne
94850f37cb Use global variable for test command - update reference 2017-03-20 09:59:17 -05:00
lrknox
383202e856 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-20 09:36:14 -05:00
Larry Knox
b359e8f1a2 Merge pull request #348 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp2:develop to develop
* commit 'b6cb20d608aa6f5d9a7d825c1f38cfcea6ff5234':
  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
2017-03-19 23:33:08 -05:00
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
lrknox
80c54411a5 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-17 17:25:01 -05:00
lrknox
42141478f2 Run swmr tests in their own subdirectory of test to avoid signal
file deletion by other tests.
2017-03-17 17:24:21 -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
mainzer
b7c58f7dfc Minor code changes to address comments in pull request 2017-03-17 04:36:05 -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
mainzer
9764970d26 Update required for checkin.
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~mainzer/hdf5_jrm into develop
2017-03-16 12:54:14 -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
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