Compare commits

...

4182 Commits

Author SHA1 Message Date
Richard Warren
86ef356e09 Add two(2) new parallel VDS tests, the VDS merge code for Neil, and a few edits to prevent errors 2017-11-01 16:16:13 -04:00
Richard Warren
a244cf2e9c Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into parallel_vds_testing 2017-10-31 14:05:04 -04:00
Allen Byrne
66ef08939f Merge pull request #738 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '11ccbed3c93d3c34d63591ba93a355300ab38c96':
  Update H5Zfilter_avail note
  New requirement for test
2017-10-31 11:30:36 -05:00
Allen Byrne
11ccbed3c9 Update H5Zfilter_avail note 2017-10-31 11:18:09 -05:00
Allen Byrne
25a2e40358 New requirement for test 2017-10-30 11:37:57 -05:00
Richard Warren
5ec34bbd7a Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into parallel_vds_testing 2017-10-30 11:57:39 -04:00
Scot Breitenfeld
bdf1b6edd2 Merge pull request #734 in HDFFV/hdf5 from develop_missing_dot_h_file to develop
* commit '4a6904e758cd14673a3ec6f60adb5f8b210bb4c3':
  Add a missing declaration for testing
2017-10-27 08:33:57 -05:00
Richard Warren
4a6904e758 Add a missing declaration for testing 2017-10-26 21:18:03 -04:00
Larry Knox
ddb830d673 Merge pull request #733 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '6a52c26162f45e85b88aa6ddab5e5d861aaba7b8':
  Revert "Fix for HDFFFV-10308.  Initialize hid_ts in function check_objects and"
  Remove extra spaces and 1 "currently under development" to match hdf5_1_10 version.
  Fix for HDFFFV-10308.  Initialize hid_ts in function check_objects and check for id > -1 before calling close functions.
2017-10-26 17:02:58 -05:00
lrknox
6a52c26162 Revert "Fix for HDFFFV-10308. Initialize hid_ts in function check_objects and"
This reverts commit e92f3f858b.
2017-10-26 16:45:25 -05:00
lrknox
b752960f56 Remove extra spaces and 1 "currently under development" to match hdf5_1_10
version.
2017-10-26 16:36:21 -05:00
Scot Breitenfeld
6bb1167773 Merge pull request #731 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'b6de5127a8b214bfb702c4780bfbe4288fe606fd':
  removed extra character
2017-10-26 15:34:49 -05:00
M. Scot Breitenfeld
b6de5127a8 removed extra character 2017-10-26 15:26:54 -05:00
Allen Byrne
713e5560ad Merge pull request #727 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'd14e859a919dee2c153c6faac3a0431d84042f0d':
  Correct char type
  HDFFV-10297 fix grammar
  HDFFV-10297 - clarify note.
  HDFFV-10297 Update release note
  Correct test DEPENDS
2017-10-26 10:44:41 -05:00
Allen Byrne
d14e859a91 Correct char type 2017-10-26 10:44:09 -05:00
Allen Byrne
a7d0090a86 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '084704392fa93d1569861c53504e89236468a3b6':
  HDFFV-10037: fixed wrong C link flags
2017-10-26 09:58:46 -05:00
Allen Byrne
efb505f37a HDFFV-10297 fix grammar 2017-10-25 15:50:07 -05:00
Allen Byrne
95d8724df8 HDFFV-10297 - clarify note. 2017-10-25 15:10:42 -05:00
Allen Byrne
e9067227ae HDFFV-10297 Update release note 2017-10-25 14:06:44 -05:00
Scot Breitenfeld
084704392f Merge pull request #725 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '26ae202faa4a761c307bf15eacc28f96bedc7859':
  HDFFV-10037: fixed wrong C link flags
2017-10-25 12:55:28 -05:00
M. Scot Breitenfeld
26ae202faa HDFFV-10037: fixed wrong C link flags 2017-10-25 10:32:33 -05:00
Allen Byrne
2e2854cbb1 Correct test DEPENDS 2017-10-25 09:05:02 -05:00
Allen Byrne
c34c130fe5 Merge pull request #722 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '7ee40947e1808e63666f3129c30b3d52ac15d4e8':
  Correct typo
2017-10-24 14:16:47 -05:00
Allen Byrne
7ee40947e1 Correct typo 2017-10-24 14:05:24 -05:00
Allen Byrne
9cef4137d0 Merge pull request #721 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'def0d66aa2db7e3d87f5527b56b512680703418e':
  fix typo
  Fix typos
2017-10-24 11:41:42 -05:00
Allen Byrne
def0d66aa2 fix typo 2017-10-24 11:04:50 -05:00
Allen Byrne
075a32fa0c Fix typos 2017-10-24 11:03:09 -05:00
Allen Byrne
e7303eb36a Merge pull request #720 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1743470502095271be64a20d80dc53f085e75a09':
  HDFFV-10297 Free buffer inside loop
2017-10-23 13:04:27 -05:00
Allen Byrne
1743470502 HDFFV-10297 Free buffer inside loop 2017-10-23 12:42:41 -05:00
Allen Byrne
ba6cdfdd0e Merge pull request #717 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3c639754b60c284f23a2c7e8d8b3c81c8cbb15f6':
  HDFFV-10297 Cleanup, Initialize variables
2017-10-23 11:44:48 -05:00
Allen Byrne
3c639754b6 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '23460c30f10e098a980c5466b6108269d2fd92f6':
  Moved the SWMR + cache image check up before the root group is constructed to avoid the special case close.
  Moved the 'cache image + SWMR' check from H5Fcreate/open to H5F_open. Prep for the VOL merge.
2017-10-23 11:18:43 -05:00
Dana Robinson
23460c30f1 Merge pull request #714 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:swmr_ci_move to develop
* commit 'd8a3782ce49d537d96020dfa250a253d90f4c14f':
  Moved the SWMR + cache image check up before the root group is constructed to avoid the special case close.
  Moved the 'cache image + SWMR' check from H5Fcreate/open to H5F_open. Prep for the VOL merge.
2017-10-23 10:48:26 -05:00
Allen Byrne
8e2cedd066 HDFFV-10297 Cleanup, Initialize variables 2017-10-23 09:26:15 -05:00
lrknox
e92f3f858b Fix for HDFFFV-10308. Initialize hid_ts in function check_objects and
check for id > -1 before calling close functions.
2017-10-22 22:35:15 -05:00
Dana Robinson
d8a3782ce4 Moved the SWMR + cache image check up before the root group
is constructed to avoid the special case close.
2017-10-20 17:25:18 -07:00
Larry Knox
d5acbfeb9e Merge pull request #715 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c2be993f325813e711ee7cc97bb02b7b482a8290':
  HDFFV-10297 Windows issues fixed
2017-10-20 09:42:05 -05:00
Allen Byrne
c2be993f32 HDFFV-10297 Windows issues fixed 2017-10-20 09:37:18 -05:00
Allen Byrne
2fa9d84b12 Merge pull request #713 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '18ba8cb7d247cc2f535e53d66c2a47740724de6a':
  Windows cannot share files easily
  Avoid double free
  Windows had issues - revert code changes for get_option
  Remove extra command line
  Correct name of file
  Add Mask test to script
  Add new output files to clear test
  Correct name of err file
  Fix name of output files
  Fix format convert error mask test
  Fix tools error handling and valgrind issues
  Fix error handling issues
  Correct test results
  Cleanup valgrind issues
  HDFFV-1097 Changed file columns
  HDFFV-10297 add h5copy test and fix h5diff errors
  Fix VS2012 declaration error
  HDFFV-10297 Fix compiler compaliants
  HDFFV-10296 Update tools lib to use the error handling macros.
  Close ids in loop
2017-10-20 08:35:17 -05:00
Allen Byrne
18ba8cb7d2 Windows cannot share files easily 2017-10-20 08:29:31 -05:00
Dana Robinson
1d3b4f6ac9 Moved the 'cache image + SWMR' check from H5Fcreate/open to H5F_open.
Prep for the VOL merge.
2017-10-19 15:30:57 -07:00
Allen Byrne
8e30e7eb19 Avoid double free 2017-10-19 16:51:43 -05:00
Allen Byrne
afeaceef5f Windows had issues - revert code changes for get_option 2017-10-19 12:45:17 -05:00
Allen Byrne
39eb8e633b Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '8a391887be263e0ba7f1ba659dcf6559b5a5e01a':
  in 'production' mode builds
  Make fixes to avoid test failures in 'production' mode builds
  Updated the code and RELEASE.txt note per comments from John Mainzer
  Try to address most of the issues raised by Dana in the code review
  Made edits suggested by John as part of the code review
  Update the MANIFEST and release_docs/RELEASE files
  Add a test for parallel reads of independent files using MPI subgroups
  Edits to the file open optimization and associated test code to bring them closer to the HDF5 library's unwritten coding standards.  Also bug fix to repair a hang in testphdf5.
  The initial coding for the superblock read optization
2017-10-19 12:32:04 -05:00
Allen Byrne
d9e7aad64b Remove extra command line 2017-10-18 16:33:00 -05:00
Allen Byrne
4ab2d9f010 Correct name of file 2017-10-18 16:19:32 -05:00
Allen Byrne
f071b2ff97 Add Mask test to script 2017-10-18 16:07:42 -05:00
Allen Byrne
cfad6bf6f8 Add new output files to clear test 2017-10-18 15:51:56 -05:00
Allen Byrne
c475dd05a6 Correct name of err file 2017-10-18 15:45:07 -05:00
Allen Byrne
49c21ebcf2 Fix name of output files 2017-10-18 15:14:46 -05:00
Allen Byrne
d68de1621c Fix format convert error mask test 2017-10-18 15:06:14 -05:00
Allen Byrne
cf3342f8fc Fix tools error handling and valgrind issues 2017-10-18 14:03:27 -05:00
Richard Warren
7f54bf537c Save the source merges from Niel Fortner in this new branch for testing 2017-10-18 09:11:06 -04:00
Richard Warren
8a391887be Merge pull request #711 in HDFFV/hdf5 from optimize_superblock_read to develop
* commit '9aada2bdb51f1c235e483f2bce109262bfbe22fa':
  in 'production' mode builds
  Make fixes to avoid test failures in 'production' mode builds
2017-10-18 06:21:33 -05:00
Allen Byrne
78a5870680 Fix error handling issues 2017-10-17 16:13:12 -05:00
Richard.Warren
9aada2bdb5 in 'production' mode builds 2017-10-17 15:34:36 -05:00
Richard.Warren
c230ffa268 Make fixes to avoid test failures in 'production' mode builds 2017-10-17 15:23:54 -05:00
Allen Byrne
d9bfebc1db Correct test results 2017-10-17 12:23:05 -05:00
Allen Byrne
c83e11d436 Cleanup valgrind issues 2017-10-17 12:15:02 -05:00
Allen Byrne
e071e746f8 HDFFV-1097 Changed file columns 2017-10-16 17:39:56 -05:00
Allen Byrne
2cbdf46cb9 HDFFV-10297 add h5copy test and fix h5diff errors 2017-10-16 17:26:23 -05:00
Allen Byrne
e0bbff9d46 Fix VS2012 declaration error 2017-10-16 10:56:54 -05:00
Allen Byrne
448217e7e3 HDFFV-10297 Fix compiler compaliants 2017-10-16 09:19:41 -05:00
Allen Byrne
d5c073d406 HDFFV-10296 Update tools lib to use the error handling macros. 2017-10-13 16:34:01 -05:00
Richard Warren
0c207cd2f8 Merge pull request #704 in HDFFV/hdf5 from optimize_superblock_read to develop
* commit '3dde6d0e32461f46630f814a2fdfbd4c813703bf':
  Updated the code and RELEASE.txt note per comments from John Mainzer
  Try to address most of the issues raised by Dana in the code review
  Made edits suggested by John as part of the code review
  Update the MANIFEST and release_docs/RELEASE files
  Add a test for parallel reads of independent files using MPI subgroups
  Edits to the file open optimization and associated test code to bring them closer to the HDF5 library's unwritten coding standards.  Also bug fix to repair a hang in testphdf5.
  The initial coding for the superblock read optization
2017-10-13 07:58:46 -05:00
Allen Byrne
fc12672cdb Close ids in loop 2017-10-12 14:46:45 -05:00
Allen Byrne
087e0d6efa Merge pull request #705 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '11df540c92ac284a664be912b0cb045e8d92e7d3':
  Added older change that was added to last change
  HDFFV-10297 add release note - fix test step
  HDFFV-10297 Fix resource errors and cleanup whitespace
  HDFFV-10297 fix vl buffer error
  HDFFV-10297 update calls to H5Zfilter_avail
  HDFFV-10297 - code changes nullify error
  HDFFV-10297 - Fix test errors - five remaining
  HDFFV-10297 - fix repack individual objects includes H5Zfilter_avail() fix
2017-10-11 15:42:34 -05:00
Richard Warren
3dde6d0e32 Updated the code and RELEASE.txt note per comments from John Mainzer 2017-10-11 16:22:50 -04:00
Allen Byrne
11df540c92 Added older change that was added to last change 2017-10-11 15:13:55 -05:00
Richard Warren
157398107e Try to address most of the issues raised by Dana in the code review 2017-10-11 13:40:54 -04:00
Scot Breitenfeld
154603c380 Merge pull request #701 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '0764a9aa27b6a06062f93c0e5928db211c3fecb3':
  fixed missing prototype warning
2017-10-11 11:45:59 -05:00
Allen Byrne
12e832bd41 HDFFV-10297 add release note - fix test step 2017-10-11 10:23:55 -05:00
Richard Warren
9849d61344 Made edits suggested by John as part of the code review 2017-10-11 10:15:33 -04:00
Allen Byrne
0c07376431 HDFFV-10297 Fix resource errors and cleanup whitespace 2017-10-10 13:06:12 -05:00
Larry Knox
1015db41f9 Merge pull request #703 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '4a3998ac308c2bf24201e470c0b23f7f83f063e1':
  Correct indentation in h5diff/Makefile.am.
  Add "-rpath /nowhere" to *_la_LDFLAGS for plugin test libraries. This allows them to be successfully linked but not installed.  The change was added for the HDF5 1.8.20 release, but is also needed for all other HDF5 branches.
2017-10-10 12:43:02 -05:00
Allen Byrne
2f636b5d4a HDFFV-10297 fix vl buffer error 2017-10-10 10:28:53 -05:00
Allen Byrne
df853afe50 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '59a4ffac402cc4d96ec43b0027f9ac30ad7b0527':
  removed always true ifdef
2017-10-10 09:01:31 -05:00
Richard Warren
1f0194fb64 Update the MANIFEST and release_docs/RELEASE files 2017-10-10 09:47:22 -04:00
Allen Byrne
c577a5e995 HDFFV-10297 update calls to H5Zfilter_avail 2017-10-09 17:00:15 -05:00
Richard Warren
837624b9cd Add a test for parallel reads of independent files using MPI subgroups 2017-10-09 16:47:21 -04:00
lrknox
4a3998ac30 Correct indentation in h5diff/Makefile.am. 2017-10-09 15:45:33 -05:00
lrknox
726d7d3af5 Add "-rpath /nowhere" to *_la_LDFLAGS for plugin test libraries. This
allows them to be successfully linked but not installed.  The change was
added for the HDF5 1.8.20 release, but is also needed for all other HDF5
branches.
2017-10-09 15:33:09 -05:00
Allen Byrne
66990bc90f HDFFV-10297 - code changes nullify error 2017-10-09 13:23:02 -05:00
Allen Byrne
daddf169b0 HDFFV-10297 - Fix test errors - five remaining 2017-10-09 12:59:28 -05:00
M. Scot Breitenfeld
0764a9aa27 Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2017-10-09 11:32:04 -05:00
M. Scot Breitenfeld
45192768ad fixed missing prototype warning 2017-10-09 11:30:10 -05:00
Scot Breitenfeld
59a4ffac40 Merge pull request #700 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'c643b135940f60d9dd53c982d278c2ef6d2958e8':
  removed always true ifdef
2017-10-09 11:21:05 -05:00
M. Scot Breitenfeld
c643b13594 removed always true ifdef 2017-10-09 11:19:20 -05:00
Allen Byrne
a07d6b52fb HDFFV-10297 - fix repack individual objects
includes H5Zfilter_avail() fix
2017-10-06 14:36:07 -05:00
mainzer
ceab5a5176 Edits to the file open optimization and associated test
code to bring them closer to the HDF5 library's unwritten
coding standards.  Also bug fix to repair a hang in testphdf5.

Tested parallel/debug on Charis and Jelly, parallel/production on Jelly.
2017-10-05 17:25:57 -05:00
Allen Byrne
0cef4c9151 Merge pull request #695 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'a49372724cbf9201c4f1d8c8daab1d56a33dc63e':
  Fix other test name typos
  Fix typo in valgrind test name
2017-10-05 16:18:34 -05:00
Allen Byrne
a49372724c Fix other test name typos 2017-10-05 08:55:58 -05:00
Allen Byrne
82986dba72 Fix typo in valgrind test name 2017-10-05 08:51:32 -05:00
Allen Byrne
eb6f687ca3 Merge pull request #692 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '865b25849344beb0ef8be64260b18828e5ca2c9f':
  Whitespace conversions and comment updates
2017-10-04 16:55:38 -05:00
Allen Byrne
865b258493 Whitespace conversions and comment updates 2017-10-04 08:53:45 -05:00
Allen Byrne
281efe75c4 Merge pull request #690 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '12e4d3fd0bc7411a28390bcc9fc00fede807a5cf':
  Add/remove test files
  Cleanup cmake clean macros
2017-10-03 14:40:44 -05:00
Allen Byrne
12e4d3fd0b Add/remove test files 2017-10-03 14:37:31 -05:00
Allen Byrne
467f30c410 Cleanup cmake clean macros 2017-10-03 14:14:53 -05:00
Allen Byrne
e6a2a9f43f Merge pull request #688 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
buildbot tests passing

* commit '68a9844991cfaaca2d0f97d7828f1f6f59af1349':
  VS2012 and earlier cannot have execute stmnts before declare
  Correct depends name
  Fix list of names
  new reference file
  Fix repack plugin test - reorganize test macros
  Adjust filter available variables
  Fix STREQUAL if commands.
  Update error handling to support ARGS and tools stack
2017-10-03 14:13:47 -05:00
Allen Byrne
68a9844991 VS2012 and earlier cannot have execute stmnts before declare 2017-10-03 12:34:54 -05:00
Allen Byrne
32a1b98a6c Correct depends name 2017-10-03 12:26:40 -05:00
Allen Byrne
4c0784696b Fix list of names 2017-10-03 11:26:18 -05:00
Allen Byrne
35861e3d6f new reference file 2017-10-03 11:15:55 -05:00
Allen Byrne
a8f03185ad Fix repack plugin test - reorganize test macros 2017-10-03 11:14:35 -05:00
Binh-Minh Ribler
8caeed7e54 Merge pull request #689 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit 'afc9ce25b68caff7744f8a8a41407a4bfdf34690':
  Updated doxygen config file Description:     Added C2Cppfunction_map.mht to HTML_EXTRA_FILES.     Verified that the file is copied to cpplus_RM after running doxygen         on cpp_doc_config.
2017-10-03 10:27:21 -05:00
Binh-Minh Ribler
afc9ce25b6 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-10-03 09:39:20 -05:00
Binh-Minh Ribler
27a0c46ec6 Updated doxygen config file
Description:
    Added C2Cppfunction_map.mht to HTML_EXTRA_FILES.
    Verified that the file is copied to cpplus_RM after running doxygen
        on cpp_doc_config.
2017-10-03 08:53:04 -05:00
Allen Byrne
5cd93e70c0 Adjust filter available variables 2017-10-02 16:41:13 -05:00
Allen Byrne
4f9e47650a Fix STREQUAL if commands. 2017-10-02 12:39:15 -05:00
Allen Byrne
19ee2f9dc8 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '9d6ba29a01079e0f81ffa530605d8cd830378f9c':
  Better segregate clean & dirty LRU lists so that they are only defined when the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
2017-10-02 11:55:13 -05:00
Quincey Koziol
9d6ba29a01 Merge pull request #687 in HDFFV/hdf5 from merge_full_swmr_02 to develop
* commit '744b6b282f087ce23310805dc24ce8f8b351fb61':
  Better segregate clean & dirty LRU lists so that they are only defined when the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
2017-10-02 11:35:59 -05:00
Allen Byrne
38e2f0e784 Update error handling to support ARGS and tools stack 2017-10-02 09:53:54 -05:00
Quincey Koziol
744b6b282f Better segregate clean & dirty LRU lists so that they are only defined when
the H5C_MAINTAIN_CLEAN_AND_DIRTY_LRU_LISTS macro is defined.
2017-09-30 09:50:58 -05:00
Richard Warren
da0f8223df Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into optimize_superblock_read 2017-09-28 16:33:34 -04:00
Richard Warren
81094ac3cf The initial coding for the superblock read optization 2017-09-28 16:27:29 -04:00
Larry Knox
b7e563266e Merge pull request #686 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'fded10f0815f593301ac88d08d05343c8077746a':
  Add note to bin/release script with hint for situations where files generated by autogen.sh are missing, causing chkmanifest to fail.
2017-09-27 11:50:17 -05:00
lrknox
fded10f081 Add note to bin/release script with hint for situations where files
generated by autogen.sh are missing, causing chkmanifest to fail.
2017-09-26 09:37:43 -05:00
Binh-Minh Ribler
cdc4225b33 Merge pull request #685 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit 'b54f4323e391a953409f0d9a0fd4e02a639c74ad':
  Fixed typos for document file.
2017-09-25 13:54:31 -05:00
Binh-Minh Ribler
b54f4323e3 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-09-25 13:21:34 -05:00
Binh-Minh Ribler
31ec370f4d Fixed typos for document file. 2017-09-25 13:20:41 -05:00
Quincey Koziol
faf723e6d5 Merge pull request #684 in HDFFV/hdf5 from merge_full_swmr_01 to develop
* commit '8880ec672eeb8f57c023938074d1336dfc82e2ed':
  Style cleanups and misc. bugfixes discovered during full SWMR development.
2017-09-25 11:55:11 -05:00
Quincey Koziol
8880ec672e Style cleanups and misc. bugfixes discovered during full SWMR development. 2017-09-23 11:17:47 -05:00
Allen Byrne
b5446a9c63 Merge pull request #682 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '758ce30a94cee0ba91359e682b57529ad00bd0da':
  Update configure
  Change name for test results table
  Add missing intro folder
2017-09-20 16:18:51 -05:00
Allen Byrne
758ce30a94 Update configure 2017-09-20 14:38:00 -05:00
Allen Byrne
5c5533d7fd Change name for test results table 2017-09-20 14:16:31 -05:00
Allen Byrne
ab43e3ce9b Add missing intro folder 2017-09-20 12:43:43 -05:00
Allen Byrne
76dc857d80 Merge pull request #680 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'db157e317ef7386f4fb232688dca0bbb49e852a0':
  Use define name instead.
  Fix VS2013 compile error
2017-09-20 12:43:20 -05:00
Allen Byrne
db157e317e Use define name instead. 2017-09-20 11:51:21 -05:00
Allen Byrne
9e9d2ccd40 Fix VS2013 compile error 2017-09-20 09:52:44 -05:00
Allen Byrne
d3b2e3cd7b Merge pull request #679 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'd901d3402ac42cbec82629b6e7436f5fa608f429':
  Add chekexe and chklog generation to tests
  Fix call format
2017-09-20 09:51:19 -05:00
Allen Byrne
d901d3402a Add chekexe and chklog generation to tests 2017-09-20 09:32:03 -05:00
Allen Byrne
722dedd49e Fix call format 2017-09-20 09:32:03 -05:00
Allen Byrne
a38741646f Merge pull request #676 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '0a9bc574e8d40b51c0c1c16501d3a0365e08df91':
  Fix find package process
2017-09-20 09:10:10 -05:00
Binh-Minh Ribler
8a2d4c8094 Merge pull request #674 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
This merge includes C2Cppfunction_map.mht, which Barbara will verify at a later time when documentation is re-generated.

* commit 'f1871c6ac48db02bd7e66f2c0df64bca50bccd90':
  Updated for C2Cppfunction_map.mht
  Added documentation file Description:     Added a single page html file, C2Cppfunction_map.mht, that shows     the current mapping of C APIs to C++ member functions.  This page     can be reached from the main page of the C++ reference manual.
  Miscellaneous code cleanup Description:     - Removed two inadvertently-added Group constructors in the header file.       There was no implementation.     - Removed deprecated H5Location and H5Object constructors that take an       existing ID.     - Miscellaneous improvements in comments, including updating URLs. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (jelly)     Darwin (osx1010test)
2017-09-19 12:44:02 -05:00
Allen Byrne
0a9bc574e8 Fix find package process 2017-09-19 12:39:45 -05:00
Allen Byrne
32777d015b Merge pull request #675 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '5eafce2e048f8cfdc7ac008648623849304fcba5':
  Restore previous
  Add chklog and chexe generation to Java autootools tests
2017-09-19 12:38:45 -05:00
Allen Byrne
5eafce2e04 Restore previous 2017-09-19 11:42:04 -05:00
Allen Byrne
4de09ba34d Add chklog and chexe generation to Java autootools tests 2017-09-19 10:43:54 -05:00
Allen Byrne
67d4a8ba0c Merge pull request #668 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '75e6579cf232e6c2a8f8c0519a67801fd5dd1f7b':
  Restore GEN_HDRS and remove cache sets for defaults
  Test program generation should default off
  Generate headers for 1.10 should default off
2017-09-19 10:41:08 -05:00
Allen Byrne
75e6579cf2 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '46c4038fcb5af255d8784a1b58292273d38ac152':
  Amend CMakeLists.txt to add t_filters_parallel to CMake
  Fixed incorrect calls
  New overloaded functions and tests Description:     - Added VarLenType::VarLenType(const DataType& base_type)     - Marked VarLenType::VarLenType(const DataType* base_type) deprecated     - Added a static wrapper for H5Tdetect_class for PredType         static bool DataType::detectClass(const PredType& pred_type, ...)     - Removed the deprecated function Exception::printError() from code     - Miscellaneous improvements in comments     - Added test functions test_detect_type_class() and test_vltype() Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (jelly)     Darwin (osx1010test)
2017-09-19 09:38:57 -05:00
Binh-Minh Ribler
f1871c6ac4 Updated for C2Cppfunction_map.mht 2017-09-18 11:44:53 -05:00
Binh-Minh Ribler
924421f298 Added documentation file
Description:
    Added a single page html file, C2Cppfunction_map.mht, that shows
    the current mapping of C APIs to C++ member functions.  This page
    can be reached from the main page of the C++ reference manual.
2017-09-17 13:28:42 -05:00
Jordan Henderson
46c4038fcb Merge pull request #673 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
* commit 'b61bb248cdf5ffe3c77a92dba99955390f028f12':
  Amend CMakeLists.txt to add t_filters_parallel to CMake
2017-09-15 13:44:26 -05:00
Binh-Minh Ribler
406bc902b8 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-09-15 11:47:41 -05:00
Binh-Minh Ribler
92193e35bb Miscellaneous code cleanup
Description:
    - Removed two inadvertently-added Group constructors in the header file.
      There was no implementation.
    - Removed deprecated H5Location and H5Object constructors that take an
      existing ID.
    - Miscellaneous improvements in comments, including updating URLs.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-09-15 11:46:22 -05:00
Jordan Henderson
b61bb248cd Amend CMakeLists.txt to add t_filters_parallel to CMake 2017-09-15 07:57:40 -05:00
Binh-Minh Ribler
796711d27b Merge pull request #672 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Fixed incorrect calls in examples causing daily test failure.

* commit '5cf381597dddc2f551a344a102a4975ea0d373af':
  Fixed incorrect calls
2017-09-14 22:35:59 -05:00
Binh-Minh Ribler
5cf381597d Fixed incorrect calls
Description:
    Replaced the calls to the deprecated function printError with
    printErrorStack in examples.
Platforms tested:
    Linux/32 2.6 (jam)
2017-09-14 14:33:40 -05:00
Binh-Minh Ribler
a6151aa4f2 Merge pull request #671 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
New overloaded functions and tests

* commit 'd708dca2831839714be6593b314acd59726b532f':
  New overloaded functions and tests Description:     - Added VarLenType::VarLenType(const DataType& base_type)     - Marked VarLenType::VarLenType(const DataType* base_type) deprecated     - Added a static wrapper for H5Tdetect_class for PredType         static bool DataType::detectClass(const PredType& pred_type, ...)     - Removed the deprecated function Exception::printError() from code     - Miscellaneous improvements in comments     - Added test functions test_detect_type_class() and test_vltype() Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (jelly)     Darwin (osx1010test)
2017-09-13 22:20:56 -05:00
Allen Byrne
05af70b235 Restore GEN_HDRS and remove cache sets for defaults 2017-09-13 14:57:55 -05:00
Binh-Minh Ribler
d708dca283 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-09-12 14:48:36 -05:00
Binh-Minh Ribler
c7b27a7674 New overloaded functions and tests
Description:
    - Added VarLenType::VarLenType(const DataType& base_type)
    - Marked VarLenType::VarLenType(const DataType* base_type) deprecated
    - Added a static wrapper for H5Tdetect_class for PredType
        static bool DataType::detectClass(const PredType& pred_type, ...)
    - Removed the deprecated function Exception::printError() from code
    - Miscellaneous improvements in comments
    - Added test functions test_detect_type_class() and test_vltype()
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-09-12 14:46:06 -05:00
Allen Byrne
cc2a1e085b Test program generation should default off 2017-09-12 09:24:37 -05:00
Allen Byrne
67c91dcd41 Generate headers for 1.10 should default off 2017-09-12 09:22:03 -05:00
Allen Byrne
5f3e4367e6 Merge pull request #666 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '33812aee4c55a406b4e41a06a5ae42a96fa72aa5':
  Fix merge typos
2017-09-11 13:17:28 -05:00
Allen Byrne
33812aee4c Fix merge typos 2017-09-11 12:44:00 -05:00
Allen Byrne
baf67a0ee9 Merge pull request #663 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '77313a1d39a4d08827df9c0186028b63c1ee1fd1':
  HDFFV-9774 Fix code merge
2017-09-08 17:09:26 -05:00
Allen Byrne
77313a1d39 HDFFV-9774 Fix code merge 2017-09-08 16:52:00 -05:00
Allen Byrne
5f47a61ae9 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'ff2c10c3f0f2174545e608dfbf668a05ad8d0f10':
  Adding variable initialization Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Adding new C++ wrappers Description:     Added wrappers for H5Tencode to class DataType and H5Tdecode to     classes DataType and its subclasses.
2017-09-08 10:00:57 -05:00
Allen Byrne
ff2c10c3f0 Merge pull request #661 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'aab6d2466f9640d1e08287b0e407124234f6022b':
  HDFFV-10276 Remove whitespace
  HDFFV-10276 Remove whitespace
  HDFFV-10276 Add UD flag option to h5repack
2017-09-08 10:00:35 -05:00
Allen Byrne
aab6d2466f HDFFV-10276 Remove whitespace 2017-09-08 09:30:51 -05:00
Allen Byrne
b9faa69d87 HDFFV-10276 Remove whitespace 2017-09-08 09:29:39 -05:00
Binh-Minh Ribler
4fcaec88a9 Merge pull request #654 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
Merge after making the changes Dana suggested.

* commit '47a2d5e48f5f3dcfed57c5be01178952030828c2':
  Adding variable initialization Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Adding new C++ wrappers Description:     Added wrappers for H5Tencode to class DataType and H5Tdecode to     classes DataType and its subclasses.
2017-09-07 21:05:05 -05:00
Allen Byrne
1c7c5a604b HDFFV-10276 Add UD flag option to h5repack 2017-09-07 13:29:31 -05:00
Allen Byrne
56b48f6d2a Merge pull request #659 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'fa8ed205ba074d19c2a66855a6ecdb959ef38e0d':
  HDFFV-9988 merge findmpi from cmake and add intel path
2017-09-07 13:27:40 -05:00
Binh-Minh Ribler
47a2d5e48f Adding variable initialization
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-09-07 10:12:43 -05:00
Allen Byrne
fa8ed205ba HDFFV-9988 merge findmpi from cmake and add intel path 2017-09-07 10:00:19 -05:00
Allen Byrne
ce35a06f75 Merge pull request #651 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'd3e98edab0282be98b9f5ce67e9083fb93b90cda':
  HDFFV-9774 Apply standard mask to .err files
  HDFFV-10276 Add filter mask for standard err
  HDFFV-9774 Add enable-error-stack argument to h5diff
2017-09-07 08:43:46 -05:00
Allen Byrne
d3e98edab0 HDFFV-9774 Apply standard mask to .err files 2017-09-06 10:47:18 -05:00
Allen Byrne
e271abfb36 HDFFV-10276 Add filter mask for standard err 2017-09-06 10:18:18 -05:00
Allen Byrne
539c17b2f4 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'bf570b1a7ca3b9cbd4a59f0933a19ce1bcc99103': (71 commits)
  Amend tests to explicitly use H5Dcreate2 and H5Dopen2
  Revert malloc's back to using hard-coded type for sizeof
  Minor comment refactoring
  Update documentation
  Finish up Parallel Compression test scaling work
  Partial update for scaling parallel filters tests
  Modify t_dset.c in lieu of Parallel Compression changes
  Updated H5C__flush_single_entry() in H5C.c to correct duplicate metadata write bug observed in 1.10.1.
  Amend MANIFEST
  Add test for write parallel; read serial case
  Fix uninitialized array issue in test
  Test updates
  Fix bug where incorrect amount of data was being read from the file
  Add data verification for first half of tests
  Start adding data verification
  Switch tests over to use testing macros
  Updates to parallel filters tests
  Move test files to testpar directory
  Add test file to build process
  Suggested changes from code review
  ...
2017-09-05 13:24:22 -05:00
Jordan Henderson
bf570b1a7c Merge pull request #592 in HDFFV/hdf5 from ~JHENDERSON/hdf5:develop to develop
* commit 'b95986e50d1d1043952b00cad6595e8ecbff414f': (71 commits)
  Amend tests to explicitly use H5Dcreate2 and H5Dopen2
  Revert malloc's back to using hard-coded type for sizeof
  Minor comment refactoring
  Update documentation
  Finish up Parallel Compression test scaling work
  Partial update for scaling parallel filters tests
  Modify t_dset.c in lieu of Parallel Compression changes
  Updated H5C__flush_single_entry() in H5C.c to correct duplicate metadata write bug observed in 1.10.1.
  Amend MANIFEST
  Add test for write parallel; read serial case
  Fix uninitialized array issue in test
  Test updates
  Fix bug where incorrect amount of data was being read from the file
  Add data verification for first half of tests
  Start adding data verification
  Switch tests over to use testing macros
  Updates to parallel filters tests
  Move test files to testpar directory
  Add test file to build process
  Suggested changes from code review
  ...
2017-09-05 08:38:47 -05:00
Binh-Minh Ribler
7f8e7c6d15 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-09-04 00:42:35 -05:00
Binh-Minh Ribler
9b6f4d4937 Adding new C++ wrappers
Description:
    Added wrappers for H5Tencode to class DataType and H5Tdecode to
    classes DataType and its subclasses.

        // Creates a binary object description of this datatype.
        void DataType::encode()

        // Returns the decoded type from the binary object description.
        virtual DataType* DataType::decode() const;
        virtual DataType* ArrayType::decode() const;
        virtual DataType* CompType::decode() const;
        virtual DataType* DataType::decode() const;
        virtual DataType* EnumType::decode() const;
        virtual DataType* FloatType::decode() const;
        virtual DataType* IntType::decode() const;
        virtual DataType* StrType::decode() const;
        virtual DataType* VarLenType::decode() const;

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-09-04 00:41:47 -05:00
Jordan Henderson
b95986e50d Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~jhenderson/hdf5.git into develop 2017-09-01 12:47:12 -05:00
Jordan Henderson
487e77b19e Amend tests to explicitly use H5Dcreate2 and H5Dopen2 2017-09-01 12:45:48 -05:00
Jordan Henderson
fa21f6af4d Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'abcf30f232914c1ec9b8c5f2a3bb3a621af7bfe4':
  HDFFV-10284 Add VS2017 support
  Add commentary around calling H5Screate_simple with a single element
  Miscellaneous improvements (cont.) Description:     Put back H5Location::getNumObjs and marked as deprecated in favor of     Group::getNumObjs. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)
  Miscellaneous improvements Description:     Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info)     Switched reinterpret_cast to static_cast in H5Object::iterateAttrs     Miscellaneous cleanup Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  HDFFV-10282 refactor out assert calls in tools
  Fix the t_bigio test so that it runs on 32bit machines
2017-09-01 09:24:39 -05:00
Jordan Henderson
17029af344 Revert malloc's back to using hard-coded type for sizeof 2017-09-01 08:58:37 -05:00
Jordan Henderson
ce977db07e Minor comment refactoring 2017-09-01 08:38:17 -05:00
Allen Byrne
89f65fc97e HDFFV-9774 Add enable-error-stack argument to h5diff 2017-08-31 15:58:37 -05:00
Allen Byrne
abcf30f232 Merge pull request #648 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '073f52424766cc4a8ac9d56966cb58c054ce3801':
  HDFFV-10284 Add VS2017 support
2017-08-31 15:18:28 -05:00
Jordan Henderson
2959faa575 Update documentation 2017-08-31 15:05:13 -05:00
Allen Byrne
073f524247 HDFFV-10284 Add VS2017 support 2017-08-31 13:37:50 -05:00
Allen Byrne
f5275af71a Merge pull request #644 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '61bdee1ff77a5db47ce8a88ce7e3c83e58123236':
  HDFFV-10282 refactor out assert calls in tools
2017-08-31 13:31:42 -05:00
Allen Byrne
61bdee1ff7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '289007567e6ab5e0893af787b1870f27f10644c7':
  Add commentary around calling H5Screate_simple with a single element
  Miscellaneous improvements (cont.) Description:     Put back H5Location::getNumObjs and marked as deprecated in favor of     Group::getNumObjs. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)
  Miscellaneous improvements Description:     Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info)     Switched reinterpret_cast to static_cast in H5Object::iterateAttrs     Miscellaneous cleanup Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Fix for daily test failure Fix for the compilation error from the PGI compiler.
  Modifications based on comments from pull request review (1) Remove unnecessary asserts (2) Add code to insert bad offset values to the test file in gen_bad_offset.c
  Fix for HDFFV-10216 segfault in H5G_node_cmp3 with corrupt h5 file Fix H5HL_offset_into() to return error when offset exceeds heap data block size. Also fix other places that call this routine to detect error return.
  Fix the t_bigio test so that it runs on 32bit machines
2017-08-29 12:45:03 -05:00
Jordan Henderson
b5b1dd0827 Finish up Parallel Compression test scaling work 2017-08-29 11:41:52 -05:00
Barbara Jones
289007567e Merge pull request #642 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit '883a235d5ca81770228c5cb5f9d162afda0b411f':
  Miscellaneous improvements (cont.) Description:     Put back H5Location::getNumObjs and marked as deprecated in favor of     Group::getNumObjs. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)
  Miscellaneous improvements Description:     Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info)     Switched reinterpret_cast to static_cast in H5Object::iterateAttrs     Miscellaneous cleanup Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-08-29 10:09:28 -05:00
Richard Warren
dfdf09f2a1 Merge pull request #635 in HDFFV/hdf5 from GreaterThan-2GB-MPIO to develop
Added some commentary on the fact that 32 bit compilers appear to require actual array arguments to call H5Screate_simple rather than a pointer to a single size_t element.

* commit '22baab211d912f1012057b3a7ae217abd2a44a38':
  Add commentary around calling H5Screate_simple with a single element
  Fix the t_bigio test so that it runs on 32bit machines
2017-08-28 19:30:23 -05:00
Richard Warren
22baab211d Add commentary around calling H5Screate_simple with a single element 2017-08-28 20:05:52 -04:00
Jordan Henderson
7f8a8a6878 Partial update for scaling parallel filters tests 2017-08-28 15:12:58 -05:00
Binh-Minh Ribler
883a235d5c Miscellaneous improvements (cont.)
Description:
    Put back H5Location::getNumObjs and marked as deprecated in favor of
    Group::getNumObjs.
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
2017-08-25 12:07:04 -05:00
Jordan Henderson
e04817b5aa Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '593e4038b3ab474a47e468bb3478d4ae3a6820e6':
  Fix for daily test failure Fix for the compilation error from the PGI compiler.
  Modifications based on comments from pull request review (1) Remove unnecessary asserts (2) Add code to insert bad offset values to the test file in gen_bad_offset.c
  HDFFV-10188 force non-native type description
  HDFFV-10188 emu insists on printing non-native description
  Fix for HDFFV-10216 segfault in H5G_node_cmp3 with corrupt h5 file Fix H5HL_offset_into() to return error when offset exceeds heap data block size. Also fix other places that call this routine to detect error return.
  HDFFV-10188 fix typo
  HDFFV-10188 add missing copy commands
  HDFFV-10188 Add tests and files
  HDFFV-10188 enable null space test
  HDFFV-10188 add release note
  HDFFV-10188 - Check for empty string first
  HDFFV-10188 error on NULL dataspace
2017-08-24 14:37:13 -05:00
Binh-Minh Ribler
f4c4ab678b Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-08-24 13:47:44 -05:00
Binh-Minh Ribler
0e44181bbb Miscellaneous improvements
Description:
    Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info)
    Switched reinterpret_cast to static_cast in H5Object::iterateAttrs
    Miscellaneous cleanup
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-08-24 13:46:39 -05:00
Vailin Choi
593e4038b3 Merge pull request #641 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '268f01fd477e0474fa5727a47abef214a5e4293b':
  Fix for daily test failure Fix for the compilation error from the PGI compiler.
2017-08-24 11:46:53 -05:00
Vailin Choi
268f01fd47 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into develop 2017-08-24 11:45:01 -05:00
Vailin Choi
38b4e97692 Fix for daily test failure
Fix for the compilation error from the PGI compiler.
2017-08-24 11:42:35 -05:00
Vailin Choi
f3b72e1bde Merge pull request #637 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '1ef8577a4aaaa4120a819ff36747fdca99abdc26':
  Modifications based on comments from pull request review (1) Remove unnecessary asserts (2) Add code to insert bad offset values to the test file in gen_bad_offset.c
  Fix for HDFFV-10216 segfault in H5G_node_cmp3 with corrupt h5 file Fix H5HL_offset_into() to return error when offset exceeds heap data block size. Also fix other places that call this routine to detect error return.
2017-08-23 16:35:19 -05:00
Vailin Choi
1ef8577a4a Modifications based on comments from pull request review
(1) Remove unnecessary asserts
(2) Add code to insert bad offset values to the test file in gen_bad_offset.c
2017-08-23 16:23:09 -05:00
Allen Byrne
b82ba32275 HDFFV-10282 refactor out assert calls in tools 2017-08-23 16:12:40 -05:00
Allen Byrne
1b647b18fe Merge pull request #639 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '678c3ae1535b9b3b9faa53bc48250f1635778dd7':
  HDFFV-10188 force non-native type description
  HDFFV-10188 emu insists on printing non-native description
2017-08-23 11:19:05 -05:00
Allen Byrne
678c3ae153 HDFFV-10188 force non-native type description 2017-08-23 10:18:08 -05:00
Allen Byrne
d200cd31a7 HDFFV-10188 emu insists on printing non-native description 2017-08-23 10:16:49 -05:00
Allen Byrne
b901326501 Merge pull request #636 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3dcb1887085678f08c02b64f1a04a77cd607cc4c':
  HDFFV-10188 fix typo
  HDFFV-10188 add missing copy commands
  HDFFV-10188 Add tests and files
  HDFFV-10188 enable null space test
  HDFFV-10188 add release note
  HDFFV-10188 - Check for empty string first
  HDFFV-10188 error on NULL dataspace
2017-08-22 15:29:35 -05:00
Vailin Choi
b07eb6efd0 Fix for HDFFV-10216 segfault in H5G_node_cmp3 with corrupt h5 file
Fix H5HL_offset_into() to return error when offset exceeds heap data block size.
Also fix other places that call this routine to detect error return.
2017-08-22 01:36:20 -05:00
Allen Byrne
3dcb188708 HDFFV-10188 fix typo 2017-08-21 13:06:57 -05:00
Allen Byrne
7acbb154d1 HDFFV-10188 add missing copy commands 2017-08-21 12:26:48 -05:00
Allen Byrne
138c3ee366 HDFFV-10188 Add tests and files 2017-08-21 11:56:31 -05:00
Allen Byrne
f695491f05 HDFFV-10188 enable null space test 2017-08-21 10:35:49 -05:00
Allen Byrne
6e8b9dcfd4 HDFFV-10188 add release note 2017-08-21 09:33:54 -05:00
Allen Byrne
164eee91cf HDFFV-10188 - Check for empty string first 2017-08-16 15:01:29 -05:00
Jordan Henderson
1cf7c7ecc9 Modify t_dset.c in lieu of Parallel Compression changes 2017-08-15 16:36:26 -05:00
mainzer
85699e41c2 Updated H5C__flush_single_entry() in H5C.c to correct
duplicate metadata write bug observed in 1.10.1.

Tested parallel/production on jelly
       parallel/debug & parallel/production on charis (in develop branch)
2017-08-15 15:54:34 -05:00
Richard Warren
f84af6ecc6 Fix the t_bigio test so that it runs on 32bit machines 2017-08-15 09:17:04 -04:00
Jordan Henderson
af3474f05e Amend MANIFEST 2017-08-11 14:32:00 -05:00
Jordan Henderson
c34ee0b2a5 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop 2017-08-11 14:25:33 -05:00
Jordan Henderson
1eb7758015 Add test for write parallel; read serial case 2017-08-11 14:09:51 -05:00
Jordan Henderson
f59bfd1754 Fix uninitialized array issue in test 2017-08-11 11:22:51 -05:00
Jordan Henderson
9714dc1124 Test updates 2017-08-10 15:30:06 -05:00
Jordan Henderson
1ce6691a72 Fix bug where incorrect amount of data was being read from the file 2017-08-10 14:12:01 -05:00
Jordan Henderson
6738d35d8a Add data verification for first half of tests 2017-08-09 21:21:49 -05:00
Jordan Henderson
f74dd2adae Start adding data verification 2017-08-08 15:04:53 -05:00
Jordan Henderson
d5a70edb50 Switch tests over to use testing macros 2017-08-07 21:48:17 -05:00
Allen Byrne
46f8c941d7 HDFFV-10188 error on NULL dataspace 2017-08-04 16:45:40 -05:00
Jordan Henderson
bf6954f6ba Updates to parallel filters tests 2017-08-03 15:01:10 -05:00
Jordan Henderson
6abd4e9d16 Move test files to testpar directory 2017-08-03 11:56:05 -05:00
Scot Breitenfeld
a6d5bf1a86 Merge pull request #630 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '2a1e499b0134ed319cd9d60a6521ba83b3a2cfa8':
  changed comments, (HDFFV-10037)
  changed the test for NAG fortran compiler, (HDFFV-10037)
2017-08-03 10:30:26 -05:00
Jordan Henderson
50c4bc8835 Add test file to build process 2017-08-03 10:09:47 -05:00
M. Scot Breitenfeld
2a1e499b01 changed comments, (HDFFV-10037) 2017-08-03 09:20:05 -05:00
M. Scot Breitenfeld
8138062d74 Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2017-08-03 09:17:33 -05:00
M. Scot Breitenfeld
2332135332 changed the test for NAG fortran compiler, (HDFFV-10037) 2017-08-03 09:17:24 -05:00
Allen Byrne
00a50b6d72 Merge pull request #627 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3635cc24b0759285eff37fe986e14e368a4a19b1':
  Fix misnamed file in test script
  Add h5repack tests for paged aggregation
2017-08-02 15:27:11 -05:00
Allen Byrne
3635cc24b0 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'a83b6a7c6e6aca1a329c274282c691ffb417abc4':
  Moved H5PL diagnostic pragmas to comply with old gcc requirements that they be outside of functions.
2017-08-02 13:24:31 -05:00
Allen Byrne
5615cc2a69 Fix misnamed file in test script 2017-08-02 12:42:40 -05:00
Dana Robinson
a83b6a7c6e Merge pull request #625 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5pl_commit to develop
* commit '81340c609ba5049b34845ff2f06b2025ec5d5b22':
  Moved H5PL diagnostic pragmas to comply with old gcc requirements that they be outside of functions.
2017-08-02 12:08:31 -05:00
Allen Byrne
02a56054b0 Add h5repack tests for paged aggregation 2017-08-02 10:53:17 -05:00
Dana Robinson
81340c609b Moved H5PL diagnostic pragmas to comply with old gcc requirements that they
be outside of functions.
2017-08-02 08:32:31 -07:00
Vailin Choi
8b8e7ae232 Merge pull request #620 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '59e94f5009a1f738d9924be942448f8cf6355b00':
  Add h5repack tests for paged aggregation Add tests to h5repack.sh.in to verify options added for paged aggregation work as expected.
2017-08-02 01:49:42 -05:00
Scot Breitenfeld
560073c253 Merge pull request #624 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '00d97d556b3e57129d8c7bbecf8b15497b3f056b':
  added test for NAG compiler and use the FC_BASENAME for NAG detection, (HDFFV-10037)
  added test for NAG compiler and use the FC_BASENAME for NAG detection, (HDFFV-10037)
2017-08-01 16:19:22 -05:00
Allen Byrne
6f9db7ed26 Merge pull request #623 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f4e9bc21fa3d3d678ca80083dbd412b34c3ab91b':
  HDFFV-10256 add release note
  HDFFV-10256 Add test
  HDFFV-10256 correct len of string copy to the len of esc string
2017-08-01 15:45:40 -05:00
Allen Byrne
f4e9bc21fa HDFFV-10256 add release note 2017-08-01 15:45:17 -05:00
M. Scot Breitenfeld
00d97d556b added test for NAG compiler and use the FC_BASENAME for NAG detection, (HDFFV-10037) 2017-08-01 15:44:55 -05:00
M. Scot Breitenfeld
2d932366b2 added test for NAG compiler and use the FC_BASENAME for NAG detection, (HDFFV-10037) 2017-08-01 15:33:43 -05:00
Allen Byrne
e1a81b17e0 HDFFV-10256 Add test 2017-08-01 13:52:10 -05:00
Allen Byrne
538e910368 HDFFV-10256 correct len of string copy to the len of esc string 2017-08-01 13:36:51 -05:00
Dana Robinson
464926f2a3 Merge pull request #621 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5pl_commit to develop
* commit '9bcf8b2f2568083449ae3f9b6c2efbf6ed7f413a':
  Minor tweaks in response to code review.
  Fixed a failing Java plugin test.
  Major rework of H5PL package code before bringing VOL changes over.
2017-08-01 11:02:41 -05:00
Scot Breitenfeld
80745c7508 Merge pull request #622 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '6e551a270bde6214b0e533e9cd9e845d2f9f4789':
  Removed extra Fortran flags, (HDFFV-10037)
2017-08-01 09:47:02 -05:00
M. Scot Breitenfeld
6e551a270b Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2017-08-01 08:46:31 -05:00
M. Scot Breitenfeld
cf2da9a3d3 Removed extra Fortran flags, (HDFFV-10037) 2017-08-01 08:46:23 -05:00
Dana Robinson
9bcf8b2f25 Minor tweaks in response to code review. 2017-08-01 04:59:36 -07:00
Dana Robinson
fd0d8738e0 Merge branch 'develop' into h5pl_commit 2017-08-01 04:12:03 -07:00
Vailin Choi
59e94f5009 Add h5repack tests for paged aggregation
Add tests to h5repack.sh.in to verify options added for paged aggregation work as expected.
2017-07-29 01:10:25 -05:00
Scot Breitenfeld
823f6a1333 Merge pull request #619 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '668b90b96dcb237208dcedd63e0f2b7da8a0328c':
  Rearranged where the substitution occurs.
2017-07-28 13:33:01 -05:00
M. Scot Breitenfeld
668b90b96d Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2017-07-28 09:07:01 -05:00
M. Scot Breitenfeld
c08ee77858 Rearranged where the substitution occurs.
libtool does not pass the correct argument linking (-WL,-WL,,) for the
    NAG Fortran compiler on Linux (other OSs have not been tested).
    Therefore, detect if we are using the NAG Fortran compiler, and replace
    the wl="-Wl," for Fortran to wl="-Wl,-WL,," in the libtool file. (HDFFV-10037)
2017-07-28 09:05:39 -05:00
Allen Byrne
6e03d114c2 Merge pull request #617 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '04d6a3ec3c91cb30dce5dd5abb1b67021527c2fb':
  if PARALLEL copy seconf file to PAR folder
2017-07-27 15:27:24 -05:00
Scot Breitenfeld
4bf118f09b Merge pull request #616 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '92491aa4b6dc2d4fa3c394e0aa928300379e1ced':
  added chmod 755 for h5fc
  removed chmod 755 for h5fc
  libtool does not pass the correct argument linking (-WL,-WL,,) for the NAG Fortran compiler on Linux (other OSs have not been tested). Therefore, detect if we are using the NAG Fortran compiler, and replace the wl="-Wl," for Fortran to wl="-Wl,-WL,," in the libtool file. (HDFFV-10037)
  Removed FCFLAGS when building the examples since they should already be included the h5fc wrapper. NAG complains about doubly declared options.
2017-07-27 13:22:29 -05:00
M. Scot Breitenfeld
92491aa4b6 added chmod 755 for h5fc 2017-07-27 13:09:36 -05:00
M. Scot Breitenfeld
d138f164dd removed chmod 755 for h5fc 2017-07-27 12:57:48 -05:00
M. Scot Breitenfeld
be5257f876 libtool does not pass the correct argument linking (-WL,-WL,,) for the
NAG Fortran compiler on Linux (other OSs have not been tested).
Therefore, detect if we are using the NAG Fortran compiler, and replace
the wl="-Wl," for Fortran to wl="-Wl,-WL,," in the libtool file. (HDFFV-10037)
2017-07-27 11:32:21 -05:00
Allen Byrne
04d6a3ec3c if PARALLEL copy seconf file to PAR folder 2017-07-27 11:18:52 -05:00
M. Scot Breitenfeld
972beffb59 Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2017-07-27 08:54:44 -05:00
M. Scot Breitenfeld
b7f19967d7 Removed FCFLAGS when building the examples since they should already be included the h5fc wrapper. NAG complains about doubly declared options. 2017-07-27 08:52:21 -05:00
Allen Byrne
634cc5f99d Merge pull request #613 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '55d82c8f747b3a817a4a0b6b12e506b9c2dc0878':
  Add test header for log
  Verify default paths exist in table
  Make sure zip_perf program does not run concurrently
2017-07-26 11:02:55 -05:00
Allen Byrne
55d82c8f74 Add test header for log 2017-07-26 10:45:08 -05:00
Allen Byrne
cd0d804611 Verify default paths exist in table 2017-07-26 09:51:57 -05:00
Allen Byrne
373a37da01 Make sure zip_perf program does not run concurrently 2017-07-26 09:30:41 -05:00
Allen Byrne
8540b1d8fc Merge pull request #610 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '08d63d17f9ba80f205d54bc6526cb709a81ff0cb':
  Add the release note
  Correct copy to file name
  HDFFV-10246 Add check for string not null before use
  Correct case of var
2017-07-26 09:12:04 -05:00
Allen Byrne
08d63d17f9 Add the release note 2017-07-25 16:58:44 -05:00
Allen Byrne
1018256d55 Correct copy to file name 2017-07-25 15:44:25 -05:00
Allen Byrne
e790a0b42d HDFFV-10246 Add check for string not null before use 2017-07-25 15:15:20 -05:00
Allen Byrne
f5317e17a8 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '1fe3d5113aeedc4b67dae6b83984d1246c7a2701':
  Skip test in test/fheap.c when: a) multi/split drivers and b) persisting free-space or using paged aggregation strategy because the library will fail file creation (temporary) for the above conditions.
  Changes made based on RFC review comments Test the changes in a branch via daily testing.
2017-07-25 13:47:39 -05:00
Vailin Choi
3344185d5d Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '1fe3d5113aeedc4b67dae6b83984d1246c7a2701':
  Closed a wayward fapl ID in tools/test/misc/repart_test.c and tidied.
  Stripped C standard library headers from tools test code.
2017-07-25 11:29:51 -05:00
Vailin Choi
1fe3d5113a Merge pull request #604 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '558864b99d945191dbf679efcc1cbfdf4baa2810':
  Skip test in test/fheap.c when: a) multi/split drivers and b) persisting free-space or using paged aggregation strategy because the library will fail file creation (temporary) for the above conditions.
  Changes made based on RFC review comments Test the changes in a branch via daily testing.
2017-07-25 11:29:21 -05:00
Allen Byrne
3a7c5f19c4 Correct case of var 2017-07-24 16:33:48 -05:00
Dana Robinson
52148e13f8 Merge pull request #606 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:tools_misc to develop
* commit 'ec7450c4b4b44a61b282535b981576d888286fca':
  Closed a wayward fapl ID in tools/test/misc/repart_test.c and tidied.
  Stripped C standard library headers from tools test code.
2017-07-19 20:08:34 -05:00
Dana Robinson
ec7450c4b4 Closed a wayward fapl ID in tools/test/misc/repart_test.c
and tidied.
2017-07-19 15:26:34 -05:00
Dana Robinson
bee8bce551 Merge branch 'develop' into tools_misc 2017-07-19 15:09:21 -05:00
Dana Robinson
ffc9b1d917 Stripped C standard library headers from tools test code. 2017-07-19 10:46:27 -05:00
Vailin Choi
558864b99d Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into develop 2017-07-18 23:29:33 -05:00
Dana Robinson
fcd2d20460 Merge pull request #603 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:tools_misc to develop
* commit 'ee7816bbfb3f22d42d5db7d779efe54ae29528cb':
  Stripped C standard library headers (and a couple of macros) from the tools code. This is all handled in H5private.h, which should be included in all tools source files.
2017-07-18 12:50:57 -05:00
Vailin Choi
ba17f16e4c Skip test in test/fheap.c when:
a) multi/split drivers and
b) persisting free-space or using paged aggregation strategy
because the library will fail file creation (temporary) for the above conditions.
2017-07-17 23:31:21 -05:00
Vailin Choi
66efce85e7 Changes made based on RFC review comments
Test the changes in a branch via daily testing.
2017-07-17 23:28:31 -05:00
Dana Robinson
ee7816bbfb Stripped C standard library headers (and a couple of macros)
from the tools code. This is all handled in H5private.h, which
should be included in all tools source files.
2017-07-17 13:24:01 -05:00
Dana Robinson
274f71be17 Fixed a failing Java plugin test. 2017-07-14 12:58:29 -07:00
Dana Robinson
d4234d0a98 Major rework of H5PL package code before bringing VOL changes
over.

Brings coding standards in line with the rest of the library,
enforces better software engineering principles, and makes
everything more maintainable.
2017-07-14 09:18:33 -07:00
Allen Byrne
26390d02df Merge pull request #601 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'b3a212e54b86e15ea059d856db8685f43cc00829':
  HDFFV-10254 Fix spelling
  HDFFV-10254 release note
  HDFF-10254 - Copy test files with macro to avoid POST_BUILD failure
2017-07-13 13:37:12 -05:00
Allen Byrne
b3a212e54b HDFFV-10254 Fix spelling 2017-07-13 13:36:48 -05:00
Richard Warren
516f0e3661 Merge pull request #596 in HDFFV/hdf5 from GreaterThan-2GB-MPIO to develop
* commit '6a5aa46e936340ed540359290374fa909f9213a6':
  Added a brief outline for Large MPI-IO transfers into RELEASE.txt
  Fix up the ExpressMode check for skipping slow running tests.
  Include code fixes and additional modifications pointed out by code reviewers
  Commited changes to the development branch here to allow a pull request to be published
  Commit changes needed for pull request
2017-07-13 12:44:47 -05:00
Richard Warren
6a5aa46e93 Added a brief outline for Large MPI-IO transfers into RELEASE.txt 2017-07-13 10:12:08 -04:00
Allen Byrne
c22678f3fd HDFFV-10254 release note 2017-07-12 14:23:00 -05:00
Allen Byrne
78d1de482e HDFF-10254 - Copy test files with macro to avoid POST_BUILD failure 2017-07-12 14:18:01 -05:00
Vailin Choi
2da8e74cc5 Merge pull request #597 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '8935c921f7e50607cd91c86b2237ac39a9b600af':
  Fix for HDFFV-10217 infinite loop in H5VM_power2up(). The function H5VM_power2up() returns the next power of 2 for n. When n exceeds 2^63, it overflows and becomes 0 causing the infinite looping. The fix ensures that the function checks for n >= 2^63 and returns 0.
2017-07-11 18:36:01 -05:00
Richard Warren
32b0d6ca9f Fix up the ExpressMode check for skipping slow running tests. 2017-07-10 18:20:39 -04:00
Richard Warren
0c4c562cc5 Include code fixes and additional modifications pointed out by code reviewers 2017-07-10 16:17:26 -04:00
Vailin Choi
8935c921f7 Fix for HDFFV-10217 infinite loop in H5VM_power2up().
The function H5VM_power2up() returns the next power of 2 for n.
When n exceeds 2^63, it overflows and becomes 0 causing the infinite looping.
The fix ensures that the function checks for n >= 2^63 and returns 0.
2017-07-10 03:22:48 -05:00
Jordan Henderson
bd79a782b4 Suggested changes from code review 2017-07-07 13:31:43 -05:00
Jordan Henderson
104047e13b Amend header comment error
Suggested fix for allocating too small of a buffer for the chunk data
2017-07-06 14:21:26 -05:00
Jordan Henderson
610e76c75c Clean up remaining warnings 2017-07-06 08:02:29 -05:00
Richard Warren
64d33e5e6e Commited changes to the development branch here to allow a pull request to be published 2017-07-05 16:19:57 -04:00
Richard Warren
47a4cd816c Commit changes needed for pull request 2017-07-05 15:53:19 -04:00
Jordan Henderson
0531d92d74 Add prototype for H5D__cmp_filtered_collective_io_info_entry_owner 2017-07-05 14:36:54 -05:00
Dana Robinson
46450bd9d0 Merge pull request #594 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:test_misc13 to develop
* commit '191147ec90d72619632a24242c003ecb3bccfffd':
  * Yanked the smoke check that was recently introduced to test   the unused H5I_REFERENCE ID type in test_misc19(). This fails   when running testhdf5 and skipping the reference test since   the H5R package won't be initialized. H5I_REFERENCE will   be going away soon and the ID type is unused so there's really   no point to doing anything to test it. * Cleaned up test_misc13(), which is a basic test of userblock   functionality, to not emit warnings due to the large global   array.
2017-07-05 13:14:39 -05:00
Dana Robinson
191147ec90 * Yanked the smoke check that was recently introduced to test
the unused H5I_REFERENCE ID type in test_misc19(). This fails
  when running testhdf5 and skipping the reference test since
  the H5R package won't be initialized. H5I_REFERENCE will
  be going away soon and the ID type is unused so there's really
  no point to doing anything to test it.
* Cleaned up test_misc13(), which is a basic test of userblock
  functionality, to not emit warnings due to the large global
  array.
2017-07-05 09:35:24 -07:00
Jordan Henderson
0f78b954f2 Add comment for memory copy possibly not being necessary anymore for
Multi-Chunk I/O
2017-07-05 10:38:37 -05:00
Dana Robinson
9ac6413f80 Merge pull request #590 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:java_warnings to develop
* commit '5d6ed0b298e3a40051a975a466820030360e8a31':
  Turned off unused parameter warnings in gcc for Java constants.
2017-07-05 09:55:29 -05:00
Jordan Henderson
a2cdec5ab3 Remove use of H5E_CANTDISTRIBUTE error 2017-07-05 08:48:24 -05:00
Jordan Henderson
3ce78d0d8d Add comment for full overwrite special case 2017-07-05 08:40:09 -05:00
Jordan Henderson
4e121c3913 Add remaining documentation/comments 2017-07-05 08:34:45 -05:00
Jordan Henderson
34fac7abb0 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '6428a637752753cc8a9007c0c3c38b9ea9cc97fd': (165 commits)
  Skip HDFFV-10160 filenotclosed test for split/multi driver Temporary skip this test for split/multi driver. Further investigation to resolve the failure is needed. Please enter the commit message for your changes. Lines starting
  More minor whitespace cleanup
  Fixed a minor comment typo in H5R.c
  * Reverted removal of H5I_REFERENCE to avoid breaking binary   compatibility. * Added a quick H5I_REFERENCE smoke check to test_misc19()   in tmisc.c.
  Added missing free() call to test_misc19().
  Purged the unused H5I_REFERENCE from the library.
  Added a test for VFD IDs to testhdf5.
  Revert "Partial removal of NDEBUG ifdefs from the library."
  Partial removal of NDEBUG ifdefs from the library.
  Removed compiler flag cleanup since Solaris chokes on it.
  Fix for HDFFV-10160 Modifications to fix the assertion/abort failure when the application does not close the file.
  Fixed a bug in autotools Fortran processing where a test for the presence of a C long double type always returned true.
  Updated the --enable-debug/production handling in configure.ac so that it more reliably indicates that the configure option can no longer be used. Previously, using --enable-debug="", etc. would not trigger an error (even though such usage is unlikely).
  Added awk processing to remove extraneous whitespace from H5_ flags in configure.
  Fixed a comment in configure.ac
  HDFFV-10219 another mode change
  HDFFV-10219 change subset to use BINARY mode for h5dump
  HDFFV-10219 default input binary to NATIVE
  Set default of var to NATIVE
  HDFFV-10219 - disable h5dump tests until h5import NATIVE is fixed
  ...
2017-07-05 08:05:02 -05:00
Vailin Choi
6428a63775 Merge pull request #591 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '1e1403cf1d959d5a88b2ff595096ee52af26db58':
  Skip HDFFV-10160 filenotclosed test for split/multi driver Temporary skip this test for split/multi driver. Further investigation to resolve the failure is needed. Please enter the commit message for your changes. Lines starting
2017-07-05 01:33:00 -05:00
Vailin Choi
1e1403cf1d Skip HDFFV-10160 filenotclosed test for split/multi driver
Temporary skip this test for split/multi driver.
Further investigation to resolve the failure is needed.
Please enter the commit message for your changes. Lines starting
2017-07-05 01:27:40 -05:00
Dana Robinson
5d6ed0b298 Turned off unused parameter warnings in gcc for Java constants.
None of the constant functions use their parameters, so emitting
warnings for them generates a large amount of noise. Since these
are trivial wrappers, marking them up with H5_ATTR_UNUSED would
be a huge waste of time.
2017-07-03 14:26:53 -07:00
Dana Robinson
99e44094f2 Merge pull request #589 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:tmisc19 to develop
* commit '9a749a64f06187bc5ae17e848eab9aacdfc57f8a':
  More minor whitespace cleanup
  Fixed a minor comment typo in H5R.c
  * Reverted removal of H5I_REFERENCE to avoid breaking binary   compatibility. * Added a quick H5I_REFERENCE smoke check to test_misc19()   in tmisc.c.
  Added missing free() call to test_misc19().
  Purged the unused H5I_REFERENCE from the library.
  Added a test for VFD IDs to testhdf5.
2017-07-03 15:32:23 -05:00
Dana Robinson
9a749a64f0 More minor whitespace cleanup 2017-07-03 13:01:58 -07:00
Dana Robinson
dfceb84d47 Fixed a minor comment typo in H5R.c 2017-07-03 13:00:11 -07:00
Dana Robinson
76b9a0e7ef * Reverted removal of H5I_REFERENCE to avoid breaking binary
compatibility.
* Added a quick H5I_REFERENCE smoke check to test_misc19()
  in tmisc.c.
2017-07-03 12:54:14 -07:00
Dana Robinson
d342358a3b Added missing free() call to test_misc19(). 2017-06-30 21:06:29 -07:00
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
5262b98b34 Merge pull request #586 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '804a88fafdca3d6a76312ab01ac4d6d5b103e9dc':
  Fix for HDFFV-10160 Modifications to fix the assertion/abort failure when the application does not close the file.
2017-06-30 02:55:45 -05:00
Dana Robinson
dba4a60413 Merge pull request #588 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'd2c7df4ac005e461df3a486791560821ab7b4585':
  Revert "Partial removal of NDEBUG ifdefs from the library."
  Partial removal of NDEBUG ifdefs from the library.
  Removed compiler flag cleanup since Solaris chokes on it.
2017-06-29 17:32:04 -05:00
Dana Robinson
d2c7df4ac0 Revert "Partial removal of NDEBUG ifdefs from the library."
This reverts commit a2b7560aa6.
2017-06-29 14:43:10 -07:00
Dana Robinson
5011e90f1a Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into develop 2017-06-29 14:33:58 -07:00
Dana Robinson
a2b7560aa6 Partial removal of NDEBUG ifdefs from the library. 2017-06-29 14:25:18 -07:00
Dana Robinson
95bbd396ff Removed compiler flag cleanup since Solaris chokes on it. 2017-06-29 15:45:36 -05:00
Dana Robinson
598856b37e Merge pull request #585 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:configure_fortran_long_double_bug to develop
* commit '8c347d794a06b8b57c407499e1a441cc0f415380':
  Fixed a bug in autotools Fortran processing where a test for the presence of a C long double type always returned true.
2017-06-29 09:23:35 -05: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
Dana Robinson
3da8951fb3 Merge pull request #584 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:minor_develop_fixes to develop
* commit 'cbca178410215a1fd60e3de85c4810487e327f8d':
  Updated the --enable-debug/production handling in configure.ac so that it more reliably indicates that the configure option can no longer be used. Previously, using --enable-debug="", etc. would not trigger an error (even though such usage is unlikely).
  Added awk processing to remove extraneous whitespace from H5_ flags in configure.
2017-06-28 22:52:02 -05:00
Dana Robinson
8c347d794a Fixed a bug in autotools Fortran processing where a test for the
presence of a C long double type always returned true.
2017-06-28 17:30:45 -07:00
Dana Robinson
cbca178410 Updated the --enable-debug/production handling in configure.ac
so that it more reliably indicates that the configure option
can no longer be used. Previously, using --enable-debug="", etc.
would not trigger an error (even though such usage is unlikely).
2017-06-28 16:49:58 -07:00
Dana Robinson
373de3f95f Added awk processing to remove extraneous whitespace from H5_
flags in configure.
2017-06-28 16:36:26 -07:00
Dana Robinson
25727c4f2c Merge pull request #583 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:minor_develop_fixes to develop
* commit 'd85aeb770496a08d1e0ce9fcabbfc54f15f44864':
  Fixed a comment in configure.ac
2017-06-28 10:07:43 -05:00
Dana Robinson
d85aeb7704 Fixed a comment in configure.ac 2017-06-27 14:35:16 -04:00
Allen Byrne
67da953c1c Merge pull request #582 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c325dd2a6512ce02287771bfbbe9b81d65b3fd6f':
  HDFFV-10219 another mode change
  HDFFV-10219 change subset to use BINARY mode for h5dump
  HDFFV-10219 default input binary to NATIVE
  Set default of var to NATIVE
2017-06-26 11:33:25 -05:00
Allen Byrne
c325dd2a65 HDFFV-10219 another mode change 2017-06-26 09:38:30 -05:00
Allen Byrne
e526ff9dc6 HDFFV-10219 change subset to use BINARY mode for h5dump 2017-06-26 09:36:28 -05:00
Allen Byrne
6b2f384a3c HDFFV-10219 default input binary to NATIVE 2017-06-20 16:40:49 -05:00
Allen Byrne
14e52dcfa9 Set default of var to NATIVE 2017-06-20 16:09:32 -05:00
Allen Byrne
d349bea008 Merge pull request #581 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '00f4456e70c7e53226085b4a96d3bab3fd0074f0':
  HDFFV-10219 - disable h5dump tests until h5import NATIVE is fixed
  Correct name of options variable
  Synch with CMake original code
2017-06-19 17:26:48 -05:00
Allen Byrne
00f4456e70 HDFFV-10219 - disable h5dump tests until h5import NATIVE is fixed 2017-06-19 16:43:44 -05:00
Allen Byrne
d1ec663ad2 Correct name of options variable 2017-06-19 09:31:03 -05:00
Allen Byrne
27b3b4b208 Synch with CMake original code 2017-06-19 09:15:19 -05:00
Allen Byrne
1508656a2c Merge pull request #574 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1ac4b918f182b6fc43e57788e9af0c4cce64efba':
  HDFFV-10219 remove standard headers already included in h5private.h
  HDFFFV-10219 fix file creation contention on windows
  HDFFV-10219 - fix name templates
  HDFFV-10219 add test headers
  HDFFV-10219 - remove debug comments
  HDFFV-10219 - Fix subset test
  HDFFV-10219Fix binary test to use gen files
  Add subset tests to script
  Fix changes to reference files. Still need to add subset test.
  Update release note
  HDFFV-10219 - disable debug output
  HDFFV-10219 Add new reference file file for new test
  HDFFV-10219 - fix for native in bin file and possible non-native in h5
  HDFFV-10219: add generated files to memcheck clear command
  HDFFV-10219: Added keyword SUBSET to h5import list.
2017-06-16 15:11:34 -05:00
Allen Byrne
1ac4b918f1 HDFFV-10219 remove standard headers already included in h5private.h 2017-06-16 14:03:16 -05:00
Allen Byrne
3a637e227c HDFFFV-10219 fix file creation contention on windows 2017-06-16 12:04:22 -05:00
Allen Byrne
6832143610 HDFFV-10219 - fix name templates 2017-06-15 16:20:55 -05:00
Allen Byrne
6b28addeca HDFFV-10219 add test headers 2017-06-15 14:48:47 -05:00
Allen Byrne
81c5f4fe67 HDFFV-10219 - remove debug comments 2017-06-15 14:33:13 -05:00
Allen Byrne
be172e8018 HDFFV-10219 - Fix subset test 2017-06-15 14:11:50 -05:00
Allen Byrne
1797bb7f5f HDFFV-10219Fix binary test to use gen files 2017-06-15 14:09:32 -05:00
Allen Byrne
22fa1e8009 Add subset tests to script 2017-06-15 13:16:40 -05:00
Allen Byrne
1210d58b87 Fix changes to reference files. Still need to add subset test. 2017-06-15 12:51:56 -05:00
Allen Byrne
c82ec4d734 Update release note 2017-06-15 12:37:07 -05:00
Allen Byrne
811bb5eeda HDFFV-10219 - disable debug output 2017-06-15 12:29:34 -05:00
Allen Byrne
7424ea56d7 HDFFV-10219 Add new reference file file for new test 2017-06-15 12:27:03 -05:00
Allen Byrne
c288898630 HDFFV-10219 - fix for native in bin file and possible non-native in h5 2017-06-15 12:19:46 -05:00
Allen Byrne
c73b30716e Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '9808b44b6c7645ae760bfb497e598ae069827619':
  Added -fno-omit-frame-pointer to gcc flags when symbols when building with debugging symbols.
  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-13 16:27:22 -05:00
Vailin Choi
9808b44b6c Merge pull request #573 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '980d5b4266133490192ceb10ea13e320532c6f03':
  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-13 11:52:09 -05:00
Dana Robinson
33048a3922 Merge pull request #575 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'dd567df97b3b2332477d1726094b9647f9daea71':
  Added -fno-omit-frame-pointer to gcc flags when symbols when building with debugging symbols.
2017-06-12 15:46:15 -05:00
Dana Robinson
dd567df97b Added -fno-omit-frame-pointer to gcc flags when symbols when
building with debugging symbols.
2017-06-12 15:37:32 -04:00
Allen Byrne
61517c796f HDFFV-10219: add generated files to memcheck clear command 2017-06-12 12:53:51 -05:00
Allen Byrne
b829420a0d HDFFV-10219: Added keyword SUBSET to h5import list. 2017-06-12 12:22:52 -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
7a25041caf Merge pull request #572 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit '005bf26ff83fcd28255a77fb9bbb4a64495cb4a2':
  Revert "Merge pull request #567 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop"
2017-06-09 23:04:03 -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
Scot Breitenfeld
eaedb70001 Merge pull request #571 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '1ccdb2e23f1c55835aee315e92736c6aed06faf8':
  fixed check output string to match test
2017-06-09 14:47:12 -05:00
M. Scot Breitenfeld
1ccdb2e23f fixed check output string to match test 2017-06-09 12:19:50 -05:00
Dana Robinson
4242753848 Merge pull request #567 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Makes all non-global H5O_layout_t structs dynamic (quiets stack warnings).

* commit 'd391d8a690b4d595709e1274882fb5e5e0559f9e':
  * Made STATIC free lists EXTERN for H5O_layout_t. * Made all non-global instances of H5O_layout_t in H5Pdcpl.c dynamic.
  Updated H5O_layout_t dynamic work to use the H5FL interface.
  Made some H5O_layout_t stack allocations dynamic (quiets warnings).
2017-06-08 14:24:48 -05: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
Allen Byrne
b0e79fe6dd Merge pull request #559 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3525de8fede588e143fcff837ebd1c7b0ad59252':
  Add toolset option
  Synchronize cmake files
  Added toolset and intel checks
2017-06-02 12:46:38 -05:00
Allen Byrne
3525de8fed Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '5cb9c40847d1706ce82a2b2cda4c6c5596b10994':
  Fixed typo in vfd.c from 'updated VFD feature flag' checkin.
  Rework of the POSIX file open permissions and macros to clean up HDopen() calls.
  Changed the Windows POSIX open() file permissions to be correct according to MSDN. Partial fix for HDFFV-9630.
2017-06-02 12:37:37 -05:00
Allen Byrne
0a3f8239e6 Add toolset option 2017-06-02 11:44:51 -05:00
Dana Robinson
5cb9c40847 Merge pull request #483 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:windows_open to develop
* commit '1e9354bcf551c16f3ad9d6a4ad42a2bce827c95e':
  Rework of the POSIX file open permissions and macros to clean up HDopen() calls.
  Changed the Windows POSIX open() file permissions to be correct according to MSDN. Partial fix for HDFFV-9630.
2017-05-31 18:07:03 -05:00
Dana Robinson
1e9354bcf5 Merge branch 'develop' into windows_open 2017-05-31 15:07:49 -07:00
Dana Robinson
5c5ea7e89f Merge pull request #553 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit '5efda2babf7f4bd7424d147e20b72b0f227f1704':
  Fixed typo in vfd.c from 'updated VFD feature flag' checkin.
2017-05-30 18:35:49 -05:00
Dana Robinson
5efda2babf Fixed typo in vfd.c from 'updated VFD feature flag' checkin. 2017-05-30 16:33:20 -07:00
Allen Byrne
9905db41ee Synchronize cmake files 2017-05-30 11:33:21 -05:00
Allen Byrne
86de942cf5 Added toolset and intel checks 2017-05-30 11:16:11 -05:00
Dana Robinson
56d23f00a7 Merge pull request #548 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:compat_feature_flag to develop
* commit '13d3d4bd0e0b799aa9c3a9b45e445d1f52294d47':
  Added feature flag checks for a few other VFDs in test/vfd.c.
  * 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.
  * 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.
  Initialized IDs to -1 and minor code tidy.
  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-27 10:24:46 -05:00
Dana Robinson
13d3d4bd0e Added feature flag checks for a few other VFDs in test/vfd.c. 2017-05-26 18:22:07 -04:00
Dana Robinson
343b53d64f Merge branch 'develop' into compat_feature_flag 2017-05-26 17:29:52 -04:00
Dana Robinson
9e75f7eeee Merge pull request #547 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:gcc_flag_cull to develop
* commit 'b6de142cf4a863787dceaa333684615fc190d6d5':
  Chagned gfortran40 to gfortran in a few config files.
2017-05-26 14:29:27 -05:00
Allen Byrne
c70bcaa77f Merge pull request #545 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c059e6ecf7bafc6b5c1c9b8a39e8515e23f52303':
  Spelling
  Enhanced the release note using 'Writing Notes in a RELEASE.txt File'
  Note HDFFV-8611 change
2017-05-26 13:59:25 -05:00
Allen Byrne
c059e6ecf7 Spelling 2017-05-26 13:59:00 -05:00
Dana Robinson
b6de142cf4 Chagned gfortran40 to gfortran in a few config files. 2017-05-26 14:56:23 -04:00
Allen Byrne
7f6443cc0d Enhanced the release note using 'Writing Notes in a RELEASE.txt File' 2017-05-26 13:05:18 -05:00
Dana Robinson
c9121bfdf4 Merge pull request #546 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:gcc_flag_cull to develop
* commit '742e1d5541a488ca1a1772c05833c16a6a73d3ab':
  Fixed misplaced space in config/gnu-flags.
2017-05-26 12:38:18 -05:00
Dana Robinson
742e1d5541 Fixed misplaced space in config/gnu-flags. 2017-05-26 12:56:55 -04:00
Allen Byrne
d809de2ebe Note HDFFV-8611 change 2017-05-26 11:16:20 -05: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
Dana Robinson
d5f570acba Merge pull request #540 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:gcc_flag_cull to develop
* commit '35aec6ab2ca6018a6f5babc943d29957d6595f67':
  Updated the gnu-flags config file to remove gcc 3.x and 4.0 configurations as well as other minor rework and cleanup.
2017-05-26 10:34:18 -05:00
Allen Byrne
19a61e8e85 Merge pull request #541 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'db2da9f4b4b582d644d4b2e976040fce4dd1d665':
  Reduce warnings
2017-05-26 09:06:11 -05:00
Allen Byrne
db2da9f4b4 Reduce warnings 2017-05-25 15:57:18 -05:00
Dana Robinson
35aec6ab2c Merge branch 'develop' into gcc_flag_cull 2017-05-25 16:07:36 -04: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
57f0a296c0 Minor warning fix. 2017-05-25 10:25:30 -04:00
Dana Robinson
1b74c5ca95 More minor warning fixes. 2017-05-25 10:11:26 -04:00
Dana Robinson
291b107d4d Minor warning fixes in the tools. 2017-05-25 09:47:20 -04:00
Dana Robinson
a33859d677 Minor type fixes to h5watch. 2017-05-25 09:24:24 -04:00
Dana Robinson
65e2e8f87c A few more warnings fixed. 2017-05-25 09:06:49 -04:00
Dana Robinson
18ae45027c Fixed additional minor warnings. 2017-05-25 08:42:18 -04:00
Dana Robinson
946fd98b8d Fixed many minor warnings. 2017-05-25 06:45:53 -04:00
Dana Robinson
23dfa24439 Merge pull request #535 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:h5i_object_verify to develop
* commit '8807f918b9b00916efa822dda0301d3aa9debd80':
  Added missing casts for the return value of H5I_object_verify().
2017-05-24 15:43:57 -05: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
Dana Robinson
e3b22b8fa4 Initialized IDs to -1 and minor code tidy. 2017-05-24 06:51:45 -04:00
Dana Robinson
e45d97b6be Merge branch 'develop' into compat_feature_flag 2017-05-24 05:13:46 -04:00
Frank Willmore
1ee9078619 updated MPI error handling call for MPICH2 standard 2017-05-23 19:01:52 -07:00
Allen Byrne
710ed6d10a Merge pull request #531 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '416ad00182e2d0fccc09d60a6da95aef8ad94d0e':
  HDFFV-8611 add autotools test
  Remove obsolete function
  HDFFV-8611 change h5repack to save the root group creation order Added test and new arguments to control the the input file parsing.
2017-05-23 17:21:33 -05:00
Allen Byrne
416ad00182 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '9fc2b3ef8e7933da716e2d2f832e93d8fc8023c0':
  add linking flag to cmake, does not fix the issue, still disabled shared with fortran
  add documention comments for shared Fortran Fix on OSX
  Fix for shared fortran libraries on mac (HDFFV-2772).
  Fix for shared fortran libraries on mac (HDFFV-2772).
  Fix for shared fortran libraries on mac (HDFFV-2772).
2017-05-23 17:21:15 -05:00
Scot Breitenfeld
9fc2b3ef8e Merge pull request #532 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '57ab1e7d6945c45107ebdd945bb89951ec90b8f1':
  add linking flag to cmake, does not fix the issue, still disabled shared with fortran
  add documention comments for shared Fortran Fix on OSX
  Fix for shared fortran libraries on mac (HDFFV-2772).
  Fix for shared fortran libraries on mac (HDFFV-2772).
  Fix for shared fortran libraries on mac (HDFFV-2772).
2017-05-23 17:16:46 -05:00
M. Scot Breitenfeld
57ab1e7d69 add linking flag to cmake, does not fix the issue, still disabled shared with fortran 2017-05-23 17:14:21 -05:00
Frank Willmore
364fe58fea cleanup 2017-05-23 10:20:37 -07:00
Frank Willmore
8f25e21e10 enabled MPI error handling 2017-05-23 10:14:35 -07:00
M. Scot Breitenfeld
69ccaee00a add documention comments for shared Fortran Fix on OSX 2017-05-23 09:53:59 -05:00
M. Scot Breitenfeld
6301d5a6cb Fix for shared fortran libraries on mac (HDFFV-2772). 2017-05-22 16:03:56 -05:00
M. Scot Breitenfeld
97ac37592b Fix for shared fortran libraries on mac (HDFFV-2772). 2017-05-22 15:45:17 -05:00
Allen Byrne
0f81f23d69 HDFFV-8611 add autotools test 2017-05-22 13:55:15 -05:00
Allen Byrne
60cfdf138c Remove obsolete function 2017-05-22 13:24:53 -05:00
Allen Byrne
cdcef539a3 HDFFV-8611 change h5repack to save the root group creation order
Added test and new arguments to control the the input file parsing.
2017-05-22 13:10:40 -05:00
Dana Robinson
f36174b750 Merge branch 'develop' into compat_feature_flag 2017-05-19 19:18:09 -04: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
Allen Byrne
8861b5a494 Merge pull request #527 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '973aebe25f87b84ff6dd3d9eca51b76643090564':
  Add  debug trace commands
  HDFFV-9055 Correct file generator
  Added note about 9055 and 10128, 9995 not needed
2017-05-19 13:39:46 -05:00
Allen Byrne
973aebe25f Add debug trace commands 2017-05-19 11:35:07 -05:00
M. Scot Breitenfeld
2b2a1d605e Fix for shared fortran libraries on mac (HDFFV-2772). 2017-05-18 16:32:26 -05:00
Allen Byrne
e60bf13c76 HDFFV-9055 Correct file generator 2017-05-18 16:29:52 -05:00
Allen Byrne
9b8ffee145 Added note about 9055 and 10128, 9995 not needed 2017-05-18 09:12:47 -05:00
Allen Byrne
13bedd4c4a Merge pull request #521 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'fcc56184f1699fc1d35b042acb1388cc76b8ea16':
  Whitespace
  Move execeutable command after declaration
  HDFFV-9055 add test files
  HDFFV-9055 Handle H5T_ARRAY types Create variables just for diff_array function Whitespace updates
2017-05-17 15:11:14 -05:00
Allen Byrne
fcc56184f1 Whitespace 2017-05-17 15:09:13 -05:00
Allen Byrne
71c223c082 Move execeutable command after declaration 2017-05-17 13:09:13 -05:00
Allen Byrne
23d9fe2649 HDFFV-9055 add test files 2017-05-17 10:06:17 -05:00
Allen Byrne
3ee87f72ad HDFFV-9055 Handle H5T_ARRAY types
Create variables just for diff_array function
Whitespace updates
2017-05-16 15:58:17 -05:00
Allen Byrne
858155c19b Merge pull request #519 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '71637634ac96b6167b384ebb461ce3b9ea66b4f8':
  HDFFV-9995 Clarify help text
  HDFFV-10128 Fixed string length with no null fixed
2017-05-16 14:54:53 -05:00
Allen Byrne
71637634ac HDFFV-9995 Clarify help text 2017-05-16 10:16:44 -05:00
Allen Byrne
4f0b92bdd5 HDFFV-10128 Fixed string length with no null fixed 2017-05-16 09:28:49 -05:00
Dana Robinson
2e6d95a1a1 Updated the gnu-flags config file to remove gcc 3.x and 4.0 configurations
as well as other minor rework and cleanup.
2017-05-16 00:27:30 -04:00
Larry Knox
3e1a06e649 Merge pull request #516 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '56c3ec98207bb6c4b3e6a7b9523c2a1e849879c3':
  HDFFV-10128 add test to check null term Test is another dataset
  HDFFV-10128 Fix null term strings
2017-05-15 17:12:57 -05:00
Vailin Choi
8e8a30bdd4 Merge pull request #515 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '54dff331778a660824961fdf6359e4eae998a13c':
  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 13:31:47 -05:00
Allen Byrne
56c3ec9820 HDFFV-10128 add test to check null term
Test is another dataset
2017-05-15 12:33:58 -05: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
Allen Byrne
7078993d63 HDFFV-10128 Fix null term strings 2017-05-12 14:40:39 -05:00
Dana Robinson
5e60a0e10e Merge pull request #512 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'f95ef72a5e9827dfa63e4722938a58a8c9d686c0':
  Merged HDFFV-10187 direct chunk overwrite bugfix to develop from 1.10 branch.
2017-05-11 23:26:06 -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
a23da99bdb Merge pull request #506 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '0cb8152b8e97d659e076b42340509c41b3919754':
  HDFFV-10186 Need to pull the flag into the script
2017-05-11 09:12:11 -05:00
Allen Byrne
0cb8152b8e HDFFV-10186 Need to pull the flag into the script 2017-05-11 09:03:21 -05:00
Allen Byrne
fcdf2ace7d Merge pull request #503 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-10186-tbitnopaque-test to develop
* commit 'ec0935a924a84b18b29473b4fcec7c3f4e1aca76':
  HDFFV-10186 xml test also needs endianess aware files
  HDFFV-10186 - h5tools_str_append is not printf
  HDFFV-10186 braces formatting
  Fix reference file contents
  HDFFV-10186 Add endianess to bitfield and fix tests
2017-05-10 16:38:36 -05:00
Larry Knox
46937e9032 Merge pull request #505 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'c8a5520d3aa3a526460c81507f2f985dc534b14f':
  Call to H5Dopen has H5dopen2 arguments at line 12704 of test/dsets.c - changed to H5Dopen2 to fix failure with --with-default-api-version=v16 configure option.
2017-05-10 16:10:41 -05:00
lrknox
c8a5520d3a Call to H5Dopen has H5dopen2 arguments at line 12704 of test/dsets.c -
changed to H5Dopen2 to fix failure with --with-default-api-version=v16
configure option.
2017-05-10 14:44:58 -05:00
Allen Byrne
ec0935a924 HDFFV-10186 xml test also needs endianess aware files 2017-05-10 12:45:06 -05:00
Allen Byrne
7dc0c79c54 HDFFV-10186 - h5tools_str_append is not printf 2017-05-10 12:20:15 -05:00
Allen Byrne
dd45c3694f HDFFV-10186 braces formatting 2017-05-10 11:09:55 -05:00
Allen Byrne
772e6e9a7f Fix reference file contents 2017-05-10 11:00:37 -05:00
Allen Byrne
445c805a4c HDFFV-10186 Add endianess to bitfield and fix tests 2017-05-10 10:59:13 -05:00
Allen Byrne
9d50ed5287 Merge pull request #501 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e4e261173f85de6f83651abd6950793d7b930a20':
  HDFFV-10186 more whitespace formatting
2017-05-10 10:46:37 -05:00
Allen Byrne
e4e261173f HDFFV-10186 more whitespace formatting 2017-05-10 10:12:19 -05:00
Allen Byrne
900a110c89 Merge pull request #497 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '4f36f613a6de09d8ec197b7e5a4a72dbdb9417a2':
  HDFFV-10186 Whitespace change Mostly tabs to spaces Remove Modifications comments
2017-05-10 08:48:46 -05:00
Vailin Choi
dc0276a81c Merge pull request #498 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '8482314d7db83c47947af8ca50457cdb1ddae366':
  Fix for HDFFV-10051 Fix missing declaration for H5D__layout_compact_dirty_test(). Tested on mayll and osx1010test.
2017-05-09 17:34:15 -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
Allen Byrne
4f36f613a6 HDFFV-10186 Whitespace change
Mostly tabs to spaces
Remove Modifications comments
2017-05-09 16:52:05 -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
850a5956c0 Merge pull request #496 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '5263bc9029dcf06779a0ec2b89688912443a4bfa':
  HDFFV-10186 Whitespace changes Mostly replacing tabs with spaces Removed empty mod sections
2017-05-09 12:41:38 -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
Larry Knox
7916b84582 Merge pull request #491 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '28f4873e7fc93de865c3e180f09d7221569f64ff':
  Update one missed version string.
  Update release_docs/HISTORY-1_10.txt and RELEASE.txt after HDF5 1.10.1 release.
2017-05-05 16:58:26 -05:00
Allen Byrne
58e9796e38 Merge pull request #493 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '6d0d9d46dab559c04bba0b8810a3e0630ce44ad2':
  Fix typo in name of ddl file in command
2017-05-05 16:57:45 -05:00
Allen Byrne
6d0d9d46da Fix typo in name of ddl file in command 2017-05-05 16:54:28 -05:00
lrknox
28f4873e7f Update one missed version string. 2017-05-05 10:47:23 -05:00
lrknox
e2ad2751dc Update release_docs/HISTORY-1_10.txt and RELEASE.txt after HDF5 1.10.1
release.
2017-05-05 10:45:24 -05:00
Allen Byrne
494029c27d Merge pull request #490 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '9076e74d38f10d9d71a41ceeb118777468b6b530':
  Fix name to copy
2017-05-05 10:15:20 -05:00
Allen Byrne
9076e74d38 Fix name to copy 2017-05-05 10:05:59 -05:00
Allen Byrne
b8533e75af Merge pull request #488 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c90f72a0d44ab53d16e0c7979363565dff30cf24':
  Correct name of file to copy
2017-05-04 16:47:45 -05:00
Allen Byrne
c90f72a0d4 Correct name of file to copy 2017-05-04 16:42:32 -05:00
Allen Byrne
e10313d556 Merge pull request #487 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '412f68103ecc9e75a895dd057ad28d0e456f3a58':
  Use correct var types for data
2017-05-04 14:10:37 -05:00
Allen Byrne
412f68103e Use correct var types for data 2017-05-04 13:32:58 -05:00
Allen Byrne
5d921b8fee Merge pull request #486 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '006e56802196ee6a43261aec7027815ad24ad3db':
  Remove duplicate defines
  Add test file to list and fix test typo
  Make test scripts fail if result files are created
2017-05-04 13:15:48 -05:00
Allen Byrne
006e568021 Remove duplicate defines 2017-05-04 11:41:47 -05:00
Allen Byrne
bcaf579ac4 Add test file to list and fix test typo 2017-05-02 15:54:40 -05:00
Allen Byrne
7608b264e4 Make test scripts fail if result files are created 2017-05-02 12:36:02 -05:00
Larry Knox
3b81a29c46 Merge pull request #482 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'be49a9422654ac9eec07ffe3599b4a7f7561cdb6':
  Comment out install-exec-hooks to remove libdynlib* files.  Allen did the same for hdf5_1_10 and hdf5_1_10_1 because the hooks don't reliably work.  In the develop branch they are causing make install failures because the autotools' install commands sometimes attempt to chmod these files when they no longer exist.
2017-05-01 22:08:00 -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
lrknox
be49a94226 Comment out install-exec-hooks to remove libdynlib* files. Allen did
the same for hdf5_1_10 and hdf5_1_10_1 because the hooks don't reliably
work.  In the develop branch they are causing make install failures
because the autotools' install commands sometimes attempt to chmod these
files when they no longer exist.
2017-04-28 16:37:22 -05:00
Larry Knox
fc4e8ea5ec Merge pull request #481 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '0bf41bec5aab468036f32afb287f224d266edf7a':
  Add extra files to be copied
2017-04-28 10:45:05 -05: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
Allen Byrne
0bf41bec5a Add extra files to be copied 2017-04-27 16:32:51 -05:00
Dana Robinson
09882f7ccd Merge pull request #480 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:cmake_header_create to develop
* commit '80d57c242a15edd983673e9bad4e966c72975289':
  Set the HDF5_GENERATE_HEADERS CMake option to default to ON and removed the option from the CMake cache init files.
2017-04-27 15:07:57 -05: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
Larry Knox
c2729b6ad1 Merge pull request #478 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'a302f508a51ba9fe109aaacda24601d5c458fe8d':
  Change position of declaration to top of block
2017-04-27 08:55:41 -05:00
Allen Byrne
a302f508a5 Change position of declaration to top of block 2017-04-27 08:52:34 -05:00
Vailin Choi
2d535d8c88 Merge pull request #473 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit 'bacb45b38ae8513024baf2dfe08c8918625489e2':
  Modifications based on pull request review. Made couple changes based on the review comments.
  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-26 14:04:24 -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
9c30b39316 Merge pull request #470 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2420df5a85c64a20d98165c5b8c891899b31da83':
  HDFFV-10170 revert entire change
2017-04-25 16:54:02 -05:00
Allen Byrne
2420df5a85 HDFFV-10170 revert entire change 2017-04-25 16:34:52 -05:00
Larry Knox
4d1d2b4eda Merge pull request #468 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '89fbe00dec8187305b518d91c3ddb7d910665f79':
  Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to hdf5_1_10
  Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes.
2017-04-25 16:09:10 -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
Dana Robinson
e8a0726636 Merge pull request #464 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:bin_trace_complain to develop
* commit 'b1a5ba405393da68028cf1c8b159a3abb51d2187':
  Updated bin/trace to emit errors and reordered autogen.sh processing so that script failures leave the library in a non-compilable state, making it harder to ignore errors.
2017-04-25 12:52:41 -05:00
Dana Robinson
b1a5ba4053 Updated bin/trace to emit errors and reordered autogen.sh processing
so that script failures leave the library in a non-compilable state,
making it harder to ignore errors.
2017-04-25 02:09:55 -04:00
Allen Byrne
9d84abe503 Merge pull request #457 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '0fb5ce7ad50664f800ffe7e107e0fb0f90f66e12':
  Correct name of native function
  Fix javadoc
  Fix typo
  Signature change requires a ptr
  Change     H5PLsize() signature
  Revert HDFFV-9655
  Changed signature of H5PLgetsize
  Revert HDFFV-9655 by disabling test and not using new function.
  Fix path to actual executable location
  Windows ahs one more directory level
2017-04-24 16:44:35 -05:00
Allen Byrne
0fb5ce7ad5 Correct name of native function 2017-04-24 16:21:42 -05:00
Allen Byrne
c148ad90f0 Fix javadoc 2017-04-24 16:09:39 -05:00
Allen Byrne
bce204f7f3 Fix typo 2017-04-24 15:36:10 -05:00
Allen Byrne
c08ef4dc5b Signature change requires a ptr 2017-04-24 15:34:25 -05:00
Allen Byrne
c1dc24c143 Change H5PLsize() signature 2017-04-24 15:31:28 -05:00
Allen Byrne
c2a9c33444 Revert HDFFV-9655 2017-04-24 15:25:36 -05:00
Allen Byrne
aafee79e9f Changed signature of H5PLgetsize 2017-04-24 15:20: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
d9a69c592f Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '2deb953dbbde17712723529c4bca6a2bf3eedf6b':
  Fix for HDFFV-10166 h5watch tests fail randomly to match expected output files (1) Re-structure tests to do one "extend" action at a time (2) Re-try test till max limit before final failure
2017-04-24 15:09:52 -05:00
Vailin Choi
2deb953dbb Merge pull request #453 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit 'e9b289a3d1d031f594e8c5421144ac44f3d44bcb':
  Fix for HDFFV-10166 h5watch tests fail randomly to match expected output files (1) Re-structure tests to do one "extend" action at a time (2) Re-try test till max limit before final failure
2017-04-24 14:48:48 -05:00
Allen Byrne
220388e735 Fix path to actual executable location 2017-04-24 10:50:06 -05:00
Allen Byrne
0e1633c26d Windows ahs one more directory level 2017-04-24 09:03:46 -05:00
Larry Knox
0ee3d2ad9b Merge pull request #454 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'ebb7bc7fadb86c48869439ea9137f1dfc1e1f158':
  Comment out failing plugin test until fixed (unexpected .libs in plugin test directory path with '@').
2017-04-22 15:45:48 -05:00
lrknox
ebb7bc7fad Comment out failing plugin test until fixed (unexpected .libs in plugin test directory path with '@'). 2017-04-22 15:21:36 -05:00
Vailin Choi
e9b289a3d1 Fix for HDFFV-10166 h5watch tests fail randomly to match expected output files
(1) Re-structure tests to do one "extend" action at a time
(2) Re-try test till max limit before final failure
2017-04-21 18:42:17 -05:00
Larry Knox
3750e8ac7c Merge pull request #449 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '7bd516f2ead21e8470cc25c0b664ad6b56c723a0':
  Our best effort to build dynamic plugin tests and not install them with "make install".  It seems the install-exec-hook doesn't remove the last to be installed.
  Add targets for plugin test libraries to avoid linking to external libs.
2017-04-21 15:32:13 -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
1f2a08041b Merge pull request #452 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'abdb412d50bcdfc158e6efddc9eb4aba4f8bce1e':
  file already in list
  Fix parameter form
2017-04-21 14:36:09 -05:00
lrknox
7bd516f2ea Our best effort to build dynamic plugin tests and not install them with
"make install".  It seems the install-exec-hook doesn't remove the last
to be installed.
2017-04-21 14:32:45 -05:00
Dana Robinson
0afef681c5 Merge pull request #451 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'b96db2f074c69d95f66917822ffb359a8e401cc7':
  Fixed problems that prevent bin/trace from marking up some functions.
2017-04-21 11:13:41 -05:00
Allen Byrne
abdb412d50 file already in list 2017-04-21 11:04:27 -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
b96db2f074 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into develop 2017-04-20 20:20:03 -04:00
Dana Robinson
739f413b78 Fixed problems that prevent bin/trace from marking up some functions. 2017-04-20 20:19:15 -04:00
lrknox
6ef69b7b17 Add targets for plugin test libraries to avoid linking to external libs. 2017-04-20 16:51:21 -05:00
Allen Byrne
4a70b0d7dc Merge pull request #448 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '9a7b106d3776a8454b5cb9443f11aae2873cc617':
  Correct test options to match autotools script
  Updates to CMake for the changes in the autotools script
2017-04-20 15:49:20 -05:00
Dana Robinson
5fefc12bd8 Merge pull request #443 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_parallel_prevent to develop
* commit '5ed622b9ca432f1b440e8903680695ac83e28301':
  The cache_image test shows a skipped message about EoC in parallel.
  Added code to disable the evict-on-close feature in the parallel library.
2017-04-20 15:33:09 -05:00
Dana Robinson
5ed622b9ca The cache_image test shows a skipped message about EoC in parallel. 2017-04-20 16:11:47 -04:00
Allen Byrne
9a7b106d37 Correct test options to match autotools script 2017-04-20 14:57:36 -05:00
Dana Robinson
b17aea2338 Merge branch 'develop' into eoc_parallel_prevent 2017-04-20 15:37:30 -04:00
Allen Byrne
7ee229bced Updates to CMake for the changes in the autotools script 2017-04-20 13:45:35 -05:00
Allen Byrne
05628b4687 Merge pull request #444 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ea46fbe7c2bb3a8c8972c880f3609be20036d741':
  Correct typo of file name
2017-04-20 13:43:41 -05:00
Allen Byrne
ea46fbe7c2 Correct typo of file name 2017-04-20 12:22:36 -05:00
Vailin Choi
784e3599a7 Merge pull request #435 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '43e03c548ae2c405b92f95833251683d3eeb1440':
  Modifications based on review comments from pull request. Made changes according to review comments and discussion with Allen.
  Fix for DAILYTEST-259 h5clear test failure Deposit the test files in test/misc/testfiles for testh5clear.sh to use instead of depending on h5clear_gentest. Tested on kituo, osx1010test, quail, platypus and ostrich.
2017-04-20 11:25:56 -05:00
Vailin Choi
43e03c548a Modifications based on review comments from pull request.
Made changes according to review comments and discussion with Allen.
2017-04-19 22:51:39 -05: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
Vailin Choi
53f1450f9d Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '8f34c3cfd46054f6478b34df6af324c353e44d62':
  Update tool dyn lib
  LDFLAGS module forces .so lib to be built on osx instead of .dylib
  java jni lib also needs to avoid the version-info
  HDFFV-10170 undo patch
  Add plugin options for libs
2017-04-19 16:06:25 -05:00
Allen Byrne
8f34c3cfd4 Merge pull request #436 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '62770c64326f844739c2753bfee49c297f2c7a39':
  Update tool dyn lib
  LDFLAGS module forces .so lib to be built on osx instead of .dylib
  java jni lib also needs to avoid the version-info
  HDFFV-10170 undo patch
  Add plugin options for libs
2017-04-18 15:22:12 -05:00
Allen Byrne
62770c6432 Update tool dyn lib 2017-04-18 14:23:35 -05:00
Allen Byrne
7185c9e707 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'b17ffc3cef223dc662cc330edee546841929818c':
  added point to build script repo.
2017-04-18 13:52:01 -05:00
Vailin Choi
c2ab87e2b6 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~vchoi/my_hdf5_fork into develop 2017-04-18 13:28:47 -05:00
Allen Byrne
9f1fd68ce2 LDFLAGS module forces .so lib to be built on osx instead of .dylib 2017-04-18 13:27:54 -05:00
Vailin Choi
b7aeefbbc9 Fix for DAILYTEST-259 h5clear test failure
Deposit the test files in test/misc/testfiles for testh5clear.sh to use instead of depending on h5clear_gentest.
Tested on kituo, osx1010test, quail, platypus and ostrich.
2017-04-18 13:24:00 -05:00
Scot Breitenfeld
b17ffc3cef Merge pull request #434 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '32b8d5ffc897adae1507c5552383ca25dc6a83b8':
  added point to build script repo.
2017-04-18 13:20:36 -05:00
Allen Byrne
5bbaae4495 java jni lib also needs to avoid the version-info 2017-04-18 11:44:47 -05:00
Allen Byrne
0b226bd28b HDFFV-10170 undo patch 2017-04-18 11:04:22 -05:00
Allen Byrne
9b234d74bb Add plugin options for libs 2017-04-18 10:38:14 -05:00
M. Scot Breitenfeld
32b8d5ffc8 added point to build script repo. 2017-04-18 09:21:36 -05:00
Allen Byrne
8e686f312e Merge pull request #430 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e718e2ab319d398ed28d39e6119e9a128990311e':
  HDFFV-10170 fix command syntax
  ignore java classpath
  HDFFV-10173 fix compile on VS2008
  HDFFV-10170 chnage test libs to noinst type
2017-04-17 15:04:14 -05:00
Allen Byrne
e718e2ab31 HDFFV-10170 fix command syntax 2017-04-17 13:51:45 -05:00
Allen Byrne
7c5a425360 ignore java classpath 2017-04-17 13:19:20 -05: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
John Mainzer
5f7822fac4 Merge pull request #427 in HDFFV/hdf5 from ~MAINZER/hdf5_jrm:develop to develop
* commit '4651eb738df5d31c62eae1f9fb70b1685c610e0c':
  Express test mods to test/cache.c
2017-04-17 11:31:49 -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
Allen Byrne
9363223fb6 HDFFV-10170 chnage test libs to noinst type 2017-04-13 13:37:56 -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
906c181918 Merge pull request #422 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '606529f5e0cffcea26af66106f094fbe350c5bac':
  Due to HDFVIEW-19 add read VL as string function
2017-04-13 10:15:16 -05:00
Vailin Choi
7ff4c5fd7a Merge pull request #421 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '3d1b227a67b557da247f6b683f58617b6d75bfdb':
  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.
2017-04-13 10:06:19 -05:00
Vailin Choi
3d1b227a67 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.
2017-04-13 02:47:23 -05:00
Allen Byrne
606529f5e0 Due to HDFVIEW-19 add read VL as string function 2017-04-12 17:21:43 -05:00
Scot Breitenfeld
f574d627d8 Merge pull request #410 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit '265950a83a68ea55b5bc8dcbefa2d09b4f8110be':
  updated with README changes
  Combined the README_DEVEL and README, and removed out-dated README material
2017-04-12 11:03:42 -05:00
Vailin Choi
6efca6717c Merge pull request #409 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '7eda1e3c6a57f79b59fc35518816db4e3a2b382d':
  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 19:19:51 -05:00
Vailin Choi
7eda1e3c6a Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '2821b8bd768138db6b5f917a5b7325f878f8f7d0':
  Fix URL name
  DAILYTEST-250 change test props to reduce timeout
2017-04-11 18:09:03 -05:00
Allen Byrne
2821b8bd76 Merge pull request #412 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '8a9e4b94c3938f4c42ad9399737afc6478ded160':
  Fix URL name
  DAILYTEST-250 change test props to reduce timeout
2017-04-11 16:57:14 -05:00
Jordan Henderson
cbbd6b0df3 Minimize size of H5D_filtered_collective_io_info_t struct 2017-04-11 15:57:31 -05:00
Allen Byrne
8a9e4b94c3 Fix URL name 2017-04-11 15:10:02 -05:00
M. Scot Breitenfeld
265950a83a updated with README changes 2017-04-11 13:16:16 -05:00
Allen Byrne
a79ab2d39e DAILYTEST-250 change test props to reduce timeout 2017-04-11 12:57:19 -05:00
M. Scot Breitenfeld
e3d8dacaad Combined the README_DEVEL and README, and removed out-dated README material 2017-04-11 12:18:49 -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
John Mainzer
ccb4e9ed9a Merge pull request #405 in HDFFV/hdf5 from ~MAINZER/hdf5_jrm:develop to develop
* commit 'eb75dc1bb02e13902d73a36caafe763eea585d02':
  Removed commeted out code from H5C_dump_coll_write_list()
  Checkin of fix for CGNS bug (https://jira.hdfgroup.org/browse/HDFFV-10055).
2017-04-07 13:20:11 -05:00
mainzer
eb75dc1bb0 Removed commeted out code from H5C_dump_coll_write_list() 2017-04-07 13:17:08 -05:00
Vailin Choi
bbf8689353 Merge pull request #396 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit 'b3ff39585c3f8e6e9096fc84f02dd049f0d3ae36':
  Modify test/fheap.c to run with various file space strategies and/or page buffering Modify test/fheap.c to run with different combinations of file space strategies and page buffering only when ExpressMode is 0 (HDF5TestExpress is 0). Tested on ostrich, platypus, mayll, emu, osx1010test, quail, kite, kituo.
2017-04-06 22:15:44 -05:00
Vailin Choi
b3ff39585c Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '4a05d27c6fcef81612e005b6f6429ab362247492':
  HDFFV-10143 add missing javadoc param
  Add missing test status
  Fix CMake regex commands
2017-04-06 21:32:23 -05:00
mainzer
a859e70992 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~mainzer/hdf5_jrm into develop
Update to permit push to develop_jrm fork
2017-04-06 18:14:47 -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
4a05d27c6f Merge pull request #402 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '4b11c4fd518026667944b50b4cd4cb41bec7e25a':
  HDFFV-10143 add missing javadoc param
  Add missing test status
2017-04-06 15:51:49 -05:00
Allen Byrne
4b11c4fd51 HDFFV-10143 add missing javadoc param 2017-04-06 15:00:48 -05:00
Allen Byrne
177a8ba30e Add missing test status 2017-04-06 14:29:47 -05:00
Larry Knox
a84864e732 Merge pull request #397 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f1ad2feb0b253302895a0bc9835ade8f2f2484e8':
  Fix CMake regex commands
2017-04-06 12:00:58 -05:00
Allen Byrne
f1ad2feb0b Fix CMake regex commands 2017-04-06 11:22:29 -05:00
Vailin Choi
ad2963de60 Modify test/fheap.c to run with various file space strategies and/or page buffering
Modify test/fheap.c to run with different combinations of file space strategies and page buffering
only when ExpressMode is 0 (HDF5TestExpress is 0).
Tested on ostrich, platypus, mayll, emu, osx1010test, quail, kite, kituo.
2017-04-05 15:43:00 -05:00
Allen Byrne
60167ae875 Merge pull request #395 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1e0ecb4481e226239c1fd51bd214bd7e7490805d':
  Fix typo deletion
  HDFFV-10143 Update new feature section.
  HDFFV-10143 clean up format and function return
  HDFFV-10143 Add plugin APIs to Java interface
  Update with checks for index bounds
  Update tools issues
  HDFFV-10143 fix use before set
  HDFFV-10143 surround will fail with try block
  HDFFV-10143 typo cleanup
  HDFFV-10143 typo removed
  Fix code error and use H5PL_MAX_PATH_NUM in test
  HDFFV-10143 Cleanup due to comments
  HDFFV-10143 remove debugging output
  HDFFV-10143 change h5PLget to use buffer like H5Iget_name
  HDFFV-10143 change put to replace and add const
  Remove redundant code
  HDFFV-10143 Use Windows A version of ExpandEnvironmentStrings
  HDFFV-10143 Fix initial issues from review
  Remove duplicated paths, add new paths
  HDFFV-10143 add APIs to manipulate plugin path table
2017-04-05 13:28:37 -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
b56fb149c9 Merge pull request #394 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit '9876155d3fdb073dd3769f18665c86d04cda4806':
  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 10:07:24 -05:00
Allen Byrne
857f515325 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '60bb3fd1108e2006a79b008d031a0f68a1e6b393':
  Re-enabled fixed array index testing in the test_random_rank4_vl() test in test/set_extent. This was fixed some time ago, but the test was never re-enabled for that index type.
2017-04-05 09:41:32 -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
Dana Robinson
60bb3fd110 Merge pull request #393 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'f060e05999849c1eb3ef653c08977e4b154749d8':
  Re-enabled fixed array index testing in the test_random_rank4_vl() test in test/set_extent. This was fixed some time ago, but the test was never re-enabled for that index type.
2017-04-04 21:52:27 -05:00
Dana Robinson
f060e05999 Re-enabled fixed array index testing in the test_random_rank4_vl() test
in test/set_extent. This was fixed some time ago, but the test was
never re-enabled for that index type.
2017-04-04 20:20:12 -04:00
Allen Byrne
48687ab50f Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* 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.
2017-04-04 12:15:27 -05:00
Allen Byrne
c2941faa66 Fix typo deletion 2017-04-04 10:15:56 -05:00
Allen Byrne
9b17c2e124 HDFFV-10143 Update new feature section. 2017-04-04 10:07:41 -05:00
Allen Byrne
cbdc1250ce HDFFV-10143 clean up format and function return 2017-04-04 09:53:42 -05:00
Quincey Koziol
d522632b9e Merge pull request #389 in HDFFV/hdf5 from fix_h5watch_signal to develop
* commit '1e4b2588b671a2172827bb422aee9ba96c0320b6':
  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.
2017-04-03 14:26:36 -05:00
Allen Byrne
4bd667bfde HDFFV-10143 Add plugin APIs to Java interface 2017-04-03 14:06:47 -05:00
Quincey Koziol
1e4b2588b6 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.
2017-04-03 11:56:52 -07:00
Allen Byrne
1f88a34fa7 Update with checks for index bounds 2017-04-03 12:34:17 -05:00
Allen Byrne
d86d708aea Update tools issues 2017-04-03 11:33:01 -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
1eb4693aa8 HDFFV-10143 surround will fail with try block 2017-03-30 17:11:50 -05:00
Allen Byrne
8e66383393 HDFFV-10143 typo cleanup 2017-03-30 17:03:08 -05:00
Larry Knox
349222225a Merge pull request #382 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '9afc2d1fc05c0ee87cb27ff1f6179e00b5eb6ac2':
  Add new file COPYING_LBNL_HDF5.
2017-03-30 17:01:52 -05:00
Allen Byrne
e40a33f74d HDFFV-10143 typo removed 2017-03-30 16:55:33 -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
e51c624ac0 HDFFV-10143 remove debugging output 2017-03-30 14:47:38 -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
lrknox
9afc2d1fc0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-30 10:34:48 -05:00
lrknox
8eef625ef4 Add new file COPYING_LBNL_HDF5. 2017-03-30 10:33:51 -05:00
John Mainzer
313fedfca1 Merge pull request #376 in HDFFV/hdf5 from ~MAINZER/hdf5_jrm:develop to develop
* commit 'afd8f64c29f7cffde895232406a3a388c6d77e77':
  Omnibus checkin for several relatively minor modifications:
2017-03-30 10:25:07 -05:00
Larry Knox
ab0b5149f6 Merge pull request #375 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'c1f95b28caae290a7c0136537daca9004db055b8':
  Revert "Clear hdf5 1.10 entries from RELEASE.txt in the develop branch.  Entries"
  Add LBNL license file and modify COPYING file accordingly.
  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.
2017-03-29 23:06:05 -05:00
lrknox
c1f95b28ca Revert "Clear hdf5 1.10 entries from RELEASE.txt in the develop branch. Entries"
This reverts commit 1a114c191d.
2017-03-29 13:55:41 -05:00
lrknox
ef297238bd Add LBNL license file and modify COPYING file accordingly. 2017-03-29 13:36:52 -05:00
Allen Byrne
4e11e6dd37 HDFFV-9655 - Add functions for '@' - untested 2017-03-29 09:09:51 -05:00
Allen Byrne
7fd79abc0c Remove duplicated paths, add new paths 2017-03-28 13:42:00 -05:00
Allen Byrne
98e4bfec5a Merge pull request #5 in ~BYRN/hdf5_adb from bugfix/HDFFV-10143-programmatic-setting-plugin-path to develop
* commit 'bb80ae98543f80779ef726a20460b9b180b5cd2b':
  HDFFV-10143 add APIs to manipulate plugin path table
2017-03-28 13:36:52 -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
lrknox
1a114c191d 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.
2017-03-28 10:06:18 -05:00
Allen Byrne
09f8d2f37e Merge pull request #4 in ~BYRN/hdf5_adb from develop to bugfix/HDFFV-10143-programmatic-setting-plugin-path
* commit 'be028580c8789301e4106d8d6e79a8fc8300e706':
  Update with extra checks for reference
  Update cdash max test output and VS version matching
  Stop skipping h5watch tests.
  Add H5_DLL to H5AC_get_mdc_image_info() prototype
  Update RELEASE.txt based on review comments from pull request.
  Description:     Removed notes about the C++ API in develop.  Only keep in 1.10 branch.
  Add prototype for H5AC_get_mdc_image_info
  Minor style cleanups
  Revert "Switch h5clear for cache images to use existing H5Pget_cache_image_config()"
  Update RELEASE.txt to reflect changes for new features and bug fixes since 1.10.0-patch1.
  Run all scripts using signal files between processes in their own directories to avoid accidental deletion of the signal files.
  Remove extra space added by h5vers to version string in H5.java, which then failed to match the pattern after the first run.
  Remove incorrect " marks added to java files by bin/h5vers. Pull version from configure for version test in h5repack_plugin.sh.in
  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)
  Description:     Updated the C++ API sections.
  Extend h5vers to update version strings in java files and h5repack version test expected output file.
  Add reference to CMake application framwork
  Whitespace changes
  Update notes
  Run swmr tests in their own subdirectory of test to avoid signal file deletion by other tests.
2017-03-28 09:36:31 -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
Allen Byrne
be028580c8 Merge pull request #373 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '5d830b1873c67def2d781acf9cc14ea8c3304c02':
  Update with extra checks for reference
  Update cdash max test output and VS version matching
2017-03-27 17:05:27 -05:00
Allen Byrne
5d830b1873 Update with extra checks for reference 2017-03-27 10:41:30 -05:00
Allen Byrne
4a60f5a057 Update cdash max test output and VS version matching 2017-03-27 08:42:32 -05:00
Elena Pourmal
5ef71ceb1d Merge pull request #372 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'ea6c20fdc6f9aef7b43a41f9a3bbd8886cd2f261':
  Stop skipping h5watch tests.
2017-03-24 16:34:19 -05:00
lrknox
ea6c20fdc6 Stop skipping h5watch tests. 2017-03-24 16:30:45 -05:00
Quincey Koziol
4d0bcf91b6 Merge pull request #362 in HDFFV/hdf5 from merge_h5clear_revert_02 to develop
* commit 'ddb870b4b67590e5624e40eb51d807914e016a46':
  Add H5_DLL to H5AC_get_mdc_image_info() prototype
  Add prototype for H5AC_get_mdc_image_info
2017-03-24 10:26:46 -05:00
Quincey Koziol
ddb870b4b6 Add H5_DLL to H5AC_get_mdc_image_info() prototype 2017-03-24 08:25:18 -07:00
Vailin Choi
9215a30b0b Merge pull request #359 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '436bfedcbd1152e9aa47d50f9d8ad78817488ce1':
  Update RELEASE.txt based on review comments from pull request.
  Update RELEASE.txt to reflect changes for new features and bug fixes since 1.10.0-patch1.
2017-03-23 16:08:49 -05:00
Vailin Choi
436bfedcbd Update RELEASE.txt based on review comments from pull request. 2017-03-23 12:35:21 -05:00
Binh-Minh Ribler
4f80a95751 Merge pull request #363 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit 'f21b268812b10e11ee98be17dd121e6a43525aef':
  Description:     Removed notes about the C++ API in develop.  Only keep in 1.10 branch.
2017-03-22 22:32:30 -05:00
Binh-Minh Ribler
f21b268812 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-03-22 22:12:43 -05:00
Binh-Minh Ribler
3f1029a352 Description:
Removed notes about the C++ API in develop.  Only keep in 1.10 branch.
2017-03-22 22:11:24 -05:00
Quincey Koziol
e4114236e3 Add prototype for H5AC_get_mdc_image_info 2017-03-22 15:15:51 -07:00
Quincey Koziol
dfc0b2f4f6 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-22 17:07:34 -05:00
Quincey Koziol
46c9ab600d Minor style cleanups 2017-03-22 10:54:25 -07:00
Quincey Koziol
161a3b9516 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop 2017-03-22 10:39:12 -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
Larry Knox
30d5cf6c96 Merge pull request #358 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '82183c7cdc50f9dc41ef8238c6a2bef6f1c7fcde':
  Run all scripts using signal files between processes in their own directories to avoid accidental deletion of the signal files.
2017-03-22 11:48:47 -05:00
Vailin Choi
b910794583 Update RELEASE.txt to reflect changes for new features and bug fixes since 1.10.0-patch1. 2017-03-21 23:47:52 -05:00
lrknox
82183c7cdc Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-21 23:00:21 -05:00
lrknox
b461f1818b Run all scripts using signal files between processes in their own directories to avoid accidental deletion of the signal files. 2017-03-21 22:58:41 -05:00
Larry Knox
f09abb150e Merge pull request #356 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'fa5ca5272d7aa6f25656541b72a24697b36dd52b':
  Remove extra space added by h5vers to version string in H5.java, which then failed to match the pattern after the first run.
  Remove incorrect " marks added to java files by bin/h5vers. Pull version from configure for version test in h5repack_plugin.sh.in
2017-03-21 12:07:42 -05:00
lrknox
fa5ca5272d Remove extra space added by h5vers to version string in H5.java, which
then failed to match the pattern after the first run.
2017-03-21 11:40:11 -05:00
lrknox
7cf8d092ed Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-03-21 11:08:39 -05:00
lrknox
7e7121fec6 Remove incorrect " marks added to java files by bin/h5vers.
Pull version from configure for version test in h5repack_plugin.sh.in
2017-03-21 10:57:40 -05:00
Binh-Minh Ribler
2fe63888b7 Merge pull request #355 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit '778a16daafe5d8edc4df9ddb35eb3e692d3adfbe':
  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-21 08:03:07 -05:00
Binh-Minh Ribler
778a16daaf Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp3 into develop 2017-03-20 21:59:03 -05:00
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
ea1b4e8236 Merge pull request #354 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp3:develop to develop
* commit 'd8199a74ee5251be30b72d1b50a855192650c9d1':
  Description:     Updated the C++ API sections.
2017-03-20 20:01:19 -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
fc51d5a1a7 Merge pull request #3 in ~BYRN/hdf5_adb from HDFFV/hdf5:develop to bugfix/HDFFV-10143-programmatic-setting-plugin-path
* commit '214100d05bd2b479a20f97e5c46d1dab2eeca759':
  Use global variable for test command - update reference
  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:30:09 -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
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
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
Allen Byrne
49b5e606ea Merge pull request #2 in ~BYRN/hdf5_adb from develop to bugfix/HDFFV-10143-programmatic-setting-plugin-path
* commit 'b359e8f1a2349d177e70d34560d0a089ce37c4c8': (22 commits)
  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.
  updated AM_SILENT_RULES syntax
  Added a check for AM_SILENT_RULES before enabling it.
  Fix alignment
  ...
2017-03-20 08:56:25 -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
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
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
Allen Byrne
713f0f3721 Lowercase math and set CMake commands 2017-03-02 12:20:26 -06:00
Allen Byrne
0df90f9f79 Merge pull request #321 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'f4dd30f41ccee7bcd97fba065573c5201cbcc743':
  Update CMake formatting
  Update CMake files and formatting
  HDFFV-10120 verify nozlib checking with tools tests
  cmake non-code typo
2017-03-02 12:11:19 -06:00
Quincey Koziol
a04bf9bf7f Merge pull request #319 in HDFFV/hdf5 from merge_page_buffering_07 to develop
* commit '5df52404bc6f6323ebf064b3d82b8e683de96eba':
  Misc. small cleanups to sync against incoming page buffering changes.
2017-03-02 11:25:40 -06:00
Dana Robinson
82e2f9acbd Merge pull request #320 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'acdd8463bf97f84f9d50e10b16bfd3e3945207c1':
  Added "flush" and "refresh" to testflushrefresh.sh error output so it's easier to see where errors in the script occur.
2017-03-02 10:01:43 -06:00
Dana Robinson
acdd8463bf Added "flush" and "refresh" to testflushrefresh.sh error output so
it's easier to see where errors in the script occur.
2017-03-02 10:45:41 -05:00
Quincey Koziol
5df52404bc Misc. small cleanups to sync against incoming page buffering changes. 2017-03-02 06:24:46 -08:00
Allen Byrne
f4dd30f41c Update CMake formatting 2017-03-01 15:07:01 -06:00
Allen Byrne
2562ec3a4b Update CMake files and formatting 2017-03-01 14:47:53 -06:00
Quincey Koziol
046e64a9bd Merge pull request #318 in HDFFV/hdf5 from merge_page_buffering_06 to develop
* commit '90a0d07f099831f5b6070fa647dab86dacc0aaad':
  Normalize against incoming page buffering changes.
2017-03-01 13:47:54 -06:00
Quincey Koziol
90a0d07f09 Normalize against incoming page buffering changes. 2017-03-01 10:04:28 -08:00
Allen Byrne
0383597463 HDFFV-10120 verify nozlib checking with tools tests 2017-03-01 11:46:30 -06:00
Allen Byrne
cae5e0ad07 cmake non-code typo 2017-03-01 09:58:59 -06:00
Quincey Koziol
a49bd13da3 Merge pull request #316 in HDFFV/hdf5 from merge_page_buffering_05 to develop
* commit 'cf932610999de00867c0a0bb3a08ee3bbf39a158':
  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"
2017-02-28 10:43:38 -06:00
Quincey Koziol
cf93261099 Correct issues from pull request reviews. 2017-02-28 08:41:57 -08:00
Allen Byrne
dfad2e1b07 Merge pull request #315 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '8d909320bf752baa32c13c0d4e2a29985a0e923b':
  Added virtual to list
  mpich module file is in env var
2017-02-28 09:26:26 -06: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
Allen Byrne
8d909320bf Added virtual to list 2017-02-27 14:51:20 -06:00
Quincey Koziol
fd268dca96 Merge pull request #313 in HDFFV/hdf5 from merge_page_buffering_04 to develop
* commit '321adc3a6f35e3e8f3b3c7be8680fcdff6660db6':
  Align w/incoming page buffering changes.
2017-02-25 14:20:16 -06:00
Quincey Koziol
321adc3a6f Align w/incoming page buffering changes. 2017-02-25 03:40:00 -08:00
Allen Byrne
6cd6daf8f9 mpich module file is in env var 2017-02-24 15:50:51 -06:00
Allen Byrne
1b8c195eb7 Merge pull request #312 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ca8aeefeba8d6285423b701c3a6a36a2ad42fbb5':
  MS keeps changing names
  Update docs and scripts for release
  Smale changes from CMake repo
2017-02-24 13:28:30 -06:00
Binh-Minh Ribler
8578cb8499 Merge pull request #310 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Added H5File::getFileInfo; IdComponent::getNumMembers and typeExists

* commit '4fc97f28531bd89640c10389dd36270335e5a971':
  Purpose: Add new C++ wrappers Description:     Added wrappers for H5Fget_info2, H5Inmembers, and H5Itype_exists
2017-02-24 13:04:31 -06:00
Allen Byrne
ca8aeefeba MS keeps changing names 2017-02-24 10:57:58 -06:00
Allen Byrne
ccee75d3e9 Update docs and scripts for release 2017-02-24 10:27:36 -06:00
Binh-Minh Ribler
4fc97f2853 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp into develop 2017-02-23 16:54:38 -06:00
Binh-Minh Ribler
d7c6fa00da Purpose: Add new C++ wrappers
Description:
    Added wrappers for H5Fget_info2, H5Inmembers, and H5Itype_exists

        // Gets general information about this file.
        void getFileInfo(H5F_info2_t& file_info) const;

        // Returns the number of members in a type.
        static hsize_t getNumMembers(H5I_type_t type);

        // Determines if an element type exists.
        static bool typeExists(H5I_type_t type);

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-02-23 16:53:16 -06:00
Allen Byrne
64e1513f43 Smale changes from CMake repo 2017-02-23 16:32:06 -06:00
Dana Robinson
ed4fa57298 Merge pull request #309 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'd2692f782a1ce660a855b2459e187e3e9425002d':
  Minor fix for duplicated H5Pclose() call in C++ tests.
2017-02-23 14:51:27 -06:00
Quincey Koziol
42bbd8b6b0 Merge pull request #308 in HDFFV/hdf5 from merge_page_buffering_03 to develop
* commit 'c3321cba03450d8d70934505f40676c3a530a2cb':
  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-23 11:14:28 -06:00
Dana Robinson
d2692f782a Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into develop 2017-02-23 12:08:28 -05:00
Dana Robinson
dca632bd96 Minor fix for duplicated H5Pclose() call in C++ tests. 2017-02-23 12:07:44 -05: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
054cc1af29 Merge pull request #307 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'a247e3367847567de1b605bfb63e19e06ee582e9':
  Changed C++ comments to C comments in H5win32defs.h.
2017-02-22 19:49:03 -06:00
Dana Robinson
a247e33678 Changed C++ comments to C comments in H5win32defs.h. 2017-02-22 17:41:42 -05:00
hdftest
1fe01afe29 Merge pull request #304 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'be6e9282f6ed824c367d364b4edd79d00b23f9f1':
  Make release script fail and return failing exit code when any of the steps for creating the docs.tar file fails.
  h5vers:     Added code to update version strings in     config/cmake/scripts/HDF5config.cmake.
2017-02-22 16:08:20 -06:00
Allen Byrne
b55626e071 Merge pull request #305 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e545f474a507e68e6fdbe295b54e82343f020ca4':
  Correct filename typo
2017-02-22 09:57:37 -06:00
Jordan Henderson
94df13fb50 Merge pull request #1 in ~JHENDERSON/hdf5 from cray-bw-remove-casts to feature/parallel_filters
* commit 'fb7cbe8acb05c9a74378efb66cd60ed3a9c6061f':
  removed erroneous casts from non-rvalue H5MM_free() calls. Replaced assignment of void return values with explicit value of NULL
2017-02-22 09:25:05 -06:00
Allen Byrne
e545f474a5 Correct filename typo 2017-02-22 08:43:34 -06:00
lrknox
be6e9282f6 Make release script fail and return failing exit code when any of the steps for creating the docs.tar file fails. 2017-02-21 16:34:05 -06:00
lrknox
6924e1f9f8 h5vers:
Added code to update version strings in
    config/cmake/scripts/HDF5config.cmake.

release:
    Added options to create CMake tar.gz and zip files containing the
    HDF5 source and scripts to build and test HDF5 with cmake and ctest
    by running a single command.  These were previously assembled
    manually.

    Added a call to h5vers to set the version being released where it
    occurs in files.  In particular, the sub-release version string
    "currently under development" was not being removed from
    cpp_doc_config or HDF5config.cmake.
2017-02-21 15:18:17 -06: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
Allen Byrne
7238751d5a Merge pull request #303 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '71cea2112f2445cd03ec6704e42671913aff11f9':
  Add new cmake options file
2017-02-20 09:16:19 -06:00
Allen Byrne
71cea2112f Add new cmake options file 2017-02-20 09:11:44 -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
2c2fb928da Merge pull request #302 in HDFFV/hdf5 from merge_page_buffering_02 to develop
* commit '101fa7af8ebe26ad015b64d3b881df8a9124ccc2':
  Cleanups and normalizations against incoming page_buffering changes.
  Switch major error code from H5E_FSPACE [back] to H5E_RESOURCE
  Misc. style cleanups from the page_buffering branch.
2017-02-19 22:33:22 -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
Binh-Minh Ribler
7e4b64bd83 Merge pull request #298 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
New C++ wrappers for H5P[s/g]et_file_space.

* commit '5f759d6d9f804d99572f605f9d9933c897ef3671':
  Description:     Fixed and added function comments. Platform tested:     Jam (very minor)
  Description:     Fixed small typos Platform tested:     Jam (very minor)
  Purpose: Add new C++ wrappers Description:     Added wrappers for H5Pset_file_space and H5Pget_file_space
2017-02-17 15:34:43 -06:00
Larry Knox
9fba21485d Merge pull request #295 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '92f4153a86a6a77f8d10507f3f922677da19a4b9':
  Resolve missed conflicts.
  Remove references to SVN.
  Check in changes to snapshot script from hdfdts repository to copy in HDF5 develop branch.  Most of the changes are for the switch from subversion to it repositories.  This copy is not used for THG daily tests, but is available for testing on remote machines.
2017-02-17 15:33:39 -06:00
lrknox
92f4153a86 Resolve missed conflicts. 2017-02-17 15:32:07 -06:00
lrknox
4b0de5860f Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-02-17 15:29:41 -06:00
lrknox
a22a9fe733 Remove references to SVN. 2017-02-17 15:16:15 -06:00
Allen Byrne
adfe442b6b Merge pull request #301 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c37ecd5bba292e2b594547e0eeb6a385d20194b0':
  Add MPI_Fortran variables
2017-02-17 15:01:39 -06:00
Allen Byrne
c37ecd5bba Add MPI_Fortran variables 2017-02-17 12:43:47 -06:00
Allen Byrne
c4a208819d Merge pull request #300 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '46bd5d0d95b83e4cd703907b0d950ef1ab6b309e':
  Correct name of file
  Update cmake build scripts, split out options to seprate file
2017-02-17 12:41:50 -06:00
Allen Byrne
46bd5d0d95 Correct name of file 2017-02-17 11:39:16 -06:00
Allen Byrne
229033fea6 Update cmake build scripts, split out options to seprate file 2017-02-17 11:37:43 -06:00
Allen Byrne
792a75afe1 Merge pull request #296 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '08b5edca0b6df7c50696ecf777ae5f108b19a953':
  Fix parallel h5diff test comapare
  Set depends test dependency for parallel h5diff
  Convert string APPEND to set commands
  Revert whitespace
  Close file before trying to remove it
2017-02-16 10:16:19 -06:00
Binh-Minh Ribler
5f759d6d9f Description:
Fixed and added function comments.
Platform tested:
    Jam (very minor)
2017-02-16 00:35:44 -06:00
Binh-Minh Ribler
f51f05ec20 Description:
Fixed small typos
Platform tested:
    Jam (very minor)
2017-02-15 09:15:06 -06:00
Binh-Minh Ribler
40b13c7445 Purpose: Add new C++ wrappers
Description:
    Added wrappers for H5Pset_file_space and H5Pget_file_space

        // Sets the strategy and the threshold value that the library will
        // will employ in managing file space.
        void setFileSpace(H5F_file_space_type_t strategy, hsize_t threshold) const;

        // Returns the strategy that the library uses in managing file space.
        H5F_file_space_type_t getFileSpaceStrategy() const;

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

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2017-02-15 09:01:05 -06:00
Allen Byrne
08b5edca0b Fix parallel h5diff test comapare 2017-02-14 14:59:57 -06:00
Allen Byrne
5e87ada674 Set depends test dependency for parallel h5diff 2017-02-14 13:51:34 -06:00
Allen Byrne
00cd884aed Convert string APPEND to set commands 2017-02-14 12:12:32 -06:00
Allen Byrne
220cf7d326 Revert whitespace 2017-02-13 14:16:24 -06:00
Allen Byrne
960f694197 Close file before trying to remove it 2017-02-13 14:11:13 -06:00
lrknox
f37f35245d Check in changes to snapshot script from hdfdts repository to copy in
HDF5 develop branch.  Most of the changes are for the switch from
subversion to it repositories.  This copy is not used for THG daily
tests, but is available for testing on remote machines.
2017-02-13 09:18:12 -06: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
fc8866d41e Merge pull request #294 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'd875f7f3e65754f5618246cec47a75690a58e80c':
  Minor warning fixes.
2017-02-09 10:53:03 -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
Dana Robinson
0399f55c54 Merge pull request #292 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit '46ede7f0399d4adf2696193ea083bffdfcc69f7e':
  Deleted an extraneous remove() call from a test function that might be causing the flushrefresh test to fail.
2017-02-08 14:04:11 -06:00
Dana Robinson
46ede7f039 Deleted an extraneous remove() call from a test function
that might be causing the flushrefresh test to fail.
2017-02-08 14:49:25 -05: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
Dana Robinson
9fbb672eb4 Merge pull request #291 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit 'bb354058c00e276aece09ec13431d7ae2c5ff041':
  Added #ifdef QAK macros around log VFD calls in SWMR acceptance tests.
2017-02-08 11:09:27 -06:00
Dana Robinson
bb354058c0 Added #ifdef QAK macros around log VFD calls in SWMR acceptance
tests.
2017-02-08 11:29:04 -05:00
Dana Robinson
5258d42aa6 Merge pull request #290 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit '422fc7cc9cac173d213b826455501c2ce8873992':
  Whitespace changes in bin/trace.
2017-02-07 14:45:42 -06:00
Dana Robinson
422fc7cc9c Whitespace changes in bin/trace. 2017-02-07 14:26:56 -05:00
Quincey Koziol
1c95d1cac5 Merge pull request #289 in HDFFV/hdf5 from merge_page_buffering_01 to develop
* commit 'a28b65bb9e9c654840e7e73b460921dc6d1a5a47':
  Clean up whitespace
2017-02-07 11:26:08 -06:00
Quincey Koziol
a28b65bb9e Clean up whitespace 2017-02-07 09:18:57 -08:00
Allen Byrne
1bb1ddc4fc Merge pull request #287 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-10125-cache_image-build-on-windows to develop
* commit 'c699bbc8bf54c012e495bb85c80a75ce8c051ca1':
  HDFFV-10125 cache_common file already in test lib
2017-02-07 11:06:58 -06:00
Allen Byrne
6b59ebaea9 Merge pull request #285 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9875-investigate-adding-static-library to develop
* commit '05059545d7cd37a60d48964d84c4b26d87131986':
  HDFFV-9875 Add new PDB folder
2017-02-06 13:39:40 -06:00
Allen Byrne
05059545d7 HDFFV-9875 Add new PDB folder 2017-02-06 12:43:32 -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
Quincey Koziol
d0b09fc7e0 Merge pull request #280 in HDFFV/hdf5 from develop_merge_cache_image_09 to develop
* commit '70d66452467d5cf40df31604cf2e3ebfc1d67acd':
  Optimize loading cache image, removing lots of memory allocations and copies.
  Simplify H5C__serialize_single_entry(), using H5C__generate_image()
2017-02-03 14:49:21 -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
Larry Knox
b29c344cc6 Merge pull request #276 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '04540598cde3f166eea35c19f5b94e33c2deeb92':
  Updated platform and compiler versions in "More Tested Platforms" for current versions of EC2 cloud machines tested.
  Remove obsolete platforms.
  Update "Supported Platforms" and "Tested Configuration Features Summary" sections. Remove changes made before HDF5 1.10.0-patch1 from "New Features" and "Bug Fixes" sections.
2017-02-03 13:27:00 -06:00
lrknox
04540598cd Updated platform and compiler versions in "More Tested Platforms" for
current versions of EC2 cloud machines tested.

    Linux 2.6.18-431.11.2.el6     MPICH mpich 3.1.4 compiled with
    #1 SMP x86_64 GNU/Linux           gcc 4.9.3 and gfortran 4.9.3
    (platypus)
2017-02-03 13:24:12 -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
Allen Byrne
d1292691c4 HDFFV-9875 enable static pdb and cleanup exports 2017-02-03 12:41:30 -06:00
Quincey Koziol
70d6645246 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_09 2017-02-02 19:27:28 -08: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
Allen Byrne
c699bbc8bf HDFFV-10125 cache_common file already in test lib 2017-02-02 16:30:23 -06:00
Allen Byrne
46e23092a7 Merge pull request #1 in ~BYRN/hdf5_adb from develop to bugfix/HDFFV-10125-cache_image-build-on-windows
* commit '0a043cd64640c859c22491dfdd09c4dcd1360e3e':
  HDFFV-10124 Using cache_common.h contains other include files
2017-02-02 16:27:59 -06:00
Allen Byrne
750df40ffb HDFFV-9875 Fix typo 2017-02-02 15:49:21 -06:00
Allen Byrne
fb587185a2 HDFFV-9875 Change test for shared libs 2017-02-02 14:58:53 -06:00
Allen Byrne
0a043cd646 Merge pull request #278 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-10124-compile-error-on-vs2012 to develop
* commit '2b383bb8ffdfb5856bb2b960a1c93fc8d9fdb163':
  HDFFV-10124 Using cache_common.h contains other include files
2017-02-02 14:44:53 -06:00
Allen Byrne
b477d8142a HDFFV-9875 Remove compile pdb references 2017-02-02 13:47:39 -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
Allen Byrne
2b383bb8ff HDFFV-10124 Using cache_common.h contains other include files 2017-02-02 11:55:01 -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
Allen Byrne
be955c5e79 Merge pull request #277 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3c169f947382da170c8589f6c00896a9c4ea8e6c':
  HDFFV-10123 Use generator expression
  HDFFV-10123 fix shared name
  HDFFV-10123 Add SHARED tools
  HDFFV-10046 add shared versions of tools for plugin filters
  HDFFV-10046 build a shared version of h5repack tool for plugins
2017-02-01 14:52:44 -06:00
Allen Byrne
3c169f9473 HDFFV-10123 Use generator expression 2017-02-01 13:30:09 -06:00
Allen Byrne
0668e1ba1e HDFFV-10123 fix shared name 2017-02-01 11:30:29 -06:00
Allen Byrne
7b85399dff HDFFV-10123 Add SHARED tools 2017-02-01 11:15:38 -06:00
Larry Knox
f6868ca0f5 Remove obsolete platforms. 2017-01-31 17:10:07 -06:00
Larry Knox
43d051fbd5 Update "Supported Platforms" and "Tested Configuration Features Summary" sections.
Remove changes made before HDF5 1.10.0-patch1 from "New Features" and "Bug Fixes" sections.
2017-01-31 16:05:20 -06:00
Allen Byrne
e4b568fffc HDFFV-10046 add shared versions of tools for plugin filters 2017-01-31 15:50:21 -06:00
Allen Byrne
f1410b6c64 HDFFV-10046 build a shared version of h5repack tool for plugins 2017-01-31 15:33:10 -06:00
Jordan Henderson
3f44709578 Test code for user passing one-chunk-per-process hint to library 2017-01-31 14:21:30 -06:00
Allen Byrne
c4142e07dd Merge pull request #275 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '21d48c1d1f79cdfd1b816a5b7ba2e8694a16fbd6':
  Fix Windows static only cache test checking
2017-01-31 14:18:58 -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
Allen Byrne
21d48c1d1f Fix Windows static only cache test checking 2017-01-31 09:26:44 -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
ec941a8643 Merge pull request #273 in HDFFV/hdf5 from develop_merge_cache_image_07 to develop
* commit '8ffa26c49c68ca8e7a2fef62bd29c1f23395207c':
  Update sanity checks for dataset refresh code.
2017-01-30 23:13:51 -06: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
Quincey Koziol
2d98fd0078 Merge pull request #272 in HDFFV/hdf5 from develop_merge_cache_image_06 to develop
* commit 'a9808853d52b368f9ab7336a261c0555f22526f1':
  Add missing files
  Cache image feature and testing
  Bring change to use array of metadata cache entry classes for H5C_create instead of array of class names from cache image branch.
  Switch list lengths to unsigned integers (to align better w/cache image merge)
2017-01-30 10:56:22 -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
a9808853d5 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_06 2017-01-28 23:27:08 -08: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
Dana Robinson
b118b45d7d Merge pull request #269 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
* commit '081955fdd17f546e005238fd2ceae0526399e805':
  Additional minor changes from revise_chunks->develop.
  Moved remaining SWMR-related test files to develop.
2017-01-27 23:29:34 -06: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
Dana Robinson
081955fdd1 Additional minor changes from revise_chunks->develop. 2017-01-27 16:46:09 -05: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
Allen Byrne
eb8ada9564 Merge pull request #268 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'fefbcd3cb604f5942768d222124fc100394888d5':
  HDFFV-10120 Tools test fail when zlib is disabled
2017-01-26 15:28:23 -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
Dana Robinson
2cac1c0637 Moved remaining SWMR-related test files to develop. 2017-01-26 14:34:12 -05:00
Allen Byrne
fefbcd3cb6 HDFFV-10120 Tools test fail when zlib is disabled 2017-01-26 11:59:34 -06:00
Allen Byrne
768636dbd7 Merge pull request #264 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c4c1ce8cc32aa9428dfb8a0d73bb4bffb7ae682d':
  HDFFV-10046 Fix windows parse error
  Disable SHARED cache test on windows
2017-01-26 11:12:02 -06:00
Allen Byrne
c4c1ce8cc3 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '05ea6be738343a94f7e2871920b27c0fb4435bc5':
  Commit Vailin's fix for the h5format_convert test failure. DAILYTEST-256 #2.
2017-01-26 10:05:34 -06:00
Larry Knox
05ea6be738 Merge pull request #265 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '2d889608946c0e8a91bd38162ceeaf1166779921':
  Commit Vailin's fix for the h5format_convert test failure. DAILYTEST-256 #2.
2017-01-25 23:02:44 -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
Allen Byrne
d627cd29bd HDFFV-10046 Fix windows parse error 2017-01-24 16:41:45 -06:00
Jordan Henderson
aab742c9a2 Test code for sending chunk modification data around 2017-01-24 15:01:31 -06:00
Allen Byrne
6b9a7cece4 Disable SHARED cache test on windows 2017-01-24 09:28:11 -06:00
Allen Byrne
a43ad4b9a4 Merge pull request #260 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'da08f71ea1ededdf0ff152dbd823bc2eb7cd36d8':
  HDFFV-10112 correct form of comments
2017-01-23 10:18:43 -06:00
Allen Byrne
da08f71ea1 HDFFV-10112 correct form of comments 2017-01-23 08:49:54 -06:00
Larry Knox
f5389fb6e9 Merge pull request #257 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '7e73366e912920eb374a404653cd7ad026c63970':
  HDFFV-10118 fix data
  HDFFV-10118 change h5ls to not display extra info
  HDFFV-10118 fixed plugin tests for tools
2017-01-20 22:54:11 -06:00
Allen Byrne
7e73366e91 HDFFV-10118 fix data 2017-01-20 16:40:40 -06:00
Allen Byrne
eb42e42ea4 HDFFV-10118 change h5ls to not display extra info 2017-01-20 15:53:45 -06:00
Allen Byrne
c3463d800d HDFFV-10118 fixed plugin tests for tools 2017-01-20 14:23:41 -06:00
Jordan Henderson
b19b0ea67d Clean up H5Dmpio.c warnings 2017-01-20 14:09:20 -06:00
Jordan Henderson
5426599c91 For sake of complexity, force multi chunk IO for parallel filtered read 2017-01-19 14:32:17 -06:00
Jordan Henderson
740e85a82d Code refactoring
Modify single chunk entry function to handle both read and write cases

Store array of MPI derived types in Multi-chunk IO so that all freeing
can be done at end instead of during processing

Add read support for Multi-chunk IO only currently
2017-01-19 11:54:07 -06:00
Jordan Henderson
2c8bddb4ab Clean up const and other warnings
Add notes about need for another minor error code
2017-01-18 17:36:07 -06:00
Jordan Henderson
9bb49c6b05 Update documentation for link and multi chunk IO 2017-01-18 17:09:17 -06:00
Jordan Henderson
4a83ceaf7d Major cleanup
Separate update phase for chunk entry into its own function, since code
for multi-chunk IO and link-chunk IO is exactly the same

Remove last IO mode code from multi-chunk IO, since filtered collective
writes cannot break to independent IO mode

Fix collective overlapping IO for multi-chunk IO by iterating equal to
the max number of chunks on any process

Make hard separation between collective read and write since trying to
mix the two into one loop becomes messy

Add preliminary code for asynchronous sending of chunk modification data
to new owning process when redistributing chunks
2017-01-18 16:48:27 -06:00
Allen Byrne
95242bbd5c Merge pull request #253 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e4b314c47c1c50b326c5f72254a662c284a26b97':
  Fix indentation
  Fix script varnames
  Chnage test dir to avoid parallel test collisions
  Add autotools version of plugin tests for UD filters
  HDFFV-9994 add h5ls reference file to copy
  HDFFV-9994 - correct reference file
  HDFFV-9994 add UD tests for tools
  Add goto error for dataset read failure. Fixed comments
2017-01-18 12:51:56 -06:00
Allen Byrne
e4b314c47c Fix indentation 2017-01-18 11:10:56 -06:00
Allen Byrne
a8e9126054 Fix script varnames 2017-01-18 09:46:50 -06:00
Allen Byrne
ee4c57cc08 Chnage test dir to avoid parallel test collisions 2017-01-18 08:51:32 -06:00
Allen Byrne
a8e4f6426e Add autotools version of plugin tests for UD filters 2017-01-17 17:11:27 -06:00
Jordan Henderson
349b3634f7 Add chunk redistribution for shared chunks
Remove check for process having a selection as this needs to be reworked
2017-01-17 14:39:41 -06:00
Allen Byrne
7d7a66ac82 HDFFV-9994 add h5ls reference file to copy 2017-01-17 14:18:06 -06:00
Allen Byrne
d8dfb7e63a HDFFV-9994 - correct reference file 2017-01-17 14:12:01 -06:00
Allen Byrne
406db26f51 HDFFV-9994 add UD tests for tools 2017-01-17 13:46:11 -06:00
Allen Byrne
be260bbf75 Add goto error for dataset read failure. Fixed comments 2017-01-17 09:55:15 -06:00
Allen Byrne
509b6c24a7 Merge pull request #251 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '110073450f84fb373a6f28579cdc5751c3eca3b0':
  Add unused -parameters to developer group.
  Add addition hint info about option
  Correct variable name
  Missing file remove added to test
  Update developer flags to account for gcc version
  Move Windows level 4 warnings to developer option
  Fix test output file name
  Changed severity of message state
  Remove duplicate command
  CMake command cleanup
  HDFFV-10094: upgrade cmake command conventions Also converted tests to use macros
  Update cmake min version and cmake command convention
2017-01-13 14:45:30 -06:00
Jordan Henderson
2292a8520d Eliminate owner field
Work on redistributing shared chunks
2017-01-13 14:21:59 -06:00
Allen Byrne
110073450f Add unused -parameters to developer group. 2017-01-13 13:55:24 -06:00
Allen Byrne
8ad55c1775 Add addition hint info about option 2017-01-13 13:00:44 -06:00
Allen Byrne
556ff06975 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'bd85e57904f1f943774bb99ea5e8b0d074db0edb':
  tools/test/h5diff/testh5diff.sh.in:          Add code to delete copies of test .h5 files copied from          tools/testfiles/vds to tools/test/h5diff/testfiles when running          "make check" for an in-source build.
2017-01-13 10:57:26 -06:00
Larry Knox
bd85e57904 Merge pull request #250 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '8452976de5d770adcf3892b25c8480042170fccd':
  tools/test/h5diff/testh5diff.sh.in:          Add code to delete copies of test .h5 files copied from          tools/testfiles/vds to tools/test/h5diff/testfiles when running          "make check" for an in-source build.
2017-01-13 10:33:50 -06:00
Jordan Henderson
a3605cbdeb Switch working branch from master to develop 2017-01-13 08:14:38 -06:00
lrknox
8452976de5 tools/test/h5diff/testh5diff.sh.in:
Add code to delete copies of test .h5 files copied from
         tools/testfiles/vds to tools/test/h5diff/testfiles when running
         "make check" for an in-source build.

    tools/test/misc/testh5repart.sh.in:
         Change the name of the temporary test directory from "testfiles"
         which is also used for 2 h5mkgrp test files under source control to
         "testrepart" to avoid deleting source controlled files when running
         "make check" in the source directory.

    Fix test scripts that remove source-controlled files during "make check" when run in-source.
    Fix test scripts that don't remove test files because they add files to test directories but don't remove them if the build directories are the same as the source directory.

    Fix any test source file or Makefile.am files for tests that leave data files are removed by neither "make check" nor "make distclean".
2017-01-12 22:20:11 -06:00
Allen Byrne
0f10dedc6e Correct variable name 2017-01-12 17:09:56 -06:00
Allen Byrne
1d5eb0956e Missing file remove added to test 2017-01-12 15:59:00 -06:00
Allen Byrne
6616131ce2 Update developer flags to account for gcc version 2017-01-12 14:00:50 -06:00
Allen Byrne
f72c95209c Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '089afc48561ba8838d6a515c6b00fc6f7032ca13':
  Updated the developer flags so that they respect gcc versions.
  Description:     Added data files from the packet table vlen tests to the     CHECK_CLEANFILES list. Platforms tested:     Linux/64 (jelly)
2017-01-12 13:40:34 -06:00
Binh-Minh Ribler
089afc4856 Merge pull request #247 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Delete data files in cleaning.

* commit 'afd5bf4b913951169406764a70880529bf7f6620':
  Description:     Added data files from the packet table vlen tests to the     CHECK_CLEANFILES list. Platforms tested:     Linux/64 (jelly)
2017-01-12 13:17:46 -06:00
Dana Robinson
798613a01c Merge pull request #248 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:dev_warnings01 to develop
* commit '06570cd167f18141bc33473e178ce5acfe018255':
  Updated the developer flags so that they respect gcc versions.
2017-01-12 13:07:25 -06:00
Allen Byrne
5d09c3d28d Move Windows level 4 warnings to developer option 2017-01-12 12:41:50 -06:00
Dana Robinson
06570cd167 Updated the developer flags so that they respect gcc versions. 2017-01-12 12:40:28 -06:00
Allen Byrne
cdd4df5127 Fix test output file name 2017-01-12 12:24:10 -06:00
Allen Byrne
a03ab619d7 Changed severity of message state 2017-01-12 11:54:31 -06:00
Binh-Minh Ribler
afd5bf4b91 Description:
Added data files from the packet table vlen tests to the
    CHECK_CLEANFILES list.
Platforms tested:
    Linux/64 (jelly)
2017-01-12 10:47:32 -06:00
Allen Byrne
1bca531a73 Remove duplicate command 2017-01-12 09:04:10 -06:00
Allen Byrne
ee485247b7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '8b4c9f848d63351c85cab3a5b2034f8e7e1a29db':
  h5format_convert was not built (missing from subdirs in tools/src and         tools/test Makefile.ams) but created dependencies that were not cleaned up by make clean and make distclean.
  Create h5repack convenience library for common code used by h5repack tool and h5repacktst.  Fixes broken distclean.
  Added an --enable-developer-warnings option to configure so users can ignore -Wsuggest-attribute warnings and other noise that doesn't indicate poor code quality.
2017-01-11 14:24:09 -06:00
Allen Byrne
7fb991e8ed CMake command cleanup 2017-01-11 14:17:21 -06:00
Allen Byrne
244faaa0d0 HDFFV-10094: upgrade cmake command conventions
Also converted tests to use macros
2017-01-11 14:02:34 -06:00
Dana Robinson
8b4c9f848d Merge pull request #242 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:dev_warnings01 to develop
* commit 'e6a12a3feaa3a111510d899102af77f61950b8bf':
  Added an --enable-developer-warnings option to configure so users can ignore -Wsuggest-attribute warnings and other noise that doesn't indicate poor code quality.
2017-01-11 09:14:52 -06:00
Larry Knox
c37826171d Merge pull request #245 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '630d668954f56f5138f2bffe3994e2c1da2e3f5c':
  h5format_convert was not built (missing from subdirs in tools/src and         tools/test Makefile.ams) but created dependencies that were not cleaned up by make clean and make distclean.
  Create h5repack convenience library for common code used by h5repack tool and h5repacktst.  Fixes broken distclean.
2017-01-10 23:02:46 -06:00
Allen Byrne
e1bcae8a6a Update cmake min version and cmake command convention 2017-01-10 17:10:03 -06:00
Allen Byrne
a4cd30d418 Merge pull request #243 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '09d1314c1d7e2eeb75a86827ebd763ec52ffe12d':
  Split VDS files into a separate list
2017-01-10 17:08:00 -06:00
lrknox
630d668954 h5format_convert was not built (missing from subdirs in tools/src and
tools/test Makefile.ams) but created dependencies that were not
cleaned up by make clean and make distclean.
2017-01-10 16:53:38 -06:00
Allen Byrne
09d1314c1d Split VDS files into a separate list 2017-01-10 15:59:01 -06:00
lrknox
fa75b666db Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2017-01-10 14:44:44 -06:00
lrknox
584d3743a8 Create h5repack convenience library for common code used by h5repack
tool and h5repacktst.  Fixes broken distclean.

Tested with h5committest and "make distclean".
2017-01-10 14:41:25 -06:00
Vailin Choi
f4ce5d6091 Merge pull request #241 in HDFFV/hdf5 from ~VCHOI/my_hdf5_fork:develop to develop
* commit '066e01f967da27df000f6bdbbf88514c1f7bfb91':
  Skip h5watch tests Tests for h5watch are skipped temporarily. Debugging for test failures will be done.
2017-01-10 14:29:26 -06:00
Dana Robinson
e6a12a3fea Added an --enable-developer-warnings option to configure so
users can ignore -Wsuggest-attribute warnings and other
noise that doesn't indicate poor code quality.
2017-01-10 13:49:49 -05:00
Vailin Choi
066e01f967 Skip h5watch tests
Tests for h5watch are skipped temporarily.
Debugging for test failures will be done.
2017-01-09 18:59:06 -06:00
Scot Breitenfeld
969288e459 Merge pull request #240 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'a5c15d7b59fd0c8b39a3c1d311d2c7a9e55ff441':
  Enabled commented out code,     HDFFV-9498 -- PGI COMPILER BUG: READ(...,pos,) fails for pgf90 causes offset test to fail
2017-01-06 15:51:50 -06:00
Dana Robinson
be00c2b6c2 Merge pull request #239 in HDFFV/hdf5 from develop_merge_cache_image_05 to develop
* commit '8d4c84eae2954a77c725f42298b20d694a6150c8':
  Bring changes to metadata cache "get entry status" call and new "child serialized / unserialized" messages and support from the cache image branch.
  Add "image up to date" flag / parameter to metadata cache entry status calls.
2017-01-06 15:45:13 -06:00
M. Scot Breitenfeld
a5c15d7b59 Enabled commented out code,
HDFFV-9498 -- PGI COMPILER BUG: READ(...,pos,) fails for pgf90 causes offset test to fail
2017-01-06 15:25:21 -06:00
Quincey Koziol
8d4c84eae2 Bring changes to metadata cache "get entry status" call and new
"child serialized / unserialized" messages and support from the cache image
branch.
2017-01-06 11:37:17 -08:00
Quincey Koziol
7568dcaf15 Add "image up to date" flag / parameter to metadata cache entry status calls. 2017-01-06 07:51:40 -08:00
Binh-Minh Ribler
047646d469 Merge pull request #238 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Updated MANIFEST

* commit 'd6d411f0af5ab74558f7425840d8d14c898738f3':
  Description:      Added         + ./c++/src/H5LaccProp.cpp 	+ ./c++/src/H5LaccProp.h
2017-01-05 20:57:36 -06:00
Binh-Minh Ribler
d6d411f0af Description:
Added
        + ./c++/src/H5LaccProp.cpp
	+ ./c++/src/H5LaccProp.h
2017-01-05 15:42:26 -06:00
Allen Byrne
0f9c6ce80e Merge pull request #237 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'b3c2354a1b1a26307082c5295b83248b7dd234c1':
  Corrected return calls from main()
  Corrected return calls
  Fix valgrind memory leak
  Clean up valgrind memory leak
2017-01-05 12:22:06 -06:00
Allen Byrne
b3c2354a1b Corrected return calls from main() 2017-01-05 12:01:45 -06:00
Allen Byrne
cdda9c0a6a Corrected return calls 2017-01-05 12:01:10 -06:00
Dana Robinson
25e83ac23a Merge pull request #236 in HDFFV/hdf5 from develop_merge_cache_image_04 to develop
Merged file shutdown changes from cache_image.

* commit '49fa0e8dbabe5019b1491845a963d8cfe41b59c1':
  Bring file shutdown code from cache image branch
  Merge code from cache image branch to split FSM ring into two types: raw data and metadata.  Also, some more ring reset safeties and minor code cleanups.
  Align w/incoming cache image changes, and improve recovery on errors.
  Revert accidental changes to freespace open and close routines.
  Remove 'const' from cache client pre_serialize callback, to reduce warnings, and correspondingly remove 'const' from some internal routines.  Also rename some H5MF* routines to reflect their static/package usage.
  Align with incoming cache_image branch changes: use the index list (instead of the hash buckets) for scanning the entries during a flush, and also add in counters for tracking operations during cache flushes.
2017-01-05 09:59:44 -06:00
Allen Byrne
e16bfa859c Fix valgrind memory leak 2017-01-05 09:02:13 -06:00
Allen Byrne
c507554935 Clean up valgrind memory leak 2017-01-05 08:58:58 -06:00
Quincey Koziol
49fa0e8dba Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_04 2017-01-04 21:37:02 -08:00
Quincey Koziol
afd7e5b476 Bring file shutdown code from cache image branch 2017-01-04 21:36:14 -08:00
Binh-Minh Ribler
5a55331bed Merge pull request #232 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Added subclass LinkAccPropList, exception ObjHeaderIException, and members H5Location::exists() and H5Object::objVersion().  This concluded HDFFV-10004.

* commit '7aff4266f85f850ee8d4ce25e8ceaa354ee3baee':
  Description:     Added H5LaccProp.[h,cpp].
  Removed commented section left in by mistake.
  Purpose: Add more tests Description:     Added more tests for the new constructors that replaced openXxxType() Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Purpose: Add new wrappers Description:     Added wrappers H5Location::exists() for H5Lexists.     Added wrapper H5Object::objVersion() to return the header version         of an HDF5 object.     Added new class LinkAccPropList to be used by H5Location::exists()     Added new exception: ObjHeaderIException for H5Object::objVersion()     Rearranged source files in Makefile.am Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2017-01-04 22:07:07 -06:00
Quincey Koziol
6232dd6d62 Merge code from cache image branch to split FSM ring into two types: raw data
and metadata.  Also, some more ring reset safeties and minor code cleanups.
2017-01-04 09:20:01 -08:00
Quincey Koziol
15f474ee0d Align w/incoming cache image changes, and improve recovery on errors. 2017-01-04 08:11:44 -08:00
Binh-Minh Ribler
7aff4266f8 Description:
Added H5LaccProp.[h,cpp].
2017-01-03 22:17:49 -06:00
Quincey Koziol
363c140661 Revert accidental changes to freespace open and close routines. 2017-01-03 08:34:33 -08:00
Quincey Koziol
e73a32b852 Remove 'const' from cache client pre_serialize callback, to reduce warnings,
and correspondingly remove 'const' from some internal routines.  Also rename
some H5MF* routines to reflect their static/package usage.
2017-01-03 08:28:05 -08:00
Binh-Minh Ribler
64084aa6da Removed commented section left in by mistake. 2017-01-03 08:57:20 -06:00
Binh-Minh Ribler
565aa10d8d Purpose: Add more tests
Description:
    Added more tests for the new constructors that replaced openXxxType()
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-01-03 07:53:54 -06:00
Quincey Koziol
edd3ff3098 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/hdffv/hdf5 into develop_merge_cache_image_04 2017-01-02 12:09:34 -08:00
Quincey Koziol
ce3877d298 Align with incoming cache_image branch changes: use the index list (instead of
the hash buckets) for scanning the entries during a flush, and also add in
counters for tracking operations during cache flushes.
2017-01-02 12:06:08 -08:00
Dana Robinson
969586deea Merge pull request #231 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Fix production mode cache macro.

* commit '54629912ebf3aa7feb454502fce659b61f038671':
  Fixed a macro in H5Cpkg.h that was only updated in the version that is used in develop/debug mode.
2017-01-02 11:24:14 -06:00
Dana Robinson
54629912eb Fixed a macro in H5Cpkg.h that was only updated in the version that
is used in develop/debug mode.
2017-01-01 23:30:48 -05:00
Dana Robinson
105b6f0f65 Merge pull request #227 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:flush_vfd_fix to develop
flush1/2 fix w/ non-SWMR VFDs + code overhaul

* commit 'fcb7e204b568efb785f47153172147b83da5418a':
  Updated the flush1/2 test to not be a mess and to handle non-SWMR-enabled VFDs.
2016-12-31 07:20:09 -06:00
Larry Knox
baaf735015 Merge pull request #216 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'c2492712037dcf7353601410cb4a83776de92441':
  AM_MAINTAINER_MODE should be set to "disable" for releases. Check to see if it's enabled, and if it is, call switch_maint_mode -disable before creating release files, then set it back to enable afterward.
2016-12-30 13:56:24 -06:00
Dana Robinson
fcb7e204b5 Updated the flush1/2 test to not be a mess and to handle
non-SWMR-enabled VFDs.
2016-12-30 14:41:37 -05:00
Dana Robinson
3908d10f93 Merge pull request #226 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:flush_vfd_fix to develop
Added a missing "vfd check" test file for use in scripts (should have been brought from revise_chunks).

* commit 'e41a15b7f07dc39b7d68f4635965d0b8b440d299':
  Added a missing test file needed for the flushrefresh script.
2016-12-30 10:37:58 -06:00
Dana Robinson
e41a15b7f0 Added a missing test file needed for the flushrefresh script. 2016-12-30 10:06:07 -05:00
Dana Robinson
8215920678 Merge pull request #225 in HDFFV/hdf5 from develop_merge_cache_image_03 to develop
Merged incoming changes from cache_image.

* commit '0610c41c75920b145a144e62df142977b605fc97':
  Bring support for doubly-linked list of all entries in cache from incoming cache image branch.
  Align with name change of "user" ring in incoming cache image changes.
  Refactor several cache clients to have only one copy of their deserialization code.
2016-12-30 07:44:15 -06:00
Quincey Koziol
0610c41c75 Bring support for doubly-linked list of all entries in cache from incoming
cache image branch.
2016-12-30 02:22:48 -08:00
Quincey Koziol
e500f2d3da Align with name change of "user" ring in incoming cache image changes. 2016-12-30 02:22:00 -08:00
Quincey Koziol
eecc0a26ef Refactor several cache clients to have only one copy of their deserialization
code.
2016-12-30 00:50:05 -08:00
Dana Robinson
5e26cd2d82 Merge pull request #223 in HDFFV/hdf5 from develop_merge_cache_image_02 to develop
Merged normalizations w/ cache_image branch.

* commit 'da2f1610d1f2cba40770aee6d0d6fbc8196645ae':
  More normalizations against incoming cache image branch.
2016-12-29 09:43:39 -06:00
Dana Robinson
890e1f3263 Merge pull request #200 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:name_macros to develop
Merged naming check improvement in function enter macros.

* commit '441c8ea43ab6a6559d1f167bdfbbaf3720621804':
  Added text to the function check macros so that a more helpful error message is emitted when there is a problem.
2016-12-29 09:42:49 -06:00
Dana Robinson
affa32b149 Merge pull request #222 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Odtype_tidy to develop
H5Odtype tidy.

* commit 'a25a08dff04c4ba03f28e8219a2ea782cf33d466':
  Cleaned up H5Odtype.c
2016-12-29 05:57:48 -06:00
Quincey Koziol
da2f1610d1 More normalizations against incoming cache image branch. 2016-12-29 02:40:26 -08:00
Dana Robinson
a25a08dff0 Cleaned up H5Odtype.c 2016-12-29 03:05:39 -05:00
Allen Byrne
6a8222b6a5 Merge pull request #221 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
Buildbot tests passed

* commit '69f975f56792acb9c7a4a8109c43081045b0eafe':
  hdf5 lib needed for extend_dset link.
  Add test lib to extend_dset test link line
  Add hl test dir and test dlib
  Fix h5test.h include issue
2016-12-28 16:30:00 -06:00
Allen Byrne
69f975f567 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'fc8fb398ef9b3edb4f5d82526703b8e518f4744c':
  Normalize against incoming cache image feature.
2016-12-28 16:01:25 -06:00
Quincey Koziol
fc8fb398ef Merge pull request #220 in HDFFV/hdf5 from develop_merge_cache_image to develop
* commit '9e6a5a5f2cd2b3a432f713d8af49c853debafef2':
  Normalize against incoming cache image feature.
2016-12-28 15:47:46 -06:00
Allen Byrne
508714805a hdf5 lib needed for extend_dset link. 2016-12-28 15:31:58 -06:00
Allen Byrne
518a94dd0f Add test lib to extend_dset test link line 2016-12-28 15:20:09 -06:00
Allen Byrne
9b0f236d8c Add hl test dir and test dlib 2016-12-28 15:09:57 -06:00
Allen Byrne
27feb0357f Fix h5test.h include issue 2016-12-28 15:03:17 -06:00
Quincey Koziol
9e6a5a5f2c Normalize against incoming cache image feature. 2016-12-28 11:36:32 -08:00
Binh-Minh Ribler
cd3bd5576f Purpose: Add new wrappers
Description:
    Added wrappers H5Location::exists() for H5Lexists.
    Added wrapper H5Object::objVersion() to return the header version
        of an HDF5 object.
    Added new class LinkAccPropList to be used by H5Location::exists()
    Added new exception: ObjHeaderIException for H5Object::objVersion()
    Rearranged source files in Makefile.am
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-12-28 08:44:01 -06:00
Binh-Minh Ribler
b00962ac86 Merge pull request #209 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
- Replacing openXxxType with individual type constructors
- Put back CommonFG
- Removed overloaded constructors that take an Attribute where there is one that takes an H5Location

* commit 'e05da1b533d5eb9527a5b67ba2683379f8e1e7ac':
  Description:     Removed commented out code and fixed miscellaneous typos. Platforms tested:     Linux/32 2.6 (jam) (very minor)
  Purpose: Improvement for HDFFV-10004 Description:     When adding wrappers for H5Lexists, a new class, LinkAccPropList, was     added to the C++ API, triggered complicated circular dependencies.  Thus,     some improvement was made to resolve the problems.     - Replaced existing functions openXxxType with individual type constructors       + Added individual XxxType constructors to replace the existing functions         openXxxType because it's rather awkward to use these functions.       + Moved openXxxType from H5Location back to CommonFG       + Put back CommonFG as a baseclass of Group for openXxxType functions.       + This replacement should improve usability and prevent the problem of         circular dependencies.     - Removed overloaded constructor that takes an Attribute when there is         already one that takes H5Location because Attribute inherits from         H5Location now. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)     Linux/64 (platypus)
2016-12-26 21:53:47 -06:00
lrknox
c249271203 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2016-12-23 14:05:04 -06:00
lrknox
a659d6ed5a AM_MAINTAINER_MODE should be set to "disable" for releases. Check to
see if it's enabled, and if it is, call switch_maint_mode -disable
before creating release files, then set it back to enable afterward.
2016-12-23 13:54:05 -06:00
Binh-Minh Ribler
e05da1b533 Description:
Removed commented out code and fixed miscellaneous typos.
Platforms tested:
    Linux/32 2.6 (jam) (very minor)
2016-12-23 13:24:45 -06:00
Allen Byrne
96c2828793 Merge pull request #210 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'a5e31139832075774a96d3f6dc23f31250f76c8b':
  HDFFV-10053: add check for zlib support before running test
  Revert "Load plugins into vitual process space"
  Load plugins into vitual process space
2016-12-21 14:46:30 -06:00
Larry Knox
02a1710935 Merge pull request #213 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '3897c4321d48d7eb4d8a6d865363201a927388f8':
  Add --docver option to relesae on develop branch.
2016-12-21 11:16:51 -06:00
Larry Knox
3897c4321d Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '4cca93fcf9ddfbe06bb81b54a71a2ef723f94bf3':
  Bring new/updated tests from revise+chunks branch: flush1/flush2 update and flushrefresh test.  (Also refactor of message send / wait code)
  Merge SWMR-related testing to existing tests.
  Bring over tweak for missing environment variable.
  Update CMake configuration files with SWMR accumulator changes.
  Add missing accumulator test.
  Merge SWMR-oriented accumulator tests from revise_chunks to develop.
  Bring Java SWMR changes from revise_chunks to develop branch
2016-12-21 11:15:08 -06:00
Allen Byrne
a5e3113983 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit '4cca93fcf9ddfbe06bb81b54a71a2ef723f94bf3':
  Bring new/updated tests from revise+chunks branch: flush1/flush2 update and flushrefresh test.  (Also refactor of message send / wait code)
  Merge SWMR-related testing to existing tests.
  Bring over tweak for missing environment variable.
  Update CMake configuration files with SWMR accumulator changes.
  Add missing accumulator test.
  Merge SWMR-oriented accumulator tests from revise_chunks to develop.
  Bring Java SWMR changes from revise_chunks to develop branch
  Snapshot version 1.9 release 235
2016-12-21 10:08:07 -06:00
Quincey Koziol
4cca93fcf9 Merge pull request #212 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_06 to develop
* commit 'eefddf281366e8327dd7397db4a2f2e7edabcf17':
  Bring new/updated tests from revise+chunks branch: flush1/flush2 update and flushrefresh test.  (Also refactor of message send / wait code)
2016-12-19 23:31:45 -06:00
Quincey Koziol
eefddf2813 Bring new/updated tests from revise+chunks branch: flush1/flush2 update and
flushrefresh test.  (Also refactor of message send / wait code)
2016-12-19 20:44:54 -08:00
Frank Willmore
d0a7400a34 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'ab3963b28e59419f8e857ec224dd4efa3ea6dd8e': (214 commits)
  Merge SWMR-related testing to existing tests.
  Bring over tweak for missing environment variable.
  Update CMake configuration files with SWMR accumulator changes.
  Add missing accumulator test.
  Merge SWMR-oriented accumulator tests from revise_chunks to develop.
  Bring Java SWMR changes from revise_chunks to develop branch
  Snapshot version 1.9 release 235
  Change dlopen from RTLD_NOW to RTLD_LAZY
  Fix bad implementation of Windows nanosleep equivalent.
  Removed NDEBUG guards from H5AC test functions.
  Bring SWMR-related tools changes from revise_chunks to develop.
  Bring over changes from revise_chunks that cleanup recent SWMR changes from code review feedback.
  Updated the H5FS cache code to grab the correct tag and modified the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors.
  Updated the comment for the valgrind fix.
  Fixed a valgrind problem in file shutdown exposed by the swmr.c test.
  Reduce timeout as normal run time on windows is less then 10 min
  Updated the icc flags (C flags only).
  Another Java oversight (sorry, don't have Java configured on my Mac)
  Correct oversight in Java test and remove direct VFD from SWMR supported drivers.
  Bring SWMR support in to the main development branch.  (Finally!)  More tests and the tool and API wrappers will be coming in over the weekend.
  ...
2016-12-19 12:09:38 -06:00
Binh-Minh Ribler
cc06c9702b Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_cpp into develop 2016-12-19 00:44:07 -06:00
Binh-Minh Ribler
798cdad29a Purpose: Improvement for HDFFV-10004
Description:
    When adding wrappers for H5Lexists, a new class, LinkAccPropList, was
    added to the C++ API, triggered complicated circular dependencies.  Thus,
    some improvement was made to resolve the problems.
    - Replaced existing functions openXxxType with individual type constructors
      + Added individual XxxType constructors to replace the existing functions
        openXxxType because it's rather awkward to use these functions.
      + Moved openXxxType from H5Location back to CommonFG
      + Put back CommonFG as a baseclass of Group for openXxxType functions.
      + This replacement should improve usability and prevent the problem of
        circular dependencies.
    - Removed overloaded constructor that takes an Attribute when there is
        already one that takes H5Location because Attribute inherits from
        H5Location now.
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
    Linux/64 (platypus)
2016-12-19 00:34:18 -06:00
Quincey Koziol
ab3963b28e Merge pull request #207 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_06 to develop
* commit 'f8cfbee05e26a815134cd1f1fb0ad87d8d9b16dd':
  Merge SWMR-related testing to existing tests.
  Bring over tweak for missing environment variable.
  Update CMake configuration files with SWMR accumulator changes.
  Add missing accumulator test.
  Merge SWMR-oriented accumulator tests from revise_chunks to develop.
2016-12-18 14:17:02 -06:00
Quincey Koziol
7f51c8862e Merge pull request #206 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_05 to develop
* commit 'fc69eeb9919a0974dcefb3bbc1de6da429e98509':
  Bring Java SWMR changes from revise_chunks to develop branch
2016-12-18 14:16:31 -06:00
Quincey Koziol
f8cfbee05e Merge SWMR-related testing to existing tests. 2016-12-18 02:19:26 -08:00
Quincey Koziol
fc482f126f Bring over tweak for missing environment variable. 2016-12-18 00:59:36 -08:00
Quincey Koziol
104253575d Update CMake configuration files with SWMR accumulator changes. 2016-12-18 00:58:46 -08:00
Quincey Koziol
f01ee3c004 Add missing accumulator test. 2016-12-18 00:42:15 -08:00
Quincey Koziol
b772be716d Merge SWMR-oriented accumulator tests from revise_chunks to develop. 2016-12-18 00:41:13 -08:00
Quincey Koziol
fc69eeb991 Bring Java SWMR changes from revise_chunks to develop branch 2016-12-17 22:21:48 -08:00
lrknox
8abd022971 Add --docver option to relesae on develop branch. 2016-12-16 17:04:56 -06:00
Larry Knox
700c6ae985 Merge pull request #205 in HDFFV/hdf5 from ~HDFTEST/hdf5_hft:develop to develop
* commit 'e0b353b6f5a9c80ffe7a1f82cee6a15c13d25692':
  Snapshot version 1.9 release 235
2016-12-16 16:31:21 -06:00
hdftest
e0b353b6f5 Snapshot version 1.9 release 235 2016-12-16 15:23:58 -06:00
Allen Byrne
7f3b32385c HDFFV-10053: add check for zlib support before running test 2016-12-16 10:41:20 -06:00
Allen Byrne
f45cd3aec4 Revert "Load plugins into vitual process space"
This reverts commit 01560c9e48.
2016-12-14 17:00:07 -06:00
Allen Byrne
01560c9e48 Load plugins into vitual process space 2016-12-14 15:59:53 -06:00
Allen Byrne
15b9ba46c0 Merge pull request #201 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ae59766fc981ff64236e461cebe3f193c7fd6a51':
  Change dlopen from RTLD_NOW to RTLD_LAZY
2016-12-13 10:00:11 -06:00
Dana Robinson
441c8ea43a Added text to the function check macros so that a more helpful
error message is emitted when there is a problem.
2016-12-12 18:25:34 -05:00
Allen Byrne
ae59766fc9 Change dlopen from RTLD_NOW to RTLD_LAZY 2016-12-12 17:08:01 -06:00
Dana Robinson
00925c7ecf Merge pull request #199 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:windows_nanosleep_fix to develop
Fixed bad implementation of Windows nanosleep equivalent.

* commit '651c2f30304ed9b8e9470039e46279635356a3cc':
  Fix bad implementation of Windows nanosleep equivalent.
2016-12-12 14:06:54 -06:00
Dana Robinson
651c2f3030 Fix bad implementation of Windows nanosleep equivalent. 2016-12-12 14:16:07 -05:00
Quincey Koziol
1bdf8fe8f7 Merge pull request #195 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_04 to develop
* commit '57afb68e465d8a0bc521a68c96c6d67db358e482':
  Bring SWMR-related tools changes from revise_chunks to develop.
2016-12-12 09:25:25 -06:00
Quincey Koziol
46754fec41 Merge pull request #194 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_03 to develop
* commit 'feb9d1f6761b541a388100d04ec56a9b88a7e462':
  Bring over changes from revise_chunks that cleanup recent SWMR changes from code review feedback.
2016-12-12 09:24:42 -06:00
Dana Robinson
399883ad54 Merge pull request #196 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:cache_tagging_dump_fix to develop
Removed NDEBUG guards from H5AC debug functions.

* commit '652e02db4ee67fb5546050078487fca5794d8f39':
  Removed NDEBUG guards from H5AC test functions.
2016-12-12 08:57:26 -06:00
Dana Robinson
652e02db4e Removed NDEBUG guards from H5AC test functions.
H5AC_dump_cache() is now used in test/cache_tagging.c and the
underlying H5C functions are not protected by NDEBUG guards.
2016-12-11 14:46:32 -05:00
Quincey Koziol
57afb68e46 Bring SWMR-related tools changes from revise_chunks to develop. 2016-12-11 11:25:08 -08:00
Quincey Koziol
feb9d1f676 Bring over changes from revise_chunks that cleanup recent SWMR changes from
code review feedback.
2016-12-11 00:28:05 -08:00
Dana Robinson
cc6eb939f4 Merge pull request #191 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_h5fs_fix to develop
Final fix for evict-on-close issues with new-style groups.

* commit '02879bc4b2ba161dc259bf28a71e7a99b44be0e3':
  Updated the H5FS cache code to grab the correct tag and modified the freespace test to use dxpls that have been tagged with the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id. The library code now expects the owner of the free space manager to tag it so the owner-less free space managers in the freespace tag had to be tagged with *something* to avoid cache errors.
  Changed the name of H5MF_alloc_close() to H5MF__alloc_close() to make the FUNC_ENTER macro happy.
  Reverted the freespace test. The TAG macros in H5MF_get_freespace() make the changes unnecessary.
  Added missing TAG macros to H5MF_get_freespace().
  Updated the freespace test so functions take a common, tagged dxpl so the test will work with the new H5FS tag changes.
  Updated the cache_tagging test so it correctly analyzes the new fractal heap free space manager behavior.
  Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG gets set on the dxpl correctly. Also restored the TAG macro to H5FS__cache_hdr_pre_serialize() since otherwise the tag won't be initialized.
  First cut at fixing the tagging issue with the free space managers. * Converted the tag macros to regular ones so the parent's tag   is used via the dxpl.
2016-12-10 08:09:40 -06:00
Dana Robinson
02879bc4b2 Updated the H5FS cache code to grab the correct tag and modified
the freespace test to use dxpls that have been tagged with
the H5AC__FREESPACE_TAG global tag instead of H5AC_ind_read_dxpl_id.
The library code now expects the owner of the free space manager
to tag it so the owner-less free space managers in the freespace
tag had to be tagged with *something* to avoid cache errors.
2016-12-07 21:16:12 -05:00
Dana Robinson
16a5c7c8f3 Merge branch 'develop' into eoc_h5fs_fix 2016-12-07 17:21:07 -05:00
Dana Robinson
122819fec3 Merge pull request #48 in HDFFV/hdf5 from HDFFV-9407-h5dump-fails-to-print-full-precision to develop
Merged Kimmy's fix (still needs a test).

* commit 'f76c3b56e1ccf81b16225fa6935adb45ac6d2f38':
  fix the issue of h5dump fails to print full precision
2016-12-07 16:17:45 -06:00
Dana Robinson
4977ff4c76 Merge pull request #189 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:more_valgrind to develop
Fixed valgrind issues in H5F_open() exposed by swmr.c.

* commit '0f2f51bb7bdac91ba670bd810bab687594a60251':
  Updated the comment for the valgrind fix.
  Fixed a valgrind problem in file shutdown exposed by the swmr.c test.
2016-12-07 14:30:48 -06:00
Dana Robinson
0f2f51bb7b Updated the comment for the valgrind fix. 2016-12-06 19:44:18 -05:00
Dana Robinson
a366c0a492 Fixed a valgrind problem in file shutdown exposed by the swmr.c test. 2016-12-06 19:03:00 -05:00
Allen Byrne
c2c10a6f19 Merge pull request #188 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'fa6488d78548f2c9036008aa9b3df91abf3630eb':
  Reduce timeout as normal run time on windows is less then 10 min
2016-12-06 14:19:32 -06:00
Allen Byrne
fa6488d785 Reduce timeout as normal run time on windows is less then 10 min 2016-12-05 09:40:57 -06:00
Dana Robinson
feaaae4897 Merge pull request #186 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:icc_config_fixes to develop
Cleaned up the Intel compiler flags (Autotools).

* commit '1c5029f21b51977d26b26fd3540065f36d97c683':
  Updated the icc flags (C flags only).
2016-12-03 00:26:50 -06:00
derobins
1c5029f21b Updated the icc flags (C flags only). 2016-12-02 17:38:55 -06:00
Allen Byrne
61f8952ebb Merge pull request #181 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '53d3a619f8a076cb1d0ba9cbc207fc07a6fcc5d8':
  Change examples to match junit test
  Add missing character
  Change where test copies libs because of osx1011 SIP
2016-12-02 15:14:24 -06:00
Quincey Koziol
a8f85b73f9 Merge pull request #185 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_03 to develop
* commit '527f28333cb2ec5b247ec348cf6970e0d114891b':
  Another Java oversight (sorry, don't have Java configured on my Mac)
2016-12-02 15:02:38 -06:00
Quincey Koziol
527f28333c Another Java oversight (sorry, don't have Java configured on my Mac) 2016-12-02 12:46:42 -08:00
Dana Robinson
2990a638d2 Merge pull request #184 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge_02 to develop
Merged minor fixes from revise_chunks.

* commit 'e1026bd354443ae9c4e0cf197feb7191920c9f13':
  Correct oversight in Java test and remove direct VFD from SWMR supported drivers.
2016-12-02 14:25:14 -06:00
Quincey Koziol
e1026bd354 Correct oversight in Java test and remove direct VFD from SWMR supported
drivers.
2016-12-02 11:36:27 -08:00
Dana Robinson
a0d3801251 Merge pull request #183 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_swmr_merge to develop
Merged the final library SWMR changes from revise_chunks.

* commit '15e04901a0cea65b2b0fa3ca869341a2b656bfdf':
  Bring SWMR support in to the main development branch.  (Finally!)  More tests and the tool and API wrappers will be coming in over the weekend.
  Add some Java methods that were missed earlier.
  Minor normalization cleanups.
2016-12-02 11:37:03 -06:00
Quincey Koziol
15e04901a0 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_swmr_merge 2016-12-02 08:08:49 -08:00
Quincey Koziol
64a339183f Bring SWMR support in to the main development branch. (Finally!) More tests
and the tool and API wrappers will be coming in over the weekend.
2016-12-02 08:07:04 -08:00
Dana Robinson
59b730424a Merge pull request #182 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:vs2012_round to develop
Merged fix for missing VS2012 round commands.

* commit '488f19a9cbd2e89e83847a628e59f57f4293fed0':
  Fixed a comment.
  Added Windows-only versions of the round() functions, which do not exist in VS2012 and earlier.
2016-12-02 09:55:27 -06:00
derobins
488f19a9cb Fixed a comment. 2016-12-02 01:00:45 -05:00
derobins
0c5f56a865 Added Windows-only versions of the round() functions, which do not
exist in VS2012 and earlier.

Tested on: 32-bit Windows 7 w/ VS2012 Pro
2016-12-02 00:51:07 -05:00
Allen Byrne
53d3a619f8 Change examples to match junit test 2016-12-01 15:59:03 -06:00
Allen Byrne
7a5eea36a5 Add missing character 2016-12-01 15:34:25 -06:00
Allen Byrne
b990f5b2f7 Change where test copies libs because of osx1011 SIP 2016-12-01 15:12:33 -06:00
Quincey Koziol
5d7d029b97 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_swmr_merge 2016-12-01 01:41:13 -08:00
Quincey Koziol
65be68a17d Add some Java methods that were missed earlier. 2016-11-30 15:12:35 -08:00
Quincey Koziol
5922bbb45f Minor normalization cleanups. 2016-11-30 14:41:31 -08:00
Dana Robinson
f3dfc133cc Changed the name of H5MF_alloc_close() to H5MF__alloc_close()
to make the FUNC_ENTER macro happy.
2016-11-30 03:51:28 -05:00
Dana Robinson
3186fd93dc Reverted the freespace test. The TAG macros in H5MF_get_freespace()
make the changes unnecessary.
2016-11-30 03:26:34 -05:00
Dana Robinson
1093e7a1f7 Added missing TAG macros to H5MF_get_freespace(). 2016-11-30 03:25:09 -05:00
Dana Robinson
6744963c61 Updated the freespace test so functions take a common, tagged
dxpl so the test will work with the new H5FS tag changes.
2016-11-30 02:38:34 -05:00
Dana Robinson
916eaa4ab8 Updated the cache_tagging test so it correctly analyzes
the new fractal heap free space manager behavior.

Also converted the debug output of the cache_tagging
test to use the revised H5AC_dump_cache() function.
2016-11-30 02:20:09 -05:00
Dana Robinson
f4a74462f2 Added TAG macros to the H5MF package code so H5AC__FREESPACE_TAG
gets set on the dxpl correctly. Also restored the TAG macro
to H5FS__cache_hdr_pre_serialize() since otherwise the tag
won't be initialized.
2016-11-30 01:37:52 -05:00
Dana Robinson
a046ac31d2 First cut at fixing the tagging issue with the free space managers.
* Converted the tag macros to regular ones so the parent's tag
  is used via the dxpl.

* Updated the tag sanity check logic so for free space managers.

* Turned new-style group checks back on in test/evict_on_close.c
2016-11-29 23:53:52 -05:00
Dana Robinson
63bcd73f1f Merge pull request #179 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Fix for some evict-on-close issues revealed by Valgrind.

* commit 'd3dbe9d90ee71b231b3264e1d62d3efbae3242ef':
  Tentative fix for valgrind issues related to EoC.
2016-11-29 20:22:47 -06:00
Dana Robinson
d3dbe9d90e Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-29 15:06:37 -05:00
Dana Robinson
28fdd9e963 Merge pull request #178 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:expanded_eoc_test to develop
Updated the evict-on-close test to better exercise groups.

* commit '30bd7247d80f08aee4fc7038df86c43258344de8':
  Updated the evict-on-close test to create a large number of subgroups in a containing group. This will ensure that many cache entries will be used, making a better test of EoC functionality.
2016-11-29 13:36:08 -06:00
Dana Robinson
30bd7247d8 Merge branch 'develop' into expanded_eoc_test 2016-11-29 12:52:46 -05:00
Quincey Koziol
3d2beeec1f Merge pull request #177 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_10 to develop
* commit 'b092dbcdfdfc7477596ae49f816f18e0dadf0fb1':
  Bring over another batch (hopefully the last) of non-SWMR "normalization" changes from the revise_chunks branch.
2016-11-29 02:41:01 -06:00
Quincey Koziol
b092dbcdfd Bring over another batch (hopefully the last) of non-SWMR "normalization"
changes from the revise_chunks branch.
2016-11-28 16:34:36 -08:00
Dana Robinson
8fd8115715 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:33:08 -05:00
Dana Robinson
a6ab26c74b Merge pull request #175 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:new_H5AC_dump_cache to develop
Updated H5AC_dump_cache() to emit more information.

* commit '7a8c7c6063e328fdac28aa3f77ead4bdc91860e5':
  Updated the cache dump to use the stored type name instead of the (redundant) array of names I previously created.
  Updated the format of H5AC/C_dump_cache() to include more information and be easier to read.
2016-11-28 12:19:23 -06:00
Dana Robinson
978e83fb5b Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-28 13:01:10 -05:00
Dana Robinson
7a8c7c6063 Updated the cache dump to use the stored type name instead
of the (redundant) array of names I previously created.
2016-11-28 12:47:59 -05:00
Quincey Koziol
1921f7f4ad Merge pull request #176 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '2cb2d5a533c2de7503014da3250c3088e1ba089d':
  Remove "collective write list" parameter from H5C__flush_single_entry() as it is only used in a couple of places.  The collective write list has been moved to be internal to the cache data structure instead.
  Eliminate unnecessary data structure for parallel collective metadata cache I/O
2016-11-28 10:30:46 -06:00
Dana Robinson
4ddc4a602f Merge pull request #171 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix to develop
Fix for tfile.c valgrind issues.

* commit '191cc19ae0a2feb72d2171a0808fdc71a3b862dd':
  Added vlen reclaim functions to a test in tfile.c that leaks memory.
2016-11-28 09:37:23 -06:00
Dana Robinson
4ab127aa9c Merge pull request #173 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:gitignore to develop
Updated .gitignore to be more manageable and future-proof.

* commit '1aa2373b2e1a651bec507dcb14a89b51815a972c':
  Simplified .gitignore by using patterns.
  Added src/H5config.h.in~ to .gitignore.
2016-11-28 07:44:15 -06:00
Quincey Koziol
2cb2d5a533 Remove "collective write list" parameter from H5C__flush_single_entry() as it
is only used in a couple of places.  The collective write list has been moved
to be internal to the cache data structure instead.
2016-11-28 01:26:33 -06:00
Dana Robinson
d79c73320e Updated the evict-on-close test to create a large number of subgroups
in a containing group. This will ensure that many cache entries will
be used, making a better test of EoC functionality.
2016-11-27 23:42:08 -05:00
Dana Robinson
1a0de8ebd8 Updated the format of H5AC/C_dump_cache() to include
more information and be easier to read.
2016-11-27 20:50:13 -05:00
Quincey Koziol
460b573a73 Eliminate unnecessary data structure for parallel collective metadata cache I/O 2016-11-27 19:00:12 -06:00
Dana Robinson
1aa2373b2e Simplified .gitignore by using patterns. 2016-11-27 16:05:03 -05:00
Dana Robinson
2c3d02e6e5 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-26 13:11:08 -05:00
Dana Robinson
a8d1aff235 Tentative fix for valgrind issues related to EoC.
Adds /*out*/ parameters to H5O_close() and H5F_try_close() so
that H5D/G_close() will know when H5O_close() has triggered a
file close and thus the file struct is not reliable.

Also removes the H5F_CLOSING() macro and related which were
formerly used to check if the file was closing.
2016-11-26 10:47:32 -05:00
Dana Robinson
c9bbc2f1cc Added src/H5config.h.in~ to .gitignore. 2016-11-25 21:09:45 -05:00
Quincey Koziol
61e0a035bc Merge pull request #172 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'ea4d18c3d9c3b6c77030abdf2f0509bc68224559':
  Remove unnecessary assert.
  Add a flag for H5C__flush_single_entry() to allow the parallel code to request that images for entries be generated, even when not writing the entry from an MPI rank.
2016-11-25 19:47:25 -06:00
Quincey Koziol
ea4d18c3d9 Remove unnecessary assert. 2016-11-25 17:18:52 -06:00
Quincey Koziol
98e9194d4f Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop 2016-11-25 16:08:34 -06:00
Quincey Koziol
1071d8bf73 Add a flag for H5C__flush_single_entry() to allow the parallel code to request
that images for entries be generated, even when not writing the entry from an
MPI rank.
2016-11-25 16:07:23 -06:00
Dana Robinson
191cc19ae0 Added vlen reclaim functions to a test in tfile.c
that leaks memory.
2016-11-23 16:45:47 -05:00
Dana Robinson
b0321f7e7d Merge pull request #170 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop_memfix to develop
Fixed a few memory issues in the tests.

* commit 'e2863ca880a6983558d3ba3e5219164a57287f04':
  Fixed a few memory problems in test/cache_logging.c and test/h5test.c (which show up in test/vfd.c).
2016-11-23 12:58:12 -06:00
Allen Byrne
4bb51bbbaa Merge pull request #168 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c2e60909e35d988e86d78b7c8bfc0d2d51c4e75f':
  Add test to memcheck ignore and increase cache test timeout
2016-11-23 09:16:22 -06:00
Dana Robinson
e2863ca880 Fixed a few memory problems in test/cache_logging.c and
test/h5test.c (which show up in test/vfd.c).
2016-11-22 20:55:03 -05:00
Allen Byrne
c2e60909e3 Add test to memcheck ignore and increase cache test timeout 2016-11-22 15:04:34 -06:00
Dana Robinson
fff898558e Merge pull request #167 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Applied the evict-on-close "check for file closing" change that was successful for groups to datasets.

* commit '88b6f2e24cafcfaffe7d99ab6c5afc2290ce93b4':
  Added the H5F_CLOSING() check that makes valgrind happy in the evict-on-close code in H5G_close() to H5D_close().
2016-11-22 08:54:47 -06:00
Dana Robinson
72ecaf0940 Merge branch 'develop' into eoc_valgrind_bugfix 2016-11-21 17:48:03 -05:00
Dana Robinson
88b6f2e24c Added the H5F_CLOSING() check that makes valgrind happy in
the evict-on-close code in H5G_close() to H5D_close().
2016-11-21 17:45:46 -05:00
Dana Robinson
a44d7b8754 Merge pull request #166 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_valgrind_bugfix to develop
Two minor evict-on-close changes:

* Fix for a valgrind-reported issue where invoking EoC behavior when the file is closing leads to garbage file data being passed to downstream calls. The solution is to ignore EoC when the file is closing anyway.

* Added brackets so an infinite loop that arises when evicting tagged entries (due to pinned entries preventing progress) raises an error instead.

* commit '4e7b19f8260a7adb0e3b3df30e2d8289fccdcca6':
  Two minor cache changes:
2016-11-21 12:28:48 -06:00
Quincey Koziol
cbd05409c5 Merge pull request #165 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_09 to develop
* commit '3b0c2b24da5689990c4bc0fcd3afecdf063086c8':
  Bring over support for retrying metadata cache entry loads, along with all the supporting metadata cache callback changes, etc.
2016-11-20 15:33:13 -06:00
Dana Robinson
4e7b19f826 Two minor cache changes:
* Evict-on-close behavior is now skipped when the file is closing.
  This fixes a potential issue discovered by Valgind on Windows
  where potentially garbage data would be availble for manipulation.

* Added brackets to some code in the tagged entry evict iterators
  so that the flag that determines if progress was made only gets
  set if things are actually evicted. This prevents an infinite
  loop (and emits an error) when pinned entries prevent eviction
  and thus progress.
2016-11-20 11:57:46 -05:00
Quincey Koziol
3b0c2b24da Bring over support for retrying metadata cache entry loads, along with all the
supporting metadata cache callback changes, etc.
2016-11-20 04:24:57 -08:00
Quincey Koziol
f6ad126673 Merge pull request #163 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_08 to develop
* commit 'eba0ff43c968ef9a0b09edf19c1e337cfcae0816':
  Remove 'clear' callback from metadata cache client interface, using the new 'entry cleaned' notify action innstead.
2016-11-17 21:03:43 -06:00
Quincey Koziol
eba0ff43c9 Remove 'clear' callback from metadata cache client interface, using the
new 'entry cleaned' notify action innstead.
2016-11-17 17:48:21 -08:00
Quincey Koziol
248a93cde8 Merge pull request #162 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_07 to develop
* commit 'be27e1ad79dfa0507f589b29d938b7e1020a5b2d':
  Remove explicit support within the metadata cache for tracked compressed entries, they are now completely handled in the clients.
2016-11-17 16:25:28 -06:00
Quincey Koziol
be27e1ad79 Remove explicit support within the metadata cache for tracked compressed
entries, they are now completely handled in the clients.
2016-11-17 12:58:04 -08:00
Allen Byrne
fe849d26cd Merge pull request #160 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '45d817af9ca4db92db0eba81e4c330380c26a41e':
  Repair comment chars to C style
2016-11-17 13:34:50 -06:00
Allen Byrne
45d817af9c Repair comment chars to C style 2016-11-17 09:28:18 -06:00
Binh-Minh Ribler
e10c0e7894 Merge pull request #158 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp:develop to develop
Removed the obsolete macros H5_NO_NAMESPACE and H5_NO_STD from the examples.

* commit '51ea7245dfdbda8311961ea4755c8d9c8ce99d76':
  Description:         Removed H5_NO_NAMESPACE from the examples.  They were missed from the         previous cleanup.     Platforms tested:         Linux/32 2.6 (jam)         Linux/64 (platypus)
2016-11-15 10:29:28 -06:00
Binh-Minh Ribler
51ea7245df Description:
Removed H5_NO_NAMESPACE from the examples.  They were missed from the
        previous cleanup.
    Platforms tested:
        Linux/32 2.6 (jam)
        Linux/64 (platypus)
2016-11-14 16:04:27 -06:00
Quincey Koziol
4c708cc78d Merge pull request #156 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_06 to develop
* commit 'd4591ff54d9319346f49a3bc67431f0fa26a8d65':
  Bring over new 'notify' metadata cache client callback actions for when an entry is cleaned / dirtied or its [flush dependency] child entry is cleaned / dirtied.
2016-11-12 19:44:57 -06:00
Quincey Koziol
d4591ff54d Bring over new 'notify' metadata cache client callback actions for when an
entry is cleaned / dirtied or its [flush dependency] child entry is cleaned /
dirtied.
2016-11-12 14:01:30 -08:00
Quincey Koziol
d183e9a1a2 Merge pull request #155 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_05 to develop
* commit '1c6924f18bd8fdad63c4f191c00605092c17fa6e':
  Refactor H5O code to clean up message allocation, align cache deserialize code with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 13:01:58 -06:00
Quincey Koziol
99f123098e Merge pull request #154 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_04 to develop
* commit '80ac4343cdf0640b114b846db87c091c6e7c66a6':
  Align w/minor cleanups in revise_chunks branch.
2016-11-12 13:01:32 -06:00
Quincey Koziol
1c6924f18b Refactor H5O code to clean up message allocation, align cache deserialize code
with revise_chunks changes, and remove unused "message locking" code.
2016-11-12 01:05:47 -08:00
Quincey Koziol
80ac4343cd Align w/minor cleanups in revise_chunks branch. 2016-11-11 23:14:58 -08:00
Quincey Koziol
70938cbf28 Merge pull request #151 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '31ffc1e72687b4d27602a044565bde6b1e9d803f':
  Clean up cache code to eliminate dead-ends and unify code.
2016-11-11 17:13:03 -06:00
Dana Robinson
0c542a5b12 Merge pull request #152 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Moved Win32 variables in log VFD to top of function like in revise_chunks.

* commit 'be0dfa3e22bcd1454215e2a348756bf21e749044':
  Moved Win32 variables to top of function in H5FDlog.c.
2016-11-11 16:26:48 -06:00
derobins
be0dfa3e22 Moved Win32 variables to top of function in H5FDlog.c. 2016-11-11 14:16:24 -05:00
Dana Robinson
dd4f4e6f76 Merge pull request #144 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:restore_script_dev to develop
Added autogen "undo" script to bin/

* commit '57a8bb60811b6d788d586836674ab8ea779131d3':
  Adds a script to undo the action of autogen.sh. Useful when git complains about Makefile.in clobbers, etc.
2016-11-10 15:03:36 -06:00
Quincey Koziol
31ffc1e726 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~koziol/hdf5 into develop_merge_revise_chunks_03 2016-11-10 12:50:11 -08:00
Quincey Koziol
492eae3995 Clean up cache code to eliminate dead-ends and unify code. 2016-11-10 12:49:22 -08:00
Allen Byrne
09f70066db Merge pull request #148 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e40faaa8fbc8490af626dd9da3ff741284327e65':
  Update installdir format for windows
  Correct name of list
  Factor out path
  On windows there could be a conflict when two processes try to read the same file
2016-11-10 12:22:56 -06:00
Allen Byrne
e40faaa8fb Update installdir format for windows 2016-11-10 12:22:11 -06:00
Allen Byrne
17ea6aac20 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'ea55d4192e14411e3c67facac57bb547b6fc3402':
  Added subdir-objects to AM_INIT_AUTOMAKE. Quiets automake warnings about forward-compatibility after tools split.
2016-11-10 09:24:58 -06:00
Dana Robinson
ea55d4192e Merge pull request #147 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:subdir-objects to develop
Adds subdir-objects to AM_INIT_AUTOMAKE to quiet forward-compatibility warnings from automake after the tools directory rework.

* commit 'a203f2369af79f4b2b838ab457d81749456c2a4b':
  Added subdir-objects to AM_INIT_AUTOMAKE. Quiets automake warnings about forward-compatibility after tools split.
2016-11-10 09:05:57 -06:00
Dana Robinson
a203f2369a Added subdir-objects to AM_INIT_AUTOMAKE. Quiets automake warnings
about forward-compatibility after tools split.
2016-11-10 02:00:58 -05:00
Allen Byrne
94f09655cb Correct name of list 2016-11-09 12:39:22 -06:00
Allen Byrne
a2e6cb3c82 Factor out path 2016-11-09 11:55:28 -06:00
Allen Byrne
f9674dfe4e On windows there could be a conflict when two processes try to read the
same file
2016-11-09 10:37:04 -06:00
Dana Robinson
57a8bb6081 Adds a script to undo the action of autogen.sh. Useful
when git complains about Makefile.in clobbers, etc.
2016-11-08 12:47:36 -05:00
Dana Robinson
c5ca422496 Merge pull request #138 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5Pget_driver_info_retval to develop
Changed the return type of H5Pget_driver_info() from void * to const void *

* commit '8eaa0af30585adbbab29686541cd33e058abd6e8':
  Changed the return type of H5Pget_driver_info() from void * to const void *. Fixes HDFFV-10017.
2016-11-07 11:11:58 -06:00
Quincey Koziol
21c68f4393 Merge pull request #140 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop_merge_revise_chunks_02 to develop
* commit '9504d3f337c94c1a2d00bc5b05561e6ed1cee798':
  Switch to new, more scalable, metadata cache entry tagging.
  Remove routines not yet used in develop
2016-11-07 10:47:29 -06:00
Quincey Koziol
9504d3f337 Switch to new, more scalable, metadata cache entry tagging. 2016-11-06 23:14:10 -08:00
Quincey Koziol
323ae13590 Remove routines not yet used in develop 2016-11-06 22:04:36 -08:00
Quincey Koziol
9dc83a5f99 Merge pull request #139 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'bb6cb6adb005b0447c1dbb5d61711e3a459ade1f':
  Code style and warning cleanups, from revise_chunks branch.
2016-11-06 22:10:40 -06:00
Quincey Koziol
bb6cb6adb0 Code style and warning cleanups, from revise_chunks branch. 2016-11-06 12:08:19 -08:00
Dana Robinson
8eaa0af305 Changed the return type of H5Pget_driver_info() from void * to
const void *. Fixes HDFFV-10017.
2016-11-05 00:31:26 -04:00
Quincey Koziol
2b5efccc30 Merge pull request #134 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '9187e8c5d0663c176c50cc5b6053a8732a834194':
  Add missing retrieval of cache logging name, from revise_chunks.
2016-11-04 13:49:39 -05:00
Quincey Koziol
9187e8c5d0 Add missing retrieval of cache logging name, from revise_chunks. 2016-11-04 09:56:55 -07:00
Allen Byrne
ab66f6aa8c Merge pull request #133 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
Buildbot mktarball test pass

* commit '070362cc93793f3b4fa3cc9bc44b235461520408':
  Fix mktarball errors with Manifest
2016-11-04 10:52:43 -05:00
Quincey Koziol
a3d74c9be4 Merge pull request #131 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit '872d1666b4d24eb381773baaaaed6b6bf00dd080':
  Add public H5F* routines for cache logging.
  Add cache logging test.
  Add cache logging property and file pieces.
  Add logging prototypes and cache struct fields.
  Add logging error message.
  Bring cache logging routines from revise_chunks branch to develop.
  Remove static definition for debugging routines.  *sigh*
  Add missing prototypes for cache debugging routines.
2016-11-04 10:20:39 -05:00
Quincey Koziol
872d1666b4 Add public H5F* routines for cache logging. 2016-11-04 08:14:12 -07:00
Allen Byrne
070362cc93 Fix mktarball errors with Manifest 2016-11-04 09:34:01 -05:00
Quincey Koziol
0d12ce44b2 Add cache logging test. 2016-11-03 23:27:10 -07:00
Quincey Koziol
ed452ce690 Add cache logging property and file pieces. 2016-11-03 23:06:17 -07:00
Quincey Koziol
af057ac92b Add logging prototypes and cache struct fields. 2016-11-03 22:53:55 -07:00
Quincey Koziol
0263062a6f Add logging error message. 2016-11-03 22:50:26 -07:00
Quincey Koziol
f9ba956d69 Bring cache logging routines from revise_chunks branch to develop. 2016-11-03 22:40:56 -07:00
Quincey Koziol
ef28e31f89 Remove static definition for debugging routines. *sigh* 2016-11-03 21:34:21 -07:00
Quincey Koziol
a2f15ab726 Add missing prototypes for cache debugging routines. 2016-11-03 21:24:29 -07:00
Frank Willmore
b2948d9f97 Merge pull request #100 in HDFFV/hdf5 from ~FRANK.WILLMORE/hdf5:HDFFV-8882-replace-numeric-exit-code-with to develop
* commit '526bcc242d03a6fc4fd28d3a0f68cc31f4f2a850':
  Changes to be committed: 	modified:   bittests.c 	modified:   cmpd_dset.c 	modified:   dsets.c 	modified:   dt_arith.c 	modified:   dtypes.c 	modified:   extend.c 	modified:   fillval.c 	modified:   filter_fail.c 	modified:   flush1.c 	modified:   gen_cross.c 	modified:   hyperslab.c 	modified:   istore.c 	modified:   links.c 	modified:   links_env.c 	modified:   objcopy.c 	modified:   plugin.c 	modified:   tcheck_version.c 	modified:   unlink.c 	modified:   unregister.c
2016-11-03 16:28:29 -05:00
Quincey Koziol
7ac8215cbf Merge pull request #123 in HDFFV/hdf5 from ~KOZIOL/hdf5:develop to develop
* commit 'b2878dec04c120e4e3cdf00e943283e359862c84':
  Move cache debugging routines into separate module.
  Change file memory type for extending to default, and correct error in backward compatibility for multi VFD.
  Warning and whitespace cleanup.
  Improvements to the log VFD, for helping with SWMR debugging.
  Minor code cleanups.
  Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping in tools code.
2016-11-03 16:15:26 -05:00
Dana Robinson
50c7c54514 Merge pull request #122 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:eoc_groups to develop
Merged EoC for groups. Will expand the tests as discussed in the code review at a later date.

* commit '30f5f7d9f97e7e4e331894c3574cc1b6c4df6d9e':
  Removed commented-out lines that clean up test files.
  Added a test for old- and new-style groups under evict-on-close.
  Evict-on-close now works with groups.
2016-11-03 15:17:02 -05:00
Quincey Koziol
b2878dec04 Move cache debugging routines into separate module. 2016-11-03 11:55:42 -07:00
Allen Byrne
dfa300b41d Merge pull request #125 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3ae37a2068c96cd0adbbd5182e9f9890629d6994':
  Correct location of file for chmod statement
  Add missing h5format_convert generated files
  Correct locations of tools files
2016-11-03 11:59:44 -05:00
Quincey Koziol
17468defc7 Change file memory type for extending to default, and correct error in
backward compatibility for multi VFD.
2016-11-03 09:33:19 -07:00
Quincey Koziol
d935aa3555 Warning and whitespace cleanup. 2016-11-03 09:32:30 -07:00
Quincey Koziol
9b68a163bf Improvements to the log VFD, for helping with SWMR debugging. 2016-11-03 09:25:28 -07:00
Quincey Koziol
57ad6334c0 Minor code cleanups. 2016-11-03 09:16:25 -07:00
Allen Byrne
3ae37a2068 Correct location of file for chmod statement 2016-11-03 11:05:37 -05:00
Allen Byrne
f2d9d05cd0 Add missing h5format_convert generated files 2016-11-03 10:58:43 -05:00
Allen Byrne
8bc45d450b Correct locations of tools files 2016-11-03 10:55:23 -05:00
Quincey Koziol
84787e3085 Uncomment line in test/objcopy.c, clean up whitespace and POSIX call wrapping
in tools code.
2016-11-03 08:46:53 -07:00
Dana Robinson
30f5f7d9f9 Removed commented-out lines that clean up test files. 2016-11-03 11:31:02 -04:00
Allen Byrne
da0f0391ae Merge pull request #119 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '9340a6078bb711fdf1d00d6974f0c20ea319a1e3':
  Update ignore file to match changes to tools folders
  Fix parallel h5diff option of tool location
2016-11-02 15:45:01 -05:00
Dana Robinson
5dc86ab718 Merge pull request #120 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:H5S_header_fix to develop
Fixed errant parentheses in (unused) H5Sprivate.h macros.

* commit '4175847a199ae95d5a201d52c3452cc8bc7e82bf':
  Fixed wayward parentheses in H5Sprivate.h.
2016-11-02 14:13:15 -05:00
Allen Byrne
9340a6078b Update ignore file to match changes to tools folders 2016-11-02 13:51:34 -05:00
Dana Robinson
4175847a19 Fixed wayward parentheses in H5Sprivate.h. 2016-11-02 14:10:24 -04:00
Allen Byrne
16ba94f5db Fix parallel h5diff option of tool location 2016-11-02 12:21:14 -05:00
Allen Byrne
da5dff7eb7 Merge pull request #118 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'de57917e58b53d19ef9ac9379f24a1de69d3dd15':
  minor cleanup to utils defines
  Add util programs for tests
  Correct test command line
  refactor repart test to use test dir
2016-11-01 16:50:47 -05:00
Allen Byrne
de57917e58 minor cleanup to utils defines 2016-11-01 16:42:13 -05:00
Allen Byrne
8a323685f8 Add util programs for tests 2016-11-01 16:38:18 -05:00
Allen Byrne
430d10b047 Correct test command line 2016-11-01 16:10:09 -05:00
Allen Byrne
60cb2c8254 refactor repart test to use test dir 2016-11-01 15:48:39 -05:00
Allen Byrne
d40e90263b Merge pull request #109 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '0f94a43c46186eba3a536ab3b60433f469b5672c':
  Update with changes from buildbot process
  Remove duplicate block
  Update with latest changes used in buildbot process
  Re-merge HDFFV-9942 to new folder structure
  Correct dir reference
  Split tools code - remove old change
  Add new file to ignore
  Split tools into src and test - update locations
  Split tools into src and test - update with new files or locations
  Split tools into src and test - add folders
  Split tools into src and test - remove folders
  Split the code into src and test
  Add error log for dlopen
2016-11-01 14:33:12 -05:00
Dana Robinson
c41321a9f7 Added a test for old- and new-style groups under evict-on-close. 2016-10-29 21:12:07 -04:00
Dana Robinson
de3abdf5d7 Evict-on-close now works with groups.
test/evict_on_close.c has been updated to generate
groups but does not yet check EoC works correctly.
2016-10-28 15:58:18 -04:00
Allen Byrne
0f94a43c46 Update with changes from buildbot process 2016-10-27 14:23:38 -05:00
Allen Byrne
1c3b006651 Remove duplicate block 2016-10-27 14:13:04 -05:00
Allen Byrne
1bf4544a2e Update with latest changes used in buildbot process 2016-10-27 13:55:27 -05:00
Allen Byrne
df13600ae2 Re-merge HDFFV-9942 to new folder structure 2016-10-27 11:03:26 -05:00
Allen Byrne
67084271cb Correct dir reference 2016-10-27 10:55:22 -05:00
Allen Byrne
11093646db Split tools code - remove old change 2016-10-27 10:19:59 -05:00
Allen Byrne
3809a43edd Merge pull request #6 in ~BYRN/hdf5_adb from bugfix/HDFFV-9719-tools-code-split to develop
* commit 'b96f0bc9ed9212ad0f9248a701ebce59ee8e14fa':
  Add new file to ignore
  Split tools into src and test - update locations
  Split tools into src and test - update with new files or locations
  Split tools into src and test - add folders
  Split tools into src and test - remove folders
  Split the code into src and test
  Add error log for dlopen
2016-10-27 10:16:47 -05:00
Allen Byrne
b96f0bc9ed Add new file to ignore 2016-10-27 10:14:31 -05:00
Allen Byrne
c694644ce9 Split tools into src and test - update locations 2016-10-27 10:12:39 -05:00
Allen Byrne
7f2a83b6ab Split tools into src and test - update with new files or locations 2016-10-27 10:11:24 -05:00
Allen Byrne
2c6dbbf212 Split tools into src and test - add folders 2016-10-27 10:06:00 -05:00
Allen Byrne
5b562d9ce9 Split tools into src and test - remove folders 2016-10-27 10:04:42 -05:00
Allen Byrne
b34423f620 Split the code into src and test 2016-10-27 10:03:22 -05:00
Allen Byrne
b424328063 Add error log for dlopen 2016-10-27 09:14:22 -05:00
Binh-Minh Ribler
04b99c0c66 Merge pull request #108 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_packet_table:develop to develop
Work-around for Emu's alignment problem.

* commit '889d7fd73341a377dff98673d08031e422c18ab0':
  Description:     - In the test for HDFFV-9758, a pragma pack(1) caused failure on Emu       because Sparc cannot access misaligned data.  Changed it to pack() to       do the default alignment.     - Added DOXYGEN_SHOULD_SKIP_THIS blocks to private elements to prevent       warnings from doxygen. Platforms tested:     SunOS 5.11 (emu)     Linux/32 2.6 (jam)
2016-10-26 14:34:02 -05:00
Binh-Minh Ribler
889d7fd733 Description:
- In the test for HDFFV-9758, a pragma pack(1) caused failure on Emu
      because Sparc cannot access misaligned data.  Changed it to pack() to
      do the default alignment.
    - Added DOXYGEN_SHOULD_SKIP_THIS blocks to private elements to prevent
      warnings from doxygen.
Platforms tested:
    SunOS 5.11 (emu)
    Linux/32 2.6 (jam)
2016-10-26 14:16:24 -05:00
Binh-Minh Ribler
581c0acfa9 Merge pull request #89 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_obsolete_items:develop to develop
* commit 'a903cbafa863f22d360e7ef59f787b4fe0c0d2c3':
  Description:     Removed obsolet macros from C++ API: 	H5_NO_NAMESPACE, H5_NO_STD, __cplusplus     Leave OLD_HEADER_FILENAME because iostream.h might still be in use,     until further checking is done. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)     Jelly
2016-10-26 10:45:59 -05:00
Frank.Willmore
526bcc242d Changes to be committed:
modified:   bittests.c
	modified:   cmpd_dset.c
	modified:   dsets.c
	modified:   dt_arith.c
	modified:   dtypes.c
	modified:   extend.c
	modified:   fillval.c
	modified:   filter_fail.c
	modified:   flush1.c
	modified:   gen_cross.c
	modified:   hyperslab.c
	modified:   istore.c
	modified:   links.c
	modified:   links_env.c
	modified:   objcopy.c
	modified:   plugin.c
	modified:   tcheck_version.c
	modified:   unlink.c
	modified:   unregister.c

Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
2016-10-25 09:53:44 -05:00
Larry Knox
3b1b2f42df Merge pull request #96 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit 'db9b0cb1006daa2c249a60ceca1d518a3da06c88':
  Translate SVN commands and references to GIT.
  Translate svn commands and references to git.
2016-10-24 16:38:45 -05:00
lrknox
db9b0cb100 Translate SVN commands and references to GIT. 2016-10-24 16:27:17 -05:00
lrknox
62232e9120 Translate svn commands and references to git. 2016-10-24 14:17:24 -05:00
Allen Byrne
582bc9481f Merge pull request #90 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '5dfe4b6de70afa8f2cb08af47fb81b3f53381fd6':
  Add defines missing on OSX
  Merge includes from sio file
2016-10-24 11:58:27 -05:00
Binh-Minh Ribler
a2c0c2116d Merge pull request #94 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_packet_table:develop to develop
Fixed typo

* commit '4c91c858beb4933669d5855ba0648bc044d0d09e':
  Description:     User's sample code used "not" instead of "!" and Windows does     not like that.  Fixed. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)
2016-10-24 10:16:39 -05:00
Binh-Minh Ribler
4c91c858be Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_packet_table into develop 2016-10-24 09:59:53 -05:00
Binh-Minh Ribler
061b758c29 Description:
User's sample code used "not" instead of "!" and Windows does
    not like that.  Fixed.
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
2016-10-24 09:56:01 -05:00
Binh-Minh Ribler
efa541c137 Merge pull request #93 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_packet_table:develop to develop
Fix HDFFV-9758
May also fix HDFFV-9927 and HDFFV-9042

* commit 'b3b7ae087edbc20891a088db2f4e4f83e186c8b0':
  Purpose: Fix Packet Table issues cont. Description:     Misc cleanups and comments in tests. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)     Linux/64 (jelly)
  Miscellaneous code cleanup. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)
  Description:     - Removed calls to H5Tget_native_type in the PT code. The application would     need to do that if desired.     - Added Abhi's program to tests to verify the fix.     - This fix might have fixed HDFFV-9927, HDFFV-9042, and the issue reported       by Barbara Jones from Ametek as well. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (jelly)     Darwin (osx1010test)
2016-10-23 21:19:20 -05:00
Binh-Minh Ribler
b3b7ae087e Purpose: Fix Packet Table issues cont.
Description:
    Misc cleanups and comments in tests.
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
    Linux/64 (jelly)
2016-10-23 21:03:47 -05:00
Binh-Minh Ribler
d51b785f4e Merge pull request #1 in ~BMRIBLER/hdf5_bmr_packet_table from HDFFV-8882-replace-numeric-exit-code-with to develop
Accidentally in the wrong branch so merging over to "develop" now.

* commit 'be613da6b804e56a51f43a053bf35d898dccb420':
  Miscellaneous code cleanup. Platforms tested:     Linux/32 2.6 (jam)     Darwin (osx1010test)
  Description:     - Removed calls to H5Tget_native_type in the PT code. The application would     need to do that if desired.     - Added Abhi's program to tests to verify the fix.     - This fix might have fixed HDFFV-9927, HDFFV-9042, and the issue reported       by Barbara Jones from Ametek as well. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (jelly)     Darwin (osx1010test)
2016-10-23 17:13:52 -05:00
Allen Byrne
5dfe4b6de7 Merge pull request #3 in ~BYRN/hdf5_adb from bugfix/HDFFV-9942-verify-standalone-perform to develop
* commit '9a4ac501c1bd1f27bde1fc2acbc67bed74ff38ff':
  Add defines missing on OSX
  Merge includes from sio file
2016-10-21 15:20:42 -05:00
Allen Byrne
6ad305ee9d Merge pull request #84 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '0a27add8d71a9e623a99e7fc6eeff988e54a8566':
  Change return statement format.
  remove unneeded defines
  Add new testlib to copy
  Correct multiple lib setting
  HDFFV-9996: Test file to verify that that multiple params are parsed
2016-10-21 15:11:10 -05:00
Allen Byrne
0a27add8d7 Change return statement format. 2016-10-21 14:21:08 -05:00
Allen Byrne
9a4ac501c1 Add defines missing on OSX 2016-10-21 14:11:46 -05:00
Allen Byrne
3543f58f25 remove unneeded defines 2016-10-21 11:31:46 -05:00
Binh-Minh Ribler
be613da6b8 Miscellaneous code cleanup.
Platforms tested:
    Linux/32 2.6 (jam)
    Darwin (osx1010test)
2016-10-20 23:38:24 -05:00
Binh-Minh Ribler
14e308b2e6 Description:
- Removed calls to H5Tget_native_type in the PT code. The application would
    need to do that if desired.
    - Added Abhi's program to tests to verify the fix.
    - This fix might have fixed HDFFV-9927, HDFFV-9042, and the issue reported
      by Barbara Jones from Ametek as well.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2016-10-20 14:07:45 -05:00
Allen Byrne
8fd2eb8287 Merge includes from sio file 2016-10-19 17:02:30 -05:00
Binh-Minh Ribler
a903cbafa8 Description:
Removed obsolet macros from C++ API:
	H5_NO_NAMESPACE, H5_NO_STD, __cplusplus
    Leave OLD_HEADER_FILENAME because iostream.h might still be in use,
    until further checking is done.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
    Jelly
2016-10-19 15:50:17 -05:00
Allen Byrne
8e0674691a Add new testlib to copy 2016-10-19 12:10:45 -05:00
Allen Byrne
a8883cf07b Correct multiple lib setting 2016-10-18 12:52:32 -05:00
Allen Byrne
7ea09c9292 HDFFV-9996: Test file to verify that that multiple params are parsed 2016-10-18 12:14:25 -05:00
Allen Byrne
b6bb7c123a Merge pull request #80 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c3cea7f96e0800a941874d565afbf909be20074d':
  Add missing EXPORT tag in INSTALL command
2016-10-17 11:42:50 -05:00
Allen Byrne
c3cea7f96e Add missing EXPORT tag in INSTALL command 2016-10-17 09:52:00 -05:00
Allen Byrne
8d04c682f4 Merge pull request #78 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '43affeb0f388466b5be555879d91d14037be0e99':
  Correct text - missing GIT option
  Correct text - missing GIT option
  Correct typo of variable format
2016-10-14 15:17:58 -05:00
Allen Byrne
1ae1dc8a31 Merge pull request #76 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-10003-examples-project-fails-to-build to develop
* commit '321db89a65909c02d7279fed7e8b7a3585cde8da':
  Remove test only tools from exports
  Fix typo
  Correct typo in variable format
  Description:     Fixed typo that caused daily test failed when --enable-deprecated-symbols     is used.  Also, removed a commented-out function. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus) with --enable-deprecated-symbols
  Description:     Added test file titerate.cpp. Platform tested:     Verified with bin/chkmanifest
  Description:     Removed commented out lines. Platform tested     Jam (only comments)
  Purpose: Fix bug HDFFR-9920 cont. Description:     Added new test file titerate.cpp.
  Fix:HDFFV-9987  With HDF5-1.10 you cannot specify default dataspace for Fortran (H5S_ALL_F)
  Removed unused H5T_NATIVE_INTEGER_# variables due to NAG fixes.
  Purpose: Updated documentation Description:     Revised class brief description and other comments for up-to-date info. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Purpose: Fix bug HDFFR-9920 cont. Description:     Adding user's test revealed a flaw in the fix.     Moved CommonFG's functions in Group to H5Location, so that they     could be called by objects that can be used to specify a location     Also, rearranged many "#include" header files to resolve conflicts.
  Add support for namespace and add tools to binaries config
2016-10-14 15:14:22 -05:00
Dana Robinson
871e3ca614 Merge pull request #77 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:windows_dset_fail to develop
Merged (minor) fix for Windows dsets test failure.

* commit '53099719497a5a5561cabdac96a710f91d0fa21b':
  Fixed Windows dsets.c test failure.
  Revert "Added C++ wrappers (get/setCoreWriteTracking()) for new"
  Revert "Fixed Windows test failures."
  Fixed Windows test failures.
  Added C++ wrappers (get/setCoreWriteTracking()) for new H5Pset/get_core_write_tracking() API calls.
2016-10-14 15:13:16 -05:00
Dana Robinson
5309971949 Fixed Windows dsets.c test failure.
A 'static' keyword was removed from an array that needs it on Windows
during a warning removal overhaul. Replacing it fixes the error.

Tested on: 64-bit Windows 7 w/ VS 2015
2016-10-14 15:45:38 -04:00
Dana Robinson
bad28040b0 Revert "Added C++ wrappers (get/setCoreWriteTracking()) for new"
This reverts commit d93cb9ca25.
2016-10-14 15:43:25 -04:00
Dana Robinson
9d4cbecb2f Revert "Fixed Windows test failures."
This reverts commit f1dcda5c8e.
2016-10-14 15:42:55 -04:00
derobins
f1dcda5c8e Fixed Windows test failures.
Replaced a static keyword that was deleted during a warnings overhaul.

Tested on 64-bit Visual Studio 2015
2016-10-14 15:32:27 -04:00
Allen Byrne
43affeb0f3 Correct text - missing GIT option 2016-10-14 13:57:48 -05:00
Allen Byrne
9ccadb2e6d Correct text - missing GIT option 2016-10-14 13:57:47 -05:00
Allen Byrne
6de1836e47 Merge pull request #2 in ~BYRN/hdf5_adb from bugfix/HDFFV-10003-examples-project-fails-to-build to develop
* commit '321db89a65909c02d7279fed7e8b7a3585cde8da':
  Remove test only tools from exports
  Fix typo
  Correct typo in variable format
  Description:     Fixed typo that caused daily test failed when --enable-deprecated-symbols     is used.  Also, removed a commented-out function. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus) with --enable-deprecated-symbols
  Description:     Added test file titerate.cpp. Platform tested:     Verified with bin/chkmanifest
  Description:     Removed commented out lines. Platform tested     Jam (only comments)
  Purpose: Fix bug HDFFR-9920 cont. Description:     Added new test file titerate.cpp.
  Fix:HDFFV-9987  With HDF5-1.10 you cannot specify default dataspace for Fortran (H5S_ALL_F)
  Removed unused H5T_NATIVE_INTEGER_# variables due to NAG fixes.
  Purpose: Updated documentation Description:     Revised class brief description and other comments for up-to-date info. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Purpose: Fix bug HDFFR-9920 cont. Description:     Adding user's test revealed a flaw in the fix.     Moved CommonFG's functions in Group to H5Location, so that they     could be called by objects that can be used to specify a location     Also, rearranged many "#include" header files to resolve conflicts.
  Add support for namespace and add tools to binaries config
2016-10-14 13:51:00 -05:00
Allen Byrne
321db89a65 Remove test only tools from exports 2016-10-14 13:13:25 -05:00
Allen Byrne
fabfa3c1f4 Fix typo 2016-10-14 13:10:18 -05:00
Allen Byrne
789c1d081a Correct typo in variable format 2016-10-14 12:46:38 -05:00
Allen Byrne
f0a356a903 Correct typo of variable format 2016-10-14 12:44:28 -05:00
Allen Byrne
1414a0b03f Merge remote-tracking branch 'origin/develop' into bugfix/HDFFV-10003-examples-project-fails-to-build 2016-10-14 12:36:40 -05:00
Binh-Minh Ribler
14b1e13e80 Description:
Fixed typo that caused daily test failed when --enable-deprecated-symbols
    is used.  Also, removed a commented-out function.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus) with --enable-deprecated-symbols
2016-10-14 12:02:02 -05:00
Binh-Minh Ribler
202cb53058 Description:
Added test file titerate.cpp.
Platform tested:
    Verified with bin/chkmanifest
2016-10-14 12:02:02 -05:00
Binh-Minh Ribler
ef52b96a9a Description:
Removed commented out lines.
Platform tested
    Jam (only comments)
2016-10-14 12:02:02 -05:00
Binh-Minh Ribler
d26c3bef4d Purpose: Fix bug HDFFR-9920 cont.
Description:
    Added new test file titerate.cpp.
2016-10-14 12:02:02 -05:00
M. Scot Breitenfeld
21b5e3132e Fix:HDFFV-9987
With HDF5-1.10 you cannot specify default dataspace for Fortran (H5S_ALL_F)

Resolution:
 Made H5S_ALL_F INTEGER(HID_T) to match C.
2016-10-14 12:02:02 -05:00
M. Scot Breitenfeld
fe5c359ce9 Removed unused H5T_NATIVE_INTEGER_# variables due to NAG fixes.
HDFFV-9973
    Fortran library fails to compile and fails tests with NAG compiler
2016-10-14 12:02:02 -05:00
Binh-Minh Ribler
43dd56f0a0 Purpose: Updated documentation
Description:
    Revised class brief description and other comments for up-to-date info.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-10-14 12:02:01 -05:00
Binh-Minh Ribler
4fc6f27a5e Purpose: Fix bug HDFFR-9920 cont.
Description:
    Adding user's test revealed a flaw in the fix.
    Moved CommonFG's functions in Group to H5Location, so that they
    could be called by objects that can be used to specify a location
    Also, rearranged many "#include" header files to resolve conflicts.

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-10-14 12:02:01 -05:00
Allen Byrne
bb94c5efde Merge pull request #67 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '052ca6a74199005efe7f324f2a3ac508b18cdc27':
  Correct name and usage of cmake variable
  Add STGZ to mac cpack list
  Merge from master cmake_conf project
2016-10-14 11:46:02 -05:00
Allen Byrne
3ee36553b9 Add support for namespace and add tools to binaries config 2016-10-14 11:22:22 -05:00
Scot Breitenfeld
baecf9c5e6 Merge pull request #73 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:hdffv-9987 to develop
* commit 'de07b2d22435741fa7dc68faa80df3c0207c89fa':
  Fix:HDFFV-9987  With HDF5-1.10 you cannot specify default dataspace for Fortran (H5S_ALL_F)
2016-10-14 09:13:25 -05:00
Binh-Minh Ribler
79dca0ba25 Merge pull request #71 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cppapi:develop to develop
Merged in
- added titerate.cpp to MANIFEST
- moved H5Location::throwException to outside of an H5_NO_DEPRECATED_SYMBOLS block to fix daily test failure.

* commit '78e597427c6ffc32ed7cf515234c4cf18d05004f':
  Description:     Fixed typo that caused daily test failed when --enable-deprecated-symbols     is used.  Also, removed a commented-out function. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus) with --enable-deprecated-symbols
  Description:     Added test file titerate.cpp. Platform tested:     Verified with bin/chkmanifest
2016-10-12 15:26:12 -05:00
Binh-Minh Ribler
78e597427c Description:
Fixed typo that caused daily test failed when --enable-deprecated-symbols
    is used.  Also, removed a commented-out function.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus) with --enable-deprecated-symbols
2016-10-12 14:21:57 -05:00
Binh-Minh Ribler
68055cea63 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_CppAPI into develop 2016-10-12 08:08:34 -05:00
Binh-Minh Ribler
fdb1202f50 Description:
Added test file titerate.cpp.
Platform tested:
    Verified with bin/chkmanifest
2016-10-12 08:06:59 -05:00
Binh-Minh Ribler
f067d70823 Merge pull request #45 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cppapi:develop to develop
This should be the final change for HDFFV-9920.

* commit 'c38f4af65bf9f8e3811eeb1fcf2ff2f44457bf3d':
  Description:     Removed commented out lines. Platform tested     Jam (only comments)
  Purpose: Fix bug HDFFR-9920 cont. Description:     Added new test file titerate.cpp.
  Purpose: Updated documentation Description:     Revised class brief description and other comments for up-to-date info. Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  Purpose: Fix bug HDFFR-9920 cont. Description:     Adding user's test revealed a flaw in the fix.     Moved CommonFG's functions in Group to H5Location, so that they     could be called by objects that can be used to specify a location     Also, rearranged many "#include" header files to resolve conflicts.
2016-10-11 13:09:08 -05:00
Binh-Minh Ribler
c38f4af65b Description:
Removed commented out lines.
Platform tested
    Jam (only comments)
2016-10-11 09:42:00 -05:00
Binh-Minh Ribler
3c0afffb9d Purpose: Fix bug HDFFR-9920 cont.
Description:
    Added new test file titerate.cpp.
2016-10-11 00:14:25 -05:00
Allen Byrne
052ca6a741 Correct name and usage of cmake variable 2016-10-10 12:32:06 -05:00
M. Scot Breitenfeld
de07b2d224 Fix:HDFFV-9987
With HDF5-1.10 you cannot specify default dataspace for Fortran (H5S_ALL_F)

Resolution:
 Made H5S_ALL_F INTEGER(HID_T) to match C.
2016-10-10 10:25:09 -05:00
Allen Byrne
517bccdbfb Add STGZ to mac cpack list 2016-10-07 12:32:48 -05:00
Scot Breitenfeld
36b5814785 Merge pull request #65 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'c7fc321a6d4448c59cb621c46968a5245b080fa1':
  Removed unused H5T_NATIVE_INTEGER_# variables due to NAG fixes.
2016-10-07 10:40:06 -05:00
Allen Byrne
4cb4a78179 Merge from master cmake_conf project 2016-10-07 10:22:02 -05:00
M. Scot Breitenfeld
c7fc321a6d Removed unused H5T_NATIVE_INTEGER_# variables due to NAG fixes.
HDFFV-9973
    Fortran library fails to compile and fails tests with NAG compiler
2016-10-07 09:58:40 -05:00
Allen Byrne
9d71583920 Merge pull request #61 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9961-add-git-to-ext-filter to develop
* commit 'd817b63020310b6f275a569529075551dd2b756e':
  Fix copyright to point to cmake
  Fix cyclic depends due to typo
  Correct how include is used when located inside project
  HDFFV-9961: Add GIT option to ext lib macros
  Update copyright to latest from kitware
2016-10-06 17:12:46 -05:00
Scot Breitenfeld
c604bca044 Merge pull request #47 in HDFFV/hdf5 from ~BRTNFLD/hdf5_msb:develop to develop
* commit 'f9364c0080405bb36d704eb3f9505029d3da41f4':
  removed the use of C_SIZEOF for non BIND(C) derived type
  Fixed test to use storage_size instead of c_sizeof when available.
  fixed missing closing bracket
  Removed unused variables.
  Fixed: Fortran_DOUBLE was being set to  C_LONG_DOUBLE when C_LONG_DOUBLE is not available.
  Removed duplicate FCFLAG
  Removed duplicate FCFLAG.
  Added number of integer KINDs found to the header files.
  Added path to source include files when building buidiface.
  Added rule to build buildiface program, without a rule, build would add repeated compile options when using the NAG compiler.
  Misc. cleaning up of the program.
  Added SEQUENCE to derived types for NAG:
  misc. format code-cleanup
  Removed the use of hard-coded integer KINDs.
  Code clean-up.
  HDFFV-9973 Fortran library fails to compile and fails tests with NAG compiler
2016-10-06 15:34:39 -05:00
Allen Byrne
d817b63020 Fix copyright to point to cmake 2016-10-06 13:52:55 -05:00
Allen Byrne
7d6bea96ab Fix cyclic depends due to typo 2016-10-05 16:17:39 -05:00
Allen Byrne
aee8233f16 Correct how include is used when located inside project 2016-10-05 15:49:26 -05:00
Allen Byrne
783f01f478 Merge pull request #57 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
All changes tested in Buildbot and locally.

* commit '8c49b6e05a7d40218b8129b29bd74bbd2b39758d':
  HDFFV-9991: Remove uneeded file
  Fix missing defines for standalone perf
  Remove hanging property set
  Revert clear objects for testfile removal
  Merge test output file clearing into runTest.cmake
  Move clear-objects inside runTest
2016-10-05 12:11:28 -05:00
Dana Robinson
d93cb9ca25 Added C++ wrappers (get/setCoreWriteTracking()) for new
H5Pset/get_core_write_tracking() API calls.
2016-10-04 17:50:54 -04:00
Allen Byrne
c6bc6dbbfb HDFFV-9961: Add GIT option to ext lib macros 2016-10-04 16:46:13 -05:00
Allen Byrne
0d0c711e88 Update copyright to latest from kitware 2016-10-04 14:53:21 -05:00
Allen Byrne
8c49b6e05a HDFFV-9991: Remove uneeded file 2016-10-04 09:36:01 -05:00
Allen Byrne
ec991ed4b8 Fix missing defines for standalone perf 2016-10-03 17:07:21 -05:00
Allen Byrne
9fd74f83e6 Remove hanging property set 2016-10-03 15:45:31 -05:00
Allen Byrne
031633c479 Revert clear objects for testfile removal 2016-10-03 15:42:31 -05:00
Allen Byrne
dd9caf37d2 Merge test output file clearing into runTest.cmake 2016-10-03 15:34:11 -05:00
Allen Byrne
869ef118e9 Move clear-objects inside runTest 2016-10-03 14:50:41 -05:00
M. Scot Breitenfeld
f9364c0080 removed the use of C_SIZEOF for non BIND(C) derived type 2016-10-03 13:26:39 -05:00
Dana Robinson
620bfd58ae Merge pull request #55 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
Checkpoint update

* commit '4a2669d51f8f839a63c1257c184318cd8c0ce1ae':
  Correct typo:  add ' '
  Snapshot release:  increment version.
2016-10-01 09:55:57 -05:00
lrknox
4a2669d51f Correct typo: add ' ' 2016-10-01 09:47:31 -05:00
lrknox
6cb0d90338 Snapshot release: increment version. 2016-10-01 09:41:26 -05:00
Dana Robinson
75333d5a91 Merge pull request #54 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Fixes the v16 API failures in the evict-on-close test.

* commit 'dd47e42313fd4d76da95b7e48013bcd0d8879434':
  Changed H5Dcreate to H5Dcreate2 in test/evict_on_close.c
2016-10-01 08:00:51 -05:00
Dana Robinson
dd47e42313 Changed H5Dcreate to H5Dcreate2 in test/evict_on_close.c 2016-10-01 07:23:57 -04:00
Allen Byrne
c4cc97bd31 Merge pull request #53 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '2299ff06c3dd9d5dee5320999a282f1526c27be7':
  Correct variable name
  Fix error reporting
2016-09-30 13:23:30 -05:00
Dana Robinson
ce3997f041 Merge pull request #52 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:develop to develop
Merged evict-on-close feature from branch (via develop in cloned repo).

* commit 'cbc260e636e258cc55d9fb8fdafd3bff0877ac23': (21 commits)
  - Removed BRANCH.txt and MANIFEST entry - Fixed a missing line in H5Dint.c
  - Removed non-implemented code from H5Gint.c - Removed commented-out debug code from H5Dint.c - Added blank lines to eliminate delta in a fortran file.
  Added full implementation of EoC cache test.
  Added code to create the test file for all chunk index and layout types.
  Fleshed out evict on close test that inspects cache.
  Added the beginnings of a file generator to the test.
  Fixed typo
  Added "Purpose:" information to the API call comments for the new functions.
  Cleaned up feature for dissemination to LLNL:     - Removed support for datatypes.     - Commented out support for groups     - General change clean-up     - Added a list of improvements to BRANCH.txt
  Removed blank line in Fortran file (leftover from last commit)
  Reverted H5T code since datatypes will not be supported at this time.
  Fixed format_convert and fortran files (bad merge?).
  Updated manifest. Was missing BRANCH.txt.
  Added missing evict on close test file line to test/CMakeLists.txt.
  [svn-r30110] Added missing evict_on_close.c file to test/.
  [svn-r30108] Moved group flush and evict code to H5G_close from H5Gclose.
  [svn-r30107] Moved dataset flush and evict code to H5D_close from H5Dclose.
  [svn-r30106] Moved datatype close code to new internal function. H5Oclose() now supports evict-on-close for datatypes.
  [svn-r30105] Datatypes and Groups now support evict-on-close.
  [svn-r30084] First pass at the evict-on-close feature.
  ...
2016-09-30 13:17:08 -05:00
Dana Robinson
cbc260e636 - Removed BRANCH.txt and MANIFEST entry
- Fixed a missing line in H5Dint.c
2016-09-30 13:06:12 -04:00
Frank.Willmore
a2e93075f2 added test file 2016-09-30 11:50:14 -05:00
Allen Byrne
2299ff06c3 Correct variable name 2016-09-30 09:41:18 -05:00
Allen Byrne
fe71ac8d0e Fix error reporting 2016-09-30 09:35:09 -05:00
Dana Robinson
5088217e42 - Removed non-implemented code from H5Gint.c
- Removed commented-out debug code from H5Dint.c
- Added blank lines to eliminate delta in a fortran file.
2016-09-30 05:04:11 -04:00
Dana Robinson
77e7c43bf0 Merge branch 'develop' into evict_on_close 2016-09-30 04:31:59 -04:00
Dana Robinson
8655536171 Merge branch 'evict_on_close' of https://bitbucket.hdfgroup.org/scm/~derobins/hdf5_der into evict_on_close 2016-09-30 04:29:45 -04:00
Dana Robinson
31b033e214 Added full implementation of EoC cache test. 2016-09-30 04:26:39 -04:00
Dana Robinson
a2fe6f7db9 Added code to create the test file for all chunk index and layout types. 2016-09-30 03:24:44 -04:00
Quincey Koziol
30ca70b096 Merge pull request #46 in HDFFV/hdf5 from ~KOZIOL/hdf5:features/warning_cleanups to develop
* commit '5a7880183025f56421cf6f2274d9f1ac36f59641':
  Clean up hardcoded constants and check return values better.  (Comments from group code review)
  Description:     Cleanups from Dana's review.
  Description:     Further warning cleanups: from 667 warnings to 503.
2016-09-29 15:19:35 -05:00
Quincey Koziol
5a78801830 Clean up hardcoded constants and check return values better. (Comments from
group code review)
2016-09-29 13:17:55 -07:00
M. Scot Breitenfeld
e45ee9fa96 Fixed test to use storage_size instead of c_sizeof when available. 2016-09-29 14:52:26 -05:00
M. Scot Breitenfeld
cd702dd051 fixed missing closing bracket 2016-09-29 13:12:07 -05:00
Quincey Koziol
1853868fdc Description:
Cleanups from Dana's review.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/C++ & FORTRAN
    (h5committest forthcoming)
2016-09-29 11:01:23 -07:00
M. Scot Breitenfeld
678d116eeb Removed unused variables. 2016-09-29 12:56:07 -05:00
Dana Robinson
ce11185fbb Fleshed out evict on close test that inspects cache. 2016-09-29 13:26:32 -04:00
M. Scot Breitenfeld
9fbebbe6d7 Fixed: Fortran_DOUBLE was being set to C_LONG_DOUBLE when C_LONG_DOUBLE is not available. 2016-09-29 11:52:12 -05:00
M. Scot Breitenfeld
c28c6873fe Removed duplicate FCFLAG 2016-09-29 10:50:12 -05:00
M. Scot Breitenfeld
064073307a Removed duplicate FCFLAG. 2016-09-29 10:49:08 -05:00
kmu
f76c3b56e1 fix the issue of h5dump fails to print full precision 2016-09-27 14:04:19 -05:00
Quincey Koziol
fa66428a6d Description:
Further warning cleanups: from 667 warnings to 503.
2016-09-27 10:29:16 -07:00
Binh-Minh Ribler
e0bf9046c2 Purpose: Updated documentation
Description:
    Revised class brief description and other comments for up-to-date info.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-09-26 23:08:38 -05:00
M. Scot Breitenfeld
3befe647ee Added number of integer KINDs found to the header files. 2016-09-26 13:27:50 -05:00
M. Scot Breitenfeld
41b22417b7 Added path to source include files when building buidiface. 2016-09-26 12:08:18 -05:00
M. Scot Breitenfeld
7e5fcd3a4a Added rule to build buildiface program, without a rule, build would add repeated compile options when using the NAG compiler. 2016-09-26 11:49:06 -05:00
Dana Robinson
2638cbbbff Added the beginnings of a file generator to the test. 2016-09-24 02:54:27 -04:00
Dana Robinson
36fd53f70f Fixed typo 2016-09-24 02:54:00 -04:00
Scot Breitenfeld
c06993b5b7 Merging in latest from upstream (HDFFV/hdf5:refs/heads/develop)
* commit 'a7fb4ede8601e135433ef2d23bf4bbb466d9f58d':
  Fix bug in "nooptype" decode in fix for TALOS-0177.
  Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect.
  Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow.
  Replace assertion in H5O_dtype_decode_helper for number of array dimensions with a check and error. The assertion was inappropriate because it is operating on data read from the file, which the library does not always have direct control of.
2016-09-23 16:16:03 -05:00
M. Scot Breitenfeld
3a89114ce5 Misc. cleaning up of the program. 2016-09-23 14:08:04 -05:00
M. Scot Breitenfeld
7b056aadff Added SEQUENCE to derived types for NAG:
Section 81 of the compiler manual, e.g. at

http://www.nag.co.uk/nagware/np/r61_doc/np61_manual.pdf

covers details about the compiler's internal representations, including

"
Fortran derived types are translated into C structs.
If BIND(C) or SEQUENCE is used, the order of the items within
the struct is the same as the order within the derived type definition.
Otherwise, the order of items is permuted to
put larger types at the front of the struct so as to improve alignment
and reduce storage; the C output code can be
inspected to determine the ordering used.
"

Removed INTENT(IN) to fix segfaults in C APIs for TYPE(C_PTR).

Tested: NAG (gnu)
2016-09-23 11:31:43 -05:00
Neil Fortner
a7fb4ede86 Merge pull request #42 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0179 to develop
* commit '748d6f318c5ebe4fa7ee5d8e4ca2681d69792b70':
  Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect.
2016-09-23 10:58:37 -05:00
Neil Fortner
51c6e5b595 Merge pull request #41 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0177 to develop
* commit '866d17f57f47414b6e778d63fcdcc2a82b208683':
  Fix bug in "nooptype" decode in fix for TALOS-0177.
  Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow.
2016-09-23 10:58:22 -05:00
Neil Fortner
afd8d14a1e Merge pull request #40 in HDFFV/hdf5 from ~NFORTNE2/hdf5_nf:talos-0176 to develop
* commit '62d7562fbd6c6f9f2892cc9a3894f5a68a2b6fdc':
  Replace assertion in H5O_dtype_decode_helper for number of array dimensions with a check and error. The assertion was inappropriate because it is operating on data read from the file, which the library does not always have direct control of.
2016-09-23 10:58:05 -05:00
Neil Fortner
748d6f318c Merge branch 'develop' into talos-0179 2016-09-23 09:51:59 -05:00
Neil Fortner
62d7562fbd Merge branch 'develop' into talos-0176 2016-09-23 09:51:16 -05:00
Neil Fortner
866d17f57f Merge branch 'develop' into talos-0177 2016-09-23 09:37:48 -05:00
Dana Robinson
430ff33b5c Added "Purpose:" information to the API call comments for the
new functions.
2016-09-23 01:18:11 -04:00
M. Scot Breitenfeld
7cbf491e29 misc. format code-cleanup 2016-09-22 17:19:48 -05:00
M. Scot Breitenfeld
3c37126585 Removed the use of hard-coded integer KINDs. 2016-09-22 15:24:35 -05:00
M. Scot Breitenfeld
362233bd45 Code clean-up. 2016-09-22 15:22:11 -05:00
M. Scot Breitenfeld
8eb76e1f65 Merge branch 'develop' of ssh://bitbucket.hdfgroup.org:7999/~brtnfld/hdf5_msb into develop 2016-09-22 12:48:53 -05:00
M. Scot Breitenfeld
392b8ce3c9 HDFFV-9973 Fortran library fails to compile and fails tests with NAG compiler
Fixes issues with KIND = BYTE assumptions.
2016-09-22 12:02:02 -05:00
Binh-Minh Ribler
3291ceb0ee Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_CppAPI into develop 2016-09-21 18:12:22 -05:00
Binh-Minh Ribler
7ef33fa7b3 Purpose: Fix bug HDFFR-9920 cont.
Description:
    Adding user's test revealed a flaw in the fix.
    Moved CommonFG's functions in Group to H5Location, so that they
    could be called by objects that can be used to specify a location
    Also, rearranged many "#include" header files to resolve conflicts.

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-09-21 14:53:17 -05:00
Allen Byrne
be3ad22522 Merge pull request #38 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '583af563d9f7eb8cedba6a8bb12d3218f55addf6':
  Add missing target depends command
  Correct clear objects working dir
2016-09-21 12:22:53 -05:00
Allen Byrne
583af563d9 Add missing target depends command 2016-09-21 12:22:16 -05:00
Allen Byrne
a25cf22663 Correct clear objects working dir 2016-09-21 12:12:37 -05:00
Allen Byrne
f240c5c422 Merge pull request #37 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'bc1d833a80190a83bb11151f2d60035acdae3d2c':
  Fix typo
  Add missing SH to target name
  Add gen file technique to HL and test fortran libraries
2016-09-21 10:58:20 -05:00
Allen Byrne
bc1d833a80 Fix typo 2016-09-21 10:49:48 -05:00
Allen Byrne
408aaba902 Add missing SH to target name 2016-09-21 10:48:12 -05:00
Allen Byrne
e219ee88e4 Add gen file technique to HL and test fortran libraries 2016-09-21 10:46:03 -05:00
Allen Byrne
5f13efeb79 Merge pull request #35 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '60adc706e6c8bdee4a2e9a7c211f2f2a12dfc355':
  Add WORKING_DIR to command
  Add target depends require separate folders
2016-09-20 17:11:40 -05:00
Allen Byrne
60adc706e6 Add WORKING_DIR to command 2016-09-20 17:03:40 -05:00
Allen Byrne
a3bd6e7aa4 Add target depends require separate folders 2016-09-20 16:57:42 -05:00
Allen Byrne
a796aa6487 Merge pull request #34 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '347501aba2962691988e73ddb1b384397e507a80':
  Add another source property
  Update generated files commands and properties
2016-09-20 15:42:52 -05:00
Allen Byrne
347501aba2 Add another source property 2016-09-20 15:41:07 -05:00
Allen Byrne
55fa38f3c9 Update generated files commands and properties 2016-09-20 15:27:26 -05:00
Allen Byrne
609f7e31f2 Merge pull request #33 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'e9d582a034b68a4b4485e2c71c089d9e52b63d52':
  Chage command proces to generate file before use.
2016-09-20 14:12:19 -05:00
Allen Byrne
e9d582a034 Chage command proces to generate file before use. 2016-09-20 13:38:57 -05:00
Dana Robinson
5ac0b328c8 Merge pull request #32 in HDFFV/hdf5 from ~DEROBINS/hdf5_der:evict_on_close to evict_on_close
Sync with develop and cleaned up feature. Feature works with datasets but testing is minimal.

* commit '2646f917adb5b2e17404260e433dc3ed7c39a602': (102 commits)
  Cleaned up feature for dissemination to LLNL:     - Removed support for datatypes.     - Commented out support for groups     - General change clean-up     - Added a list of improvements to BRANCH.txt
  Removed blank line in Fortran file (leftover from last commit)
  Reverted H5T code since datatypes will not be supported at this time.
  Fixed format_convert and fortran files (bad merge?).
  Updated manifest. Was missing BRANCH.txt.
  Add missing command to set shared generated file
  Add default site names
  Separate fortran generation into static and shared folders.
  Revert to using old set command
  Change string to list - older usage
  Add option to submit to Cdash
  Change UPDATE_TYPE to git
  Update CMake java functions
  Added missing evict on close test file line to test/CMakeLists.txt.
  Restrict git commit hash in tar file names to first 7 characters with --short option.
  Add longer timeout to cache tests - test has consistently exceeded default timing.
  Removed -p option from invocation of autogen.sh by h5vers script to allow running h5vers on machines without /usr/hdf/bin/AUTOTOOLS.
  Add bin/pkgscrpts files to MANIFEST.
  dd bin/pkgscrpts directory with scripts to package deployed unix binaries into tarfiles.
  Purpose: Code cleanup Description:     - Used FP_EPSILON in comparing float values to verify read data     - Casted C macro to fix mismatched types in verify_val calls Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
  ...
2016-09-19 15:30:22 -05:00
Dana Robinson
2646f917ad Cleaned up feature for dissemination to LLNL:
- Removed support for datatypes.
    - Commented out support for groups
    - General change clean-up
    - Added a list of improvements to BRANCH.txt
2016-09-19 16:18:30 -04:00
Dana Robinson
29b169abb3 Removed blank line in Fortran file (leftover from last commit) 2016-09-19 15:31:07 -04:00
Allen Byrne
8fb61c59eb Merge pull request #31 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'ef2e93d23988b44c663b6df583edecd2e604f009':
  Eliminate unreferenced local variable warning
2016-09-19 14:16:57 -05:00
Allen Byrne
ef2e93d239 Eliminate unreferenced local variable warning 2016-09-19 14:04:40 -05:00
Dana Robinson
7f99d42583 Reverted H5T code since datatypes will not be supported at
this time.
2016-09-19 14:52:45 -04:00
Dana Robinson
73bd8b7c2f Fixed format_convert and fortran files (bad merge?). 2016-09-19 13:51:38 -04:00
Dana Robinson
12fbb4426a Updated manifest. Was missing BRANCH.txt. 2016-09-19 13:04:07 -04:00
Dana Robinson
24037651a1 Merge branch 'develop' into evict_on_close 2016-09-19 13:01:58 -04:00
Allen Byrne
08d84691ed Merge pull request #29 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'c635d463115efdd60bbcd9654644d6b298fd7cd3':
  Add missing command to set shared generated file
2016-09-19 10:21:36 -05:00
Allen Byrne
c635d46311 Add missing command to set shared generated file 2016-09-19 10:20:49 -05:00
Allen Byrne
99d6246fc2 Merge pull request #27 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3585b373508ca5ea940fbf6e7d0ffeed1968a6bf':
  Add default site names
  Separate fortran generation into static and shared folders.
2016-09-19 09:28:52 -05:00
Allen Byrne
3585b37350 Add default site names 2016-09-16 15:57:28 -05:00
Allen Byrne
8efb84b9a8 Separate fortran generation into static and shared folders. 2016-09-16 15:21:43 -05:00
Allen Byrne
6d5ee49ff3 Merge pull request #26 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit 'bea6ab9ea44eab3503e7fc3c6f1e7ea0d7c1557a':
  Revert to using old set command
2016-09-16 11:24:44 -05:00
Allen Byrne
bea6ab9ea4 Revert to using old set command 2016-09-16 11:23:38 -05:00
Allen Byrne
1a617e3c5d Merge pull request #25 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '6a3551eba007e826968361d3525cfa2b9139e553':
  Change string to list - older usage
2016-09-16 10:09:20 -05:00
Allen Byrne
6a3551eba0 Change string to list - older usage 2016-09-16 10:08:36 -05:00
Allen Byrne
fc57f73409 Merge pull request #23 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '1963f50928089c0ec4a1ff11d54f652a4ab0a498':
  Add option to submit to Cdash
  Change UPDATE_TYPE to git
  Update CMake java functions
2016-09-15 16:11:44 -05:00
Allen Byrne
1963f50928 Add option to submit to Cdash 2016-09-15 16:07:08 -05:00
Allen Byrne
a6bff1b7eb Change UPDATE_TYPE to git 2016-09-15 13:32:26 -05:00
Allen Byrne
04634520cf Update CMake java functions 2016-09-15 13:32:01 -05:00
Dana Robinson
7f817fea7c Merge branch 'develop' into evict_on_close 2016-09-14 17:02:43 -04:00
Dana Robinson
c1c384878b Added missing evict on close test file line to test/CMakeLists.txt. 2016-09-14 16:50:29 -04:00
Neil Fortner
391a231b76 Fix bug in "nooptype" decode in fix for TALOS-0177. 2016-09-09 12:08:30 -05:00
Neil Fortner
bc10fd219e Change check for number of dimensions for old-style arrays in datatype decoding routine from an assertion to an if/HGOTO_ERROR check, since it is inappropriate to assert the contents of a file will be what we expect. 2016-09-08 13:47:22 -05:00
Neil Fortner
2409f99166 Fix issues in H5Znbit.c where the decompression algorithm would not check the compressed data for validity, potentially causing a buffer overflow. 2016-09-08 10:48:54 -05:00
Binh-Minh Ribler
052efd9bde Merge pull request #11 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cppapi:develop to develop
Purpose: Code cleanup
Description:
    - Used FP_EPSILON in comparing float values to verify read data
    - Casted C macro to fix mismatched types in verify_val calls
Platforms tested:
    Linux/32 2.6 (jam), Linux/64 (platypus), Darwin (osx1010test)

* commit '478f771243b4e7b7c416dde22b5dcde13e1f3541':
  Purpose: Code cleanup Description:     - Used FP_EPSILON in comparing float values to verify read data     - Casted C macro to fix mismatched types in verify_val calls Platforms tested:     Linux/32 2.6 (jam)     Linux/64 (platypus)     Darwin (osx1010test)
2016-09-07 12:25:34 -05:00
Larry Knox
e2f7b36b36 Merge pull request #18 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '03169f5b19e64ab568e13bc883ef5047542b632e':
  Restrict git commit hash in tar file names to first 7 characters with --short option.
2016-09-06 14:05:33 -05:00
Allen Byrne
2c6720aacb Merge pull request #17 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '9bcb5305db7226d06076aef5aada8c07fff1c41c':
  Add longer timeout to cache tests - test has consistently exceeded default timing.
2016-09-06 14:05:03 -05:00
lrknox
03169f5b19 Restrict git commit hash in tar file names to first 7 characters with
--short option.
2016-09-06 13:14:45 -05:00
Allen Byrne
9bcb5305db Add longer timeout to cache tests - test has consistently exceeded
default timing.
2016-09-06 10:13:28 -05:00
Larry Knox
d9489260e4 Merge pull request #14 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '49ea5bd2a9f23d53f94377457376c91f51e1d287':
  Removed -p option from invocation of autogen.sh by h5vers script to allow running h5vers on machines without /usr/hdf/bin/AUTOTOOLS.
2016-09-02 15:52:23 -05:00
lrknox
49ea5bd2a9 Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~lrknox/hdf5_lrk into develop 2016-09-02 15:42:31 -05:00
lrknox
78096ab08a Removed -p option from invocation of autogen.sh by h5vers script to
allow running h5vers on machines without /usr/hdf/bin/AUTOTOOLS.
2016-09-02 15:40:53 -05:00
Larry Knox
f6e22b669e Merge pull request #12 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:develop to develop
* commit '1bad18cc24e0108dea2a9e48402bba9d32e3b96c':
  Add bin/pkgscrpts files to MANIFEST.
  dd bin/pkgscrpts directory with scripts to package deployed unix binaries into tarfiles.
2016-09-02 13:07:11 -05:00
lrknox
1bad18cc24 Add bin/pkgscrpts files to MANIFEST. 2016-09-02 12:57:27 -05:00
lrknox
96e9dccf3e dd bin/pkgscrpts directory with scripts to package deployed unix binaries
into tarfiles.
2016-09-02 11:02:10 -05:00
Larry Knox
eb45597647 Merge pull request #9 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:HDFFV-9978-build-scripts-release-bbrelease to develop
* commit 'a4c60918a741e029c9ace1a8737f414cc0f49903':
  Added .gitignore and .gitattributes files with contents from the last git mirror or the hdf5 repository prior to the manual migration of the hdf5 svn repository to the git repository in bitbucket. Added entries to MANIFEST for the 2 new files.
2016-09-02 08:40:59 -05:00
Binh-Minh Ribler
478f771243 Purpose: Code cleanup
Description:
    - Used FP_EPSILON in comparing float values to verify read data
    - Casted C macro to fix mismatched types in verify_val calls
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-09-01 22:14:22 -05:00
Neil Fortner
b1eb1b3ee8 Replace assertion in H5O_dtype_decode_helper for number of array dimensions with a check and error. The assertion was inappropriate because it is operating on data read from the file, which the library does not always have direct control of. 2016-09-01 17:24:24 -05:00
lrknox
a4c60918a7 Added .gitignore and .gitattributes files with contents from the last
git mirror or the hdf5 repository prior to the manual migration of the
hdf5 svn repository to the git repository in bitbucket.
Added entries to MANIFEST for the 2 new files.
2016-09-01 16:15:15 -05:00
Allen Byrne
130e0a6638 Merge pull request #7 in HDFFV/hdf5 from ~BYRN/hdf5_adb:bugfix/HDFFV-9431-cpp_testhdf5 to develop
* commit '9842d2ae5f5956ea29e55c4e8d4ce9709882c879':
  Add VFD name to test folder
2016-09-01 15:22:17 -05:00
Allen Byrne
9842d2ae5f Add VFD name to test folder 2016-09-01 11:08:18 -05:00
Larry Knox
09642faf32 Merge pull request #6 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:HDFFV-9978-build-scripts-release-bbrelease to develop
* commit '5372b04bab6e36df2c3aa641307c2a93eccc35e9':
  Merge pull request #4 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_8 to hdf5_1_8
2016-08-31 12:38:54 -05:00
Larry Knox
5372b04bab Merge pull request #4 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_8 to hdf5_1_8
* commit '5aee5213190f145b5a734f5dc76a67c82f7d6b82':
  emoved .gitattributes and .gitignore, as the manual migration did not create them. Corrected bbrelease script  to create new release version with revision hash.
  Translate svn commands to git commands for chkmanifest and bbrelease scripts with source in git repository. Removed the -p option from the command to run autogen.sh.  It interfered with running chkmanifest on a machine with the correct autotools versions but without access to /usr/hdf/bin/AUTOTOOLS.  The autogen.sh script says the option is for HDF group use only and is likely to be removed.  The same effect can be achieved by adding /usr/hdf/bin/AUTOTOOLS to the beginning of PATH.
  Removed the -p option from the command to run autogen.sh.  It interfered with running chkmanifest on a machine with the correct autotools versions but without access to /usr/hdf/bin/AUTOTOOLS.  The autogen.sh script says the option is for HDF group use only and is likely to be removed.  The same effect can be achieved by adding /usr/hdf/bin/AUTOTOOLS to the beginning of PATH.
2016-08-31 12:17:06 -05:00
Larry Knox
095d4fd2cb Merge pull request #3 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:HDFFV-9978-build-scripts-release-bbrelease to develop
* commit 'b368f0de8d53ca536e95f71d88504cd1ee3ea33c':
  Removed the -p option from the command to run autogen.sh.  It interfered with running chkmanifest on a machine with the correct autotools versions but without access to /usr/hdf/bin/AUTOTOOLS.  The autogen.sh script says the option is for HDF group use only and is likely to be removed.  The same effect can be achieved by adding /usr/hdf/bin/AUTOTOOLS to the beginning of PATH.
2016-08-31 11:49:21 -05:00
Allen Byrne
dce6ead200 Merge pull request #2 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '203b2b2e75816bfd0f4d54ecd2cb1f41b1247447':
  Windows returns -1 instaed of 255 as on linux for the test
2016-08-30 12:56:46 -05:00
lrknox
b368f0de8d Removed the -p option from the command to run autogen.sh. It interfered
with running chkmanifest on a machine with the correct autotools
versions but without access to /usr/hdf/bin/AUTOTOOLS.  The autogen.sh
script says the option is for HDF group use only and is likely to be
removed.  The same effect can be achieved by adding
/usr/hdf/bin/AUTOTOOLS to the beginning of PATH.
2016-08-30 10:58:12 -05:00
Allen Byrne
203b2b2e75 Windows returns -1 instaed of 255 as on linux for the test 2016-08-30 10:27:07 -05:00
Allen Byrne
3b878ea9d9 Merge pull request #1 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:HDFFV-9978-build-scripts-release-bbrelease to develop
* commit 'ba5652ffc27be96fa7275b039ce2c8e249751657':
  Translate svn commands to git commands for chkmanifest and bbrelease scripts with source in git repository.
2016-08-29 17:01:20 -05:00
lrknox
ba5652ffc2 Translate svn commands to git commands for chkmanifest and bbrelease
scripts with source in git repository.
2016-08-29 16:42:53 -05:00
Allen Byrne
b947f7e911 [svn-r30321] HDFFV-9974: Correct parsing of UD filter parameters.
Verified by user, who reported issue.
2016-08-25 13:57:27 -05:00
Vailin Choi
169014d154 [svn-r30319] Fix for daily test failure on emu -m64 for the checkin #30310.
Tested on emu (-m64 & -m32), platypus, mayll, moohan, osx1010test, quail, kituo, ostrich, kite.
2016-08-24 15:12:18 -05:00
Allen Byrne
42d55a0f7d [svn-r30318] whitespace cleanup 2016-08-24 14:50:39 -05:00
Allen Byrne
2d6dd8ea64 [svn-r30317] Whitespace cleanup 2016-08-24 14:47:56 -05:00
Allen Byrne
4b471dea84 [svn-r30316] Use dns name for CDash instead of ip address 2016-08-22 13:31:38 -05:00
Allen Byrne
241dc68b48 [svn-r30315] HDFFV-9972: Fix test reference and change default for H5Iget_name in JNI API. 2016-08-22 13:07:01 -05:00
Allen Byrne
3c331b231a [svn-r30314] HDFFV-9971: Change the usage of a CMake variable for the build type to the recommended variable name. Updated documentation. 2016-08-22 12:22:38 -05:00
Allen Byrne
737bb56735 [svn-r30313] HDFFV-9972: unsatisfied link error under debug on Windows.
Added windows name suffix for debug to CMake cmd_arg for examples and test.
Fix issues discovered under debug testing;
   Create a version of H5Iget_name that correctly returns the name.
   Rework PIN_JAVA_STRING macro and usage to eliminate possible memory leaks by using if-else instead of mid-routine return.
   Update example to use new H5Iget_name API.
   
   Tested: windows under debug
2016-08-22 12:05:00 -05:00
Allen Byrne
f14e4b3e20 [svn-r30312] HDFFV-9706: Commit changes as discussed in HDF5-379. 2016-08-22 11:36:59 -05:00
Binh-Minh Ribler
b1c4fd77d9 [svn-r30311] Purpose: Fix bug HDFFR-9920 cont.
trunk:
Description:
    Continued rearranging the classes to model the relationship of HDF5
    objects more accurately.  The changes included:
    - in the baseclass list of Attribute, changed "public IdComponent" to
      "public H5Location", because location sometime can be specified with
      attribute
    - moved H5A wrappers in H5Location to H5Object because H5A functions
      can't be called on attribute id
    - removed the stubs Attribute::iterateAttrs and Attribute::renameAttr
    - removed Attribute::getFileName and Attribute::flush, because
          H5Location has them
    - result of the modified partial class diagram, regarding Attribute

                                IdComponent
                                     |
                                H5Location   AbstractDs
                                /       \   /
                        H5Object     Attribute
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-08-22 01:29:29 -05:00
Vailin Choi
ae18cf66d8 [svn-r30310] Fix daily test failure for previous checkin #30308.
Tested on platypus and mayll.
2016-08-21 19:21:20 -05:00
Binh-Minh Ribler
c78f1ec882 [svn-r30309] Purpose: Fix bug HDFFR-9920
Description:
    Rearranged the classes to model the relationship of HDF5 objects more
    accurately.  The changes included:
    - moved CommonFG's methods to Group
    - removed CommonFG from Group's base class list
    - removed CommonFG from H5File's base class list and changed
      "public H5Location" to "public Group" in the base class list
    - CommonFG became unused
    - result of the modified partial class diagram:

                                IdComponent
                                     |
                                H5Location
                                /
                        H5Object
                           |
                        /  /  \
                DadaType Group DataSet
                          |
                        H5File
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-08-19 23:34:26 -05:00
Vailin Choi
c8af99f530 [svn-r30308] Fix for HDFFV-7991--error when copying dataset with attribute which is a compound datatype consisting of
a variable length string.
Tested on mayll, platypus, osx1010test, emu, kituo, kite, quail, moohan, ostrich.
2016-08-19 15:58:16 -05:00
Dana Robinson
c58ca9e28b [svn-r30306] Updated vfd test to be better about fapls and h5_reset().
Prevents the test from segfaulting in other sub-tests
when a previous test fails.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial + direct VFD (vfd test only)
           Also tested with a forced error to ensure
           that the test no longer segfaults and 
           confirmed that all test files are cleaned up.
2016-08-19 11:30:05 -05:00
Dana Robinson
00c508dc68 [svn-r30303] Fixed unbalanced parentheses in H5F_SAME_SHARED macro.
This version of the macro isn't used anywhere in the
HDF5 source.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-08-18 14:09:42 -05:00
Scot Breitenfeld
79b14e8b4d [svn-r30301] Changed the print ordering of the SIZE_OF/KIND program output in order to match what is done in cmake.
Tested: gnu, jelly.
2016-08-18 13:53:24 -05:00
Scot Breitenfeld
5010195435 [svn-r30300] Fixed the ordering for KIND and SIZE_OF in the fortarn program in order to match the sed commands.
Should only matter for the NAG compiler.

Tested: (gnu, jelly)
2016-08-18 13:24:02 -05:00
Dana Robinson
6d7ac8aa15 [svn-r30297] Changed FAIL_STACK_ERROR to TEST_ERROR in test/vfd.c.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial, vfd test only
2016-08-18 09:20:03 -05:00
Dana Robinson
9f163e69f5 [svn-r30295] Minor whitespace cleanup in h5test.c.
Tested on: 64-bit Ubuntu 16.04 LTS w/ gcc 5.4.0
           Autotools serial w/ make check-vfd
2016-08-17 13:59:45 -05:00
Quincey Koziol
e10e6721a6 [svn-r30292] Description:
Correct failure on older Windows compilers.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-08-16 09:02:21 -05:00
Vailin Choi
197b29ced6 [svn-r30289] Fix for HDFFV-9960 H5DOappend without append callback.
This is the second part of the fix--see crucible review HDF5-383.
Tested on mayll, platypus, osx1010test, emu, kituo, kite, quail, moohan, ostrich.
2016-08-14 18:02:49 -05:00
Quincey Koziol
f40381b0ea [svn-r30285] Description:
More warning cleanups, bringing the build down to 25 unique types of
warnings, with 550 warnings in 122 files (down from 28, 770, and 134).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-08-13 04:23:53 -05:00
Binh-Minh Ribler
ae0b749012 [svn-r30279] Purpose: Code improvement (HDFFR-9725)
Description:
    Removed deprecated functions in previous releases due to missing const.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-08-12 01:55:43 -05:00
Neil Fortner
7ee176d29b [svn-r30275] Rework test_mf_bug1 to work with multi and split drivers.
Tested: ummon
2016-08-09 16:36:01 -05:00
Binh-Minh Ribler
b3017997a8 [svn-r30272] Purpose: Code improvement
Description:
    - Added "const" to arguments that should be const
    - Added "const" to const functions, i.e., function that don't change
      the objects they operate on.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-08-09 00:29:50 -05:00
Neil Fortner
7de719287a [svn-r30270] Fix an issue that could occur when allocating a chunked dataset in parallel,
with an alignment threshold set to be larger than the chunk size but smaller
than the size of the small data aggregator.

Tested: koala, ostrich (h5committest); jelly, ummon
2016-08-08 16:56:50 -05:00
Neil Fortner
36c595e5ea [svn-r30268] Remove failure causing code in test/mf.c unintentionally added in r30264. 2016-08-08 15:37:56 -05:00
Allen Byrne
67a8c2639a [svn-r30266] Add support for GIT to external filter access 2016-08-08 14:52:13 -05:00
Neil Fortner
297268f238 [svn-r30264] Fixed an issue that could occur when using H5Pset_alignment where a block could
be unaligned, causing an assertion failure.

Tested: koala, ostrich, jelly (h5committest), ummon
2016-08-08 13:46:21 -05:00
Vailin Choi
4d358ef0af [svn-r30262] Fix for HDFFV-9960: H5DOappend will not fail if a dataset has no append callback registered.
Tested on mayll, platypus, osx1010test, emu, moohan, kituo, ostrich, kite, quail.
2016-08-05 15:13:54 -05:00
Scot Breitenfeld
a4e4094c76 [svn-r30259] Fixed: HDFFV-9965: HDF5 Fails to build when sizeof or c_sizeof is not available in Fortran
Added the use of 'storage_size' if 'c_sizeof' is not available.

Tested (jelly, intel)
2016-08-05 13:30:53 -05:00
Allen Byrne
f0365885b4 [svn-r30254] Add missing import 2016-08-03 09:02:45 -05:00
Allen Byrne
b4ceb6c771 [svn-r30251] Ignore dlopen test - created HDFFV-9962 2016-08-02 10:45:38 -05:00
Allen Byrne
f72d425d9c [svn-r30250] Correct position of finally block for test 2016-08-02 10:29:43 -05:00
Allen Byrne
7e49cb802a [svn-r30245] remove incorrect copy 2016-08-01 16:44:43 -05:00
Allen Byrne
90d1a82839 [svn-r30243] Correct spelling 2016-08-01 13:23:09 -05:00
Allen Byrne
092e530f4a [svn-r30242] Cygwin does not implement the getpwuid the same as linux. 2016-08-01 13:22:17 -05:00
Allen Byrne
21cafd9cf4 [svn-r30241] JAVA-1920: new filter for tests. 2016-08-01 13:19:06 -05:00
Allen Byrne
0e99aa203a [svn-r30240] JAVA-1920: Create a filter plugin test that has a filter which calls a HDF5 function. 2016-08-01 13:17:36 -05:00
Allen Byrne
bac4cf8e92 [svn-r30238] Follow-on to HDFFV-9928: remove unconditional call of time.h type headers. Also remove duplicated includes when h5private.h is used. 2016-08-01 12:38:34 -05:00
Allen Byrne
e55844b752 [svn-r30237] HDFFV-9939: Change cmake commands to reduce POST_BUILD custom commands. Fixes possible overruns on windows command lines. 2016-08-01 12:35:00 -05:00
Allen Byrne
1494413413 [svn-r30236] HDFFV-9928: remove duplicate and unconditional includes in h5diff_array.
Also format function block in h5diff_attr to eliminate excessive whitespace
2016-08-01 12:26:41 -05:00
Allen Byrne
4ce65b8585 [svn-r30235] HDFFV-9730: Fix functions for delete to use a specific dir instead of a possibly uninitialized variable. 2016-08-01 12:20:21 -05:00
Allen Byrne
db7a701126 [svn-r30232] HDFFV-9953, -9955: Add new testfiles to h5dump generator and tests. 2016-08-01 12:03:56 -05:00
Allen Byrne
2bb3a09add [svn-r30231] HDFFV-9944: else statement and braces.
refactored out the assert statement since H5MM_xfree allows null argument.
2016-08-01 11:45:44 -05:00
Dana Robinson
e61ed09aab [svn-r30228] Changed a few printf calls to HDprintf in file_image.c.
Checked the return value of a read() call to clean up a warning.

Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial, file_image test only
2016-07-29 21:02:10 -05:00
Dana Robinson
faea627254 [svn-r30224] Added HDprintf() macro that uses HDfprintf w/ stdout.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial
2016-07-27 11:56:42 -05:00
Quincey Koziol
4af66b09e0 [svn-r30219] Description:
More warning cleaups: down to 770 warnings (from ~940) in 134 files (from
148), with 28 unique kinds of warnings (from 31).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-22 17:43:18 -05:00
Allen Byrne
9b597a4855 [svn-r30213] Add H5Aread_complex for reading arrays and compounds that are not VL strings. 2016-07-20 14:40:42 -05:00
Allen Byrne
2387b1efbd [svn-r30211] Remove extra cygwin files 2016-07-20 13:31:15 -05:00
Scot Breitenfeld
3f37d67b3c [svn-r30209] HDFFV-9467: Use the same test programs for CMake and autotools
-- Modified C++ to use the same test programs.

Tested: jelly (gnu)
2016-07-20 11:10:42 -05:00
Allen Byrne
33e8407350 [svn-r30207] Change cygwin files to a single file 2016-07-20 10:03:09 -05:00
Allen Byrne
f79cabde38 [svn-r30206] HDFFV-9946: Change cygwin config to a single file 2016-07-20 09:49:43 -05:00
Allen Byrne
760685eba6 [svn-r30205] Correct name of UNSUPPORTED option 2016-07-20 09:45:55 -05:00
Allen Byrne
a621f5f668 [svn-r30204] Move CXX tests to C++ compiler test file 2016-07-20 09:45:25 -05:00
Quincey Koziol
d3b724f86a [svn-r30201] Description:
Switch test framework to dynamically allocate the testing array, and
expand the length of the description field.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-18 17:36:44 -05:00
Scot Breitenfeld
3d90b0e994 [svn-r30198] HDFFV-9467: Use the same test programs for CMake and autotools
Tested: jelly (gnu)
2016-07-18 14:07:51 -05:00
Scot Breitenfeld
304d85c3e7 [svn-r30196] HDFFV-9467: Use the same test programs for CMake and autotools
Tested: jelly (gnu)
2016-07-18 13:37:17 -05:00
Allen Byrne
a71f9dd1e4 [svn-r30194] Convert usage function to use standard tools macros. 2016-07-18 11:46:43 -05:00
Allen Byrne
dd0eaf951f [svn-r30192] Correct random code inserted in usage text. 2016-07-18 09:12:34 -05:00
Quincey Koziol
bb19817c9f [svn-r30189] Description:
Clean up more warnings: drop the warning count from ~1310 down to ~940,
with only 31 types of warnings in 148 files (down from 38 types in 167 files).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-17 19:18:42 -05:00
Dana Robinson
c8f4641507 [svn-r30184] Converted h5_fileaccess() to H5Pcreate() in the sec2 test.
Tested on: 64-bit Ubuntu Linux 16.04 LTS w/ gcc 5.4.0
           Autotools serial, vfd test only w/ various VFDs
2016-07-14 08:55:50 -05:00
Dana Robinson
b2c8ac133c [svn-r30163] Changed a h5_fileaccess() call to H5Pcreate() in the core VFD test.
Since it only tests the core VFD, there's no need to get a
VFD-dependent fapl.

Tested on:

    64-bit Ubuntu Linux w/ gcc 5.3.1
    vfd test w/ all VFDs tested by make check-vfd
2016-07-09 01:43:11 -05:00
Quincey Koziol
2677879995 [svn-r30161] Description:
Switch from atoll to strtoull, to make VS2012 happy.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-07 16:38:35 -05:00
Quincey Koziol
ec2fbe0883 [svn-r30158] Description:
More warning cleanups.  This brings us down to ~1300 warnings in 167 files

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-07-07 13:54:11 -05:00
Scot Breitenfeld
3e5a61c9ff [svn-r30154] Fixed inequality comparsions for reals in HL fortran tests
(HDFFV-9949, MSB, 7/7/16)
2016-07-07 08:36:50 -05:00
Vailin Choi
88476380be [svn-r30151] Fix daily test failures for checkin #30143 for HDFFV-9940.
Tested on osx1010test, moohan, emu, kituo.
2016-07-06 18:08:42 -05:00
Dana Robinson
130f8135ca [svn-r30148] Expanded core VFD test in vfd.c. Minor tidying to sec2 VFD test also.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-07-05 20:40:31 -05:00
Dana Robinson
8e9edc8dc1 [svn-r30147] Removed #ifdef-guarded debug output from core VFD.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial w/ core and core_paged VFDs
2016-07-05 19:58:58 -05:00
Vailin Choi
af0829aa17 [svn-r30143] Fix for HDFFV-9940.
Tested on jam, osx1010test, moohan, platypus, emu, kite, kituo, mayll, ostrich, quail.
2016-07-03 23:06:34 -05:00
Quincey Koziol
4f967d5029 [svn-r30139] Description:
Bring over missing flush+refresh routines, to address Java failures.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    Linux/64 2.6.18 (jam) w/Java
2016-07-02 00:14:06 -05:00
Quincey Koziol
b72eff1659 [svn-r30134] Description:
Add CMake macros and detections for the "round" family of routines.

Tested on:
    Upcoming Windows daily tests
2016-07-01 22:16:20 -05:00
Neil Fortner
bfae878d8f [svn-r30131] Fix bug reported by Cisco Talos TALOS-CAN-0178. Added check for a message that
should not be sharable being marked as sharable on disk, returns failure in
this case. Needs testing.

Tested: ummon
2016-07-01 10:31:44 -05:00
Quincey Koziol
35e6928220 [svn-r30127] Description:
Use internal rounding routine, if the StdC ones aren't available (like on
Windows).

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-30 15:59:15 -05:00
Quincey Koziol
1f811ecceb [svn-r30126] Description:
Correct build error with non-debug parallel builds

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-30 15:23:42 -05:00
Scot Breitenfeld
8ca7944380 [svn-r30120] Fixed compilation failure on emu due to moving testing subroutines into a module.
Tested: emu and jelly (gnu)
2016-06-29 14:21:19 -05:00
Dana Robinson
c15d93826b [svn-r30118] Sync with trunk. 2016-06-29 10:13:20 -05:00
Quincey Koziol
83724bd787 [svn-r30113] Description:
Clean up warnings (from 2774 -> 1560, with my standard debug build)

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:53:48 -05:00
Quincey Koziol
b8f809981b [svn-r30112] Description:
Move updated flush dependency code in metadata cache from revise_chunks
branch to trunk.  Also many of the cleanups from r30111 in the revise_chunks
branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-28 16:39:09 -05:00
Dana Robinson
3d13b7c6ee [svn-r30110] Added missing evict_on_close.c file to test/. 2016-06-27 16:04:52 -05:00
Dana Robinson
88c8c78763 [svn-r30108] Moved group flush and evict code to H5G_close from H5Gclose. 2016-06-25 22:41:48 -05:00
Dana Robinson
35f8a064c5 [svn-r30107] Moved dataset flush and evict code to H5D_close from H5Dclose. 2016-06-25 11:15:52 -05:00
Dana Robinson
b236c21601 [svn-r30106] Moved datatype close code to new internal function. H5Oclose()
now supports evict-on-close for datatypes.
2016-06-25 09:54:33 -05:00
Dana Robinson
f9312d49d5 [svn-r30105] Datatypes and Groups now support evict-on-close. 2016-06-25 08:30:11 -05:00
Dana Robinson
29cb102f12 [svn-r30104] Fixes evict-on-close feature by propagating global
flush flag up the function call stack and not setting
it during H5Dclose().
2016-06-24 17:19:09 -05:00
Dana Robinson
280907a9bf [svn-r30102] Cleaned up incorrect comments in H5AC_type_t enum.
Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
           (comment and whitespace changes only)
2016-06-22 21:37:17 -05:00
Quincey Koziol
f410d5d842 [svn-r30095] Description:
Bring over fixes for CMake testing from the revise_chunks branch

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-19 03:48:44 -05:00
Scot Breitenfeld
dd4744d3f6 [svn-r30089] fixed issue of CHARACTER argument of c_loc having a length of 1 2016-06-16 13:58:43 -05:00
Scot Breitenfeld
bdcb43071a [svn-r30087] fixed issue of CHARACTER argument of c_loc having a length of 1 2016-06-16 13:00:13 -05:00
Scot Breitenfeld
a82edeb89b [svn-r30085] changed from CHARACTER to CHARACTER(LEN=*), and moved the LEN of an optional argument into the optional check loop. 2016-06-16 11:54:45 -05:00
Dana Robinson
75aa26981b [svn-r30084] First pass at the evict-on-close feature.
The features is controlled via H5Pset/get_evict_on_close()
and is currently enabled by default (it will be disabled
by default in the final implementation).

There is a bug in the code where the eviction of tagged
metadata fails due to some of the metadata being dirty,
resulting in error return values and test failures.
2016-06-15 13:55:59 -05:00
Dana Robinson
77a2233475 [svn-r30083] Added BRANCH.txt 2016-06-15 13:35:25 -05:00
Scot Breitenfeld
0c2964383b [svn-r30078] Fixed -- HDFFV-9675 Removed unused variables in Fortran Library.
Tested Jelly.
2016-06-15 08:56:20 -05:00
Quincey Koziol
d3396a7953 [svn-r30075] Description:
Bring object/dataset/group/named datatype features from revise_chunks
branch to trunk.  Also CMake support for h5format_convert and a bunch of
misc. cleanups.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-14 18:07:03 -05:00
Quincey Koziol
7a9e13afdb [svn-r30068] Description:
Bring metadata cache corking to trunk.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-13 12:49:39 -05:00
Scot Breitenfeld
1db1d99883 [svn-r30064] Changed configure's behavior from a warning to an error
if the available Fortran KINDs, 
or Fortran decimal precision, can not be determined.

(MSB, HDFFV-9922)
2016-06-09 15:39:17 -05:00
Larry Knox
3b507bb8c4 [svn-r30058] Correct typo in compile scripts that causes dropping of filename in -o outfile.
Addresses HDFFV-9530 and HDFFV-9938.
2016-06-08 15:14:32 -05:00
Quincey Koziol
2e6ccbfff8 [svn-r30053] Description:
Create iterator routine for tagged entries and refactor current routines
to use it.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-07 19:50:46 -05:00
Allen Byrne
aee288c19d [svn-r30048] refactor duplicate release string calls 2016-06-07 14:04:20 -05:00
Quincey Koziol
d124a1fe47 [svn-r30035] Description:
Extract tagging routines into separate source module.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-06 01:41:16 -05:00
Quincey Koziol
e1f276f267 [svn-r30033] Description:
Extract epoch marker metadata client into separate source file.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-06-06 00:51:17 -05:00
Quincey Koziol
48fd9fd20a [svn-r30031] Description:
Minor code cleanup to align w/revise_chunks branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-06 00:13:14 -05:00
Quincey Koziol
2a16af5703 [svn-r30026] Description:
Remove -Wnormalized from GCC 4.x builds.

Tested on:
    elk (w/gcc 4.4.7)
    moohan (w/gcc 4.8.5)
2016-06-05 23:34:20 -05:00
Quincey Koziol
a580fdedc1 [svn-r30025] Description;
Bring a few code cleanups in from thr revise_chunks branch.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 22:49:55 -05:00
Quincey Koziol
2053438661 [svn-r30023] Description:
Make the trace open/close routines static.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 22:42:19 -05:00
Quincey Koziol
03dafc5ebe [svn-r30020] Description:
Bring r29992 from revise_chunks branch to trunk:

Turn off error reporting for h5debug and hdf2gif.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & produciton
    (h5committest forthcoming)
2016-06-05 21:30:16 -05:00
Quincey Koziol
dd6c8994c0 [svn-r30017] Description:
Bring warning cleanusp in r29990, 29993, 29997, 29999, 30004 from
revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production.
    (h5committest forthcoming)
2016-06-05 19:45:37 -05:00
Quincey Koziol
60aebe36b6 [svn-r30015] Description:
Update GNU compiler flags for 6.x release.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-06-05 18:20:48 -05:00
Vailin Choi
52ac99827b [svn-r30009] Fix for h5format_convert daily test failures when --enable-using-memchecker.
Tested on jam, ostrich, moohan, osx1010test, quail, kite, mayll.
2016-06-03 21:52:35 -05:00
Dana Robinson
fcaf9c483a [svn-r30002] Fixed some minor warnings in H5AC.c and H5C.c, cleaned up warnings
in the cache tests, and made some huge static arrays dynamic
in the cache tests.

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-06-01 12:02:30 -05:00
Quincey Koziol
3384f4c0b9 [svn-r29985] Description:
Extract query routines into separate source module.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2016-05-30 04:06:26 -05:00
Quincey Koziol
dbc1e0e980 [svn-r29980] Description:
Cleanup whitespace to align w/revise_chunks branch

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 02:25:01 -05:00
Quincey Koziol
cc95ed32fd [svn-r29978] Description:
Bring r29914 from revise_chunks branch to trunk:

Banished -Wformat= warnings from the library, tools, and tests.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 02:03:37 -05:00
Quincey Koziol
8e5447a185 [svn-r29976] Description:
Bring over remaining piece of r29675 from revise_chunks branch:

Refactor coding in H5D__farray_idx_delete() to be similar to H5D__earray_idx_delete()

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 01:37:52 -05:00
Quincey Koziol
a6303ce04c [svn-r29975] Description:
Bring r29909 from revise_chunks to trunk:

Cleaned up "conflicts with C++ keyword" warnings.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-30 01:18:56 -05:00
Quincey Koziol
bf566b775b [svn-r29969] Description:
Bring r29934 from revise_chunks branch to trunk:

(1) Fix for HDFFV-9434: throw an error instead of assertion when v1 btree level hits the 1 byte limit.
(2) Modifications to better handle error recovery when conversion by h5format_convert fails.

Tested on:
    MacOSX/64 10.11.5 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-29 05:57:47 -05:00
Allen Byrne
29a5f10619 [svn-r29963] Fix plugin test executable link library 2016-05-24 15:16:40 -05:00
Dana Robinson
7924f465c2 [svn-r29959] Fixed some bad logic in the cache_api test that caused
EXIT_FAILURE to be returned from the test.

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-05-24 13:03:53 -05:00
Dana Robinson
dd85db8cd2 [svn-r29957] Changes to cache_api.c
- Cleaned up mixed tabs and spaces that mis-aligned brackets.
- Test functions now return hbool_t to match the global pass variable.
- Main now returns EXIT_SUCCESS/EXIT_FAILURE.
- The invalid_configs array is now allocated dynamically instead
  of statically. This reduces the frame size, removing some
  warnings and making it easier for platforms/compilers that
  have frame size issues (e.g.: zOS).

Tested on: 64-bit Ubuntu Linux w/ gcc 5.3.1
           Autotools serial
2016-05-24 09:46:42 -05:00
Dana Robinson
741f836b98 [svn-r29956] Removed tools/h5format_convert/Makefile.in. 2016-05-24 09:22:30 -05:00
Scot Breitenfeld
57121ebb3d [svn-r29952] merged change 29951 from
https://svn.hdfgroup.uiuc.edu/hdf5/branches/hdf5_1_10_0/fortran/src

into trunk.
2016-05-23 16:34:10 -05:00
Scot Breitenfeld
9b4603fc92 [svn-r29946] comment cleanup/reformatting 2016-05-18 09:14:56 -05:00
Scot Breitenfeld
61d18bbebe [svn-r29939] HDFFV-9917: compile time error with H5f90global.f90
Fix:Made datatypes the same type and kind for both args to MAX().


Tested: jam (gnu)
2016-05-16 08:13:20 -05:00
Scot Breitenfeld
5871eed008 [svn-r29928] HDFFV-9912:
configure fails to detect valid KINDs on FreeBSD

Added the exponential option to SELECTED_REAL_KIND to distinguish KINDs of same precision.

Tested: FredBSD, jam, platypus.
2016-05-12 16:57:08 -05:00
Quincey Koziol
18ad868b23 [svn-r29924] Description:
Bring h5format_convert tool from revise_chunks branch to trunk.

Tested on:
    MacoSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-12 15:47:03 -05:00
Scot Breitenfeld
92806fb5e6 [svn-r29922] merged -c29913 from 1.10.0 branch. 2016-05-12 13:36:32 -05:00
Allen Byrne
9494f92ae2 [svn-r29911] Fix script version ext text 2016-05-11 09:23:48 -05:00
Allen Byrne
a5b595e020 [svn-r29889] HDFFV-9775: Add enable-error-stack to tools lib and refactor h5repack error handling. 2016-05-04 13:15:57 -05:00
Allen Byrne
740d4a3b6f [svn-r29888] Correct spelling of testfile name 2016-05-04 13:13:54 -05:00
Allen Byrne
5497968dfe [svn-r29887] Add missing testfiles for h5repack 2016-05-04 12:53:49 -05:00
Allen Byrne
3764d69e9e [svn-r29885] Fix memory leak when one dataset is vlen. 2016-05-04 11:39:28 -05:00
Allen Byrne
2f1b517021 [svn-r29884] VDS correction for get_space_status, with test change.
Add new files for repack tests.
Add repack tests for VDS files.
2016-05-04 11:38:08 -05:00
Allen Byrne
f962c3d963 [svn-r29883] Convert import test script to standard used by other test scripts. 2016-05-04 11:35:59 -05:00
Allen Byrne
ca8465513d [svn-r29882] Convert cache source files to library compatible by CMake and Windows 2016-05-04 11:29:52 -05:00
Allen Byrne
5e94747c52 [svn-r29881] Add include guards.
Remove unnecessary includes.
2016-05-04 11:18:11 -05:00
Allen Byrne
1bd3635781 [svn-r29880] Add HD to sleep function calls 2016-05-04 11:16:45 -05:00
Allen Byrne
0c0d6bd4df [svn-r29878] Add LD tests to CMake.
Add include guards and Windows guards to dectris_hl_perf.c file.
2016-05-04 11:14:45 -05:00
Allen Byrne
2d36359035 [svn-r29874] Move hl/tools/gif2h5 CMake code to subfolder. 2016-05-04 10:54:31 -05:00
Allen Byrne
f1633a5fe2 [svn-r29873] Java add missing APIs.
Adjust whitespace in H5.java for exception indentation.
Adjust whitespace in JNI for function signature formatting.
2016-05-04 10:52:40 -05:00
Allen Byrne
54316ab542 [svn-r29871] HDFFV-9743: Fix java examples Debug build commands.
rename examples clear-objects test names.
2016-05-04 10:38:52 -05:00
Allen Byrne
792f902854 [svn-r29868] Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR. 2016-05-04 10:30:30 -05:00
Allen Byrne
8bd70914fc [svn-r29867] CMake whitespace cleanup 2016-05-04 10:29:16 -05:00
Allen Byrne
7b291f3531 [svn-r29866] Add files to clear test generated files tests. 2016-05-04 10:24:16 -05:00
Allen Byrne
949853b047 [svn-r29864] Add ignore test names for Valgrind process.
Add files to clear test generated files tests.
2016-05-04 10:19:34 -05:00
Allen Byrne
74f3326a67 [svn-r29862] Convert source list names from *_SRCS to *_SOURCES.
Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR.
2016-05-04 10:06:05 -05:00
Quincey Koziol
2e3e3f9cd3 [svn-r29857] Description:
Bring H5LD* routines from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-03 01:27:55 -05:00
Quincey Koziol
a6ce3d4e45 [svn-r29850] Description:
Bring H5DOappend(), H5P[s|g]et_object_flush_cb, and H5P[s|g]et_append_flush
from revise_chunks branch to trunk.  Brings along updated metadata cache
entry tagging, and the internal object flush routine.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-05-01 05:24:56 -05:00
Quincey Koziol
ac72823bc2 [svn-r29844] Description:
Minor rearrangements, to align with revise_chunks branch

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 22:18:00 -05:00
Quincey Koziol
bd33a9d6da [svn-r29842] Description:
Bring [appropriate portions of] r29811, 29813, 29826, 29830, 29831 from
revise_chunks branch to the trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-30 01:10:38 -05:00
Quincey Koziol
f63b2c50ac [svn-r29815] Description:
Change 'value' pointer to H5Pset() from 'void *' to 'const void *'.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial
    (h5committest forthcoming)
2016-04-26 14:33:45 -05:00
Binh-Minh Ribler
75b926c96a [svn-r29803] Purpose: Code improvement
Description:
    The constructor FL_PacketTable added in 1.10.0 did not have good
    prototype; it didn't allow the property list to be default.  Marked
    it deprecated and added this one:

        FL_PacketTable(hid_t fileID, const char* name, hid_t dtypeID,
                       hsize_t chunkSize = 0, hid_t plistID = H5P_DEFAULT)
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 23:15:52 -05:00
Binh-Minh Ribler
cedc64c695 [svn-r29800] Purpose: Fix memory leak - HDFFV-9700
Description:
    Applied user's patch to fix memory leak.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 16:05:37 -05:00
Binh-Minh Ribler
853b4f417b [svn-r29796] Purpose: Fix warnings HDFFV-8615
Description:
    The "warning: deprecated conversion from string constant to âchar*â
    [-Wwrite-strings]" was already removed by adding const to char*
    parameter in the FL_PacketTable.  This change is to remove the use
    of literal strings in code for maintainability.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 14:14:51 -05:00
Dana Robinson
f50629ed52 [svn-r29793] Removed -Waggregate-return from gnu C++ flags.
This flag generates a large number of warnings and is considered obsolete
since its primary purpose seems to have been to support ancient compilers
that could not return an aggregate.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ C++
2016-04-25 11:35:40 -05:00
Binh-Minh Ribler
0d5910683d [svn-r29786] Purpose: Add new wrapper
Description:
    Added wrapper for H5Tset_nbit: void DSetCreatPropList::setNbit() const.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-25 01:09:46 -05:00
Binh-Minh Ribler
32bdd82cc8 [svn-r29782] Purpose: Code improvement
Description:
    - Removed ArrayType::rank and ArrayType::dimensions and modified the methods
      ArrayType::getArrayNDims and ArrayType::getArrayDims to always call the
      C functions to get the rank and dimensions.
    - Overloaded ArrayType::getArrayNDims and ArrayType::getArrayDims to provide
      const version and marked the non-const version deprecated.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-24 10:52:09 -05:00
Quincey Koziol
4f831405cb [svn-r29779] Description:
Bring over some of the tool testing for the new chunk indices.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 03:21:09 -05:00
Quincey Koziol
b0980a5f54 [svn-r29776] Description:
Bring "file pointer patching" code & test from revise_chunks to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:50:00 -05:00
Quincey Koziol
3ac0a74bf3 [svn-r29775] Description:
Another change for 'none' file pointers.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-24 00:37:18 -05:00
Quincey Koziol
b2d6d68d5d [svn-r29770] Description:
Bring 'none' chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-23 00:03:00 -05:00
Binh-Minh Ribler
997392079b [svn-r29766] Description:
- Changed object in catch statements to reference (left over from previous)

Platforms tested:
    Linux/32 2.6 (jam) (very minor)
2016-04-22 15:32:18 -05:00
Binh-Minh Ribler
c37607eb58 [svn-r29759] Purpose: Code improvements
Description:
    - Changed object in catch statements to reference
    - Replaced old-style casts or reinterpret_cast with static_cast
    - Removed unused name H5Library::need_cleanup
    - Removed Exception::printError from documentation
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-22 06:22:34 -05:00
Larry Knox
c63f96d6e7 [svn-r29755] test/ohdr.c apply fix for HDFFV-9713 to not open test file in source with write permission.
config/linux-gnulibc1   reapply filx for HDFFV-9439 which was partially removed, probably by merge from revise_chunks branch.

Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-20 15:53:47 -05:00
Scot Breitenfeld
988c33527f [svn-r29745] HDFFV-9767
h5perf output; should be MB not MBs

FIX: changed output text from MBs to MB and KBs to KB
2016-04-19 10:00:53 -05:00
Quincey Koziol
5108468482 [svn-r29743] Description:
Close another FAPL in the test_missing_chunk() routine.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-19 09:25:49 -05:00
Quincey Koziol
c02c88f874 [svn-r29742] Description:
Add missing source file for single chunk index.

Tested on:
    Windows (via daily testing
2016-04-19 09:18:30 -05:00
Quincey Koziol
f7aff7d5cf [svn-r29738] Description:
Bring "single" chunk index from revise_chunks branch to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production (w/check-vfd)
    (h5committest forthcoming)
2016-04-18 23:21:12 -05:00
Quincey Koziol
6ce67650fb [svn-r29736] Description:
Close FAPL that was leaked in zero_dims test.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production, including check-vfd
    (h5committest forthcoming)
2016-04-18 21:42:30 -05:00
Quincey Koziol
062055fe60 [svn-r29730] Description:
Add missing pre-generated files to list of test files to copy.

Tested on:
    Windows (Reported by Allen)
2016-04-18 09:56:48 -05:00
Quincey Koziol
36062736a5 [svn-r29722] Description:
Bring over more dataset tests from the revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-17 02:26:51 -05:00
Quincey Koziol
ce8905cc90 [svn-r29718] Description:
Bring changes from revise_chunks branch to trunk

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel, and production
    (h5committest forthcoming)
2016-04-16 03:50:45 -05:00
Quincey Koziol
81ef260f6b [svn-r29717] Description:
Correct chunk index computation for earrays and farrays, particularly when
copying datasets with H5Ocopy() and other operations (like H5Dget_storage_size)
that require iterating over all chunks.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:42:48 -05:00
Quincey Koziol
a916ea97b8 [svn-r29716] Description:
Add missing testfiles from dsets.c to the 'clean' target.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:40:06 -05:00
Quincey Koziol
d3574d0570 [svn-r29715] Description:
Clean up coding to increment/decrement underlying FAPL for multi/split
VFDs, to avoid copying property lists as much.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-16 03:39:01 -05:00
Quincey Koziol
be24e91aec [svn-r29714] Description:
Switch to use internal DXPL ID, to align with recent changes within the
library.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-04-16 03:36:47 -05:00
Quincey Koziol
ccdf15d88a [svn-r29712] Description:
Minor code cleanups to address typos & warnings.

Tested on:
    MaOSX/64 10.11.4 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-04-16 03:34:27 -05:00
Binh-Minh Ribler
bd4d0d62bd [svn-r29710] Purpose: Code improvements
Description:
    - Replaced "goto out" and "out:" with "goto error" and "error:" to indicate
      the failure situations.
    - Replaced old-style casts with static_cast to remove warnings.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-15 14:08:28 -05:00
Dana Robinson
57b7130acf [svn-r29698] Switched true and false to TRUE and FALSE in a function in
test/external.c.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial (external test only)
2016-04-14 16:26:41 -05:00
Larry Knox
e2c8d94ac1 [svn-r29696] Applied fix for HDFFV-9439 to mpicc config as well as mpif90 in config/linux-gnulibc1.
Tested with h5committest.new on kituo, ostrich, osx1010dev and platypus.
2016-04-14 15:18:02 -05:00
Allen Byrne
18e360b9fa [svn-r29683] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets.
SKIP h5repack VDS tests until h5repack is fixed.
remove h5repack fix ddl files needed when h5repack VDS fix is implemented.
2016-04-11 09:21:37 -05:00
Allen Byrne
0ff3a85a48 [svn-r29681] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets.
SKIP h5repack VDS tests until h5repack is fixed.
Additional tests to be skipped
2016-04-11 08:53:55 -05:00
Allen Byrne
7fe0324fc4 [svn-r29680] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets.
SKIP h5repack VDS tests until h5repack is fixed.
2016-04-11 08:45:33 -05:00
Larry Knox
921b68afa7 [svn-r29678] Revert r29672 changes to h5diff.
Tested h5committest.new
2016-04-09 13:48:43 -05:00
Allen Byrne
1335631f3d [svn-r29673] Fix typo of var name 2016-04-08 12:44:36 -05:00
Allen Byrne
1a5ee65d50 [svn-r29672] HDFFV-1956: h5diff will warn if a dataset is virtual instead of failing. h5diff does not consider the layout type when comparing datasets. 2016-04-08 12:43:59 -05:00
Dana Robinson
c575abdeff [svn-r29668] Added H5Dfarray.c to CMake.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           CMake serial
2016-04-07 20:06:17 -05:00
Dana Robinson
305d218725 [svn-r29665] Added new chunk index types to h5debug.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial
2016-04-07 15:31:17 -05:00
Dana Robinson
e5c94192d7 [svn-r29659] Added fixed array chunk indexing from revise_chunks.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           Autotools serial w/ Java, Fortran, & C++
2016-04-07 13:21:47 -05:00
Dana Robinson
f2c3407eb6 [svn-r29655] Added H5D_CHUNK_BTREE to the deprecated section of H5Dpublic.h.
Tested on: 64-bit Ubuntu 15.10 (build only, not used in existing code)
2016-04-07 09:50:44 -05:00
Scot Breitenfeld
77a806591d [svn-r29653] fixed A variable that is specified as an argument to the intrinsic procedure C_LOC must either have type and type parameters that are interoperable with a C type, or be a nonpolymorphic, scalar variable with no length type parameters. 2016-04-07 08:54:48 -05:00
Scot Breitenfeld
02a07cb0cf [svn-r29649] changed indentation format, updated comments 2016-04-06 13:30:16 -05:00
Scot Breitenfeld
01f479abb4 [svn-r29648] FIX: HDFFV-8486
h5tbmake_table_f is missing the fill_data parameter (which is in the C counterpart)

ADDED NEW API: h5tbread_table_f

Tested: platypus, ostrich
2016-04-06 13:07:17 -05:00
Scot Breitenfeld
54d598aa44 [svn-r29646] FIX: HDFFV-9522
Add support for variable length datatypes in the High Level H5LT Fortran APIs

Tested: platypus (gnu)
2016-04-06 10:17:02 -05:00
Quincey Koziol
b84fc45857 [svn-r29644] Description:
Finish correcting initializer for chunked layouts.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (to minor to require h5committest)
2016-04-05 23:18:54 -05:00
Quincey Koziol
c622ca83f5 [svn-r29640] Description:
Add missing inializer from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial
    (Too minor to require h5committest)
2016-04-05 11:52:38 -05:00
Dana Robinson
939da8a35e [svn-r29638] Added new chunk index types to trace code.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-04-05 09:49:50 -05:00
Quincey Koziol
5d46ad9b39 [svn-r29635] Description:
Bring support for earray and v2 B-trees from revise_chunks branch to
trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-05 02:12:56 -05:00
Quincey Koziol
a816d03108 [svn-r29632] Description:
Align w/revise_chunks branch

Tested on:
    MacOSX/64 10.11.4 (amazon) w/parallel
    (h5committest forthcoming)
2016-04-04 23:11:54 -05:00
Quincey Koziol
4282c5f01f [svn-r29630] Description:
Minor style cleanups, from revise_chunks branch

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel and production
    (too minor to require h5committest)
2016-04-04 22:45:38 -05:00
Quincey Koziol
c7d4951634 [svn-r29626] Description:
Revise method of invoking object flush callback.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-04 17:22:56 -05:00
Quincey Koziol
2221a9a96e [svn-r29625] Description:
Removed unused routines

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-04-04 17:14:54 -05:00
Dana Robinson
0024745638 [svn-r29620] Merge of r29619 from revise_chunks. Minor H5Fpublic.h comment update.
Tested on: 64-bit Ubuntu 15.10 (build only, no code changes)
2016-04-04 16:01:45 -05:00
Quincey Koziol
86f401d740 [svn-r29614] Description:
Bring updated code for setting chunk size information from revise_chunks
branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-03 04:18:25 -05:00
Quincey Koziol
3cd705e56e [svn-r29612] Description:
Bring updated layout and EFL property comparisons and new "latest format"
flags from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/serial, parallel & production
    (h5committest forthcoming)
2016-04-03 03:48:50 -05:00
Quincey Koziol
9d2178ab88 [svn-r29607] Description:
Bring "don't filter partial edge chunks" capability from revise_chunks
to trunk.

Tested on:
    MacOSX/64 10.11.4 (amazon) w/debug, production & parallel
    (h5committest forthcoming)
2016-04-02 04:39:32 -05:00
Scot Breitenfeld
e45885dea9 [svn-r29603] HDFFV-9746 Add test for "/" for H5LTpath_valid
Tested: jam (gnu)
2016-04-01 16:30:24 -05:00
Allen Byrne
8e41b14811 [svn-r29601] Cleanup case of CMake commands in tools.
Update CTestCustom file for new tests.
Add connection from HDF5_ENABLE_USING_MEMCHECKER cmake option to library define USING_MEMCHECKER.
2016-03-31 09:02:24 -05:00
Scot Breitenfeld
018f92063e [svn-r29599] added comments to source 2016-03-30 14:11:41 -05:00
Scot Breitenfeld
6b21276650 [svn-r29591] Changed buf variable in h5awrite_f from INOUT to IN 2016-03-29 09:46:58 -05:00
Allen Byrne
261f8c8361 [svn-r29560] Remove list and check of flags, defer to library function for checking, which will return an error. That error then produces a HDF5FunctionArgument exception instead of IllegalArgument exception. 2016-03-24 12:21:04 -05:00
Allen Byrne
d9ab44fe46 [svn-r29557] Add comments to CMake macros and do append error file
revise_chunks rev 29556
2016-03-24 10:59:00 -05:00
Binh-Minh Ribler
eb66e7537c [svn-r29554] Description:
Removed an extra line in the Copyright block.  No need to test.
2016-03-24 10:01:41 -05:00
Dana Robinson
53a286f7da [svn-r29552] Normalization with revise_chunks in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-24 00:19:52 -05:00
Dana Robinson
caf3b0db14 [svn-r29549] Minor normalization w/ revise_chunks in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 23:27:14 -05:00
Dana Robinson
9333a2e39c [svn-r29548] Minor normalization w/ trunk in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 22:58:43 -05:00
Dana Robinson
32f21214bb [svn-r29545] Minor normalization w/ trunk in preparation for big merge.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           autotools parallel (MPICH 3.1.4)
2016-03-23 19:38:03 -05:00
Dana Robinson
8ed8520c19 [svn-r29537] Added "latest format" tests to h5copy and h5repack from revise_chunks.
Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
           cmake serial
2016-03-23 14:32:59 -05:00
Dana Robinson
5a9a9e8f0e [svn-r29534] Normalization w/ revise_chunks in preparation for big merge.
tools directory

Also fixes a minor Java test output error.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-23 12:42:06 -05:00
Dana Robinson
710d1caf54 [svn-r29531] Normalization w/ revise_chunks in preparation for big merge.
hl and bin directories

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-23 11:50:42 -05:00
Allen Byrne
0e8941b088 [svn-r29524] Fix typo in test name 2016-03-22 15:12:39 -05:00
Allen Byrne
e3183aab0d [svn-r29523] Add test dependency 2016-03-22 15:12:07 -05:00
Allen Byrne
a4ec4e3eb1 [svn-r29520] rename java test file because test modifies original file.
Delete copy when test is finished.
2016-03-22 15:02:33 -05:00
Allen Byrne
bb80d618be [svn-r29519] rename java test file because test modifies original file. 2016-03-22 14:58:35 -05:00
Allen Byrne
07b2f73506 [svn-r29513] Only delete the copied and generated test files. 2016-03-22 12:55:45 -05:00
Allen Byrne
98e315ffff [svn-r29507] Add actual file name to delete functions to prevent accidental deletion of source files.
(HDFFV-9730 created for tools scripts, which is the basis for the java scripts)
2016-03-22 10:15:44 -05:00
Dana Robinson
5309de6c54 [svn-r29503] The parallel and enable Java options have been marked as
"unsupported" in the autotools.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools parallel w/ Java
2016-03-22 03:03:50 -05:00
Dana Robinson
7255d1a1b8 [svn-r29502] The thread-safety and enable Java options have been marked as
"unsupported" in the autotools.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java
2016-03-22 02:59:28 -05:00
Dana Robinson
9c3568819f [svn-r29501] - POSIX compliance changes to autogen.sh
- autogen.sh now exits on unknown arguments

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-22 02:37:07 -05:00
Dana Robinson
2280524115 [svn-r29500] Made CMake header generation a normal (not advanced) option
since users will need to set this if they check out source.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           CMake serial (CMake 3.2.2)
2016-03-22 02:28:14 -05:00
Dana Robinson
6668fe8c83 [svn-r29499] Minor prettification of Java configure code and library
settings file.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/Java
2016-03-22 02:22:52 -05:00
Dana Robinson
7f641b520d [svn-r29482] Switched a few Visual Studio #ifdefs to Win32
Tested on 64-bit Win10 w/ VS 2015 Pro
2016-03-21 11:36:23 -05:00
Allen Byrne
9c570c7b42 [svn-r29480] Correct copy functions to test the directory 2016-03-21 11:06:52 -05:00
Dana Robinson
775f0cabad [svn-r29474] Removed prototype enclosed in #ifdef OUT in H5Oprivate.h.
This is unused and causes problems for a user who has OUT #defined.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-18 14:54:26 -05:00
Allen Byrne
b8e163a845 [svn-r29465] Fix issue with .classes dir not getting created for java by adding mkdir .classes to configure. 2016-03-17 11:47:21 -05:00
Allen Byrne
83acb60e39 [svn-r29463] qualify .classes with $(top_builddir) 2016-03-17 09:29:18 -05:00
Allen Byrne
7f8f2feaf9 [svn-r29450] Separate error compare from output compare 2016-03-16 12:35:51 -05:00
Allen Byrne
1f5286ddf2 [svn-r29447] Correct signature of H5Pexist to return boolean 2016-03-16 11:58:03 -05:00
Allen Byrne
0647698684 [svn-r29446] Check if H5Pexist return value is >0 rather then ==1 2016-03-16 11:36:48 -05:00
Allen Byrne
4573feb2a9 [svn-r29443] Fix get_access_plist test 2016-03-16 09:19:06 -05:00
Dana Robinson
5d342b26d4 [svn-r29440] Minor typo fix. 2016-03-15 22:19:34 -05:00
Allen Byrne
71aebc8eb4 [svn-r29435] Remove char from var name. 2016-03-15 15:39:21 -05:00
Allen Byrne
b8d2f399fd [svn-r29427] Correct name of build option in script 2016-03-15 14:47:06 -05:00
Dana Robinson
0dd0ffd5c1 [svn-r29421] Fix for HDFFV-9516.
Corrects a problem where H5Dget_access_plist() returns a dapl that
does not contain all dapl fields.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial
2016-03-15 12:43:34 -05:00
Allen Byrne
5a344710ba [svn-r29418] Add compare to expected to script to verify correct operation of test 2016-03-15 12:13:41 -05:00
Allen Byrne
f56bf61b8c [svn-r29407] Correct source location 2016-03-14 14:59:06 -05:00
Allen Byrne
708227a1f9 [svn-r29406] Add Java and update options to CMake/Windows docs 2016-03-14 14:10:30 -05:00
Allen Byrne
4ed758aa3d [svn-r29404] correct filename in comment 2016-03-14 13:33:12 -05:00
Allen Byrne
f9dd7f1a80 [svn-r29403] Correct file location and add overview to makefile 2016-03-14 13:32:31 -05:00
Allen Byrne
4c4cc0fa09 [svn-r29402] Add Java option 2016-03-14 13:12:30 -05:00
Allen Byrne
8d9b56a7e8 [svn-r29400] HDFFV-9717: add overview section to javadocs 2016-03-14 12:56:15 -05:00
Allen Byrne
85711b31d8 [svn-r29399] HDFFV-9717: add overview section to javadocs 2016-03-14 12:51:41 -05:00
Dana Robinson
8f874a5010 [svn-r29395] Corrected parentheses in floating-point compare macros.
Corrected H5_EB and H5_PB macros.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           autotools serial w/ Java, Fortran, & C++
2016-03-12 04:23:51 -05:00
Larry Knox
5938b81835 [svn-r29382] Change LT_VERS_* to 1000, 0, 0 for HDF5 1.10.0 release. 2016-03-09 15:14:16 -05:00
Larry Knox
f5234cd194 [svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently.
Disabled auto-increment of shared object version numbers by h5vers.

Files modified:
    config/lt_vers.am
    java/src/jni/Makefile.am
    hl/src/Makefile.am
    hl/c++/src/Makefile.am
    hl/fortran/src/Makefile.am
    c++/src/Makefile.am
    bin/h5vers
    fortran/src/Makefile.am
2016-03-09 13:55:31 -05:00
Mohamad Chaarawi
23e97565cf [svn-r29372] minor error reporting fix. 2016-03-09 10:03:16 -05:00
Binh-Minh Ribler
5ced585e05 [svn-r29369] Description:
More updates about the Packet Table improvement.
2016-03-09 08:56:58 -05:00
Binh-Minh Ribler
a3a0526cb8 [svn-r29366] Purpose: Update RELEASE.txt
Description:
    Added note about the changes in the C++ Packet Table library
2016-03-09 07:54:52 -05:00
Binh-Minh Ribler
8222b34406 [svn-r29364] Purpose: Improve C++ Packet Table library
Description:
    Performed similar improvement as the C Packet Table library.
      - Removed the VLPT_REMOVED ifdef around class VL_PacketTable
      - Moved VL_PacketTable::IsVariableLength to PacketTable
      - Moved VL_PacketTable::FreeReadBuff to PacketTable::FreeBuff
      - Added overloaded constructor to FL_PacketTable that takes a
        property list ID and call the new C API H5PTcreate.
      - Added accessor wrappers to class PacketTable, per HDFFV-8623/patch 003.
            /* Returns the ID of the dataset associated with the packet table */
            hid_t GetDataset();

            /* Returns the ID of the datatype the packet table uses */
            hid_t GetDatatype();
      - Replaced appropriate calls in tests
      - Various cleanup
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-09 01:47:27 -05:00
Binh-Minh Ribler
ab4c2402f1 [svn-r29362] Description:
Removed another left-over commented-out line.
Platforms tested:
    Linux/64 (platypus) - very minor
2016-03-08 22:46:24 -05:00
Binh-Minh Ribler
20bfdeb2c1 [svn-r29361] Purpose: Correction
Description:
    Replaced static_cast with reinterpret_cast for "void *".
    Removed some commented-out old code.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-08 22:30:02 -05:00
Binh-Minh Ribler
67432599a3 [svn-r29360] Purpose: Adding test
Description:
    Added several tests for packet table that were missing from the
    previous update.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-08 22:27:46 -05:00
Larry Knox
d380f20a0d [svn-r29350] Revert h5check_version change to check LT_VERS_XXXX numbers rather than HDF5 library version numbers.
Svn revisions reverted:  29341, 29326
Branch features/h5check_version was created for further development.

Files changed
     test/tcheck_version.c
     test/testcheck_version.sh.in
     src/H5public.h
     src/H5.c
     config/lt_vers.am
     bin/h5vers

Tested with h5committest.new
2016-03-08 12:49:38 -05:00
Allen Byrne
3fabbf45f0 [svn-r29348] Correct script process for options 2016-03-08 12:18:17 -05:00
Larry Knox
273a4a0ba0 [svn-r29341] Correct path to source code in line 227.
Tested change on emu, moohan, platypus, and quail.
2016-03-08 07:39:57 -05:00
Binh-Minh Ribler
116eed3ebd [svn-r29340] Purpose: Code cleanup
Description:
    - Removed many warnings:
        warning: use of old-style cast
        warning: enumeration value ‘H5D_VIRTUAL’ not handled in switch
        warning: comparison between signed and unsigned
      There are others of the same warnings and they will be taken care of
      in the next release.
    - Made some code reuse between overloads
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-08 07:23:54 -05:00
Dana Robinson
1b7b09b081 [svn-r29337] Cleaning warnings in Fortran code.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ Fortran
2016-03-08 02:34:43 -05:00
Dana Robinson
a1035bd806 [svn-r29336] Removed unused variables from Fortran code.
Updated gnu Fortran flags.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ Fortran
2016-03-08 01:38:33 -05:00
Dana Robinson
b18aaf39f0 [svn-r29332] Removed -Wunreachable-code from the gnu C++ flags.
This flag generates a large number of spurious warnings in our code
so we've disabled it for now.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 22:27:46 -05:00
Albert Cheng
2c36685010 [svn-r29326] HDFFV-9536: Changed H5check_version() to use libtool shared library version numbers instead of the library version numbers.
bin/h5vers: 
    Changed to copy the shared lib version from lt_vers.am to H5public.h
    (Thanks to Larry who made the changes.)
config/lt_vers.am:
    cosmetic change, nothing material.

src/H5public.h:
    Changed by bin/h5vers.

src/H5.c:
    Changed H5check_version() to use shared library version for compatibility
    checking.

test/tcheck_version.c:
test/testcheck_version.sh.in:
    Changed to use shared library version numbers instead of the HDF5 library
    version numbers for testing.

Tested: tested in Jam (C only), platypus and osx1010dev (enable fortran and C++).
2016-03-07 17:03:57 -05:00
Dana Robinson
b99b5d494e [svn-r29325] Removed -Wmissing-declarations from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 16:35:51 -05:00
Binh-Minh Ribler
36c4634606 [svn-r29322] Purpose: Remove obsoletes
Description:
    Removed obsolete functions from the documentation.  They are still
    in the code, however, until the next two releases, just in case.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-07 16:02:17 -05:00
Frank Baker
767520bfe2 [svn-r29319] Update COPYING for 2016. 2016-03-07 15:57:01 -05:00
Allen Byrne
53a381894e [svn-r29314] Add Java option 2016-03-07 12:25:46 -05:00
Dana Robinson
5fabfb6079 [svn-r29312] Removed -Wnonnull from the gnu C++ flags. It's not used for C++.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-03-07 11:58:11 -05:00
Allen Byrne
d447f6a1c5 [svn-r29307] Add Java to new configuration 2016-03-07 11:01:53 -05:00
Binh-Minh Ribler
b346cb0599 [svn-r29306] Purpose: Add function
Description:
    Added member function ArrayType::operator= because ArrayType has
    pointer data members.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-07 10:42:30 -05:00
Allen Byrne
3247df1224 [svn-r29301] Update valgrind cacheinit file to match regular. 2016-03-07 08:29:12 -05:00
Larry Knox
f83c88d9ae [svn-r29295] Replaced H5Acreate with H5Acreate2 in hl/test/test_packet_vlen.c line 758 to eliminate error with configure option --wit-default-api-version=v16.
Tested with option and h5committest.new.
2016-03-06 17:01:59 -05:00
Elena Pourmal
a6c9f83aee [svn-r29292] Maintenance: Restored RELEASE.txt from rev 27551 and added entries from Allen and Binh-Minh.
Other main changes that were done to trunk should be documented before the 1.10.0 code freeze.

This file will be added as HISTORY-1_9_0-1_10_0.txt to the 1_10 branch when the branch is created and will be part
of the HDF5 1.10.* source distribution.
2016-03-06 13:15:05 -05:00
Dana Robinson
f5b516d0c9 [svn-r29279] Tidying of H5C_load_entry() before complicated merge.
No significant code changes. Smoke checked on 64-bit Windows 10
with VS 2015 Pro.
2016-03-04 22:36:14 -05:00
Allen Byrne
027c960fd1 [svn-r29275] HDFFV-9698: fix subsetting issues with h5dump 2016-03-04 15:49:15 -05:00
Allen Byrne
40cdbe0b8d [svn-r29274] HDFFV-9698: fix subsetting issues with h5dump 2016-03-04 15:41:12 -05:00
Allen Byrne
1f10dc7f11 [svn-r29272] Add code to deal with two source files for test_packet test. 2016-03-04 15:12:05 -05:00
Binh-Minh Ribler
2a714ac4c0 [svn-r29270] Description:
Updated for "Improve Packet Table library" commit 29269.
2016-03-04 14:50:52 -05:00
Binh-Minh Ribler
9592119ffd [svn-r29269] Purpose: Improve Packet Table library
Description:
    The Packet Table API used to have fixed-length and variable-length functions
    (i.e., H5PTcreate_fl and H5PTcreate_vl), but in 2006, the vlen functions
    were ifdef'ed out with VLPT_REMOVED, see HDFFV-442. The majority of this
    revision includes removing unused vlen stuff, adding various vlen tests,
    initial code cleanup, and first pass of commenting.
    Details:
      - Removed the VLPT_REMOVED ifdef, but keep H5PTis_varlen and the free
        function because they are useful or even needed, but the free
        function's name is changed to be more appropriate for both
        read/write buffers, i.e., H5PTfree_vlen_buff.

      - The new test file, test_packet_vlen.c, contains tests showing packet
        tables, containing various types of vlen data, can be created with
        the fixed-length function

      - Two accessor functions were added per HDFFV-8623/patch 003.
            /* Returns the ID of the dataset associated with the packet table */
            hid_t H5PTget_dataset(hid_t table_id);

            /* Returns the ID of the datatype the packet table uses */
            hid_t H5PTget_type(hid_t table_id);

      - Various cleanup: replacing 0/-1 with SUCCEED/FAIL and H5I_BADID with
        H5I_INVALID_HID, and removing many warnings.

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-03-04 14:49:14 -05:00
Allen Byrne
6e7e6bb3aa [svn-r29266] Header generation default should be OFF.
For Trunk - cacheinit.cmake should enable it ON
2016-03-04 10:22:29 -05:00
Allen Byrne
49e774296b [svn-r29262] HDFFV-9241: Print fill value as "DEFAULT" instead of value 0 2016-03-03 11:02:55 -05:00
Allen Byrne
d0444d4f2b [svn-r29261] HDFFV-9241: Print fill value as "DEFAULT" instead of value 0 2016-03-03 10:27:48 -05:00
Allen Byrne
28ee82a07b [svn-r29259] HDFFV-9066: Improve h5dump usage statement for -O F, -ddl=F option. 2016-03-03 09:07:49 -05:00
Allen Byrne
f0a7f5978e [svn-r29257] HDFFV-9705: h5dump should not print filters or allocation time info for VDS files 2016-03-03 08:56:44 -05:00
Allen Byrne
16f2388832 [svn-r29248] Fix test results for HDF_JAVA 2016-03-01 12:54:56 -05:00
Allen Byrne
e836bfd010 [svn-r29247] Fix return type 2016-03-01 12:48:41 -05:00
Mohamad Chaarawi
c9c8ec5f7c [svn-r29245] use HDONE_ERROR instead of HGOTO after done. 2016-03-01 11:28:33 -05:00
Allen Byrne
281a4901f6 [svn-r29242] Set default or override val 2016-03-01 11:00:56 -05:00
Allen Byrne
7705a4d914 [svn-r29239] Add HDF_JAVA AC_SUST line for settings file 2016-03-01 10:25:56 -05:00
Allen Byrne
16e529f5a9 [svn-r29237] Missed a "then" 2016-03-01 10:04:39 -05:00
Allen Byrne
6152dd6532 [svn-r29236] Check for shared libs only within enable-java block 2016-03-01 09:50:49 -05:00
Allen Byrne
8538eedde3 [svn-r29234] Fix H5 LIB OPTIONS macro for correct ARGN support 2016-02-29 16:24:31 -05:00
Allen Byrne
c9ea243157 [svn-r29233] Add ARGN option for soversion arguments 2016-02-29 16:07:27 -05:00
Allen Byrne
a0485058d6 [svn-r29232] add debug symbols library to install 2016-02-29 15:56:08 -05:00
Allen Byrne
83b5bed5d4 [svn-r29231] Check if szip is enabled before attempting to run example with szip. 2016-02-29 15:47:35 -05:00
Allen Byrne
6e9e1d67f5 [svn-r29229] Turn java OFF by default. 2016-02-29 12:25:27 -05:00
Allen Byrne
198ceb5fcc [svn-r29227] HDFFV-9552: merge in java code.
new files added.
2016-02-28 21:45:23 -05:00
Allen Byrne
63249be0e1 [svn-r29226] HDFFV-9552: merge in java code. 2016-02-28 21:43:00 -05:00
Allen Byrne
a1617b7cdb [svn-r29222] HDFFV-9570: Fix segfault when optional args are last option on command line.
Tested: java_merge DT
2016-02-28 12:58:37 -05:00
Vailin Choi
337e62226c [svn-r29202] Fix for unknown message HDFFV-9697.
Tested on jam, ostrich, platypus, kite, quail, osx1010test, emu, mayll, moohan.
2016-02-24 16:30:35 -05:00
Allen Byrne
016ebfcdf2 [svn-r29198] Remove if condition for test mask situation 2016-02-24 09:55:14 -05:00
Allen Byrne
f74042d4e8 [svn-r29190] Add checking for *.err file before trying to read 2016-02-23 15:50:02 -05:00
Allen Byrne
f7689087de [svn-r29186] HDFFV-9654: add VDS options to h5dump
includes new data files
2016-02-23 15:23:46 -05:00
Dana Robinson
807187e2f2 [svn-r29183] Fixed missing reopen test call in tfile from HDFFV-8740 fix.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
2016-02-22 16:45:28 -05:00
Dana Robinson
19a8216bd5 [svn-r29182] Re-commit of HDFFV-8740 fix, which adds the ability to configure
external dataset storage path behavior.

This check-in fixes a bug in the original check-in where the
external path stored in the file struct was not copied on reopen
causing subsequent dataset operations to fail.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ fortran and C++
           autotools parallel (MPICH 3.1.4) w/ fortran
2016-02-22 16:40:03 -05:00
Dana Robinson
7511d8b469 [svn-r29179] Revert of 29177 which breaks the autotools build.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-22 15:32:01 -05:00
Allen Byrne
910d420409 [svn-r29177] HDFFV-9654: add VDS options to h5dump 2016-02-22 11:57:07 -05:00
Scot Breitenfeld
fe2b65f3e4 [svn-r29172] Fixed double word typo in #ifdef H5_FORTRAN_HAVE_C_SIZEOF 2016-02-19 16:12:32 -05:00
Scot Breitenfeld
553374e665 [svn-r29169] Changed #ifdef to use H5_FORTRAN_C_LONG_DOUBLE_IS_UNIQUE instead of H5_FORTRAN_HAVE_C_LONG_DOUBLE
Tested: jam (gnu)
2016-02-19 15:39:11 -05:00
Scot Breitenfeld
5126111606 [svn-r29165] Various rododoc fixes. Effects comments only. 2016-02-19 14:09:34 -05:00
Scot Breitenfeld
0859dd40bb [svn-r29163] changed robodoc specs to look for .F90 files 2016-02-19 13:11:26 -05:00
Scot Breitenfeld
f4430184ab [svn-r29162] added robodoc header information 2016-02-19 13:10:27 -05:00
Mike McGreevy
70c24f201c [svn-r29158] HDFFV-9190: Changed configure.ac to define H5_USE_18_API_DEFAULT when
'v18' is provided to --with-default-api-version.

Tested: h5committest.new
        and kituo with --with-default-api-version=v18
2016-02-19 11:21:00 -05:00
Scot Breitenfeld
1b2c30753d [svn-r29155] HDFFV-9652: Add fortran wrappers/test for collective metadata functions
Tested: h5committest.new
2016-02-19 09:24:11 -05:00
Mohamad Chaarawi
70ad55b105 [svn-r29150] fix for Jira issue 9670 - HDF5 segfaults on corrupted file.
Change compare callback in Btree2 class to correctly account for errors.

tested on bb-8.
2016-02-18 15:50:37 -05:00
Dana Robinson
b3df4e9c8d [svn-r29142] Updated the Intel files in config to use the new NO_SYMBOLS flags
and modified the failsafe configure flags in ibm-aix to use the
new scheme.
2016-02-17 13:15:58 -05:00
Dana Robinson
52705fa6f0 [svn-r29139] Updated PGI compiler files to set NO_SYMBOLS_CFLAGS/FCFLAGS and
moved the -s (strip symbols) option from the production flags to the
no symbols flags.

Tested on: platypus w/ PGI 15.7 (C, C++, Fortran)
2016-02-17 10:08:33 -05:00
Dana Robinson
d334af98c1 [svn-r29134] Updated config/solaris to use the latest configure option
and compiler flag scheme.

Tested on: Solaris 11.1 (emu) w/ SunPro 5.12 CC/FC/CXX
           autotools serial
2016-02-17 04:54:07 -05:00
Dana Robinson
e43c97fdb2 [svn-r29132] Added new single-responsibility functions to h5test.c/h that can
replace functions like h5_clean_files() that also do things like
reset the error handler and close fapls.

Existing tests have not yet been updated to use these new
functions.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-16 23:30:49 -05:00
Dana Robinson
77f2f1c132 [svn-r29131] Updated the GNU g++ compiler config file to use the new debug/
production, etc. system.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial - prod/debug w/ C++
2016-02-16 21:16:27 -05:00
Dana Robinson
ad0925c214 [svn-r29129] Added NO_SYMBOLS_CFLAGS, etc. to allow stripping symbols when
--disable-symbols is specified and to ensure that production
mode (where symbol stripping is usually a part of the FLAGS)
doesn't conflict with --enable-symbols. This will allow better
(though still limited) debugging of production/optimized code.

The PGI, XLC, Intel, and Solaris files were not modified and
do not generate the symbol removal flag at this time. They'll
be updated in future check-ins. In the meantime, production
mode on those platforms still usually strips symbols.

This check-in also updates the Cygwin-specific files to use
the new autotools FLAGS and option scheme when uncommon
(non-gnu, etc.) Fortran compilers are used.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (prod/debug w/ and w/o symbols)
           symbol presence/absence checked with objdump
2016-02-16 20:09:04 -05:00
Dana Robinson
6731dca11f [svn-r29127] Moved the --enable-build-mode check in configure.ac to after the
platform-specific build information so the debug and production
flags are not clobbered.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (production & debug)
2016-02-16 17:42:40 -05:00
Dana Robinson
944e932662 [svn-r29119] Converted HDoff_t to off_t in test/external.c.
Fixes Windows errors.

Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1
           64-bit Windows 10 w/ VS2015
2016-02-15 14:22:03 -05:00
Mohamad Chaarawi
8025f6b712 [svn-r29096] fix bug in internal dxpls generated exposed by production and parallel. 2016-02-12 11:54:39 -05:00
Dana Robinson
2018728897 [svn-r29094] Removed the v-1 B-tree package from the list of packages that
can be configured to generate extra debugging output in both
the autotools and CMake.

This can still be set by defining H5B_DEBUG manually or by
using a custom string in configure.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
           CMake serial
2016-02-12 09:42:15 -05:00
Scot Breitenfeld
39fa385594 [svn-r29092] Fixed uninitialized return value from fortran API. 2016-02-11 16:50:22 -05:00
Dana Robinson
e7c1236543 [svn-r29090] Changed "smart quotes" to ASCII ' and " in r28960 code.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools parallel (MPICH 3.1.4)
           CMake serial (CMake 3.3.2)
2016-02-11 14:37:14 -05:00
Mohamad Chaarawi
d12a994986 [svn-r29088] - Add a test for retrieving the property values for the new coll md functions.
- ifdef some code that don't need to be built in parallel
- more minor enhancements

tested on bb-8 with parallel and serial
2016-02-11 11:03:44 -05:00
Mohamad Chaarawi
fba3bbc7bf [svn-r29086] missed renaming the GET collective metadata read requirement. 2016-02-11 08:12:17 -05:00
Dana Robinson
5655e5a91a [svn-r29084] Revert of:
r29069 and 72 (gheap cleanup)

r29041 and 43 (HDFFV-8740 external storage)

These cause problems in the daily tests. They will be
re-introduced when their respective problems have been
addressed.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial (check-vfd) w/ Fortran and C++
           autotools parallel w/ Fortran
           CMake serial
2016-02-10 23:40:10 -05:00
Mohamad Chaarawi
63c90e5c67 [svn-r29081] - merge in the phdf5_metadata_opt/ branch with the collective metadata optimizations.
- rename H5AC_dxpl_id to H5AC_ind_read_dxpl_id and update all usage in the library

tested on bb-8 with parallel and serial.
2016-02-10 15:48:34 -05:00
Mohamad Chaarawi
557a3972ac [svn-r29080] merge from trunk. 2016-02-10 13:36:23 -05:00
Mohamad Chaarawi
25f271d84b [svn-r29079] rename the coll read requirement function. 2016-02-10 13:19:12 -05:00
Quincey Koziol
c8a6c6030a [svn-r29077] Description:
Normalize against the trunk, in preparation for final merge.

Tested on:
    MacOSX/64 10.11.3 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2016-02-10 12:55:55 -05:00
Quincey Koziol
4da0790886 [svn-r29076] Description:
Normalize against the phdf5_metadata_opt branch, in preparation for
merging it to trunk.

Tested on:
    MacOSX/64 10.11.3 (amazon) w/serial, parallel, and production builds
    h5committest forthcoming
2016-02-10 12:54:15 -05:00
Scot Breitenfeld
745513e2b0 [svn-r29074] fixed integer type for H5Sget_simple_extent_ndims_f argument 2016-02-09 11:51:28 -05:00
Dana Robinson
be36958b77 [svn-r29072] test/gheap stack size cleanup.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools (also w/ Valgrind)
2016-02-08 23:18:53 -05:00
Dana Robinson
1a4e315a5d [svn-r29069] test/gheap cleanup prior to stack size fixes.
Tested on: Linux VM (minor changes)
2016-02-08 20:38:44 -05:00
Mohamad Chaarawi
f1283d59b0 [svn-r29066] - fixing some of the internal usage of dxpls.
- merge from trunk.
2016-02-08 15:12:07 -05:00
Scot Breitenfeld
c418bc964d [svn-r29062] HDFFV-9564: Implement VDS Fortran wrappers.
Tested: h5committest.new
2016-02-08 09:01:29 -05:00
Mohamad Chaarawi
0461830ee3 [svn-r29059] merge from trunk. 2016-02-07 11:38:55 -05:00
Mohamad Chaarawi
48bebcc39e [svn-r29057] added dxpl type checking when debug mode is enabled (H5_DEBUG_BUILD)
tested on bb-8 with Serial and Parallel, debug and production builds.
2016-02-07 10:37:33 -05:00
Dana Robinson
6694764120 [svn-r29050] Setting --enable-build-mode=debug now creates an H5_DEBUG_BUILD definition.
Tested on: linux VM (minor change)
2016-02-05 16:27:12 -05:00
Dana Robinson
57da3b7db6 [svn-r29043] Fixes to make relative external storage work on Windows. Part of HDFFV-8740.
- Fixed typo in Wsetenv().
- Changed HDoff_t back to off_t in test/external.c. The function signature is off_t so the types must match or you can get conversion errors.

Tested on 64-bit Windows 10 w/ VS 2015
2016-02-04 11:06:38 -05:00
Dana Robinson
c746447b0d [svn-r29041] Patch from Steffen Kiess that allows a relative path to be specified
for external dataset files set via H5Pset_external().

Resolves HDFFV-8740

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial
2016-02-04 10:35:17 -05:00
Dana Robinson
e9139733f2 [svn-r29035] Removed external links test from external storage test.
This test is duplicated more comprehensively in the links.c file so
there is no need to copy it over.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-02 09:36:28 -05:00
Dana Robinson
2b2b95814e [svn-r29034] Update the external test to use the default and latest file format.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-02 09:17:31 -05:00
Mohamad Chaarawi
28b16f19b2 [svn-r29032] capture the entry address before the entry is freed to avoid
triggering a segfault in the log_flush call in
H5C__flush_single_entry().

tested on Jam with Parallel.
2016-02-02 08:28:53 -05:00
Dana Robinson
e25aa5f97d [svn-r29030] Cleanup of test/externals before merging user patch.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-02 05:30:48 -05:00
Dana Robinson
2fb4f0b35e [svn-r29023] Fixed typos in symbols flags that prevented using -g, etc.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-02-01 14:28:38 -05:00
Dana Robinson
6a566cdc84 [svn-r29019] Fixed double declaration of a few types that only appears on Windows.
Tested on: 64-bit Windows 10 with VS 2015 Pro
2016-01-29 12:57:53 -05:00
Dana Robinson
6dc56e664b [svn-r29011] LFS changes in the autotools and library.
* We assume that fseeko and ftello exist.

* The *64 IO functions and types are no longer explicitly used.
  We now rely on a mapping provided by _FILE_OFFSET_BITS (or its
  equivalent).

* _LARGEFILE(64)_SOURCE is no longer exposed via AM_CPPFLAGS.

The CMake files have not yet been updated but CMake is still
functional. The CMake configure files will just run a few
unecessary tests and create unneeded #defines until they are
updated in a few days.

Tested on: Linux, OS X, Solaris, z/OS
2016-01-28 15:44:11 -05:00
Scot Breitenfeld
a969fbf604 [svn-r29009] Corrected the API descriptions for H5Pget_virtual_dsetname and H5Pget_virtual_filename. 2016-01-28 13:58:59 -05:00
Dana Robinson
a6da81e49b [svn-r29007] Fixed typos in h52gif test.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-01-28 13:24:01 -05:00
Binh-Minh Ribler
72bc67f464 [svn-r29004] Description:
Removed extra ';'.
Platform tested
    jam (very minor)
2016-01-28 11:26:08 -05:00
Dana Robinson
1454a45826 [svn-r28996] Autotools configure updates to allow separation of build type, debug
symbols, asserts, profiling, and optimization.

Also much refactoring, improved help, and --enable-<foo> options will
now emit errors on nonsense (e.g.: --enable-foo="asdfasdf").

The libhdf5.settings.in file was also reformatted.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial and parallel autotools w/ various options
2016-01-27 16:45:23 -05:00
Dana Robinson
7afa7bb6af [svn-r28995] Removed unused packages from list in --enable-debug=<pkgs> configure
option (also updated CMake).

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
           serial CMake (CMake 3.3.2)
2016-01-27 15:51:40 -05:00
Dana Robinson
7abd70b809 [svn-r28990] Removed spurious BIND() warnings from Fortran.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools w/ Fortran
2016-01-27 14:12:38 -05:00
Dana Robinson
5c276d9dfc [svn-r28986] Added H5_DLLVAR to H5AC_dxpl_id.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial and parallel autotools
2016-01-27 12:28:33 -05:00
Dana Robinson
ad617b9bfc [svn-r28982] Fixed H5ST_dump signature problem and added st to the list of
packages with extra debugging output.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial autotools
2016-01-27 11:48:37 -05:00
Dana Robinson
20a3462089 [svn-r28977] Added autotools g++ compiler flags/warnings file to config/
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools serial w/ C++
2016-01-27 01:23:40 -05:00
Dana Robinson
8bbdc947c4 [svn-r28972] Removed option to clear file buffers from autotools, CMake, and library.
Buffers that will be written to disk will now always be cleared since
not doing this has huge security implications.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0, x86_64) gcc 5.2.1
           serial autotools
           parallel autotools (MPICH 3.1.4)
           serial CMake
2016-01-26 16:26:12 -05:00
Dana Robinson
8aa7c27fb7 [svn-r28963] Updated the gnu Fortran configure files to set flags when the gnu compiler
is used. The gnu-fflags file was never included.

Tested on ostrich
2016-01-23 19:34:29 -05:00
Larry Knox
0d714830a8 [svn-r28960] Fix for HDFFV-9439
Escape quotes in fortran version output to find fortran version for libhdf5.settings

Tested with buildhdf5 on platypus, ostrich, moohan and mayll.
2016-01-22 13:18:04 -05:00
Mohamad Chaarawi
c3f08947c1 [svn-r28959] merge from trunk.
renaming metadata dxpl properties.
2016-01-22 11:56:09 -05:00
Mohamad Chaarawi
43b96df2a4 [svn-r28957] fix non-parallel bug. 2016-01-22 10:55:41 -05:00
Mohamad Chaarawi
91aeb766fa [svn-r28950] - remove META_FLUSH_COLLECTIVELY property for delayed sanity checks from metadata dxpls
- remove H5AC_ind_dxpl_id and use only H5AC_dxpl_id everywhere instead.
- remove flush_me_collectively flag from cache entries
- add a collective sanity check (MPI_Barrier) for every HDF5 API routine that could possibly touch the file. This is trigerred when the environment variable H5_COLL_API_SANITY_CHECK is set to a non 0 digit.

tested on BB-8 with serial and parallel.
2016-01-21 17:31:15 -05:00
Albert Cheng
8ca4c2f44b [svn-r28949] HDFFV-9660: add an option to enable threadsafe feature in cmakehdf5
Tested: platypus.

There are still something strange messages during the configure step.
Waiting for Allen to response.
2016-01-21 17:11:25 -05:00
Scot Breitenfeld
8a60e4f1a4 [svn-r28936] spelling correction 2016-01-20 14:18:24 -05:00
Quincey Koziol
d543f12473 [svn-r28919] Description:
I missed changes to a couple of expected error output files with the last
checkin.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2016-01-15 18:28:25 -05:00
Quincey Koziol
b9763eee6d [svn-r28918] Description:
I missed changes to a couple of expected error output files with the last
checkin.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-15 18:28:08 -05:00
Quincey Koziol
8db3728779 [svn-r28916] Description:
Normalize against incoming changes from the phdf5_metadata_opt branch.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-15 18:08:10 -05:00
Quincey Koziol
b10dd41aef [svn-r28915] Description:
Review revisions on the way to the trunk.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2016-01-15 18:06:25 -05:00
Binh-Minh Ribler
a7ef06d593 [svn-r28906] Description:
Added c++/test/tarray.cpp.
2016-01-15 10:57:00 -05:00
Binh-Minh Ribler
0d68aa89ce [svn-r28905] Purpose: Fix user reported problem
Description:
    User Adam Rosenberger reported a failure when using the member function
    AbstractDs::getArrayType().  This problem was caused by missing
    initialization of the ArrayType's members in some cases.
Solution:
    - Added ArrayType::setArrayInfo() to retrieve rank and dimensions of
      an array and store them in memory for easy access.
    - Re-factored a few functions to use the new function.
    - We'll give him 1.8.16 patch
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-01-15 10:53:33 -05:00
Larry Knox
c09393ed0a [svn-r28902] Remove 3 files in autom4te.cache from MANIFEST. They are generated by autogen.sh and were inadvertently added along with configure and Makefile.in files but are not checked in and should not be installed. Furthermore they are not generated on all systems by autogen.sh and cause chkmanifest to fail when run be release scripts. 2016-01-14 16:56:16 -05:00
Quincey Koziol
06547eb4dd [svn-r28895] Description:
Minor code tweaks and cleanups during review.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5comittest not required on this branch)
2016-01-13 23:30:50 -05:00
Quincey Koziol
bd44db8a3c [svn-r28894] Description:
Normalize against changes on phdf5_metadata_opt branch to trunk

Tested on:
    MacoSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-13 23:29:58 -05:00
Allen Byrne
94d03fd874 [svn-r28885] Change TOOLTEST5 to TOOLTEST3, which does not post-process the files. 2016-01-13 12:24:20 -05:00
Dana Robinson
b29d6174e1 [svn-r28881] Merged r28880 from revise_chunks. Adds a script to flip maint mode.
Tested on: linux VM
2016-01-13 11:25:11 -05:00
Dana Robinson
1617502f5e [svn-r28878] Removed some duplicated comment lines from configure.ac.
Tested on: N/A
2016-01-13 11:10:19 -05:00
Allen Byrne
0115366eee [svn-r28868] HDFFV-9639: autotools script update 2016-01-12 15:48:23 -05:00
Allen Byrne
af88e57c26 [svn-r28866] HDFFV-9639: new files 2016-01-12 15:38:20 -05:00
Allen Byrne
24443da316 [svn-r28865] HDFFV-9639: Fix double-free error by setting freed var to NULL.
Verified issue with "h5dump tgroup.h5 non_existing.h5"
Applied patch and retested.
2016-01-12 15:31:59 -05:00
Dana Robinson
2396a172ad [svn-r28861] Minor warning format string fix (HDFFV-9640).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           autotools parallel only (MPICH 3.1.4)
2016-01-12 07:28:39 -05:00
Albert Cheng
67570ce476 [svn-r28853] HDFFV-9649: cmakehdf5 needs a proper implementation to verify the installation images created for Mac OSX.
The current implementation for Mac OSX platform is a kludge that sometimes left behind mounted volumes.
Temporary screen out the checking of installtion_check step (so that daily test may pass).

Tested: by hand running cmakehdf5 in platypus and osx1010test.
2016-01-11 11:16:38 -05:00
Mohamad Chaarawi
5dbc03ac86 [svn-r28851] merge from trunk. 2016-01-11 10:55:55 -05:00
Quincey Koziol
887cf130ff [svn-r28843] Description:
Bump number of records for random update test again.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-08 09:08:00 -05:00
Albert Cheng
74fbe507ae [svn-r28841] indentations were messed up by some previous commit.
Restored them to more readable spacing. No code change.

Test: visual inspection.
2016-01-07 15:27:37 -05:00
Dana Robinson
ed380746fe [svn-r28837] Merged r28836 from revise_chunks (tarray.c fix).
Tested on ostrich w/ gcc
2016-01-07 12:45:11 -05:00
Quincey Koziol
dc63336a4a [svn-r28832] Description:
Reset driver info message when superblock load fails.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
    Linux/64 2.6.x (mayll) w/serial
2016-01-06 17:05:32 -05:00
Quincey Koziol
e9a63d30df [svn-r28828] Description:
Switch filter plugin to use H5allocate_memory and H5free_memory instead of
malloc and free.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    Linux/64 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-06 15:45:25 -05:00
Quincey Koziol
971af2d733 [svn-r28824] Description:
Reduce asserts on buffer alignment.

Tested on:
    Linux/32 & Linux/64 2.6.x (jam & myall) w/serial
2016-01-06 14:10:21 -05:00
Dana Robinson
b834ac3653 [svn-r28821] Merge of r28816 from revise_chunks (tarray.c cleanup).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2016-01-06 13:33:23 -05:00
Quincey Koziol
06da6031a5 [svn-r28819] Description:
Align internal memory sanity checking buffer, to avoid problems when 
optimization is enabled.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
2016-01-06 12:50:08 -05:00
Quincey Koziol
4bf63f78e7 [svn-r28815] Description:
Add internal routine to sanity check all blocks allocated through H5MM
interface.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    Linux/64 2.6.x (mayll) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-06 12:04:15 -05:00
Quincey Koziol
48f7ad2df1 [svn-r28811] Description:
Switch v2 B-tree min & max records to be void*'s to be cleaner and generate
less warnings.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-06 10:46:02 -05:00
Quincey Koziol
fb1525c2b2 [svn-r28802] Description:
Correct another H5MM_free => H5MM_xfree

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:47:55 -05:00
Quincey Koziol
6310259957 [svn-r28800] Description:
Correct H5MM_free => H5MM_xfree

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:46:10 -05:00
Quincey Koziol
4b90bb3317 [svn-r28798] Description:
Add missing H5MMprivate.h header file

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:37:06 -05:00
Quincey Koziol
4c5bb2b8db [svn-r28797] Description:
Clean up another round of memory allocation mis-matches.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 22:28:43 -05:00
Quincey Koziol
3e0e79aa6e [svn-r28795] Description:
Clean up more memory allocation mis-matches.

Tested on:
    Linux/32 2.6.x (jam) w/serial
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
2016-01-04 21:46:26 -05:00
Dana Robinson
1cbc72e1ef [svn-r28792] Added cleanup for new test files to tfile.c.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2016-01-04 16:12:14 -05:00
Quincey Koziol
cdc21e0cb2 [svn-r28790] Description:
Correct non-portable 'SIZE_T_MAX' to 'SIZET_MAX'.

Tested on:
    Linux/32 2.6.x (jam) w/default compilers
    (h5committest forthcoming)
2016-01-04 15:56:08 -05:00
Dana Robinson
064b2f6dd8 [svn-r28788] Added extern C block to H5Epubgen.h (via bin/make_err).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2016-01-04 12:21:05 -05:00
Quincey Koziol
f017eb6fc0 [svn-r28777] Description:
Add --enable-memory-alloc-sanity-check option to configure, to track and
sanity check memory allocations within the library.  This is orthogonal to the
--enable-using-memchecker option and can be used with/without it.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-03 17:06:52 -05:00
Quincey Koziol
f8465bd124 [svn-r28773] Description:
Clear memory for shared message info when "deferring" and using memory
checker, so valgrind doesn't whine.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-03 09:22:49 -05:00
Quincey Koziol
d4f3d93b8d [svn-r28769] Description:
More memory cleanups and leak elimination.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-02 20:03:08 -05:00
Quincey Koziol
42bf0e2136 [svn-r28765] Description:
Bump the nunmber of v2 B-tree records for the random 4-level B-tree update
test by another 25,000 records.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2016-01-01 20:58:18 -05:00
Quincey Koziol
f60170dac7 [svn-r28761] Description:
Clean up many mismatches between malloc/free and H5MM_malloc/H5MM_xfree
in the library and tests (and use of H5free_memory and H5Dvlen_reclaim).  Also
make H5Ocopy use a private version of H5Lexists, which doesn't internally
throw (and suppress) errors when an object (or the path to it) isn't found in
the destination.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2016-01-01 01:28:04 -05:00
Quincey Koziol
8d8d56d7d1 [svn-r28759] Description:
Bump number of records for level 4 update test, to cut down on number of
random failures.

Tested on:
    None - trivial
2015-12-31 11:23:05 -05:00
Quincey Koziol
528ab9b810 [svn-r28756] Description:
Minor code neatening and cleanups (same as r28755) on revise_chunks branch.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (Too minor for h5committest)
2015-12-30 13:50:01 -05:00
Quincey Koziol
c6949efd4f [svn-r28748] Description:
Bump number of records for level 4 B-tree test, so that it's more likely to
always get to level 4.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-12-29 20:56:45 -05:00
Quincey Koziol
b5504be6cc [svn-r28742] Description:
Add 'update' operation to v2 B-trees, which will insert a new record, or
modify an existing one, depending on if the record exists or not.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-12-29 12:06:36 -05:00
HDF Tester
6d8b831b31 [svn-r28730] Snapshot version 1.9 release 233 2015-12-27 23:20:23 -05:00
Quincey Koziol
6f83966fb9 [svn-r28723] Description:
Bring over rest of performance improvements for extending chunked datasets
and normalize against revise_chunks branch.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel)
    (h5committest forthcoming)
2015-12-22 15:12:08 -05:00
Quincey Koziol
4a25e5b788 [svn-r28717] Description:
Minor change to align w/revise_chunks branch

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (too minor for h5committest)
2015-12-21 17:22:55 -05:00
Quincey Koziol
9ceca0f89a [svn-r28710] Description:
Bring r28708 from revise_chunks branch:

    Fix earray, farray and btree2 use of incorrect file pointer when two files
are opened and used to access the data structure.  Misc. minor code cleanups
as well.

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    h5committest forthcoming
2015-12-19 09:42:15 -05:00
Quincey Koziol
2c55e17cfb [svn-r28702] Description:
Fix typo in comment.

Tested on:
    (Unneeded)
2015-12-17 10:10:06 -05:00
Dana Robinson
0a00732c4d [svn-r28696] Minor normalization with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-17 01:31:27 -05:00
Dana Robinson
1ab7e61c39 [svn-r28678] Updated the cache_tagging test to correctly output tags in
the debug/verbose function.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-15 21:27:35 -05:00
Larry Knox
b3426914a8 [svn-r28669] Changes to correct errors found with -ansi flag.
h5tools_dump.c
    Removed 3 lines commented out with //.
h5_vds-percival-unlim.c
    Changed C++-style comment to C-style comment.

Tested with h5committest.new.
2015-12-15 15:52:12 -05:00
Dana Robinson
410d8365d0 [svn-r28663] Merge of r28662 from revise_chunks.
Whitespace only.
2015-12-15 11:15:55 -05:00
Dana Robinson
ae8e3348cf [svn-r28655] Updated MANIFEST :/ 2015-12-15 00:38:03 -05:00
Mohamad Chaarawi
2824e6bef0 [svn-r28649] - add new API to toggle collective metadata write.
- set default to FALSE
- fix some bugs.
2015-12-14 14:53:31 -05:00
Dana Robinson
61cee5f91a [svn-r28646] Minor normalization with revise_chunks.
Also purged obsolete /*ARGSUSED*/ from the library.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 14:19:19 -05:00
Dana Robinson
ddd91a7b19 [svn-r28643] Add H5D_t pointer to chunk callback.
Normalization for future single chunk indexing.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 13:31:53 -05:00
Albert Cheng
322816c966 [svn-r28638] HDFFV-9273: cmakehdf5 --script failed in linux platypus
Solution: remove --script option from cmakehdf5.

Tested: platypus
2015-12-14 12:42:26 -05:00
Mohamad Chaarawi
7a0cdfbbac [svn-r28636] merge from trunk. 2015-12-14 10:22:29 -05:00
Dana Robinson
2cb441c507 [svn-r28629] Minor normalization with revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 05:50:43 -05:00
Dana Robinson
7e4fb72913 [svn-r28626] Brought VFD-level file locking code over from revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 05:03:54 -05:00
Dana Robinson
f6c7631b3c [svn-r28624] Minor normalization of H5FA package with revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 02:42:13 -05:00
Dana Robinson
59c2f32bc7 [svn-r28620] Minor normalization of H5HL package with revise_chunks.
Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-14 01:47:35 -05:00
Dana Robinson
3cdcdbc03e [svn-r28616] Normalization of H5HL package with revise_chunks.
NOTE: Flush dependency code was not moved.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 w/ CMake 3.3.2
    serial only (Autotools and CMake since new files were added)
    (these changes have been in revise_chunks for a long time)
2015-12-14 00:34:41 -05:00
Dana Robinson
91f01bd702 [svn-r28614] Normalization of H5FS package with revise_chunks.
Mostly minor fixes like warnings, etc.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-13 21:16:54 -05:00
Dana Robinson
abf03a6c65 [svn-r28612] Normalization of H5G package with revise_chunks.
Mostly minor fixes like warnings, etc.

Tested on:
    Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
    serial only
    (these changes have been in revise_chunks for a long time)
2015-12-13 20:22:33 -05:00
Quincey Koziol
e78db67c62 [svn-r28606] Description:
Revisions to normalize revise chunks vs. trunk, plus push dataset metadata
changes into the cache immediately (instead of holding them within the dataset
data structures).

Tested on:
    MacOSX/64 10.11.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-12-13 00:42:36 -05:00
Dana Robinson
aa4fc58ac9 [svn-r28599] Normalization of tools with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only, autotools and CMake (3.3.2)
2015-12-11 14:14:43 -05:00
Dana Robinson
f53c939bd0 [svn-r28581] Brought flock changes over from revise_chunks as well as a few
minor tweaks from H5private.h.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only, autotools and CMake (3.3.2)
2015-12-11 03:19:10 -05:00
Dana Robinson
1b62a22e0c [svn-r28577] Normalize test/th5o.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:55:01 -05:00
Dana Robinson
1dae74395b [svn-r28575] Normalize test/file_image.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:44:50 -05:00
Dana Robinson
7822924da9 [svn-r28573] Merge of r28109 from revise_chunks. Minor change to test/vds.c.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 22:18:03 -05:00
Dana Robinson
84d9914a13 [svn-r28570] Normalization of test/lheap.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 21:17:20 -05:00
Dana Robinson
308426c6e3 [svn-r28568] Normalization of test/big.c with revise_chunks.
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-10 21:05:50 -05:00
Dana Robinson
fe938a0d71 [svn-r28565] Normalization of bin/trace with revise_chunks in preparation
for merge.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64)
           bin/trace run only
2015-12-10 20:09:28 -05:00
Albert Cheng
bb2cdb9283 [svn-r28563] HDFFV-9612: added ability to run multiple make commands.
Added --njobs option to special number of jobs (-j N) to allow multiple
commands during build (cmamke) and testing (ctest).

Tested: platypus.
2015-12-10 18:01:27 -05:00
Dana Robinson
46aa3ded7c [svn-r28555] Normalization of Fortran directory with revise_chunks (minor).
Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial, with and without the direct VFD enabled
2015-12-09 22:56:33 -05:00
Dana Robinson
5855f5d431 [svn-r28553] Merge of r28436 from revise_chunks. Cleans up warnings exposed
by gcc 5.2 in the flex/bison code.

Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1
           serial only
2015-12-09 21:36:22 -05:00
Dana Robinson
af371007e8 [svn-r28538] Merge of r28479 from revise_chunks.
Fixes OS X compilation problems and brings some Linux symbols in
line with the Autotools when building with CMake.

Tested on: 64-bit OS X 10.11.1 El Capitan (Darwin 15.0.0)
           Xcode 7.1 Apple LLVM 7.0.0 (clang-700.1.76)
2015-12-08 15:49:12 -05:00
Neil Fortner
015d8047fb [svn-r28533] Fix loops in H5Dvirtual.c to only loop over used entries in VDS mapping list,
instead of all allocated entries.

Tested: ummon (too minor for full h5committest)
2015-12-07 14:31:47 -05:00
Allen Byrne
dc4a9970ec [svn-r28499] Correct working dir 2015-12-03 10:48:18 -05:00
Allen Byrne
ab1c4e6ba2 [svn-r28497] Avoid race condition on creating same source file. 2015-12-03 10:19:52 -05:00
Dana Robinson
8552007518 [svn-r28488] Removed second argument from AC_CHECK_SIZEOF() in configure.ac. This is no
longer needed for cross compiling and is ignored.

Tested on: h5committest
2015-12-02 21:45:08 -05:00
Dana Robinson
68e2b78957 [svn-r28467] Removed commented-out tests from the list of simple tests. They are handled in the additional tests section, below the list.
Tested on 64-bit Windows 10 w/ VS2015 and CMake 3.3.1.
2015-11-30 11:42:37 -05:00
Dana Robinson
8de50ab664 [svn-r28463] Merge of -r28460 from revise_chunks. Removes -std=c99 from
C++ flags under CMake.

Tested on: Ubuntu 15.10 (x86_64 Linux 4.2.0)
    gcc 5.2.1, CMake 3.3.2
2015-11-24 14:29:21 -05:00
Quincey Koziol
e3c415fe5a [svn-r28452] Description:
Normalization changes against revise_chunks branch.

Tested on:
    MacOSX/64 10.11.1 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-11-23 15:52:33 -05:00
Quincey Koziol
8830acb2cb [svn-r28422] Description:
Revert most of r27549, since revise_chunks code requires debugging contexts
for v2 B-trees.  Also, misc. warning cleanups and alignments w/changes on
revise_chunks branch.

Tested on:
    MacOSX/64 10.11.1 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-11-20 15:24:23 -05:00
Quincey Koziol
5c6f1819d5 [svn-r28416] Description:
Refactor time conversion code to put all the system-specific changes into
one routine, H5_make_time, in H5system.c.

Tested on:
    MacOSX/64 10.11.1 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-11-20 09:43:58 -05:00
Allen Byrne
54aa68df1a [svn-r28403] Update to include cdash submit options 2015-11-19 13:32:41 -05:00
Allen Byrne
2e9220b8e6 [svn-r28397] Add note about the "H5_BUILT_AS_DYNAMIC_LIB" compile definition 2015-11-18 15:26:11 -05:00
Albert Cheng
9de281111f [svn-r28393] HDFFV-9573: bin/h5vers failure, claiming reconfigure failed.
bin/reconfigure is replaced by autogen.sh.

Fixed h5vers to call autogen.sh instead.

Tested: Jam
2015-11-18 13:28:17 -05:00
Albert Cheng
9d72e487e3 [svn-r28388] HDFFV-9573: bin/chkmanifest did not like the missing generated file.
Changed bin/chkmanifest to generate the files if configure is missing.

Tested: jam
2015-11-18 12:31:51 -05:00
Allen Byrne
71ee2155d4 [svn-r28377] CMake 3.4 policy change 2015-11-17 10:07:49 -05:00
Albert Cheng
bbfd8a30aa [svn-r28373] HDFFV-9573: Our helper tests bin/release and bin/h5vers are not working properly
bin/release uses the content of MANIFEST file to build the release tarball. But all the files generated by autogen had been removed. Therefore the release would not contain those needed generated files for a proper release.

Solution: Added all those generated files to the tail of MANIFEST and titled it accordingly. (Somehow bin/chkmanifest does not complain against these entries though they are not svn managed. This needs further investigation.)

Test: bin/release generated the release tarball in jam, then use it in Platypus to do a full build (--enable-fortran --enable-cxx). All passed.
2015-11-17 09:37:17 -05:00
Allen Byrne
893d5a4e7a [svn-r28371] Update script mode order of commands 2015-11-17 09:07:51 -05:00
Quincey Koziol
5f6e580533 [svn-r28346] Description:
Bring in cleanups from revise_chunks branch.

Tested on:
    MacOSX/64 10.11.1 (amazon) w/serial & parallel
    (too minor to require full h5committest)
2015-11-14 22:32:00 -05:00
Albert Cheng
3bdc5d7aa4 [svn-r28342] DAILYTEST-195: Osx1010test has culmulated a lot of mounted volumes from cmakehdf5
installation.

Tried to find out what went wrong but all output files were deleted already.
Added a verbose option to display all cmake process output in order to see what
might have gone wrong. Default is on.

Using --disable-verbose will turn it off.

Tested: osx1010dev, osx1010test, playtypus.
2015-11-13 17:22:41 -05:00
Allen Byrne
b7240446da [svn-r28340] Remove dependencies due to flex/bison 2015-11-13 12:03:15 -05:00
Allen Byrne
59ba9f2bc5 [svn-r28336] Remove flex/bison generation 2015-11-13 11:42:57 -05:00
Dana Robinson
f7b73969f3 [svn-r28332] Updated autogen.sh to not run flex/bison.
This was giving a lot of users headaches and the parser code rarely
changes. There is now a new script (bin/genparser) which can be
run as needed.

Tested on: Ubuntu 15.10 (x86_64 Linux 4.2.0)
    gcc 5.2.1, flex 2.5.39, bison 3.0.2
2015-11-13 06:24:43 -05:00
Quincey Koziol
7426415d95 [svn-r28311] Description:
Add missing callback to virtual layout "class" structure.

Tested on:
    MacOSX/64 10.11.1 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-11-09 09:12:06 -05:00
Mohamad Chaarawi
401f0c181e [svn-r28285] move private H5G_get_create_plist from public source file to internal one. 2015-11-05 11:48:09 -05:00
Allen Byrne
45aa5c30c3 [svn-r28241] Correct prototype return signature. 2015-10-28 09:02:28 -05:00
Allen Byrne
3537b69b5b [svn-r28236] Rework get timezone function to add another exclusion define (H5_HAVA_TM_GMTOFF).
Also needed to add prototype - followed lead of HDrand.
Tested linux and windows
2015-10-27 10:22:09 -05:00
Dana Robinson
8e179b17aa [svn-r28234] Changed a C++-style comment to C-style. 2015-10-27 08:46:50 -05:00
Allen Byrne
b7310b0d1f [svn-r28229] HDFFV-9550: Rework timezone usage to localize the #ifdef blocks to a HDget_timezone function. 2015-10-26 15:40:30 -05:00
Allen Byrne
00aaf8e6f4 [svn-r28228] Remove WIN32 only config of threadsafe 2015-10-26 15:09:22 -05:00
Jerome Soumagne
acbb71201b [svn-r28204] Fix use of hbool_t in H5FDmulti (revert previous fix and use unsigned instead)
Tested on: Sun OS 5.11/64 (emu)
2015-10-23 17:16:08 -05:00
Jerome Soumagne
62563badd8 [svn-r28196] Fix use of hbool_t in H5FDmulti
Tested on: Sun OS 5.11/64 (emu)
2015-10-22 23:52:32 -05:00
Allen Byrne
543ec79118 [svn-r28193] Rework VS2015 timezone patch for better fit to standards.
Tested: VS2015 VMs
2015-10-22 15:01:32 -05:00
Jerome Soumagne
7791549252 [svn-r28188] Fix inline/__inline__/__inline detection with CMake after autotools changes 2015-10-22 11:23:01 -05:00
Allen Byrne
37ed7e8b5f [svn-r28184] correct import targets 2015-10-22 10:47:29 -05:00
Allen Byrne
3edabec156 [svn-r28176] HDFFV-9550: Add VS2015 fix for change of standard format. 2015-10-21 16:36:36 -05:00
Allen Byrne
aa4284b2a3 [svn-r28174] HDFFV-9550: Add VS2015 fix for timezone. 2015-10-21 16:22:06 -05:00
Jerome Soumagne
9f702766f8 [svn-r28168] Remove Wall option passed by default on non-windows systems
(not necessary anymore since there is now
2015-10-21 15:26:56 -05:00
Allen Byrne
dec18189f4 [svn-r28161] Update comment about VS versions 2015-10-21 11:29:33 -05:00
Allen Byrne
7d34c32445 [svn-r28160] Update comment about VS versions 2015-10-21 11:28:17 -05:00
Allen Byrne
78c820b1ee [svn-r28158] Merge from CMAMKE_EXT_MOD repo.
Add VS2015 support.
2015-10-21 10:44:41 -05:00
Allen Byrne
83d7feb63c [svn-r28154] Correct define vs variable usage 2015-10-20 17:13:26 -05:00
Allen Byrne
6a6e921d2f [svn-r28152] Correct define vs variable usage
Add VS2015
2015-10-20 17:11:10 -05:00
Neil Fortner
7ad885febc [svn-r28151] Fix memory leak in dtransform test (encountered when parsing an invalid
transform).

Tested: koala, ostrich (h5committest)
2015-10-20 17:05:28 -05:00
Allen Byrne
01a198ac1b [svn-r28148] Correct define vs variable usage 2015-10-20 16:13:45 -05:00
Allen Byrne
84c4dc0039 [svn-r28147] Correct define vs variable usage 2015-10-20 16:09:27 -05:00
Allen Byrne
1bf086b080 [svn-r28145] Correct define vs variable usage 2015-10-20 16:01:07 -05:00
Jerome Soumagne
2094d86461 [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly and fix misuse of hbool_t in various places

Fix initialization of H5Pgcpl/ocpl structs in property decoding routines

Tested on:
    Linux/32 (jam)
    Linux/64 (platypus)
    Linux/PPC64 (ostrich)
    MacOSX/64 10.11
2015-10-20 01:28:17 -05:00
Jerome Soumagne
2af0d74216 [svn-r28132] Cleanup cmake output of HDF5_GENERATE_HEADERS perl script 2015-10-19 15:33:27 -05:00
Jerome Soumagne
a9da5b8cc5 [svn-r28131] Cleanup cmake output of HDF5UseFortran 2015-10-19 15:32:49 -05:00
Allen Byrne
eca1bd1d8b [svn-r28130] Updated scripts 2015-10-19 14:20:04 -05:00
Allen Byrne
cd4b835614 [svn-r28128] Add version extension to all uses of source name 2015-10-19 13:24:20 -05:00
Allen Byrne
d1139d78d6 [svn-r28126] Correct CMake var name 2015-10-19 12:13:50 -05:00
Larry Knox
d72281dff4 [svn-r28115] Replace unreadable, unused test file with newly generated file that can be read by h5dump from HDF5 1.6.10, 1.8.6, 1.8.16 and trunk. 2015-10-16 17:11:26 -05:00
Jerome Soumagne
0be7b0d524 [svn-r28113] A few warning fixes in cmake conversion tests 2015-10-16 17:01:51 -05:00
Jerome Soumagne
60cdc22cd3 [svn-r28112] CMake check for gettimeofday if not on windows 2015-10-16 17:01:24 -05:00
Allen Byrne
86f450c240 [svn-r28089] Need to set a variable for matching install config names. 2015-10-15 14:58:41 -05:00
Scot Breitenfeld
5464277d0c [svn-r28086] fixed spelling 2015-10-15 13:01:27 -05:00
Allen Byrne
3d8b36f6d1 [svn-r28085] Add option to change cpack install location version (1.9 instead of 1.9.xxx) useful on windows. 2015-10-15 13:01:21 -05:00
Albert Cheng
05233bfc73 [svn-r28075] HDF5 passed basic tests in Mac El Capitan VM and is added to the more tested platform section. 2015-10-14 16:54:56 -05:00
Allen Byrne
2abe5da201 [svn-r28059] Make UNSUPPORTED option combinations fail configure - matches autotools behaviour. 2015-10-13 16:15:31 -05:00
Allen Byrne
2c9b575d38 [svn-r28056] Add HL and Threadsafe notice 2015-10-13 15:57:47 -05:00
Allen Byrne
7c4e5533fb [svn-r28053] Change file generation from build time to cmake time. 2015-10-13 10:16:22 -05:00
Binh-Minh Ribler
bd995868ee [svn-r28047] Purpose: Fix memory leaks
Description:
    - Implemented the friend function
        void f_PropList_setId(PropList* plist, hid_t new_id)
      to work around the same problem described in trunk r26655, for the
      API DataSet::getCreatePlist()
    - Cleaned up some comments and obsolete functions
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-12 23:57:28 -05:00
Mohamad Chaarawi
3aee46a956 [svn-r28040] avoid use of MPI deprecated routines. 2015-10-12 11:53:51 -05:00
Scot Breitenfeld
8c789704da [svn-r28039] Fixed valgrind mem leak.
Tested: h5committest (partial).
2015-10-12 11:28:18 -05:00
Binh-Minh Ribler
fc84edb7e3 [svn-r28027] Purpose: Fix memory leaks
Description:
    - Removed H5Library::instance because it is unnecessary.  All H5Library's
      methods are static.  This, in turn, removed the memory leaks by
      H5Library::instance not being deleted.
    - Added ObjCreatPropList::deleteConstants to atexist() list
    - Cleaned up comments and format inconsistencies with 1.8
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-10 23:05:21 -05:00
Quincey Koziol
cd49e8a2ab [svn-r28025] Description:
Switch 'int' flag variables to booleans.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & paralel
    (too minor for h5committest)
2015-10-10 21:42:20 -05:00
Quincey Koziol
877dfaaad7 [svn-r28024] Description:
Clear buffer for driver info block before writing it to the file.  (Avoids
'uninitialized memory read' warning from valgrind)

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & valgrind
    (too minor for h5committest)
2015-10-09 23:55:35 -05:00
Scot Breitenfeld
59c79aec2c [svn-r28020] Freed allocated memory in h5tenum_insert_ptr_c, valgrind fix. 2015-10-09 16:45:46 -05:00
Mohamad Chaarawi
cfe6d9a8da [svn-r28019] fix mem leaks. 2015-10-09 16:35:30 -05:00
Mohamad Chaarawi
3444e46ea0 [svn-r28017] mem leak fix. 2015-10-09 15:25:50 -05:00
Quincey Koziol
0facbc77c3 [svn-r28015] Decription:
Clean up memory leak when generating group creation property list for user.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & valgrind
    Linux/64 4.1.8 (Jerome's laptop) w/serial & valgrind
2015-10-09 14:38:13 -05:00
Larry Knox
8edfabd297 [svn-r27997] Autogen.sh is no longer marked _DO_NOT_DISTRIBUTE_ in the MANIFEST file. Therefore bbrelease does not need to expressly add it to the source tar file. 2015-10-07 14:18:43 -05:00
Allen Byrne
ad29dac64a [svn-r27986] OPTION should default to FALSE 2015-10-07 10:22:57 -05:00
Mohamad Chaarawi
8e9b142d9c [svn-r27976] merge from trunk. 2015-10-06 14:09:59 -05:00
Allen Byrne
22f78e766c [svn-r27974] Change distribution of scripts 2015-10-06 13:52:48 -05:00
Allen Byrne
58db7babe4 [svn-r27973] Update to new style usage 2015-10-06 13:48:50 -05:00
Allen Byrne
16e7b241d0 [svn-r27971] eliminate duplicate option 2015-10-06 12:38:04 -05:00
Allen Byrne
6f04c0f89d [svn-r27970] eliminate duplicate option 2015-10-06 12:36:38 -05:00
Elena Pourmal
086904a50d [svn-r27969] Added autogen.sh to the list of the distributed files. 2015-10-06 12:15:59 -05:00
Elena Pourmal
d0babe88da [svn-r27968] Modified version number to 1.9.233 before creating a tar ball for DLS. 2015-10-06 12:03:41 -05:00
Binh-Minh Ribler
db00c23829 [svn-r27966] Description
Added H5OcreatProp.h and H5OcreatProp.cpp.
2015-10-06 09:48:32 -05:00
Binh-Minh Ribler
f416522d56 [svn-r27962] Description:
Added c++/src/H5OcreatProp.[h/cpp]
    Checked with bin/chkmanifest
2015-10-05 23:35:15 -05:00
Binh-Minh Ribler
f17eb1e610 [svn-r27961] Purpose: Partial fix of issues HDFFV-9169 and HDFFV-9167
Description:
    Added wrappers for H5P[s/g]et_attr_phase_change and H5P[s/g]et_attr_creation_order

    // Sets attribute storage phase change thresholds.
    void setAttrPhaseChange(unsigned max_compact = 8, unsigned min_dense = 6)

    // Gets attribute storage phase change thresholds.
    void getAttrPhaseChange(unsigned& max_compact, unsigned& min_dense)

    // Sets tracking and indexing of attribute creation order.
    void setAttrCrtOrder(unsigned crt_order_flags)

    // Gets tracking and indexing settings for attribute creation order.
    unsigned getAttrCrtOrder()

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-05 23:31:58 -05:00
Quincey Koziol
0fb60ee7ae [svn-r27958] Description:
Reintegration merge of the VDS branch.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (daily tested for h5committest)
2015-10-05 12:52:31 -05:00
Quincey Koziol
81c4e2133a [svn-r27957] Description:
Minor whitespace cleanups.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-10-05 08:59:16 -05:00
Quincey Koziol
c7c6623f28 [svn-r27956] Description:
Minor code cleanups, preparing to merge to trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-10-05 08:46:42 -05:00
Dana Robinson
914643490a [svn-r27946] Brought VDS branch in sync with trunk (up to r27945).
Tested on Ubuntu 15.04 (Linux 3.19 x86_64), gcc 4.9.2, MPICH 3.1.4
and CMake 3.3.2.
    - Autotools serial w/ Fortran, C++
    - Autotools parallel w/ Fortran
    - CMake serial w/ Fortran, C++
2015-10-04 02:33:40 -05:00
Binh-Minh Ribler
888a002cdd [svn-r27945] Purpose: Fix HDFFV-9529
Description:
    Merged from hdf5_CppAPI_Constants

    r27942:
    ------
    Description:
    - Added H5dont_atexit() to getPredType and all the getConstant's to prevent
    the C library from terminating before the C++ library cleanup.
    - More cleanup and added more comments

    r27923:
    ------
    - Updated more comments and moved some things around for consistency
    - Removed check for "new" failure, exceptions would be thrown

    r27922:
    ------
    Description:
        Added function headers and more comments for clarity.

    r27917:
    ------
    Description:
        The C++ library has several types of global constants from different
        classes, such as PropList, PredType, DataSpace, etc...  Previously,
        these global constants were declared statically and the C++ library used
        a constant, called PredType::AtExit, to detect when all the global
        contants are destroyed then close the C library (H5close).  This method
        relied on the order of the constants being created and destroyed and
        that PredType constants be the last to be destroyed.  In September 2015,
        it was recognized that the order in which the global constants were
        created and destroyed was actually undefined, thus can be different
        between different compilers.  This resulted in failure when compilers
        destroy PredType constants before others because when PredType::AtExit
        was destroyed, the C library was closed, so when the constants of other
        classes such as PropList or DataSpace were being deleted, the C library
        would not be available.

    Solution:
        The static approach is changed to dynamic.  In order to avoid an impact
        on existing applications, the static global constants are changed to
        constant references to the dynamically allocated objects.
        A detailed explanation of the new method and a description of the
        changes are in a Design Notes at the end of the file H5PredType.cpp.

        New functions added to support the new methods are listed below.

        class H5Library:
                // Returns a singleton H5Library to initialize the global
                // constants, invoked in IdComponent default constructor
                static H5Library* getInstance(); // public

                // Registers cleanup and terminating functions with atexit(),
                // called in IdComponent default constructor
                static void initH5cpp(void); // public

                // Calls H5close to terminate the library, registered with
                // atexit(), as the last thing to be done.
                static void termH5cpp(void); // public

        class PredType:
                // Creates the constants
                static void makePredTypes(); // private

                // Calls makePredTypes to create the constants and returns
                // the dummy constant PREDTYPE_CONST;
                static PredType* getPredTypes(); // private

        class DataSpace:
                // Creates the constant
                static DataSpace* getConstant(); // private

        class PropList:
                // Creates the constant
                static PropList* getConstant(); // private

        class DSetCreatPropList:
                // Creates the constant
                static DSetCreatPropList* getConstant(); // private

        class DSetMemXferPropList:
                // Creates the constant
                static DSetMemXferPropList* getConstant(); // private

        class FileCreatPropList:
                // Creates the constant
                static FileCreatPropList* getConstant(); // private

        class FileAccPropList:
                // Creates the constant
                static FileAccPropList* getConstant(); // private

        This function is added to PredType, DataSpace, PropList, and the four
        subclasses of PropList:
                // Deletes the constant
                static void deleteConstants(); // public

Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2015-10-04 00:05:51 -05:00
Quincey Koziol
0ee053bb95 [svn-r27944] Description:
Avoid duplicating source FAPL & DAPL if they are already available.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-10-03 22:58:55 -05:00
Binh-Minh Ribler
0ef29b550b [svn-r27943] Purpose: Fix HDFFV-7947 (cont.)
Description:
    In the friend functions that setId, changed the direct assignment of
    id to using p_setId() so that the previous id can be closed first to
    avoid memory leaks.
    This change was tested and confirmed by user Jorj on Forum when his
    application stopped running out of memory.  Currently, the C++ library
    doesn't have a way to test this.  A function such as H5Inmembers for
    library ids would be helpful.
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Darwin (osx1010test)
2015-10-03 13:56:21 -05:00
Jerome Soumagne
87cc068ccb [svn-r27939] Remove H5D__iterate and use H5S_select_iterate directly
Add internal library callback to H5S_select_iterate to avoid having
to pass hid_t objects internally
2015-10-02 15:24:29 -05:00
Jerome Soumagne
b991b71176 [svn-r27938] Fix private/public H5A_get_type and H5A_get_space 2015-10-02 15:17:00 -05:00
Allen Byrne
f0adeb1cdd [svn-r27937] fix case 2015-10-02 15:08:54 -05:00
Allen Byrne
47c5bc7d61 [svn-r27935] Cmake 3.3 allowed execute_process to merge output and error files if the filename or the variable were the same.
Changed instances to make the outpu_variable different.
2015-10-02 14:19:09 -05:00
Allen Byrne
af5c2697a1 [svn-r27933] Cmake 3.3 allowed execute_process to merge output and error files if the filename or the variable were the same.
Changed instances to make the outpu_variable different.
2015-10-02 12:55:08 -05:00
Allen Byrne
b9d27c0ed3 [svn-r27932] Increase timeout for istore test when running under vfd. 2015-10-02 08:59:03 -05:00
Mohamad Chaarawi
8d131aca15 [svn-r27929] merge from trunk. 2015-10-01 11:12:02 -05:00
Allen Byrne
4dc2218ab5 [svn-r27927] Fix dependencies of flex/bison files. 2015-10-01 09:48:03 -05:00
Allen Byrne
152cc9e143 [svn-r27926] Fix dependencies of generated headers. 2015-10-01 09:24:11 -05:00
Dana Robinson
5548799289 [svn-r27918] Brought in sync with the trunk:
r27860-27883
r27892-27916

Tested on: - h5committest
           - jam (parallel) fails with an existing, unrelated MPI config error
           - platypus fails with due to an existing, unrelated cmakehdf5 error
             where it does not recognize --enable-fortran2003.
2015-09-30 00:46:19 -05:00
Dana Robinson
a89b064e2b [svn-r27916] Re-merge of r27884-27891 from the trunk + bugfix for a few
H5S recursive functions where an aliased pointer was
incorrectly set too early.

Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2
           serial and parallel (w/ MPICH 3.1.4)
2015-09-29 21:36:46 -05:00
Allen Byrne
32ee0d816f [svn-r27913] Need to create the directory for the gen files 2015-09-29 13:59:55 -05:00
Dana Robinson
5c0a8cc86e [svn-r27912] Revert of r27887, which caused failures in the vds test. These
changes will be merged more carefully so we can more easily
identify any errors that arise.

Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) w/ gcc 4.9.2
           serial and parallel (w/ MPICH 3.1.4)
2015-09-29 13:56:27 -05:00
Allen Byrne
cc8ed681b0 [svn-r27911] Add back in the build dir 2015-09-29 12:44:56 -05:00
Allen Byrne
e8073c0d80 [svn-r27910] Rework flex-bison generated files to eliminate dual depends when building both shared and static 2015-09-29 12:23:55 -05:00
Allen Byrne
ea70d11227 [svn-r27909] Exclude CYGWIN 2015-09-29 09:55:35 -05:00
Allen Byrne
ef2885c5ca [svn-r27908] Give cache tests extra time for VFD tests 2015-09-29 09:53:52 -05:00
Allen Byrne
2557782f24 [svn-r27906] Remove header file name as it is not a direct target (derived during BISON process). 2015-09-29 08:32:43 -05:00
Allen Byrne
7b7649aa81 [svn-r27905] Add depends to be sure file exists 2015-09-28 16:31:00 -05:00
Allen Byrne
179d122d59 [svn-r27904] Correct missing target name chars 2015-09-28 15:43:25 -05:00
Allen Byrne
431c69474c [svn-r27903] Add extra line for replacement from revision 27898 2015-09-28 15:23:46 -05:00
Dana Robinson
11201a24ef [svn-r27902] Updated autogen.sh to use /usr/hdf/bin/AUTOTOOLS paths and removed
hard-coded version checks.

Tested on: jam
2015-09-28 14:04:04 -05:00
Allen Byrne
510936d915 [svn-r27901] Rework doc for updated examples script 2015-09-28 13:39:43 -05:00
Larry Knox
a4e6d0c7e1 [svn-r27900] Modify bbrelease to use "Revision:" number from svn info, not "Last Changed Rev:" number.
Tested on jam
2015-09-28 13:32:42 -05:00
Mohamad Chaarawi
e188268610 [svn-r27898] add an additional perl command to replace int with hid_t in H5LTparse.c
- this is needed when running autogen on a couple of HPC machines.
2015-09-28 13:17:08 -05:00
Allen Byrne
e688c682c3 [svn-r27897] Reduce normal test timeouts to 10 mins - leave VFD changes as is. 2015-09-28 12:48:02 -05:00
Allen Byrne
6272555394 [svn-r27896] Synch VFD types with autotools 2015-09-28 12:47:19 -05:00
Allen Byrne
ccd6248532 [svn-r27895] Rework the generated file dependencies and commands. 2015-09-28 12:30:48 -05:00
Allen Byrne
68962cb2fa [svn-r27894] All generated headers need to be packaged. 2015-09-28 08:21:25 -05:00
Dana Robinson
5422acf9b2 [svn-r27892] Removed redefinition of H5C__HASH_FCN in test/cache_common.h.
This was causing failures on Ada.

Tested on: Ubuntu 15.04 (Linux 3.19.0) w/ gcc 4.9.3
2015-09-26 23:56:13 -05:00
Quincey Koziol
fbd659fe6f [svn-r27891] Description:
Revert changes to 'all' and 'none' selections: the serialized header info
is handled in the general H5S_select_deserialize() routine.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-26 23:39:36 -05:00
Quincey Koziol
0704819592 [svn-r27890] Description:
Remove 'unused' attribute from decoding pointer flag that I missed in the
last checkin.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-26 21:57:02 -05:00
Quincey Koziol
f45d7b4b7a [svn-r27889] Description:
Advance the decoding pointer for 'all' and 'none' selections properly.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-26 21:55:02 -05:00
Quincey Koziol
2fbf60fb90 [svn-r27888] Description:
Fix typo in last checkin. *sigh*

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-26 21:47:42 -05:00
Quincey Koziol
6f1dda474c [svn-r27887] Description:
Merge changes from trunk to the branch.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-26 20:39:06 -05:00
Quincey Koziol
574ff3980a [svn-r27885] Description:
Check if the layout has been retrieved before setting it again.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-26 20:28:39 -05:00
Quincey Koziol
8186a5cee1 [svn-r27884] Description:
Update dataspace selection encode/decode routines to avoid type aliasing
errors.

Tested on:
    Linux/64 2.6.x (platypus) w/production
    (h5committest forthcoming)
2015-09-26 18:52:42 -05:00
Dana Robinson
aec3e1242d [svn-r27880] Changes to autogen.sh
- Removed the long options, which are not supported under
  the getopts builtin.

- Correctly labeled the autogen.sh script as requiring bash
  (via the #!). We may need to remove the bash constructs
  before the 1.10 release and revert to sh.

- The help output is now correct.

Tested on: local linux
2015-09-25 18:32:57 -05:00
Neil Fortner
dbdc9c1e2b [svn-r27879] Move property list shutdown earlier in H5_term_library, since with VDS layout it
needs to call into the H5D package.

Tested: ummon
2015-09-25 16:48:11 -05:00
Dana Robinson
04289b3e2a [svn-r27878] Updated autogen.sh script to be more informative about missing
flex/bison.

Tested on: local linux
2015-09-25 15:49:24 -05:00
Quincey Koziol
10837a2a28 [svn-r27876] Description:
Make virtual layout return to the property list occur in all cases, even
on failure.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not needed on this branch)
2015-09-25 11:29:02 -05:00
Allen Byrne
2c99d728f0 [svn-r27874] Add ability to extend the cmake path for searching for libraries/programs. 2015-09-24 14:14:44 -05:00
Allen Byrne
5430c32938 [svn-r27873] Update with changes to script file 2015-09-24 14:01:39 -05:00
Allen Byrne
a1df19353d [svn-r27871] Update with changes to script file 2015-09-24 13:54:00 -05:00
Allen Byrne
e732b8073b [svn-r27869] Update with changes to script file 2015-09-24 12:36:48 -05:00
Allen Byrne
d99143e25b [svn-r27868] Add missing exported headers due to generation changes. 2015-09-24 12:14:01 -05:00
Allen Byrne
6a2195507d [svn-r27863] Correct comment 2015-09-23 15:34:23 -05:00
Allen Byrne
0d752fc354 [svn-r27862] Make the system vars configurable through the CTEST_SCRIPT_ARG 2015-09-23 15:31:50 -05:00
Quincey Koziol
718b311c11 [svn-r27860] Description:
Sync w/changes on trunk

Tested on:
    Not necessary, text only...
2015-09-23 10:40:48 -05:00
Allen Byrne
342ab3ccbf [svn-r27858] Add depends for H5E files 2015-09-22 15:01:39 -05:00
Scot Breitenfeld
1cd606b5e0 [svn-r27854] fixed typo in name of file 2015-09-22 10:26:25 -05:00
Quincey Koziol
8572b0db32 [svn-r27852] Description:
Sync w/trunk (which was already from the VDS branch)

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (h5committest not required)
2015-09-21 21:14:49 -05:00
Quincey Koziol
af25c747ad [svn-r27851] Description:
Normalization changes that wouldn't otherwise be necessary if the VDS branch
wasn't coming in shortly.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-21 21:11:54 -05:00
Quincey Koziol
4ad84456b3 [svn-r27850] Description:
Sync w/trunk

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (h5committest not required on this branch)
2015-09-21 19:35:47 -05:00
Quincey Koziol
fb238c24a5 [svn-r27849] Description:
Normalize against incoming changes on VDS branch.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (h5committest forthcoming)
2015-09-21 19:26:51 -05:00
Quincey Koziol
d3c6b4ad72 [svn-r27848] Description:
Clean up warnings and some normalization against trunk.

Tested:
    McaOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-21 19:21:18 -05:00
Allen Byrne
0be8c16879 [svn-r27847] Add Not early in document about CMAKE_INSTALL_PREFIX. 2015-09-21 15:52:35 -05:00
Allen Byrne
9edd184ae9 [svn-r27846] Fix generated files process.
Add script for post processing of flex/bison files.
2015-09-21 15:05:23 -05:00
Quincey Koziol
fd90a6f5c4 [svn-r27842] Description:
Sync w/trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel (although not CMake)
    (h5committest not required on this branch)
2015-09-21 09:25:23 -05:00
Dana Robinson
209df7c3b0 [svn-r27839] Removed generated autotools stragglers missed in trunk sync. 2015-09-21 03:36:01 -05:00
Albert Cheng
0e4ee6d829 [svn-r27836] HDFFV-8932: added option --with-szlib to support szip library support.
Tested: platypus 32 or 64bit, with or without zlib.
2015-09-20 23:59:43 -05:00
Quincey Koziol
0695d6366a [svn-r27835] Description:
Sync w/trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-09-20 21:18:45 -05:00
Quincey Koziol
8fc9a9ba25 [svn-r27834] Description:
Close FAPL for external link test, to fix infinite loop closing the library.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial 
    (too minor to require h5committest)
2015-09-20 21:08:56 -05:00
Dana Robinson
502dd5500b [svn-r27832] Updates to configure.ac based on the results of autoscan.
This removes all of the TRY_* macros and replaces them with *_IFELSE
macros, which are better for cross-compiling.

Tested on: h5committest (cmake fails due to --enable-fortran2003)
2015-09-19 07:24:40 -05:00
Albert Cheng
809dcb5c8e [svn-r27831] HDF5-0: Removed enable-fortran2003 which is no longer needed.
HDFFV-8932: added option to specify which zlib to use.

Tested: platypus 32 or 64bit, with or without zlib.
2015-09-18 17:59:24 -05:00
Dana Robinson
e78fa78f07 [svn-r27829] Added --copy to automake invocation in autogen.sh to force copies
instead of symlinks.

Tested on: local linux
2015-09-18 16:52:48 -05:00
Dana Robinson
132ab9c2f3 [svn-r27828] Removed Perl-generated header files and H5LT parse code created by flex/bison.
Tested on: jam
2015-09-18 15:46:04 -05:00
Larry Knox
967dad8cf8 [svn-r27826] Modify bbrelease to add autogen.sh to the source tarball. 2015-09-18 13:09:02 -05:00
Allen Byrne
87005a24ba [svn-r27823] Add new options for dynamic analysis 2015-09-18 10:23:20 -05:00
Larry Knox
7c1c3734f3 [svn-r27819] bbrelease is a modified copy of the release script, which checks for the "configure" file to verify that it is in the top level HDF5 directory. bbrelease creates a tar file for buildbot testing, and since configure is no longer checked in, the script failed. configure.ac should always be present in the top level source directory, even before running autogen.sh, so it should be a workable substitute for the verification.
Tested with h5committest.
2015-09-17 13:21:35 -05:00
Dana Robinson
944e42d5ea [svn-r27818] Minor warning fixes.
Tested on: h5committest
2015-09-17 12:21:34 -05:00
Allen Byrne
2ddf84b036 [svn-r27817] Fix generated file dependencies 2015-09-17 11:07:09 -05:00
Dana Robinson
a8bd6fa91e [svn-r27812] Updated the autotools files to only compile direct VFD and parallel code
when those options were specified in the configure step.

Tested on: jam w/ serial, parallel, and direct VFD
2015-09-16 18:40:11 -05:00
Quincey Koziol
ee7612be44 [svn-r27811] Description:
Refactor property list code to "deep copy" properties in the correct way,
retraining the rest of the library to copy & release things correctly.  This
cleans up another batch of memory leaks, etc. within the library.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
    (h5committest forthcoming)
2015-09-16 17:27:49 -05:00
Quincey Koziol
222e7186ea [svn-r27810] Description:
Clean up resources on failure

Tested on:
    Linux/32 2.6.x (jam) w/Purify
2015-09-16 16:57:01 -05:00
Dana Robinson
78848c63b7 [svn-r27809] Minor warning fixes in the library.
Tested on: jam (too minor for h5committest)
2015-09-16 16:52:54 -05:00
Allen Byrne
12d5f2bb3c [svn-r27808] Update CMake files to use updated test files. 2015-09-16 16:38:16 -05:00
Quincey Koziol
81b5e1c51f [svn-r27807] Description:
Close memory leak on failure.

Tested on:
    Linux/32 2.6.x (jam) w/purify
2015-09-16 15:30:26 -05:00
Neil Fortner
d23cc2da70 [svn-r27806] Fix property list serialization for values encoded by H5Pset_chunk_cache to be
compatible between 32 and 64 bit systems.
Expand cross platform property list encode/decode testing.
Fix warning in H5P__fill_value_enc.

Tested: jam, koala, ostrich (h5committest), ummon
2015-09-16 14:55:38 -05:00
Quincey Koziol
52ac462e7c [svn-r27805] Description:
Shut warnings from purify up.

Tested on:
    Linux/32 2.6 (jam) w/purify
    (Too minor to require h5committest)
2015-09-16 12:23:47 -05:00
Allen Byrne
36869656f5 [svn-r27803] Synch header generation to autogen and create files in source folder.
Tested : Windows which had issues creating the files in both source and build (by-product of perl script).
2015-09-16 11:44:04 -05:00
Dana Robinson
92dc665301 [svn-r27802] Added an explicit -I m4 to the aclocal line.
The files in the m4 directory were not getting picked up on some platforms.

Tested on: jam
2015-09-16 10:57:37 -05:00
Dana Robinson
d90e4acfa7 [svn-r27801] Minor warning fixes in the tools.
Tested on: jam (too minor for h5committest)
2015-09-16 10:23:16 -05:00
Dana Robinson
2385b2b0ad [svn-r27800] Minor warning fixes in the library tests.
Tested on: jam (too minor for h5committest)
2015-09-16 08:54:23 -05:00
Dana Robinson
cc0165a973 [svn-r27799] Minor warning fixes in the high-level library.
Tested on: jam (too minor for h5committest)
2015-09-16 05:34:25 -05:00
Allen Byrne
183ba43b41 [svn-r27796] Remove duplicated if block 2015-09-15 15:53:11 -05:00
Dana Robinson
058ec37559 [svn-r27795] Removed some autotools generated files that were not caught by
the last checkin.

Tested on: bin/chkmanifest
2015-09-15 15:52:14 -05:00
Dana Robinson
9af344117c [svn-r27794] Reintegration merge of features/autotools_rework branch with trunk
NOTES:

- Developers will have to run autogen.sh before building with the autotools.

- autogen.sh takes the -p option to mimic the old bin/reconfigure behavior.

- The generated error, overflow and version headers have been left in place.

- The generated H5LT parser code has also been left in place.

- There are no changes for CMake users at this time.

Tested on: h5committest
2015-09-15 15:38:57 -05:00
Dana Robinson
14e3550348 [svn-r27790] Merge of r27632, 27676, 27683 from the trunk.
Tested on: N/A (mergeinfo only)
2015-09-15 08:52:24 -05:00
Dana Robinson
ef8c73ecc3 [svn-r27789] Merge of r27683-r27698 from the trunk.
Tested on: h5committest
2015-09-15 08:33:49 -05:00
Dana Robinson
1177e64925 [svn-r27787] Merge of r27632-27674 from the trunk.
Tested on: h5committest
2015-09-15 08:01:01 -05:00
Dana Robinson
2416d5e8ce [svn-r27776] Fixed MANIFEST
Tested on: bin/chkmanifest
2015-09-14 15:13:12 -05:00
Dana Robinson
b5eaacb911 [svn-r27775] Undo of r27655
Removes .pl extension from Perl scripts. This may be returned in the future,
but it's best to keep the script names unchanged while we merge with the
trunk.

Tested on: h5committest
2015-09-14 15:11:43 -05:00
Quincey Koziol
b2f94f9faf [svn-r27774] Description:
Correct test reset code in plugin code and fix typo in testing script.

Tested on:
    Linux 2.6/32 (jam) w/serial
2015-09-14 14:53:47 -05:00
Quincey Koziol
43443b2208 [svn-r27773] Description:
Correct typos in fix.

Tested on:
    Linux 2.6/32 (jam) w/gcc
2015-09-14 14:27:31 -05:00
Quincey Koziol
02ce7e7386 [svn-r27772] Description:
Clean up warnings, address HDFFV-9524

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (Too minor to require h5committest)
2015-09-14 11:39:09 -05:00
Quincey Koziol
050dd02387 [svn-r27771] Description:
Merge in part of Neil's property list fixes:  Fix a minor memory leak,
add some sanity checks, clean up the code a little, and verify that encoding/
decoding default versions of the property lists works correctly.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (Too minor to require h5committest)
2015-09-14 11:21:31 -05:00
Elena Pourmal
68659dd411 [svn-r27769] Maintenance: Fixed example that failed daily tests.
Tested on Mac Air, jam and ostrich.
2015-09-14 10:03:58 -05:00
Quincey Koziol
1023374492 [svn-r27768] Description:
Complete revamp of package initialization/shutdown mechanism in the library.
Each package now has a single init/term routine.

    This new way should avoid packages being re-initialized during library
shutdown and is also be _much_ more proactive about giving feedback for
resource leaks internal to the library.

    Introduces a new "module" header file for packages in the library
(e.g src/H5Fmodule.h) which sets up some necessary package configuration macros
for the FUNC_ENTER/LEAVE macros.  (The VFL drivers have their own slightly
modified version of this header, src/H5FDdrvr_module.h)

    Also cleaned up a bunch of resources leaks all across the library and tests,
along with addressing many warnings, as I encountered them.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    Linux/64 3.10.x (kituo) w/serial & parallel
    Linux/64 2.6.x (ostrich) w/serial
2015-09-13 22:58:59 -05:00
HDF Tester
f16361d5f1 [svn-r27767] Snapshot version 1.9 release 231 2015-09-13 19:43:47 -05:00
Dana Robinson
122bf84bb3 [svn-r27760] Brought r27631-27755 over from the trunk.
tested on: jam
2015-09-11 09:08:04 -05:00
Dana Robinson
1ac1dfb40f [svn-r27755] Changed direct VFD default to OFF in CMake to match Autotools.
Tested on: jam w/ CMake
2015-09-10 22:03:41 -05:00
Scot Breitenfeld
672e6bd8a9 [svn-r27754] HDFFV-548:H5LT patches for F90 Lite API in 1.8.0 Beta
tested: h5committest
2015-09-10 16:18:17 -05:00
Dana Robinson
54d0a36947 [svn-r27753] Removed duplicated attribute macro checks. Moved canonical attribute
macro checks from src/H5api_adapt.h to H5private.h, which is where
they belong anyway.

Tested on: h5committest (manually inspected for attribute warnings)
2015-09-10 15:39:44 -05:00
Dana Robinson
95e0bd109f [svn-r27752] Merge of r27751 from 1.8 branch
Added a comment to config/ibm-flags that describes the purpose of the
-qflag=w:w compiler flag.

Tested on: N/A (no access to AIX, comment only)
2015-09-10 15:36:08 -05:00
Allen Byrne
4b748365df [svn-r27748] Correct name of target 2015-09-10 09:19:43 -05:00
Allen Byrne
8e3464d2d0 [svn-r27747] Correct name of target 2015-09-10 09:18:54 -05:00
Allen Byrne
10da31a926 [svn-r27745] Merge trunk revision 27744 2015-09-10 09:11:17 -05:00
Dana Robinson
27f9e67d1e [svn-r27734] Fixed MANIFEST
Tested on: bin/chkmanifest
2015-09-09 21:57:38 -05:00
Dana Robinson
897b7308f5 [svn-r27731] Removed the obsolete config/powerpc-ibm-aix5.x file.
Tested on: Nothing. I have no access to an AIX machine.
2015-09-09 21:05:35 -05:00
Allen Byrne
1dc01a33b2 [svn-r27729] add extra flags to the bison and flex command lines 2015-09-09 16:52:50 -05:00
Dana Robinson
08ce739cda [svn-r27728] Merge of r27713 from revise_chunks
Added -qflag=w:w to config/ibm-flags. This will suppress informational
messages on AIX, suppressing thousands of "__attribute__ is non-portable"
messages in the AIX nightly test output.

Tested on: Nothing. I have no access to an AIX machine.
2015-09-09 16:04:14 -05:00
Allen Byrne
531eb2b050 [svn-r27726] Added output folder to commands 2015-09-09 15:09:58 -05:00
Allen Byrne
e040db8331 [svn-r27725] Add initial commands to properly build the generated files.
Added HDF5_GENERATE_HEADERS ON to cacheinit.cmake file.

Tested: local linux
2015-09-09 14:36:47 -05:00
Dana Robinson
9ac201d01a [svn-r27722] Updated the gnu config to cover gcc 5.2*.
Tested on: jam w/ gcc 5.2.0
2015-09-09 12:24:12 -05:00
Allen Byrne
d9d02bf847 [svn-r27720] Merge changes from master 2015-09-09 10:15:43 -05:00
Allen Byrne
129334f04b [svn-r27716] Publish both static and shared mod files in binaries. 2015-09-09 09:58:44 -05:00
Quincey Koziol
26baf1a805 [svn-r27710] Description:
Bring the "metadata rings" code from its branch (mdc_rings_v2) to the trunk.
(This change will support the page buffering feature)

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-09-09 01:33:03 -05:00
Quincey Koziol
2132f54459 [svn-r27707] Description:
Misc. minor cleanups in preparation for merging "metadata rings" branch to
trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (Too minor to require h5committest)
2015-09-09 00:26:45 -05:00
Allen Byrne
776b41a62a [svn-r27703] Publish both static and shared mod files in binaries.
Tested: local linux
2015-09-08 16:43:37 -05:00
Dana Robinson
61090f2cc3 [svn-r27702] Merge of r27699 from trunk.
Removed some configure checks for obsolete Unix variants.
The H5pubconf.h.in file that CMake uses was also updated.

Tested on: h5committest
2015-09-08 16:24:27 -05:00
Neil Fortner
f3da956441 [svn-r27701] RM offset initialization that is no longer necessary with the recent fix to
H5Screate().

Tested: ummon
2015-09-08 15:41:38 -05:00
Dana Robinson
fadb57f704 [svn-r27699] Removed some configure checks for obsolete Unix variants.
The H5pubconf.h.in file that CMake uses was also updated.

Tested on: h5committest
2015-09-08 15:03:41 -05:00
Dana Robinson
4c8902cdf0 [svn-r27692] Changed the autotools files so that the high-level library is unsupported
when building the thread-safe library.

Configure will quit with an error when --disable-hl or
--enable-unsupported is not used with --enable-threadsafe.

Fixes HDFFV-8719

Tested on: h5committest
           configure w/ various combinations of --enable-threadsafe,
           --disable-hl, and --enable-unsupported
2015-09-07 18:44:41 -05:00
HDF Tester
34be1d1aed [svn-r27690] Snapshot version 1.9 release 230 2015-09-06 19:31:40 -05:00
Dana Robinson
5903fc723b [svn-r27686] Merge of r27684 from autotools_rework
Removed _BSD_SOURCE and _DEFAULT_SOURCE from the autotools
C flags. They are no longer needed by the library. Fixes HDFFV-9079.

Tested on: h5committest
2015-09-05 23:26:47 -05:00
Dana Robinson
c6ed371d19 [svn-r27684] Removed _BSD_SOURCE and _DEFAULT_SOURCE from the autotools
C flags. They are no longer needed by the library. Fixes HDFFV-9079.

Tested on: h5committest
2015-09-05 20:51:08 -05:00
Dana Robinson
b106502c57 [svn-r27683] Restored the _POSIX_C_SOURCE flag that had been commented out
and modified the fortran/test/ Makefile.am to remove the build
error with Intel Fortran.

Tested on: h5committest
2015-09-05 17:56:59 -05:00
Dana Robinson
210b5d8441 [svn-r27682] Restored commented-out _POSIX_C_SOURCE line in configure.ac.
Tested on: h5committest
2015-09-05 08:51:10 -05:00
Dana Robinson
9711495437 [svn-r27677] Merge of r27675 from trunk
Removed library checks for nsl and socket from the autotools configure on
Solaris.

The nsl and socket libraries are no longer used by the library. Fixes
HDFFV-9118.

Tested on: jam w/ autotools and CMake
           emu w/ autotools
2015-09-04 09:23:45 -05:00
Allen Byrne
4906383c0f [svn-r27676] Fix dependencies of generated file 2015-09-04 08:55:29 -05:00
Dana Robinson
bea85e0705 [svn-r27675] Removed library checks for nsl and socket from the autotools configure on
Solaris.

The nsl and socket libraries are no longer used by the library. Fixes
HDFFV-9118.

Tested on: h5committest (CMake fortran fails due to an unrelated error)
           jam w/ CMake
2015-09-04 03:20:26 -05:00
Allen Byrne
cbf5bb6b78 [svn-r27674] Attempt to fix race condition on windows 2015-09-03 16:45:17 -05:00
Neil Fortner
dceb3f1818 [svn-r27673] rm unnecessary/unreachable code from H5S_get_select_hyper_nblocks
Tested: ummon
2015-09-03 16:27:58 -05:00
Allen Byrne
6b1b8869d1 [svn-r27671] Move fortran id check to fortran section 2015-09-03 13:28:47 -05:00
Allen Byrne
0cca701dc2 [svn-r27670] Remove SYMBOLS option - includes default checks. Pulled from master. 2015-09-03 13:27:44 -05:00
Allen Byrne
7860f3f5b6 [svn-r27668] Increase timeout for objcopy 2015-09-03 09:48:18 -05:00
Scot Breitenfeld
33a2e52c6e [svn-r27663] Removed the lines:
# Source files are used for both the library and fortranlib_test.
# Automake will complain about this without the following workaround.
fortranlib_test_FCFLAGS=$(AM_FCFLAGS)
fortranlib_test_CFLAGS=$(AM_CFLAGS)

because they caused Fortran build rules (.f90.o, .F90.o) to be ignored, causing the CPP flags to be passed to the Fortran compiler, causing the xlf compiler to fail.

Tested: ostrich (xlf), h5committest
2015-09-02 11:33:12 -05:00
Allen Byrne
5d311b35ba [svn-r27661] Always use static mod files. 2015-09-01 16:43:50 -05:00
Allen Byrne
e5dbc90ad2 [svn-r27656] HDFFV-9515: repack failed with 5 digit filter ids because a local variable in the parse routine was not large enough.
Tested: local linux and windows
2015-09-01 13:35:16 -05:00
Dana Robinson
77525ea95d [svn-r27655] Add .pl extension to Perl scripts in bin (part of HDFFV-9513)
This makes things easier on Windows, where we will have to run
Perl scripts as a part of CMake.

Tested on: jam
2015-09-01 11:28:05 -05:00
Dana Robinson
099618ad48 [svn-r27653] Merge of r27645 from the autotools branch.
Updates to older special config files in configure.ac:

- solaris2.x renamed to solaris. There are recent changes to this file
  but the "2.x" is misleading since the changes are applied to all
  versions.

- Removed support for OSF 4.x/5.x (Digital and Tru64 Unix). We no
  longer have the config files for these.


Tested on: h5committest
2015-09-01 11:12:53 -05:00
Dana Robinson
d2cbacb945 [svn-r27649] Fixed MANIFEST
tested on: jam (bin/chkmanifest)
2015-09-01 10:09:37 -05:00
Allen Byrne
f72ed2d8dc [svn-r27648] Fortran executables depend on modules created by test library, add command to explictly enforce the building of the library before building executables. 2015-09-01 09:56:39 -05:00
Scot Breitenfeld
17f5ee3624 [svn-r27647] Added compiler check for PGI and CMake version.
CMake must be > v3.3 to compile with PGI due to
CMake bug in earlier versions.
2015-09-01 09:00:14 -05:00
Neil Fortner
c839ed3383 [svn-r27646] Add version number to VDS global heap object encoding.
Fix handling of layout version number.
Other minor fixes/cleanup.
NOTE: This commit changes the file format for VDS, all files must be
re-generated.

Tested: ummon
2015-09-01 08:03:33 -05:00
Dana Robinson
4b36ffe0e2 [svn-r27645] Updates to older special config files in configure.ac:
- solaris2.x renamed to solaris. There are recent changes to this file
  but the "2.x" is misleading since the changes are applied to all
  versions.

- Removed support for OSF 4.x/5.x (Digital and Tru64 Unix). We no
  longer have the config files for these.

Tested on: jam (autogen.sh only)
           emu (Solaris 11)
2015-09-01 03:10:00 -05:00
Dana Robinson
bb8c64169b [svn-r27642] Removed comments from MANIFEST regarding distributing the
gen_* files in test/. These files will remain distributable since
they are needed if a user specifies --enable-build-all.

Fixes HDFFV-8236

Tested on: jam (bin/chkmanifest only)
2015-09-01 01:34:14 -05:00
Dana Robinson
137f153ba2 [svn-r27641] Merge of r27616 from autotools_rework
Replaced AC_CONFIG_HEADER (obsolete macro) with AC_CONFIG_HEADERS
followed by bin/reconfigure (which changed nothing at this time).

Fixes HDFFV-9284

Tested on: jam
2015-09-01 01:30:21 -05:00
Dana Robinson
1177a5cbbc [svn-r27639] Fixed MANIFEST 2015-08-31 23:39:31 -05:00
Dana Robinson
59aa015d9f [svn-r27638] Merged r27500-27631 from trunk. 2015-08-31 23:36:17 -05:00
Dana Robinson
3b5a4a0648 [svn-r27636] Added cmake_ext_mod files from trunk. Merging them properly was
annoying with the direct clobber of the externals directory
with real files.
2015-08-31 23:24:03 -05:00
Quincey Koziol
db8e289abe [svn-r27632] Description:
Revert changes to pass file pointer to selection serialize/deserialize
routines.  Also patch back in some changes that were merged out in the
previous merge w/trunk.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (h5committest not required on this branch)
2015-08-31 16:58:15 -05:00
Quincey Koziol
a90e09889d [svn-r27631] Description:
Make error values from hyperslab operations clearer.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-08-31 16:43:02 -05:00
Quincey Koziol
2c91cbecc6 [svn-r27630] Description:
Bring in changes from the trunk, through r27628.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial
    (h5committest not required on this branch)
2015-08-31 15:14:57 -05:00
Allen Byrne
81ca9e4c79 [svn-r27627] Change hardcoded HDF5TESTEXPRESS value to use a CMake variable HDF_TEST_EXPRESS. 2015-08-31 15:08:56 -05:00
Dana Robinson
c226e58005 [svn-r27626] Various minor warning fixes before major SWMR and VDS merges.
gcc 4.9.2 was used to create the warning list

- implicit casts
- shadowed variables
- various enum issues
- other minor fixes (comments, unused macros, etc.)

Tested on: h5committest
2015-08-31 14:04:23 -05:00
Scot Breitenfeld
e6f9fc5f7f [svn-r27625] Added preprocessor commands for PGI compiler.
tested: h5committest
2015-08-31 13:49:17 -05:00
Larry Knox
de1bafd1d8 [svn-r27624] Update bin/bbrelease to handle changed output of 'svn info' with svn version 1.8.
Change to experimental release script bbrelease for buildbot to eliminate extra line in version output.
2015-08-31 12:50:08 -05:00
Dana Robinson
b920ee876e [svn-r27623] Added some parallel #ifdefs to H5Ocache.c to quiet compiler
warnings.

tested on: h5committest
2015-08-31 12:42:09 -05:00
HDF Tester
74792949c9 [svn-r27622] Snapshot version 1.9 release 229 2015-08-30 19:55:54 -05:00
Quincey Koziol
ed50605883 [svn-r27618] Description:
Align w/vds branch: Remove extraneous sieve buffer flush in chunk 
flush callback, and move error check out of the middle of retrieving properties
for dataset.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-08-29 17:10:41 -05:00
Dana Robinson
a26683076f [svn-r27616] Replaced AC_CONFIG_HEADER (obsolete macro) with AC_CONFIG_HEADERS.
Fixes HDFFV-9284

Tested on: jam
2015-08-29 00:02:16 -05:00
Quincey Koziol
097d2de6f8 [svn-r27615] Description:
Protect dataset that's closing from being flushed again, if it's the last
one holding a file open.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-08-29 00:00:07 -05:00
Quincey Koziol
1103585dc1 [svn-r27614] Description:
Align w/vds branch: Change code in H5O_layout_copy() to use switch for
different types of dataset layouts.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-08-28 21:18:41 -05:00
Quincey Koziol
d001bbde04 [svn-r27613] Description:
Align w/vds branch: Move code for initializing contiguous datasets into
layout 'init' callback.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-08-28 21:11:57 -05:00
Quincey Koziol
b68b9d8786 [svn-r27612] Description:
Align w/vds branch: Whitespace cleanup, move common code for opening a
dataset into a new routine, misc. style cleanups.

Tested on:
    MacOSX/64 10.10.5 (amazon) w/serial & parallel
    (h5committest upcoming)
2015-08-28 20:43:37 -05:00
Mohamad Chaarawi
a31524e4ae [svn-r27607] merge from trunk. 2015-08-28 15:57:41 -05:00
Neil Fortner
1d3a7ec651 [svn-r27606] Merge revisions 27593 through 27605 from trunk to vds branch.
Tested: ummon
2015-08-28 15:03:07 -05:00
Neil Fortner
1847391fc5 [svn-r27605] Fix potential memory error when using a dataspace that was created with
H5Screate and had its extent set by H5Sextent_copy.

Tested: jam, ostrich (h5committest)
2015-08-28 14:43:03 -05:00
Dana Robinson
1252bc4e66 [svn-r27601] Removed the H5TSprivate.h include from H5.c. It's not needed and causes
problems on Windows.

Tested on: jam, with and without --enable-threadsafe
2015-08-27 17:24:45 -05:00
Dana Robinson
05bf2c042c [svn-r27599] Ran bin/reconfigure
tested on: jam
2015-08-27 16:56:25 -05:00
Quincey Koziol
c2ce904d5d [svn-r27598] Description:
Check in misc. minor code cleanups, found during code review
2015-08-27 16:52:15 -05:00
Allen Byrne
ccf2bcc636 [svn-r27597] Update text files to match 1.8 changes 2015-08-27 16:46:50 -05:00
Neil Fortner
c365b9a59f [svn-r27593] Merge revisions 27453 through 27592 from trunk to vds branch.
Tested: ummon
2015-08-27 12:06:54 -05:00
Scot Breitenfeld
a9c28bac4e [svn-r27592] Added dll for H5DGET_OFFSET_F 2015-08-27 11:07:50 -05:00
Allen Byrne
01a1e8f1ca [svn-r27591] Threadsafe option implementation has changed and ALLOWUNSUPPORTED option needs to be used with TS to actually use of TS with Fortran and C++. 2015-08-27 10:36:25 -05:00
Allen Byrne
c491cf01bf [svn-r27590] Fix typo 2015-08-27 08:41:32 -05:00
Dana Robinson
606c16e111 [svn-r27587] Added a new API call (H5is_library_threadsafe) to the library. This call can
be used to determine at runtime if the library was built with thread-safety.

Fixes HDFFV-9496

Tested on: h5committest
2015-08-26 12:05:57 -05:00
Allen Byrne
6635d4c003 [svn-r27586] HDFFV-9497: Add back ALLOW_UNSUPPORTED OPTION.
Added new option SKIP_HDF5_FORTRAN_SHARED
2015-08-26 11:48:42 -05:00
Scot Breitenfeld
2faae30c8d [svn-r27585] disabled the test "test_userblock_offset"; it fails for unknown reasons on platypus with pgf90 compiler when reading the streamed file back. 2015-08-26 10:13:43 -05:00
Dana Robinson
767585b70f [svn-r27581] Fixed a bug in the FUNC_ENTER macros. API calls of the form H5xx_* were
flagged as H5XX_, which is a non-public API form.

Tested on: h5committest
2015-08-25 19:05:39 -05:00
Scot Breitenfeld
4939ee2419 [svn-r27580] Fix for:
HDFFV-9283
Add H5Dget_offset fortran wrapper

tested: h5committest
2015-08-25 16:49:36 -05:00
Mohamad Chaarawi
0286bb12de [svn-r27576] - mark the entry as indepndent when expunged.
- disable the metadata coll hint for smoke checks 1 & 2.
2015-08-25 10:55:57 -05:00
Allen Byrne
8aef26f785 [svn-r27575] lowercase commands 2015-08-25 09:14:12 -05:00
Mohamad Chaarawi
e8dc2c232d [svn-r27573] fix serial build. 2015-08-25 08:37:28 -05:00
Dana Robinson
2e6100fb23 [svn-r27572] Removed VMS-specific code from the library.
The only remaining code consists of a few floating-point tests
that rely on pre-generated and checked-in VMS files. These have
been left alone, even though they will not be possible to
recreate, since testing VMS float behavior is still important.

Tested on: h5committest
2015-08-24 15:19:39 -05:00
Scot Breitenfeld
76d7d3cb97 [svn-r27570] Fixed issue with REAL max detection.
tested: h5committest
2015-08-24 14:22:55 -05:00
Mohamad Chaarawi
071fb9393e [svn-r27558] merge from trunk. 2015-08-24 11:08:20 -05:00
Scot Breitenfeld
47d97ed2c0 [svn-r27557] Added build_mod directory and updated the C try_run macro to not check for definitions and does not return unused arguments. 2015-08-24 11:07:17 -05:00
Scot Breitenfeld
9d625c0580 [svn-r27556] Added include for build_mod directory.
Tested: h5committest.
2015-08-24 11:05:05 -05:00
Allen Byrne
49a27febbc [svn-r27555] Merge cmake_ext_mod change 2015-08-24 11:01:40 -05:00
HDF Tester
abdb2a6456 [svn-r27551] Snapshot version 1.9 release 228 2015-08-23 19:21:39 -05:00
Quincey Koziol
de324a50f8 [svn-r27549] Description:
Update the file format debugging routines to match the recent changes to
the metadata cache, along with a few other cleanups and miscellaneous
enhancements.

Tested on:
    MacOSX/64 10.10.5 (amazon)
    (h5committest forthcoming)
2015-08-21 22:08:43 -05:00
Jerome Soumagne
ab7d724ffd [svn-r27548] Revert r27545 2015-08-21 17:44:22 -05:00
Neil Fortner
3c5a088df0 [svn-r27547] Fill in public function descriptions from RM entries.
Tested: ummon
2015-08-21 16:12:57 -05:00
Neil Fortner
32bf83f1cf [svn-r27546] Add tests for H5O__dset_bh_info (H5Oget_info) and unlimited selections in a
region reference.

Tested: ummon
2015-08-21 14:57:29 -05:00
Jerome Soumagne
7ce2d52cf6 [svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if available
Fix tests accordingly
2015-08-21 13:52:30 -05:00
Neil Fortner
1821b64d49 [svn-r27543] Add tests to cover remaining code coverage assertions in H5Shyper.c.
Add more tests for unlimited selections.
Fix bug related to empty unlimited source dataset.

Tested: ummon
2015-08-20 17:18:52 -05:00
Allen Byrne
1b2b0bd5a3 [svn-r27540] Replace svn:externals with hard copy of files 2015-08-20 12:03:29 -05:00
Neil Fortner
e3bea91686 [svn-r27538] Add tests to cover remaining code coverage assertions in src directory except
for those in H5Doh.c and H5Shyper.c.

Tested: ummon
2015-08-20 11:38:05 -05:00
Scot Breitenfeld
1436a07905 [svn-r27537] Added new FCCPPFLAGS to avoid passing CPPFLAGS to the fortran pre-processor compiler (This mainly causes issues with the xlf compilers)
Tested: h5committest
2015-08-20 11:01:26 -05:00
Neil Fortner
b1dcfc7a84 [svn-r27528] Modify printf implementation to not open source datasets that were previously
opened when calculating the VDS extent, instead assuming they still exist.

Tested: ummon
2015-08-19 11:45:36 -05:00
Neil Fortner
6909d2033f [svn-r27527] Add tests to hit code coverage assertions in H5Olayout.c.
Fix issue in VDS delete routine.

Tested: ummon
2015-08-19 11:21:27 -05:00
Scot Breitenfeld
8db36cc766 [svn-r27525] Added missing H5A_mp_H5AREAD_PTR and H5A_mp_H5AWRITE_PTR definitions. 2015-08-19 09:50:47 -05:00
Scot Breitenfeld
2b4038e5e7 [svn-r27524] Added test to not remove double precision from valid KINDS if it is the largest compatible REAL with C.
Tested: h5committest.
2015-08-19 08:40:27 -05:00
Scot Breitenfeld
6e0edba918 [svn-r27521] Added test to not remove double precision from valid KINDS if it is the largest compatible REAL with C.
Tested: h5committest.
2015-08-18 17:11:37 -05:00
Neil Fortner
69e2f53edb [svn-r27520] Add new test for all 3 selection types in the same VDS.
Minor cleanup in the tests.

Tested: ummon
2015-08-18 15:45:46 -05:00
Scot Breitenfeld
d06fee7bd2 [svn-r27517] Removed all perl scripts from configure.
Tested: h5committest
2015-08-17 16:12:03 -05:00
Allen Byrne
72ae17138b [svn-r27515] Correct spelling of function 2015-08-17 10:37:43 -05:00
HDF Tester
68347a67ef [svn-r27511] Snapshot version 1.9 release 227 2015-08-16 21:58:42 -05:00
Scot Breitenfeld
b79070ac8d [svn-r27509] Fixed check for perl: tested--h5committest 2015-08-14 17:21:11 -05:00
Dana Robinson
dc13fabc14 [svn-r27508] Updated MANIFEST after merge.
Tested on: jam (bin/chkmanifest only)
2015-08-14 15:57:14 -05:00
Dana Robinson
c27d180848 [svn-r27507] Merge of r27237-27500 from the trunk.
Tested w/ h5committest

NOTES: - The manifest may still be messed up.
       - Cmake fails since the dual binary work needs to be merged with
         this repo's CMake externals.
2015-08-14 14:58:54 -05:00
Neil Fortner
1eff550df3 [svn-r27506] H5Dset_extent no longer holds all printf source datasets open.
Other items identified during reviews.

Tested: ummon
2015-08-14 14:58:35 -05:00
Neil Fortner
cefda2ef0c [svn-r27505] Add support for H5Dset_extent for VDS.
Add tests for this.
Other bug fixes/cleanup

Tested: Kubuntu 64 (home computer)
2015-08-13 21:55:15 -05:00
Neil Fortner
51e16157c2 [svn-r27504] Change comments/code around to reflect decision to have virtual datasets always
return TRUE when their is_alloc function is called.

Tested: ummon
2015-08-13 11:39:21 -05:00
Neil Fortner
07106823b4 [svn-r27501] Add mapping validity checking to VDS open.
Other minor fixes/cleanup.

Tested: ummon
2015-08-12 15:11:59 -05:00
Scot Breitenfeld
d3e931c772 [svn-r27500] missing declaration 2015-08-12 14:53:03 -05:00
Scot Breitenfeld
91ec943123 [svn-r27499] Fixed FLOAT_128 H5T type detection.
tested: jam
2015-08-12 13:23:03 -05:00
Neil Fortner
1ba3706640 [svn-r27498] Add support for I/O after reopening a VDS with unlimited and/or printf mappings
without calling H5Dget_space first.
Add tests for this.
Other minor fixes/cleanup.

Tested: ummon
2015-08-12 13:19:48 -05:00
Scot Breitenfeld
48c429d4a3 [svn-r27497] Fixed missing variable declarations.
tested: h5committest.
2015-08-12 12:13:12 -05:00
Binh-Minh Ribler
c98d072e69 [svn-r27496] Description:
Used HTML_EXTRA_FILES for image files.
Platform tested:
    Re-run Doxygen on cpp_doc_config and verified the html files on a
    Windows 7 machine.
2015-08-11 13:36:39 -05:00
Binh-Minh Ribler
53d53ee0ee [svn-r27495] Description:
Added ./c++/src/footer.html
2015-08-11 12:50:02 -05:00
Binh-Minh Ribler
555a29e896 [svn-r27494] Purpose: Fix HDFFV-9288
Description:
    Added footer to include copyright and helpdesk info.
Platform tested:
    Re-run Doxygen on cpp_doc_config and verified the html files on a
    Windows 7 machine.
2015-08-11 11:44:07 -05:00
Scot Breitenfeld
caf0e7692a [svn-r27493] Trying again to merge the F2003_v1.10 branch to the trunk.
Tested: h5committest --PASSED--
2015-08-11 09:35:30 -05:00
Scot Breitenfeld
3b4696ccd1 [svn-r27489] reverted merge of branch 2015-08-10 20:22:33 -05:00
Scot Breitenfeld
415eb5512b [svn-r27488] Merged the F2003_v1.10 branch to the trunk.
Tested: h5committest
2015-08-10 20:00:33 -05:00
Allen Byrne
1900d6a65d [svn-r27485] Change ExpressTest from default of 1 to 2. 2015-08-10 12:34:11 -05:00
Neil Fortner
0c4ec00cba [svn-r27481] Add support for offset selections passed to H5Pset_virtual.
Add test for this.

Tested: ummon
2015-08-07 15:06:56 -05:00
Neil Fortner
98f947ceae [svn-r27479] Add checking for invalid inputs to H5Dset_virtual: point selections, incorrect
numbers of elements selected, incorrect "slice" through limited dimensions,
incorrect number of printf substitutions.
Patch source selection space extent with bounds of selection if extent is
unknown before returning via H5Pget_virtual_srcspace.
Write updated VDS dataspace to file when it changes due to unlimited selections.
Other minor fixes/cleanup.

Tested: ummon
2015-08-07 11:15:39 -05:00
Larry Knox
786acbcd90 [svn-r27475] Updated h5vers to remove redundant version information for doxygen web pages. Also added "" around version string to prevent elimination of spaces in the string.
H5committested.
2015-08-06 13:34:42 -05:00
Binh-Minh Ribler
9ed36ea1f7 [svn-r27473] Description:
Reversed the previous commit because the PROJECT_NUMBER string is
    generated by h5vers and Larry will fix h5vers to put the "" in.
2015-08-06 10:51:38 -05:00
Binh-Minh Ribler
2bed6a9a48 [svn-r27471] Description:
Put "" around PROJECT_NUMBER string, otherwise, Doxygen would remove
    all the spaces when displaying.
Platform tested:
    Re-run Doxygen on cpp_doc_config and verified the html files on a
    Windows 7 machine.
2015-08-05 23:26:06 -05:00
Scot Breitenfeld
a9bef45c75 [svn-r27470] svn merge -r27425:27460 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-08-05 16:35:30 -05:00
Allen Byrne
9e2434625d [svn-r27469] Merge from trunk with dual-binary CMake code.
Tested: local linux with CMake
2015-08-05 16:01:07 -05:00
Allen Byrne
1efa2d7395 [svn-r27468] Merge corrections found elsewhere 2015-08-05 14:32:33 -05:00
Allen Byrne
f0c47dd142 [svn-r27467] Add trunk version of examples config file 2015-08-05 12:08:17 -05:00
Allen Byrne
173829075c [svn-r27466] Add Trunk version 2015-08-05 11:37:54 -05:00
Allen Byrne
4d0187a483 [svn-r27465] Merge dual-binary CMake changes 2015-08-05 10:56:58 -05:00
Dana Robinson
ec5d13d65b [svn-r27460] Minor code cleanup in test/trefer.c
- Fixed an out-of-range char assignment.

- Added a couple of malloc() casts.

Tested on: jam (minor change, tests only)
2015-08-03 22:00:45 -05:00
Dana Robinson
117b936032 [svn-r27459] Merge of 27411 from revise_chunks.
Renamed a few "h5tri_t extended" variables to "h5tri_t was_extended".
Apparently, "extended" is a typedef name someplace in the headers used
on Solaris, which causes potentially confusing warnings to be emitted.

Tested on: h5committest
           Solaris w/ Solaris Studio (emu)
2015-08-03 21:19:25 -05:00
Neil Fortner
bfd13897f6 [svn-r27453] Merge revisions 27418 through 27452 from trunk to vds branch.
Tested: ummon
2015-08-03 11:12:19 -05:00
Neil Fortner
679a25a7c4 [svn-r27450] Add descriptions for all non-public functions.
Other comments.
Add some input checking.

Tested: ummon
2015-07-31 12:47:14 -05:00
Allen Byrne
0b4b73331d [svn-r27446] Correct Windows export name 2015-07-30 13:41:18 -05:00
Scot Breitenfeld
fa52a5a44a [svn-r27442] added missing dependencies 2015-07-30 10:18:42 -05:00
Scot Breitenfeld
c6ccc94574 [svn-r27441] misc. code clean-up 2015-07-30 10:17:41 -05:00
Scot Breitenfeld
e3ac5f3651 [svn-r27440] added missing h5lt*_attribute_f functions 2015-07-30 09:40:47 -05:00
Mohamad Chaarawi
54497d2b53 [svn-r27436] merge from trunk. 2015-07-27 10:39:54 -05:00
HDF Tester
f56de26444 [svn-r27432] Snapshot version 1.9 release 226 2015-07-26 19:13:36 -05:00
Albert Cheng
ac5a796db2 [svn-r27428] Bug fix: DAILYTEST-170
Description:
    XL compilers in ostrich (PowerPC64 linux) fail in test/dt_arith
    because of the removal of the LLONG_TO_LDOUBLE_CORRECT (removed in
    r26625) and LDOUBLE_TO_LLONG_ACCURATE (removed in r26623).

Solution:
    Reverse revisions
	r26623: bring back LDOUBLE_TO_LLONG_ACCURATE configure macro
	r26625: bring back LLONG_TO_LDOUBLE_CORRECT configure macro
	r26627: bring back WANT_DATA_ACCURACY configure macro which is
	    used together with the above two macros. This also brings
	    back the enable-dconv-accuracy configure option.

Tested:
    h5committested.
    Also tested in ostrich using the XL compilers.
2015-07-24 02:04:52 -05:00
Mohamad Chaarawi
81d3377737 [svn-r27427] - free comm keyval after setting atribute on comm_self
- free allocated buffer in t_file_image test

tested on jam with parallel.
2015-07-23 10:03:43 -05:00
Scot Breitenfeld
ed0bae78a0 [svn-r27426] svn merge -r27377:27425 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-22 17:09:05 -05:00
Neil Fortner
49076d6d22 [svn-r27425] Implement support for H5Pequal with VDS properties.
Testing for H5Pequal with VDS.

Tested: ummon
2015-07-22 16:41:18 -05:00
Neil Fortner
6bb109bf6d [svn-r27424] Implement support for h5debug for VDS.
Implement support for H5Pencode/decode with VDS properties.
Testing for H5Pencode/decode with VDS.
Relax assertion check for number of elements written to buffer as we do not
check for overlaps in mappings.
Other minor fixes/cleanup.

Tested: ummon
2015-07-22 13:36:30 -05:00
Scot Breitenfeld
479bd3c800 [svn-r27422] changed add_custom_command to add_custom_target 2015-07-21 15:34:29 -05:00
Scot Breitenfeld
e796ff45c7 [svn-r27421] changed from add_custom_command to add_custom_target for generated files, OBJECT_DEPENDS is not fully functional on Windows (cmake 3.1). 2015-07-21 13:44:52 -05:00
Neil Fortner
a8fc7eeaec [svn-r27420] Fixed VDS test to handle the family driver correctly.
Tested: ummon
2015-07-21 12:14:26 -05:00
Neil Fortner
99a90f7fd6 [svn-r27419] Merge revisions 27394 through 27418 from trunk to vds branch.
Tested: ummon
2015-07-21 12:00:31 -05:00
Scot Breitenfeld
0040ee0c99 [svn-r27418] format clean-up 2015-07-21 10:19:07 -05:00
Scot Breitenfeld
940da78df9 [svn-r27417] comment code cleanup 2015-07-21 10:11:53 -05:00
Neil Fortner
f550bc0cea [svn-r27415] Fix potential error with H5I_clear_type which could occur when a callback closed
a different ID in the same type.  Added a new skiplist routine,
H5SL_try_free_safe, which iterates over items, freeing some of them, and which
intercepts and defers attempts to remove from the list outside of the main
iteration.  Changed H5I_clear_type to use this function.

Tested: jam, koala, ostrich (h5committest); ummon
2015-07-20 17:21:36 -05:00
HDF Tester
74e4cd4d21 [svn-r27412] Snapshot version 1.9 release 225 2015-07-19 19:11:50 -05:00
Dana Robinson
94a6e02b3d [svn-r27407] Updated the H5_ATTR_* macros.
- Updated the preprocessor logic that defines the H5_ATTR_* macros. The Solaris
  Studio compiler understands __attribute__ but not the specific attributes
  that we use. The H5_ATTR_* macros are now defined as blank with that
  compiler which significantly cleans up the warnings, making debugging
  easier.

- Replaced a few lingering __attribute__ macros with H5_ATTR_* markup.

Tested on: h5committest
           Solaris w/ Solaris Studio (emu)
2015-07-18 00:40:06 -05:00
Scot Breitenfeld
a539386a87 [svn-r27406] gave full path to H5_gen.F90 2015-07-17 16:54:07 -05:00
Scot Breitenfeld
2edc6a97db [svn-r27405] added implicit none 2015-07-17 16:15:23 -05:00
Scot Breitenfeld
a41f88bc3e [svn-r27404] Implemented new function to compare reals with adjustible precision tolerance. 2015-07-17 16:12:31 -05:00
Scot Breitenfeld
bf8fea70bd [svn-r27401] code cleanup 2015-07-16 09:34:53 -05:00
Scot Breitenfeld
93161fa55c [svn-r27400] code clean-up 2015-07-16 09:11:47 -05:00
Scot Breitenfeld
53b3d666e5 [svn-r27399] code clean-up 2015-07-16 08:59:21 -05:00
Neil Fortner
bd28a396d0 [svn-r27398] Fixed potential issue layouts with compilers that do not support designated
initializers.

Tested: ummon
2015-07-15 16:01:03 -05:00
Neil Fortner
5065c139c7 [svn-r27397] Merge revisions 27255 through 27393 from trunk to vds branch.
Tested: ummon
2015-07-15 15:33:50 -05:00
Scot Breitenfeld
08244fb237 [svn-r27395] cleaned-up code 2015-07-15 15:04:31 -05:00
Scot Breitenfeld
df50addca1 [svn-r27394] added properties generated 2015-07-15 14:57:47 -05:00
Scot Breitenfeld
8617384653 [svn-r27393] removed unused C functions 2015-07-15 13:56:28 -05:00
Scot Breitenfeld
f63785a1ab [svn-r27392] removed unused C functions 2015-07-15 12:09:06 -05:00
Scot Breitenfeld
4667abe8a5 [svn-r27391] Added build dependencies to generated files 2015-07-15 10:57:40 -05:00
Allen Byrne
b1800ed767 [svn-r27390] Add fortran source depends command 2015-07-15 10:10:43 -05:00
Scot Breitenfeld
ea73fae0fb [svn-r27389] Added generated files to install 2015-07-15 09:42:01 -05:00
Scot Breitenfeld
03ad911d3d [svn-r27388] Removed robodoc documenation. 2015-07-14 16:26:27 -05:00
Scot Breitenfeld
72484f3a56 [svn-r27387] added definitions for H5LTset_attribute_*_c 2015-07-14 15:29:32 -05:00
Scot Breitenfeld
e076946256 [svn-r27386] misc clean-up 2015-07-14 13:46:09 -05:00
Scot Breitenfeld
f76d1ca08b [svn-r27385] H5Dwrite,H5Dread,H5Awrite,H5Dread for INTEGERs and Characters are now generated code 2015-07-14 13:39:10 -05:00
Scot Breitenfeld
0e102fb1cd [svn-r27384] H5Dwrite and H5Awrite for INTEGERs are now generated code 2015-07-14 12:07:27 -05:00
Scot Breitenfeld
a3de9abcbf [svn-r27383] removed unused functions 2015-07-14 11:39:16 -05:00
Scot Breitenfeld
6ed616cd99 [svn-r27382] Documenation changes 2015-07-14 11:35:27 -05:00
Scot Breitenfeld
1e147f4442 [svn-r27381] comments added 2015-07-14 11:14:16 -05:00
Scot Breitenfeld
6334416852 [svn-r27379] formatting clean-up 2015-07-14 11:02:08 -05:00
Scot Breitenfeld
2c897f41c0 [svn-r27378] svn merge -r27326:27377 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-14 10:34:45 -05:00
Scot Breitenfeld
50c000fb49 [svn-r27377] Cleaned-up comment formatting:
sed -e 's/^ \*[ ]*\([A-Z]\)\([a-z]\)/ *  \1\2/g' H5Zf.c | sed -e 's/^ \*[ ]*\([a-z]\)/ *  \1/g' | sed -e 's/^ \*[ ]*\([0-9]\)/ *  \1/g'
2015-07-14 10:31:15 -05:00
Scot Breitenfeld
f50c602b01 [svn-r27376] set default value of SIZEOF___FLOAT128 2015-07-14 09:14:05 -05:00
Scot Breitenfeld
838755cf71 [svn-r27375] Moved generating Fortran 'test' code from the fortran src directory to the fortran 'test' directory. Updated autotools and cmake. 2015-07-13 14:37:28 -05:00
Scot Breitenfeld
c90d6ad286 [svn-r27374] misc cleanup 2015-07-13 13:55:03 -05:00
Scot Breitenfeld
717609a674 [svn-r27373] moved building generated test APIs to a sperated build program (was in fortran/src/H5_buildiface.F90) 2015-07-13 13:54:09 -05:00
HDF Tester
12b86abf18 [svn-r27372] Snapshot version 1.9 release 224 2015-07-12 19:12:22 -05:00
Scot Breitenfeld
b7dc32b0a0 [svn-r27368] misc. code clean-up 2015-07-09 16:56:59 -05:00
Scot Breitenfeld
f71a46a99c [svn-r27366] misc. clean-up 2015-07-09 14:54:43 -05:00
Scot Breitenfeld
0a8317aab7 [svn-r27365] added build dependencies for hl fortran builds 2015-07-09 13:07:38 -05:00
Allen Byrne
8bbe712961 [svn-r27364] Add Mac Framework support 2015-07-09 11:56:16 -05:00
Scot Breitenfeld
3653d2ad01 [svn-r27360] moved H5test_kind.F90 H5_buildiface.F90 2015-07-09 10:21:11 -05:00
Scot Breitenfeld
b67a6727cf [svn-r27359] Fixed Cmake to handle autogenerated Fortran HL APIs 2015-07-09 10:01:11 -05:00
Scot Breitenfeld
fc42b3efaa [svn-r27358] Fixed test to handle DOUBLE PRECISION that was promoted using compiler options. 2015-07-09 09:36:50 -05:00
Scot Breitenfeld
2b7f0d4780 [svn-r27357] svn merge -r27208:27356 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-09 08:47:35 -05:00
Scot Breitenfeld
b0afa2ab61 [svn-r27355] added generation of HL Fortran Interfaces for REALs 2015-07-08 17:09:50 -05:00
Scot Breitenfeld
5ed3e8a4a7 [svn-r27354] fixed #if spec 2015-07-08 16:10:13 -05:00
Scot Breitenfeld
93eaaed722 [svn-r27351] updated missing preprocessor defines 2015-07-08 15:03:36 -05:00
Scot Breitenfeld
f4dbade233 [svn-r27350] updated missing cmake defines 2015-07-08 15:02:56 -05:00
Allen Byrne
7a72d82cda [svn-r27346] remove reference to file removed from cmake_ext_mod 2015-07-08 08:22:07 -05:00
HDF Tester
f37ae9d9f9 [svn-r27339] Snapshot version 1.9 release 223 2015-07-05 19:12:35 -05:00
Scot Breitenfeld
b3b02d5112 [svn-r27337] cmake configure test for Fortran 2015-07-05 09:11:13 -05:00
Scot Breitenfeld
29bdf0884a [svn-r27334] svn merge -r27326:27332 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-02 17:15:37 -05:00
Scot Breitenfeld
3f866f18ec [svn-r27333] added comments 2015-07-02 17:14:45 -05:00
Jerome Soumagne
4e25ab6ebd [svn-r27332] Fix src/CMakeLists.txt after Quincey's metadata cache changes 2015-07-02 17:13:09 -05:00
Scot Breitenfeld
549cc2e1c3 [svn-r27328] updated reconfigure 2015-07-02 14:14:10 -05:00
Scot Breitenfeld
985e8d02a4 [svn-r27327] svn merge -r27208:27326 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-07-02 14:12:03 -05:00
Scot Breitenfeld
2a567e8155 [svn-r27326] Working version of cmake on linux. 2015-07-02 14:04:25 -05:00
Allen Byrne
1ed71c5037 [svn-r27324] Remove extra character on end of file name 2015-07-02 12:13:55 -05:00
Neil Fortner
3c4dd5fa53 [svn-r27323] Implement support for H5Dflush for VDS.
Implement support for H5Ocopy on VDS.
Testing for H5Ocopy on VDS.
Fix check-vfd failure.
Other minor fixes/cleanup.
Note there is a preexisting failure in h5repack testing.

Tested: ummon
2015-07-02 12:04:19 -05:00
Allen Byrne
364c193744 [svn-r27321] Fixed VDS test framework to check for zlib,
and fix file copy list paths
2015-07-02 09:11:55 -05:00
Neil Fortner
9804fed58f [svn-r27320] Fix uninitialized memory write valgrind errors in trunk. Did this by modifying
metadata cache clients to clear unused memory in the buffer after serializing.

Tested: ummon; jam, koala, ostrich (h5committest)
2015-07-01 17:08:11 -05:00
Allen Byrne
02d0de0452 [svn-r27317] switch internal cdash URL 2015-06-30 16:19:23 -05:00
Allen Byrne
e2bbdddff7 [svn-r27316] switch internal cdash URL 2015-06-30 16:19:01 -05:00
Allen Byrne
980db9e85b [svn-r27313] switch internal cdash URL 2015-06-30 16:18:15 -05:00
Allen Byrne
3dec75308a [svn-r27309] switch public cdash URL 2015-06-30 14:52:23 -05:00
Allen Byrne
513d039f08 [svn-r27308] switch public cdash URL 2015-06-30 14:51:57 -05:00
Scot Breitenfeld
0f9d534bc2 [svn-r27301] fixed configure error with pgi compiler by checking if __float128 is 0 2015-06-30 14:20:35 -05:00
Allen Byrne
5af1fa67c4 [svn-r27300] Add h5repack and h5diff VDS tests 2015-06-30 12:58:57 -05:00
Scot Breitenfeld
5b2117ebc7 [svn-r27299] Changed from using sed to perl. 2015-06-30 10:07:43 -05:00
Quincey Koziol
1a5c36ce7e [svn-r27298] Description:
Separate H5AC layer from using package-scoped pieces of the H5C layer,
moving from including H5Cpkg.h to H5Cprivate.h.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial, parallel & production
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-29 17:17:24 -05:00
Scot Breitenfeld
4b51823ed4 [svn-r27297] changed from using sed to perl 2015-06-29 16:54:25 -05:00
Quincey Koziol
ad37464819 [svn-r27296] Description:
Correct error with braces around macro (in production builds), also clean
up a few warnings.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial, parallel & production
    Linux/32 2.6 (jam) w/serial & parallel
2015-06-29 15:22:30 -05:00
Quincey Koziol
89115b11b0 [svn-r27294] Description:
Clean up parameters to H5C__flush_single_entry: accept cache entry instead
of address, and make new flag for deleting entry from skiplist on destroy
instead of a separate parameter to the routine.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-29 10:19:34 -05:00
Quincey Koziol
8e94745298 [svn-r27293] Description:
Split parallel metadata cache code into separate source code modules.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    (too minor for h5committest)
2015-06-27 11:45:21 -05:00
Quincey Koziol
58a95d0d4a [svn-r27292] Description:
Bring 'fail if unknown always' object header message flag from the
avoid_truncate branch, strengthen error checking for unknown messages, and try
to catch object header code configurations at compile time (instead of runtime).

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-06-27 00:51:04 -05:00
Scot Breitenfeld
44718454ca [svn-r27285] added search replace for space to comma 2015-06-25 15:06:16 -05:00
Neil Fortner
2522e278a8 [svn-r27284] Modify VDS implementation to always use FAPL and DAPL from VDS file and dataset
to open source files and datasets, instead of using the default property lists.
Modify VDS to reject attempts at parallel I/O, fix parallel compile error.
Modify VDS to not write fill value to memory buffer if the fill value is
undefined.
Other minor fixes/cleanup.

Tested: ummon
2015-06-25 14:39:08 -05:00
Larry Knox
df8bd7ccd6 [svn-r27283] Change generic directory in tarballs to hdfsrc.
Remove some  commented lines.
2015-06-25 11:39:19 -05:00
Larry Knox
5dac57c5c4 [svn-r27280] Add temporary file to create tarballs for buildbot (and possibly all) daily testing. When the behavior is acceptable, the changes should be merged into the regular release script as a --revision option. 2015-06-24 16:45:32 -05:00
Dana Robinson
e030fe2751 [svn-r27278] Merge of 27270 from trunk. Fixes HDFFV-9119 and HDFFV-9421.
Changes that allow the autotools to correctly deal with inline
functions.

- Inline markup schemes are now checked with AC_COMPILE_IFELSE
  tests instead of AC_C_INLINE.

- The inline designator is now H5_INLINE instead of H5_inline.
  This is now set in H5private.h instead of H5pubconf.h.

Tested on: h5committest
2015-06-24 13:53:43 -05:00
Mohamad Chaarawi
a07297e90d [svn-r27271] fix a few warnings in t_mpi.c 2015-06-23 08:54:01 -05:00
Dana Robinson
37b14fd3ed [svn-r27270] Changes that allow the autotools to correctly deal with inline
functions.

- Inline markup schemes are now checked with AC_COMPILE_IFELSE
  tests instead of AC_C_INLINE.

- The inline designator is now H5_INLINE instead of H5_inline.
  This is now set in H5private.h instead of H5pubconf.h.

Tested on 64-bit linux VM
2015-06-22 14:21:55 -05:00
Allen Byrne
86d1946424 [svn-r27267] Combine float checks and int checks to eliminate possible conflicts 2015-06-22 13:49:46 -05:00
Allen Byrne
224c6cbe59 [svn-r27266] Change tests to use simple mode - eliminates native type use.
Combine float checks and int checks to eliminate possible conflicts
2015-06-22 13:47:43 -05:00
Allen Byrne
5a1be8e235 [svn-r27265] corrected test params 2015-06-22 11:03:14 -05:00
Mohamad Chaarawi
f56008e0fe [svn-r27264] some cleanups. 2015-06-22 10:54:43 -05:00
HDF Tester
53930f6671 [svn-r27262] Snapshot version 1.9 release 222 2015-06-21 19:16:13 -05:00
Mohamad Chaarawi
cf07aa6803 [svn-r27261] apply metadata enhancement patch that was based on the mdc 3 branch. 2015-06-21 16:45:01 -05:00
Neil Fortner
6063aa87e1 [svn-r27256] Merge revisions 27102 through 27255 from trunk to vds branch.
Tested: ummon
2015-06-19 17:16:45 -05:00
Allen Byrne
48e1bbb0f8 [svn-r27252] Fix whitespace 2015-06-19 10:57:38 -05:00
Elena Pourmal
3b1acf484e [svn-r27249] Used versioned APIs to fix the daily tests errors with the --with-default-api-version=v16 builds.
Tested on jam.
2015-06-19 08:07:30 -05:00
Elena Pourmal
1e7ab81ff2 [svn-r27248] Daily tests in the VDS brnach reported missing file in MANIFEST. Fixed. 2015-06-19 07:37:58 -05:00
Neil Fortner
7cf40ce5e4 [svn-r27246] Remove "clipped" status from unlimited selections, decoupling them from the
extent.
Improve algorithm for calculation of VDS extent by removing the need for a
temporary copy of a dataspace.
Other minor fixes/cleanup.

Tested: ummon
2015-06-18 17:18:29 -05:00
Elena Pourmal
b32c1bc3ff [svn-r27245] Maintenance: Eiger example had wrong printf type of name (had dimension number in it). Fixed.
Tested on jam.
2015-06-18 16:54:51 -05:00
Mohamad Chaarawi
c614e178e3 [svn-r27243] fix problem with encoding/decoding external fapl for lapls. 2015-06-18 15:36:19 -05:00
Allen Byrne
7fdb38eb6f [svn-r27239] Add function prototype for local function 2015-06-18 08:52:52 -05:00
Allen Byrne
cf7c5123cb [svn-r27238] Add function prototype for local function 2015-06-18 08:52:35 -05:00
Quincey Koziol
f30ab55f41 [svn-r27237] Description:
Merge v3 metadata cache changes to trunk.  Yay! :-)

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
    (daily tested on branch)
2015-06-17 19:58:49 -05:00
Allen Byrne
4878a00ac2 [svn-r27236] The vds h5diff files 2015-06-17 15:28:05 -05:00
Allen Byrne
202fd2b6c1 [svn-r27235] Add vds h5diff tests 2015-06-17 15:22:25 -05:00
Allen Byrne
bea58674e9 [svn-r27234] Add layout test from virtual to Contiguous and Compact generated files to clearall 2015-06-17 15:05:00 -05:00
Allen Byrne
5ae9dc0369 [svn-r27233] Add layout test from virtual to Contiguous and Compact 2015-06-17 14:37:40 -05:00
Scot Breitenfeld
8353d79d26 [svn-r27232] fixed C test program for float128 2015-06-17 14:25:32 -05:00
Neil Fortner
c986d41406 [svn-r27231] Fix bug in configure that prevented running make.
Tested: ummon
2015-06-17 13:59:23 -05:00
Scot Breitenfeld
0cf5413849 [svn-r27230] added test for float128 2015-06-17 13:29:20 -05:00
Allen Byrne
5b4b4650c6 [svn-r27229] remove copy-paste errors from list 2015-06-17 13:20:39 -05:00
Scot Breitenfeld
3256437a00 [svn-r27228] restricted __float128 to gnu compilers 2015-06-17 11:52:49 -05:00
Scot Breitenfeld
2962171a1c [svn-r27227] restricted __float128 to gnu compilers 2015-06-17 11:52:14 -05:00
Scot Breitenfeld
3bf582bae9 [svn-r27226] restricted __float128 to gnu compilers 2015-06-17 11:47:17 -05:00
Scot Breitenfeld
f51fcf3ffa [svn-r27225] new test for __float128 2015-06-17 10:40:24 -05:00
Neil Fortner
17078f2b9d [svn-r27224] Fix bug that prevented reading from datasets with unlimited mappings with
missing source datasets.  Decided not to attempt to open the source dataset in
this case, as doing so could create issues related to the sizing of the VDS.
Users should call H5Dget_space to open these datasets.  No regression test yet.

Tested: ummon
2015-06-17 10:25:34 -05:00
Scot Breitenfeld
1ea6564419 [svn-r27223] Added check for quadmath.h 2015-06-17 09:14:40 -05:00
Dana Robinson
fb27787c2a [svn-r27222] Merge of r27035-27221 from the trunk.
Tested on 64-bit linux VM:
    Serial: C++ and Fortran 2003
    Parallel: Fortran
2015-06-17 06:48:34 -05:00
Scot Breitenfeld
85bcb77904 [svn-r27221] Reworked Fortran autools REAL KIND detection. 2015-06-16 16:47:00 -05:00
Elena Pourmal
fc0fba145e [svn-r27220] Maintenance: Added copyrigth; removed read buffer initialization since fill value feature works now.
Tested on jam.
2015-06-16 16:42:48 -05:00
Allen Byrne
616106ade3 [svn-r27219] Add h5dump and h5 ls VDS test scripts to autools configure 2015-06-16 16:25:03 -05:00
Allen Byrne
3d5c3851a3 [svn-r27218] Add VDS tests to h5ls 2015-06-16 16:15:55 -05:00
Barbara Jones
6e9e9e0dd2 [svn-r27216] The comments in this example were incorrect regarding the resulting
dataset. They were updated to match the output of the file. (HDFFV-637)
2015-06-16 13:32:04 -05:00
Neil Fortner
91eb17db8e [svn-r27215] Fix issue where % characters could not be used in non-printf mappings.
Other minor fixes/cleanup.

Tested: ummon
2015-06-16 12:27:20 -05:00
Dana Robinson
4f231ddc9b [svn-r27214] Fixed a bug on Windows where dcpls were set to be chunked and not virtual. This was due to a simple copy-paste issue in the initializer that is used when C99 initializers are not available.
Also fixed a dims array size error in the vds test.

Tested on: 64-bit Win7 with VS2013
2015-06-16 12:02:35 -05:00
Scot Breitenfeld
48086667b5 [svn-r27209] svn merge -r27186:27208 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-16 08:49:28 -05:00
Mohamad Chaarawi
afb85e30e5 [svn-r27207] use "closing" flag instead of always TRUE in the truncate call. 2015-06-15 14:29:30 -05:00
Mohamad Chaarawi
f34bdad87c [svn-r27206] fix for HDFFV-9418.
- Moving truncate to H5F_flush() where it was done a long time ago. 
 - Add a second H5AC_flush() call after the truncate is done to make sure we write the correct EOA.

tested with h5committest
2015-06-15 13:35:00 -05:00
Quincey Koziol
adbb64c6cd [svn-r27204] Description:
Clean up compiler warnings before merging in v3 metadata cache changes
from branch.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-15 11:07:38 -05:00
Allen Byrne
b5a6740703 [svn-r27202] Except one file is used by other tests! 2015-06-15 08:10:14 -05:00
Allen Byrne
83208611cb [svn-r27201] Changed location of packed bits testfiles 2015-06-15 07:59:14 -05:00
Quincey Koziol
65e76690fd [svn-r27199] Description:
Large code cleanups and optimizations, in preparation for the upcoming
v3 metadata cache merge.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-12 22:40:33 -05:00
Vailin Choi
e29904660a [svn-r27198] Set "entire_chunk" to false in H5D__chunk_write() for point selection as duplicate points are not checked to determine
that it is really an "entire chunk".  The bug appears from running the mdset.c test. This is a short-term fix for the problem.
2015-06-12 17:55:18 -05:00
Neil Fortner
4117cfe2b9 [svn-r27197] Improve performance of "printf" VDS with selections in the file space - the
library no longer iterates over all source datasets in the printf mapping, it
now only looks at the ones that could be involved in I/O (the ones whose bounds
overlap with the selection in the unlimited dimension).

Tested: ummon
2015-06-12 17:04:35 -05:00
Allen Byrne
d92c74b4aa [svn-r27196] Move pbbits file to subfolder 2015-06-12 16:33:27 -05:00
Allen Byrne
78e128c544 [svn-r27195] Add h5dump cmake tests and files.
Add tools gen cmake files
move testfiles for pbits to subdir as well as vds

Tested: local linux
2015-06-12 16:29:20 -05:00
Neil Fortner
9786fe2f61 [svn-r27192] Improve support for printf selections (support partial blocks with
H5_VDS_FIRST_MISSING)
Add test for this
Rework VDS code to not depend on unlimited selections having a "clipped" state
in preparation for removing the clipped state from unlimited selections.
Other bug fixes/cleanup

Tested: Kubuntu 64 (home computer)
2015-06-11 23:26:53 -05:00
Dana Robinson
aa4e3e3985 [svn-r27191] Merged r26781 to r27185 from trunk
Tested on: 64-bit Ubuntu Linux VM w/ gcc 4.8.2
    (C++ and Fortran 2003 also tested)
2015-06-11 14:18:52 -05:00
Scot Breitenfeld
133a5c3681 [svn-r27188] Switch to using parameters for SELECTED_*_KIND and instead use numerical precision. 2015-06-10 14:58:34 -05:00
Scot Breitenfeld
6c4e3759f5 [svn-r27187] svn merge -r27135:27186 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-10 14:23:09 -05:00
Scot Breitenfeld
f2d14c76b8 [svn-r27186] added fix for jam with promoted reals and integers 2015-06-10 14:15:08 -05:00
Mohamad Chaarawi
b9f2a18b5a [svn-r27185] fix more instances where both mpi is_initialized and is_finalized need to be checked before making any MPI calls.
tested with h5committest.
2015-06-10 12:57:32 -05:00
Scot Breitenfeld
202ea3747e [svn-r27184] added case for real*16 when C does not have that precision 2015-06-10 11:45:07 -05:00
Scot Breitenfeld
7a49603732 [svn-r27183] removed the use of -i in sed, used mv instead from a temporary file. 2015-06-10 10:57:27 -05:00
Scot Breitenfeld
48741994ac [svn-r27178] changed to using SELECTED_*_KIND with numerical precision specified 2015-06-10 08:54:16 -05:00
Scot Breitenfeld
625fc9db69 [svn-r27176] Removed debugging statements. 2015-06-09 16:51:27 -05:00
Neil Fortner
bf8942c7e9 [svn-r27174] Fix bug in H5S__hyper_project_intersection that affected empty selections.
Tested: ummon
2015-06-09 15:52:03 -05:00
Allen Byrne
0f4e97907c [svn-r27172] Change disable to skip big test on cygwin 2015-06-09 13:52:43 -05:00
Allen Byrne
84311eb701 [svn-r27171] Disable big test on cygwin 2015-06-09 13:48:03 -05:00
Scot Breitenfeld
5097bd4429 [svn-r27170] added new precompiler directives 2015-06-09 13:25:41 -05:00
Scot Breitenfeld
62401ac7c6 [svn-r27167] more DT fixes 2015-06-09 12:05:09 -05:00
Dana Robinson
349ad0d74d [svn-r27166] Updated MANIFEST to include test/vds.c and tools/misc/vds files. 2015-06-08 22:22:43 -05:00
Scot Breitenfeld
32703c9fc5 [svn-r27164] various bug fixes for DT 2015-06-08 16:13:15 -05:00
Mohamad Chaarawi
bf3b382df7 [svn-r27163] update manifest for newly added file. 2015-06-08 16:10:14 -05:00
Mohamad Chaarawi
929e8ce128 [svn-r27162] fix for HDFFV-9412:
- Check for mpi is_initialized and is_finalized before making MPI calls in init/terminate of HDF5.
- Add a test to make sure we can make serial HDF5 calls from rank 0 after MPI_Finalize is called.

tested with h5committest
2015-06-08 15:52:48 -05:00
Dana Robinson
6c81df0a27 [svn-r27161] Added makefiles to tools/misc/vds to build the generators.
Tested on: jam
2015-06-08 04:56:49 -05:00
Dana Robinson
a6442037e4 [svn-r27160] Added VDS generator files.
The Makefiles have not been updated so they don't compile yet.
2015-06-08 04:10:50 -05:00
HDF Tester
02e9a43900 [svn-r27159] Snapshot version 1.9 release 221 2015-06-07 19:01:32 -05:00
Mohamad Chaarawi
4a2bee5cd8 [svn-r27158] missed rename if UNUSED to H5_ATTR_UNUSED in trace script. 2015-06-07 18:03:42 -05:00
Neil Fortner
5eae97bca6 [svn-r27155] Change H5Pget_virtual_view to return herr_t and take a pointer to the view as a
parameter.  Also fix bug in H5Pget_virtual_printf_gap.

Tested: jam
2015-06-05 17:38:13 -05:00
Scot Breitenfeld
8641814c4e [svn-r27154] fixed issue with mis-matching long double between Fortran and C 2015-06-05 17:17:13 -05:00
Neil Fortner
c27904bc5f [svn-r27153] Implement fill value support for VDS.
Add testing for this.
Fix bug in printf string parsing.
Add test for this.
Other minor fixes/cleanup.

Tested: ummon
2015-06-05 16:55:24 -05:00
Dana Robinson
8f74cc85d8 [svn-r27152] Updated bin/trace and src/H5trace.c to handle the H5D_vds_view_t
enum type.

Tested on: jam
2015-06-04 15:47:04 -05:00
Scot Breitenfeld
043173a689 [svn-r27151] fixed __float128 errors 2015-06-04 15:26:02 -05:00
Dana Robinson
fad77fd2c2 [svn-r27150] Added an empty VDS testfile generator to tools/misc directory.
test/Makefile.in was updated due to changes in the Makefile.am
file that missed a reconfigure. The changes just added a few
VDS test files to the deletion list.

Note that there are trace issues with a new VDS struct that
show up when running bin/reconfigure. I reverted these for
fixing at a future date.

Tested on: jam
2015-06-04 14:46:50 -05:00
Neil Fortner
5d12a79db2 [svn-r27145] Add some testing for printf-style source dataset name resolution.
Various bug fixes, including a temporary fix for printf with FIRST_MISSING view.
Other cleanup.

Tested: ummon
2015-06-03 13:00:58 -05:00
Quincey Koziol
235b3b86c1 [svn-r27144] Description:
Normalize trunk against the metadata_cache_merge branch, in preparation
for merging the branch into the trunk.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/64 2.6.x (koala) w/serial
    Linux/32 2.6.x (jam) w/serial & parallel
2015-06-03 10:35:28 -05:00
Allen Byrne
e2fa1a7555 [svn-r27142] Add optional variable for version extension 2015-06-03 09:32:56 -05:00
Scot Breitenfeld
4d500d4902 [svn-r27140] fixed interger*16 support 2015-06-03 09:13:58 -05:00
Scot Breitenfeld
f486fe1a49 [svn-r27137] svn merge -r27115:27135 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-06-02 09:46:51 -05:00
Scot Breitenfeld
17a9efa359 [svn-r27136] defines size and kinds 2015-06-02 09:19:00 -05:00
Scot Breitenfeld
2069dbf25e [svn-r27134] Switched to uses a verify for each kind for the tests. Testing quad precision. 2015-06-01 14:49:54 -05:00
Mohamad Chaarawi
fc45d5fcb0 [svn-r27133] - Add a new attribute function characterstic for format:
* H5_ATTR_FORMAT(X,Y,Z)  __attribute__((format(X, Y, Z)))
- Rename UNUSED attribute characterstic to H5_ATTR_UNUSED.
- Rename NORETURN attribute characterstic to H5_ATTR_NORETURN

tested with h5committest.
2015-06-01 14:38:09 -05:00
Jerome Soumagne
92e3188ff3 [svn-r27130] Fix warnings in H5Tconv
Remove H5T_INIT_INTERFACE from H5Tconv

Add macro in H5Tconv to check overflow when using H5T_CONV_uS
2015-06-01 10:44:42 -05:00
Jerome Soumagne
1ac9bcaaa6 [svn-r27129] Fix warnings in H5Tbit 2015-06-01 10:43:13 -05:00
Jerome Soumagne
9ff4558203 [svn-r27128] Fix warnings in H5Tdbg 2015-06-01 10:41:33 -05:00
HDF Tester
78c4a8f4c6 [svn-r27127] Snapshot version 1.9 release 220 2015-05-31 19:02:10 -05:00
Scot Breitenfeld
52e5579fba [svn-r27122] removed dependency on generatored fortran source code 2015-05-28 11:53:15 -05:00
Scot Breitenfeld
0560c11c20 [svn-r27119] handles INTEGER*16 case 2015-05-28 10:01:37 -05:00
Scot Breitenfeld
d1feb5307d [svn-r27118] fixed character length 2015-05-28 09:17:47 -05:00
Scot Breitenfeld
b1cf507c6d [svn-r27116] svn merge -r26937:27115 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-05-27 17:12:43 -05:00
Scot Breitenfeld
244784ab2c [svn-r27115] Moved testing KINDs and SIZEOFs to configure. 2015-05-27 17:07:18 -05:00
Scot Breitenfeld
ae82b5232a [svn-r27114] Fixed spelling and which file is created with the program.
Tested: none -- comments only.
2015-05-27 15:31:39 -05:00
Mohamad Chaarawi
cea93c4a37 [svn-r27111] move undef of __attribute__ back to private and remove its usage from public routines. 2015-05-26 09:23:27 -05:00
HDF Tester
965e459a98 [svn-r27110] Snapshot version 1.9 release 219 2015-05-24 18:59:54 -05:00
Neil Fortner
9a8c664ff0 [svn-r27104] Add support for printf-style source dataset name resolution.
Passes use case test, no regression tests yet.
Add functions H5Pset/get_virtual_printf_gap (not tested yet).
Other minor fixes/cleanup.

Tested: ummon
2015-05-22 11:35:58 -05:00
Neil Fortner
948722cde8 [svn-r27103] Merge revisions 26780 through 27102 from trunk to vds branch.
Tested: ummon
2015-05-21 12:13:16 -05:00
Dana Robinson
194d647721 [svn-r27097] Fixed a typo in test/th5o.c that caused the wrong property list
ID to be checked.

Tested on: h5committest
2015-05-18 08:00:54 -05:00
HDF Tester
ab80cbadfd [svn-r27092] Snapshot version 1.9 release 218 2015-05-17 18:59:27 -05:00
Mohamad Chaarawi
bf53b8c95c [svn-r27089] move private functions from H5A.c to H5Aint.c 2015-05-15 11:49:23 -05:00
Allen Byrne
8060c37ef4 [svn-r27087] Add changes for debug flags 2015-05-15 09:38:38 -05:00
Quincey Koziol
8be8a708a3 [svn-r27084] Description:
Clean up cache tests, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:16:09 -05:00
Quincey Koziol
20aa560825 [svn-r27083] Description:
Clean up H5SM interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:14:13 -05:00
Quincey Koziol
197fa23dae [svn-r27082] Description:
Clean up H5O interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:12:24 -05:00
Quincey Koziol
2e9d48a551 [svn-r27081] Description:
Clean up H5HL interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:10:46 -05:00
Quincey Koziol
8cc79c0825 [svn-r27080] Description:
Clean up H5HF interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:08:27 -05:00
Quincey Koziol
5c437fa51f [svn-r27079] Description:
Clean up H5G interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:06:09 -05:00
Quincey Koziol
8fd9d6b53f [svn-r27078] Description:
Clean up H5FS interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:04:33 -05:00
Quincey Koziol
cd1620238c [svn-r27077] Description:
Clean up H5FD interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:02:54 -05:00
Quincey Koziol
71bc00a0b5 [svn-r27076] Description:
Clean up H5FA interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 21:00:27 -05:00
Quincey Koziol
668be45b56 [svn-r27075] Description:
Clean up H5F interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 20:57:34 -05:00
Quincey Koziol
d0de32fc3a [svn-r27074] Description:
Clean up H5EA interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 20:54:30 -05:00
Quincey Koziol
9c9ac47ceb [svn-r27073] Description:
Clean up H5D interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 20:51:31 -05:00
Quincey Koziol
7206d78c52 [svn-r27072] Description:
Clean up H5B interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.* (jam) w/serial & parallel
2015-05-14 20:48:50 -05:00
Quincey Koziol
775a54c19a [svn-r27071] Description:
Clean up H5B2 interface, to align w/v3 metadata cache changes

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux 2.6.* (jam) w/serial & parallel
2015-05-14 20:46:00 -05:00
Quincey Koziol
acdef5f665 [svn-r27070] Description:
Clean up the H5B interface code, to better align with v3 metadata cache
changes.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-05-14 20:38:35 -05:00
Quincey Koziol
3d5e75b093 [svn-r27068] Description:
Clean up the H5A interface code, to better align with v3 metadata cache
changes.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial & parallel
2015-05-14 20:33:12 -05:00
Quincey Koziol
e81f0ade77 [svn-r27066] Description:
Protect gcc 5 debugging options

Tested on:
    MacOSX/64 10.10.3 (amazon) w/gcc 5.1
2015-05-14 20:21:58 -05:00
Allen Byrne
37a07df7b4 [svn-r27064] HDFFV-9327: Refactor compiler flags to config file.
Tested: local linux
2015-05-14 11:51:20 -05:00
Quincey Koziol
a86910deac [svn-r27060] Description:
Clean up obsolete and unsupported versions of GCC, and update for GCC 5.1
release.

Tested on:
    Mac OSX/64 10.10.3 (amazon) w/C++, FORTRAN, serial, production & parallel
    (gcc 5.1 not available on other systems)
2015-05-14 00:32:55 -05:00
Quincey Koziol
7e231953a2 [svn-r27058] Description:
Convert internal chunk structures to use 'scaled' coordinates instead of
absolute coordinates.

Tested on:
    Mac OSX/64 10.10.3 (amazon) w/parallel & serial
    Linux 2.6.x/32 (jam) w/parallel & serial
    Linux 2.6.x/64 (koala) w/serial
2015-05-13 16:30:24 -05:00
Neil Fortner
f7e10b55ab [svn-r27053] Add more tests for unlimited selections.
Fix off by 1 error involving minimum extent of VDS.
Other minor fixes/cleanup.

Tested: ummon
2015-05-12 10:39:10 -05:00
Neil Fortner
5b92a99024 [svn-r27049] Rename H5Pset/get_virtual_dataspace_bounds to H5Pset/get_virtual_view and rename
enum argument.
Add support for AND and NOTA/NOTB operations with unlimited selections.
Add some tests for unlimited selections.
Other minor fixes/cleanup.
Note: "clipped" status of unlimited selections is not properly updated with
H5Sselect_copy.  This is a deliberate omission since fixing it would take work
and we are planning to eliminate the clipped status anyways.

Tested: ummon
2015-05-11 14:01:42 -05:00
Dana Robinson
67ba6cb57d [svn-r27045] Renamed H5_ASSIGN_OVERFLOW() to H5_CHECKED_ASSIGN() and re-ordered
the arguments to be in a more logical order.

Tested on: h5committest
2015-05-10 17:38:04 -05:00
Dana Robinson
83d37604d3 [svn-r27040] Moved '*' in H5PLget_loading_state() so that bin/trace would correctly
process it and ran bin/trace.

Tested on: h5committest
2015-05-08 00:10:26 -05:00
Dana Robinson
984ecb72c2 [svn-r27038] Merge of r26393-27031 from the trunk.
Tested on 64-bit linux VM w/ C++ and Fortran 2003
2015-05-07 16:05:14 -05:00
Allen Byrne
674e9f842c [svn-r27037] Added other platforms comment to cmd line and quoted use of directory in option. 2015-05-07 14:46:53 -05:00
Jerome Soumagne
9dc86e2cde [svn-r27035] Do not pass warnings options to non-gnu compilers when compiling with CMake 2015-05-07 13:23:09 -05:00
Jerome Soumagne
8f82c9b8be [svn-r27031] Fix warnings in H5detect and clean up code, use unsigned variables
Use H5_GCC_DIAG_ON/OFF to suppress larger-than and float-equal warnings

Variables used with sigsetjmp/siglongjmp must be declared as volatile

Remove unnecessary use of volatile after r24171 fix and fix prototypes

Tested in release mode on:
- jam (CentOS 5.11 i386 GCC 4.1.2)
- ostrich (RHEL 6.6 ppc64 GCC 4.4.7)
- local linux (OpenSuSE 13.2 x86_64 GCC 4.8.3)
- local linux (Fedora 21 x86_64 GCC 4.9.2)
- local linux (Fedora 21 x86_64 ICC 15.0.2)
- local windows (Windows 8.1 x86_64 MSVC 2013 update 4)
- lemur (MacOSX 10.10.3 x86_64 clang-602.0.49 Xcode 6.3.1)
- ibm p95a07 (Ubuntu 14.10 ppc64le GCC 4.9.1)
- ibm p95a07 (Ubuntu 14.10 ppc64le IBM XL C V13.1.1)
- bluewaters (Cray PE 2.2.1 x86_64 GCC 4.8.2)
- bluewaters (Cray PE 2.2.1 x86_64 Cray C 8.3.3)
- bluewaters (Cray PE 2.2.1 x86_64 PGCC 14.2)
2015-05-06 18:44:50 -05:00
Jerome Soumagne
5c8ecdd14a [svn-r27029] Fix bad comment in H5detect, this was preventing PGCC from compiling correctly.
Tested on: bluewaters
2015-05-06 18:22:48 -05:00
Neil Fortner
0c49a918c4 [svn-r27028] Merge revisions 26305 through 26780 from trunk to vds branch.
Tested: ummon
2015-05-06 14:47:45 -05:00
Elena Pourmal
bc6873d3bd [svn-r27025] Enabled compilation and run for the new vds examples for "make installcheck"; added to MANIFET. 2015-05-05 16:35:10 -05:00
Elena Pourmal
eda6bf097a [svn-r27024] Modified Percival example to read VDS data.
First, the example reads all VDS data, then the data that is in the first source dataset. 
Tested on jam.
2015-05-05 15:41:21 -05:00
Scot Breitenfeld
b15fc6e4a0 [svn-r27023] Changed H5I to H5IM 2015-05-05 15:28:47 -05:00
Neil Fortner
8fe3dfbf94 [svn-r27022] Add new functions H5Pset_virtual_dataspace_bounds and
H5Pget_virtual_dataspace_bounds.
Minor refactor of dataset initialization code to make this cleaner.
Update h5_vds-percival-unlim-maxmin.c
Other minor fixes/cleanup.

Tested: ummon
2015-05-05 15:15:40 -05:00
Scot Breitenfeld
aa403a1a5d [svn-r27021] Added hdf5_hl_fortrandll.def to hl library build. 2015-05-05 15:09:19 -05:00
Scot Breitenfeld
5ffdaa87fc [svn-r27020] fixed HL Fortran Binary dir. 2015-05-05 14:46:14 -05:00
Scot Breitenfeld
ad71dbe12c [svn-r27019] Fixed print statement. 2015-05-05 13:55:29 -05:00
Elena Pourmal
8ba06cb15e [svn-r27018] Fixed a comment for the expected VDS sizes. 2015-05-05 13:07:15 -05:00
Elena Pourmal
95b63ae685 [svn-r27017] Modified Percival example to have different extents for the source datasets for quick testing of
H5Pset_virtual_dataspace_bounds.

Tested on jam that the source datasets are extended and data is added as intended.
2015-05-05 12:57:44 -05:00
Allen Byrne
24ef4efe9a [svn-r27015] updated with release changes 2015-05-05 11:10:20 -05:00
Jerome Soumagne
6ba4fd8694 [svn-r27009] Fix mismatching prototypes in H5FD/H5B2 2015-05-04 15:02:23 -05:00
Scot Breitenfeld
1166efe131 [svn-r27006] Added hdf5_hl_fortrandll.def to hl library build. 2015-05-04 10:16:59 -05:00
Allen Byrne
98bf03bf1d [svn-r27003] Update documentation to match the web instructions 2015-05-04 10:14:37 -05:00
Scot Breitenfeld
e9735c156a [svn-r27002] removed the use of deprecated APIs 2015-05-04 10:01:35 -05:00
Allen Byrne
6e10ade5ee [svn-r27000] Updated and debugged script 2015-05-04 08:59:12 -05:00
HDF Tester
39e0b31a24 [svn-r26997] Snapshot version 1.9 release 217 2015-05-03 06:06:41 -05:00
Quincey Koziol
64466cf833 [svn-r26996] Description:
Eliminate unneccessary 'rdcc' field from common chunk info struct.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    (Too minor to require h5commitest)
2015-05-02 01:31:28 -05:00
Quincey Koziol
5cb629e6dd [svn-r26995] Description:
Clean up chunk 'prune by extent' and flush code, and make the rehashing
routine 'update cache' hold onto more chunks, instead of evicting them as
aggressively.

Tested on:
    MacOSX/64 10.10.3 (amazon) w/serial & parallel
    (h5committest forthcoming)
2015-05-02 01:18:43 -05:00
Quincey Koziol
f77bb92cc1 [svn-r26993] Description:
Align w/incoming chunk performance changes, including some small performance
improvements here, as well as a few minor general code cleanups.

Tested on:
    Mac OSX/64 10.10.3 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-05-01 21:40:29 -05:00
Scot Breitenfeld
60960ec8a7 [svn-r26990] Updated the F2003 error statement when find a nonF2003 compiler. 2015-05-01 11:32:52 -05:00
Scot Breitenfeld
2c575bb79a [svn-r26989] Changed the BIND(C) derived types from:
CHARACTER(LEN=1) to CHARACTER(KIND=C_CHAR) to make Sun compilers happy.
2015-05-01 11:25:32 -05:00
Allen Byrne
d52e65a95f [svn-r26988] Fix name of generated file 2015-05-01 10:07:03 -05:00
Dana Robinson
bfa5786184 [svn-r26986] Removed H5F_ACC_DEBUG and H5FD_DEBUG functionality.
The H5F_ACC_DEBUG symbol remains but has been defined to zero and
has been listed as deprecated.

Fixes: HDFFV-1074

Tested on:
    h5committest
    32-bit Linux w/ C++ and Fortran and multi VFD
    32-bit Linux w/ C++ and Fortran and multi VFD (no deprec symbols)
2015-04-30 14:32:25 -05:00
Neil Fortner
c1e74850e7 [svn-r26984] Add support for unlimited selection being clipped in the middle of a block.
Add tests for this (pure selection tests, needs testing with VDS).
Various bug fixes.

Tested: ummon
2015-04-30 12:29:25 -05:00
Scot Breitenfeld
82c1ce78d5 [svn-r26983] Added C_CHAR to compound type. 2015-04-30 09:39:57 -05:00
Allen Byrne
315c1f9eb0 [svn-r26977] Windows needs different packaging option from linux 2015-04-30 09:04:24 -05:00
Scot Breitenfeld
213aa4d060 [svn-r26976] Added TARGET. 2015-04-30 08:54:48 -05:00
Scot Breitenfeld
29f4e85094 [svn-r26975] Renamed variable to eliminate conflict. 2015-04-30 08:43:23 -05:00
Scot Breitenfeld
0e742cb8d0 [svn-r26974] spelling 2015-04-29 17:04:24 -05:00
Scot Breitenfeld
ecae912a96 [svn-r26973] changed "_c (" to "_c(" 2015-04-29 17:00:35 -05:00
Scot Breitenfeld
d59229751a [svn-r26972] Removed unused C functions.
See HDFFV-9291: Check for unused C functions
2015-04-29 16:57:05 -05:00
Scot Breitenfeld
eee4741a2f [svn-r26971] fixed declaration of h5ltget_attribute_c 2015-04-29 15:24:56 -05:00
Scot Breitenfeld
68e4b6ef39 [svn-r26970] Added new pointer APIs for h5ltmake_dataset ahd h5ltread_dataset. 2015-04-29 15:12:34 -05:00
Allen Byrne
2fe77fad31 [svn-r26969] Added H5KINDff.F90 to output and moved to end of source list. 2015-04-29 13:41:42 -05:00
Scot Breitenfeld
fe7877677a [svn-r26968] Removed H5A,H5D and H5P declarations which now use the KIND findings. 2015-04-29 13:37:53 -05:00
Neil Fortner
f395c2bb03 [svn-r26967] Refactor VDS unlimited dimension code to correctly handle case where selections
have discrete blocks and the extent is set by the minimum (untested, and there
is still no way to set that preference).

Tested: ummon
2015-04-29 12:04:10 -05:00
Albert Cheng
056ffa6341 [svn-r26963] HDFFV-9298: make uninstall generated "test: argument expected" lines
The error is that $EXAMPLETOPDIR is used without setting a value first.
Solution is to set them with the proper values.

Tested: jam only to confirm the error no longer exists.
2015-04-29 02:22:43 -05:00
Neil Fortner
a9b2e36065 [svn-r26962] Add support for unlimited selections to VDS code.
Not tested (except for percival-unlim example)
Fix percival-unlim example
Other bug fixes/cleanup

Tested: Fedora 64
2015-04-28 22:22:55 -05:00
Quincey Koziol
65ba755e8a [svn-r26961] Description:
Clean up H5I code, to eliminate duplicated sections of code.

Tested on:
    Mac OSX/64 10.10.3 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-28 21:07:10 -05:00
Elena Pourmal
f3f7473161 [svn-r26960] Added example of unlimited VDS using Percival use case. 2015-04-28 18:23:02 -05:00
Allen Byrne
1c30759aae [svn-r26959] Fixed ERTERN print format and remove "Files" from virtual. 2015-04-28 16:46:56 -05:00
Allen Byrne
6709dd28f2 [svn-r26953] Remove src temporary debug build props.
Move TOOLS option up before usage.
2015-04-28 16:32:17 -05:00
Scot Breitenfeld
515d59fd50 [svn-r26952] Added dependencies for H5_KINDff.F90 2015-04-28 15:31:08 -05:00
Allen Byrne
5a8114a2a9 [svn-r26951] add cygwin 2015-04-28 14:50:35 -05:00
Scot Breitenfeld
834fab687f [svn-r26950] Added DLL exports for windows. 2015-04-28 14:01:52 -05:00
Allen Byrne
3939163f49 [svn-r26949] Correct linux separators 2015-04-28 13:58:05 -05:00
Allen Byrne
4fc9a3885d [svn-r26944] Match src folder version 2015-04-28 12:53:17 -05:00
Allen Byrne
e13e226bfe [svn-r26941] Correct ext lib packing list 2015-04-28 11:29:14 -05:00
Scot Breitenfeld
241bbc426c [svn-r26938] svn merge -r26910:26937 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-28 10:19:24 -05:00
Scot Breitenfeld
ea6364e818 [svn-r26937] added generated Fortran file to Fortran CMakeList.txt 2015-04-28 10:11:12 -05:00
Allen Byrne
4e50ee0096 [svn-r26936] Incorrect use of HSIZE_T_FORMAT macro, needed to be sub macro H5_PRINTF_LL_WIDTH.
Tested: local linux
2015-04-27 16:20:15 -05:00
Allen Byrne
2417fd7b63 [svn-r26935] Add dataset name to mapping output 2015-04-27 16:08:53 -05:00
Scot Breitenfeld
cec6cbe9cc [svn-r26934] H5test_kind.F90 now generates all the interfaces for H5A, H5D, and H5P REAL interfaces depending on the KIND available. 2015-04-27 15:56:06 -05:00
Albert Cheng
9fc7e89a09 [svn-r26929] Added support for shared lib and zlib.
Tested: linux (jam), Mac (osx1010dev)
2015-04-27 05:10:07 -05:00
Albert Cheng
ceff4fe58f [svn-r26926] Fixed previous typo in the installation of DMG file.
Tested: osx1010dev
2015-04-27 03:15:17 -05:00
Albert Cheng
28f355e81e [svn-r26925] Added method to install the Mac OSX DMG file by line commands.
Group all install method into a function call for easier maintenance.

Tested: Linux (jam, platypus), Mac (osx1010dev)
2015-04-27 02:52:37 -05:00
Albert Cheng
188936ac03 [svn-r26924] Remove old and invalid information:
Retired IBM SP system which was old.
Removed --enable-parallel=mpich information. The option is invalid now (remove
date unknown.)
2015-04-27 01:59:32 -05:00
Scot Breitenfeld
7d692f042b [svn-r26920] fixed typo 2015-04-24 16:42:05 -05:00
Scot Breitenfeld
b8b7d33f41 [svn-r26919] fixed real promoted to 8 bytes 2015-04-24 13:54:25 -05:00
Scot Breitenfeld
0f453502b9 [svn-r26918] fixed H5_FORTRAN_HAVE_C_LONG_DOUBLE 2015-04-24 13:44:50 -05:00
Scot Breitenfeld
fbf21b18ee [svn-r26917] added conditional for C_LONG_DOUBLE 2015-04-23 17:16:30 -05:00
Scot Breitenfeld
47f189a194 [svn-r26916] cleaned-up comments 2015-04-23 15:58:27 -05:00
Scot Breitenfeld
07a1ffde2c [svn-r26915] Added missing long_double APIs. 2015-04-23 15:52:54 -05:00
Scot Breitenfeld
d4ef2d9b24 [svn-r26912] Removed unused 'set' 2015-04-23 15:32:38 -05:00
Scot Breitenfeld
35a297b461 [svn-r26911] svn merge -r26866:26910 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-23 15:21:04 -05:00
Allen Byrne
d292908e6f [svn-r26910] Add clarification that the files are Source 2015-04-23 15:16:22 -05:00
Allen Byrne
80f27eb1f4 [svn-r26909] Convert layout to switch and add virtual. Print number of maps and file names only.
Tested: local linux
2015-04-23 15:13:12 -05:00
Scot Breitenfeld
f0c4d55f91 [svn-r26908] Added missing c_long_double interfaces, now handles promotion of reals and integers to 8 bytes, added C wrappers that take pointers from Fortran. 2015-04-23 15:12:13 -05:00
Jerome Soumagne
aa2f93cdf6 [svn-r26907] Check range and fix conversion issue of compound members in H5T_copy/H5T_set_loc
Tested: local linux
2015-04-23 14:30:50 -05:00
Allen Byrne
dcb31a0e00 [svn-r26906] Correct typo 2015-04-23 14:05:22 -05:00
Allen Byrne
0137743470 [svn-r26905] Add user scripts to CMake folder 2015-04-23 13:50:49 -05:00
Allen Byrne
1c2136ee49 [svn-r26900] Update CMake doc references 2015-04-23 10:41:22 -05:00
Scot Breitenfeld
05a320e9eb [svn-r26897] Added DLL file for HL Fortran. 2015-04-23 09:46:21 -05:00
Scot Breitenfeld
36eec4b620 [svn-r26896] added LONG_DOUBLE interfaces 2015-04-23 09:39:31 -05:00
Scot Breitenfeld
00dfc443c6 [svn-r26895] Added missing interfaces for c_double_long.
Added DLLs.
2015-04-23 09:12:22 -05:00
Scot Breitenfeld
5b7398b41d [svn-r26893] added c_long_double interfaces and updated DLLs 2015-04-22 17:10:33 -05:00
Neil Fortner
f1d1d415af [svn-r26891] Fix bug in H5S__hyper_project_intersection that could cause an incorrect result.
Fix typos.

Tested: ummon
2015-04-22 15:50:56 -05:00
Scot Breitenfeld
8884dc49af [svn-r26890] commented out -DNDEBUG 2015-04-22 15:38:52 -05:00
Scot Breitenfeld
0cb2e26f5a [svn-r26888] Removed the preprocessor option "-UNDEBUG" 2015-04-22 14:39:05 -05:00
Scot Breitenfeld
bf47c596a5 [svn-r26887] Fixed Function H5_SIZEOF_CHAR and assumed sized character length. 2015-04-22 14:31:58 -05:00
Scot Breitenfeld
ab5e55bbf2 [svn-r26886] Fixed source to avoid bug in gfortran < v4.7 Bug: 45190, 37829 2015-04-22 14:19:29 -05:00
Scot Breitenfeld
0a5ca8ad05 [svn-r26885] Fixed issues with CMake and Fortran on linux. 2015-04-22 13:50:29 -05:00
Neil Fortner
0308a17597 [svn-r26883] Fix bug in H5S__hyper_project_intersection that could cause an incorrect result.
Tested: ummon
2015-04-22 11:01:33 -05:00
Scot Breitenfeld
aad4f74fa9 [svn-r26882] renamed .f90 fo .F90 2015-04-22 09:38:33 -05:00
Scot Breitenfeld
cfeb1509c2 [svn-r26881] Added BIND(C) to the Fortran HL APIs, and fixed the issue with -r8 (or equiv.) being specified. 2015-04-22 09:37:02 -05:00
Neil Fortner
7b4a24f2f8 [svn-r26880] Fix errors where unlim_dim was not initialized in several places in H5Shyper.c
Tested: Home computer
2015-04-22 08:30:42 -05:00
Dana Robinson
a2475e33a2 [svn-r26879] Removed printf size_t warnings from VDS examples.
size_t parameters are now printed using lu after being cast to
unsigned long (safe for C89).

Tested on: 64-bit linux VM
2015-04-22 08:29:03 -05:00
Neil Fortner
0a3151792f [svn-r26878] Fix errors in unlimited selection serialize/deserialize
Other minor fixes

Tested: jam
2015-04-21 17:42:33 -05:00
Scot Breitenfeld
fd6ce02c92 [svn-r26877] removed references to F2003 2015-04-21 16:06:52 -05:00
Scot Breitenfeld
f981d2e11e [svn-r26876] changed argument to SIZEOF. 2015-04-21 15:59:45 -05:00
Scot Breitenfeld
1ba402214d [svn-r26875] Added BIND(C) to interfaces. 2015-04-21 15:55:09 -05:00
Scot Breitenfeld
68ad830cd9 [svn-r26874] Added interfaces to H5P parallel interfaces. 2015-04-21 15:09:56 -05:00
Scot Breitenfeld
c7529c3d83 [svn-r26873] Added BIND(C) and moved to .F90 extension. 2015-04-21 14:53:56 -05:00
Scot Breitenfeld
0d94750391 [svn-r26870] added mising TARGET 2015-04-21 13:40:02 -05:00
Scot Breitenfeld
5e6d18e5be [svn-r26869] removed the --enable-fortran2003 option, it is now just --enable-fortran 2015-04-21 13:33:25 -05:00
Jerome Soumagne
a3a1f37446 [svn-r26868] Remove accum_change assert in H5T for now 2015-04-21 12:06:34 -05:00
Scot Breitenfeld
11b19627b9 [svn-r26867] svn merge -r26837:26866 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-21 11:57:33 -05:00
Scot Breitenfeld
6813b25007 [svn-r26866] Removed the default REAL and DOUBLE PRECESION dependency. 2015-04-21 11:53:40 -05:00
Allen Byrne
b32caab787 [svn-r26864] Change location of lib settings file 2015-04-21 11:21:52 -05:00
Neil Fortner
b31103b332 [svn-r26862] Fix bug in H5D__get_storage_size where it would issue an error unnecessarily for
virtual datasets.

Tested: ummon
2015-04-21 10:07:21 -05:00
Scot Breitenfeld
c88f2abea5 [svn-r26860] Fixed sizeof checks. 2015-04-21 08:44:30 -05:00
Albert Cheng
34a1da1731 [svn-r26857] Bugs:
The configure summary (libhdf5.settings) was missing from the configure output.

Solution:
Append the configure summary to the configure logfile if configure succeeds.

Tested:
hand ran cmakehdf5 in jam and inspected the logfile.
2015-04-20 19:25:56 -05:00
Scot Breitenfeld
aff66a3790 [svn-r26856] various intel compiler fixes 2015-04-20 16:28:05 -05:00
Allen Byrne
0b0d31e520 [svn-r26852] Correct component matching 2015-04-20 16:04:33 -05:00
Jerome Soumagne
50db0eed22 [svn-r26848] Fix warnings in H5T
Tested: local linux
2015-04-20 15:32:32 -05:00
Scot Breitenfeld
5fd5aa58ca [svn-r26847] combined H5test_kind programs 2015-04-20 14:15:30 -05:00
Scot Breitenfeld
a58b2dbb7e [svn-r26846] BIND(C) added to H5 general functions 2015-04-20 11:03:54 -05:00
Scot Breitenfeld
baa46f9e43 [svn-r26845] H5P and H5A BIND(C) added to APIs 2015-04-20 10:46:05 -05:00
Quincey Koziol
371a27f01e [svn-r26843] Description:
Minor code & warning cleanups.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.18 (jam) w/serial & parallel
2015-04-18 21:48:06 -05:00
Quincey Koziol
1eaaae9821 [svn-r26842] Description:
Cache the dataset's rank & dimension sizes, instead of querying them
frequently, to speed up various checks & algorithms.  Also, a few minor
cleanups.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.18 (jam) w/serial & parallel
2015-04-18 01:39:34 -05:00
Quincey Koziol
524bfed32e [svn-r26841] Description:
Minor formatting cleanups and remove unused field from callback struct.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-18 00:02:24 -05:00
Larry Knox
cf98752566 [svn-r26840] configure
configure.ac
hl/src/H5LTparse.c
hl/src/H5LTparse.h
        Address HDFFV-9010: configure issue with gcc 4.9.2 "-l ".
        Change default to disable_shared on CYGWIN.

release_docs/INSTALL_Cygwin.txt
release_docs/RELEASE.txt
        Update for changed default and no CYGWIN szip binary.

c++/src/cpp_doc_config
bin/h5vers
        AddressHDFFV-9010: Add cpp_doc_config to h5vers

Tested with h5committest, on CYGWIN.
2015-04-17 17:24:47 -05:00
Scot Breitenfeld
50db6abee7 [svn-r26838] svn merge -r26813:26837 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-17 16:39:12 -05:00
Quincey Koziol
7bf3a426e8 [svn-r26837] Description:
Separate allocating chunk on disk from inserting the chunk record into the
index.  This allows a "SWMR-safe" insert/update of chunks (the chunk is always
allocated -> written -> inserted/updated in the index).

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/parallel & serial
    Linux/32 2.6.18 (jam) w/serial & parallel
2015-04-17 15:49:27 -05:00
Scot Breitenfeld
8bdafb38d7 [svn-r26836] added BIND(C) to H5T APIs 2015-04-17 13:41:48 -05:00
Scot Breitenfeld
c632be5d7b [svn-r26834] Added more BIND(C) to H5O Fortran APIs 2015-04-17 11:33:26 -05:00
Scot Breitenfeld
75ff45add3 [svn-r26833] Added BIND(C) to H5O Fortran APIs 2015-04-17 11:23:52 -05:00
Scot Breitenfeld
7caca66dd0 [svn-r26832] misc. clean-up 2015-04-17 11:03:14 -05:00
Scot Breitenfeld
ec2327200d [svn-r26831] Added H5S BIND(C) 2015-04-17 11:01:16 -05:00
Scot Breitenfeld
d7fd1ed9c7 [svn-r26830] Added BIND(C) to Fortran H5R APIs. 2015-04-16 17:09:32 -05:00
Scot Breitenfeld
b8c6d8191c [svn-r26829] Added BIND(C) to the Fortran H5I APIs 2015-04-16 16:26:43 -05:00
Neil Fortner
f53cfbe9d6 [svn-r26828] Implement support for unlimited selections (not supported by VDS code yet).
Add tests for unlimited selections.
Various other minor changes.

Tested: ummon
2015-04-16 15:57:26 -05:00
Scot Breitenfeld
bd0aaf89e2 [svn-r26827] Combined parallel APIs and removed no longer needed parallel files. 2015-04-16 15:52:07 -05:00
Scot Breitenfeld
fa26809cdf [svn-r26826] CHANGED H5G APIs to use BIND(C) 2015-04-16 14:04:43 -05:00
Scot Breitenfeld
0cc9b0c79f [svn-r26825] Added include for preprocessing fortran files with configure definitions 2015-04-16 13:36:34 -05:00
Albert Cheng
c6717e8134 [svn-r26823] Update instruction that changes in this releaes that " --enable-parallel has
to be used explicitly to build parallel HDF5 regardless of the compiler type
being used.  (MSC - 2015/02/19 HDFFV-9068)"
2015-04-16 08:13:12 -05:00
Scot Breitenfeld
7984de553e [svn-r26819] Updated H5A, H5E, H5D, H5F APIs to F2003, added ifdef for parallel. 2015-04-15 17:03:33 -05:00
Allen Byrne
c04b083b60 [svn-r26815] Update cmake configuration checks
Tested: local linux
2015-04-15 11:59:11 -05:00
Scot Breitenfeld
9f4ed2197a [svn-r26814] svn merge -r26807:26813 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-15 08:49:33 -05:00
Scot Breitenfeld
1644eda6de [svn-r26812] Removed printf debugging statements.
Tested: trival.
2015-04-15 08:45:06 -05:00
Scot Breitenfeld
d7fbbda1a0 [svn-r26809] Changed Fortran file endings from ".f90" to ".F90" 2015-04-14 16:59:58 -05:00
Scot Breitenfeld
38f5b52ea4 [svn-r26808] svn merge -r26795:26807 https://svn.hdfgroup.uiuc.edu/hdf5/trunk 2015-04-14 15:50:57 -05:00
Scot Breitenfeld
74e0d6d697 [svn-r26807] Combined *_F03* files and removed *_F90* files. 2015-04-14 15:46:59 -05:00
Scot Breitenfeld
f8b34b0ff8 [svn-r26804] Updated the Fortran install information. 2015-04-14 09:05:17 -05:00
Dana Robinson
41302a1ea6 [svn-r26803] Fixed a minor typo in H5R code comment. 2015-04-14 07:57:30 -05:00
Allen Byrne
11efaf4ff7 [svn-r26798] Fix other storage layout whitespace 2015-04-13 15:47:03 -05:00
Allen Byrne
26e709edc6 [svn-r26794] Fix formatting for selection. Irregular reuses blocks and points for datasets however indentation after line breaks are an issue. 2015-04-13 15:15:00 -05:00
Dana Robinson
573365e3a0 [svn-r26786] In libhdf5.settings.in, changed the C++ shared library setting variable
from H5_CXX_SHARED (which no longer exists) to enable_static.

Tested on: jam (configure only - minor change)
2015-04-13 03:25:56 -05:00
HDF Tester
27313306f8 [svn-r26785] Snapshot version 1.9 release 216 2015-04-12 06:05:35 -05:00
Larry Knox
6c0fcb84a8 [svn-r26782] Remove md5 from METHODS arguments for calling bin/release script from snapshot script. md5 method was removed and md5 checksums are always produced for all compression methods. 2015-04-11 22:45:56 -05:00
Neil Fortner
6a27582a44 [svn-r26781] Merge revisions 26305 through 26780 from trunk to vds branch.
Tested: ummon
2015-04-10 18:00:48 -05:00
Allen Byrne
3875cc6960 [svn-r26778] fix path to config 2015-04-10 12:51:40 -05:00
Mohamad Chaarawi
3b72762036 [svn-r26777] - Fix usage of the internal AC global dxpls
- allocate sieve buffer with calloc instead of malloc

tested with h5committest
2015-04-10 12:47:16 -05:00
Allen Byrne
b452fc97e6 [svn-r26776] Add missing quote char. 2015-04-10 12:45:13 -05:00
Allen Byrne
7a4b02567e [svn-r26775] Update error file with new item. 2015-04-09 15:52:06 -05:00
Scot Breitenfeld
5619a9a119 [svn-r26772] Fixed wrong fapl for H5Fopen when testing H5Iget_name with anonymously created datatype.
Tested: jam (using split virtual driver)
2015-04-09 10:57:01 -05:00
Mohamad Chaarawi
7f06904d28 [svn-r26771] - remove unused internal dxpl properties and property lists from the AC layer
- fix warnings in H5AC.c

tested with h5committest
2015-04-08 16:24:22 -05:00
Scot Breitenfeld
1215ef0370 [svn-r26767] Added test to address HDFFV-3065:
H5Iget_name on datatype that is not named returns no error

Tested: h5committest
2015-04-08 11:06:48 -05:00
Quincey Koziol
4662835250 [svn-r26757] Description:
Minor typos & code cleanups

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2015-04-07 14:16:25 -05:00
Albert Cheng
dd32c639c6 [svn-r26751] Updated. 2015-04-07 13:13:57 -05:00
Albert Cheng
5cc53e3ba2 [svn-r26750] HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type.
Added the testing to h5repack where it belongs.
Undo the tests added to h5dump.

Tested: h5committested plus tested in jam by hand.
2015-04-07 13:10:21 -05:00
Mohamad Chaarawi
6fa9f61ae5 [svn-r26746] install_parallel updates. 2015-04-07 10:50:40 -05:00
Binh-Minh Ribler
4275900a7b [svn-r26737] Purpose: Fix daily test failure
Description:
    - In DataType::DataType(const PredType& pred_type), using DataType::copy
    will invoke DataType::close() unnecessarily, which will produce undefined
    behavior.  Changed to call H5Tcopy directly, code reuse is not useful in
    this case.
    - Also, fixed CommonFG::childObjVersion to return expected value outside of
    an if/else block.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
2015-04-06 12:46:54 -05:00
Allen Byrne
b9e5e2af4e [svn-r26721] Disable failing test 2015-04-03 13:57:24 -05:00
Allen Byrne
09784944d2 [svn-r26719] Add HL to default components 2015-04-03 13:34:53 -05:00
Albert Cheng
abad30a44d [svn-r26712] Bug fix: cmakehdf5 broken because zlib is no longer configure in by default.
That broke the testings as some testfiles have zlib compressed datasets.

Added options control to enable the linking of zlib external libarary by
default and turn off the szip library linking as szip library may not be
avaiable. This matches the established settings.

Tested: run cmakehdf5 by hand in jam and platypus.
Also tested in wren but it failed in the testing stage.
Also tried "cmakehdf5 --script" in jam. It failed.
2015-04-02 17:36:46 -05:00
Larry Knox
3032f3adf3 [svn-r26711] Recommitting revisions 26669 and 26670, removing VPATH and redundant /usr/include and lib in fcompile and link flags checks, now that I have run reconfigure.
Also changed paths to h5cc, etc. in scripts to run installed examples from relative paths to absolute paths.

Tested with h5committest.
2015-04-02 16:07:53 -05:00
Albert Cheng
33c8035f0e [svn-r26702] HDFFV-8667: h5repack crashes on enumerated 8-bit type nested in compound type.
Description:
The test added failed in some machines because the data file contains infinity values that different machines print them differently as "inf", "INF", "Inf", ...

Solution:
Added a "ignorecase" option to TOOLTEST() to do caseless matching between generated output vs expected output. This solved most machines problem for now.

Tested: h5committest, emu by hand for both development and production modes.
But cmake built h5dump failed to read the data file. Using the same source to build h5dump by autotools produced a h5dump that can read the test data file. Don't know why cmake could not produce a correct binary.
2015-04-01 16:18:18 -05:00
Allen Byrne
99baa66184 [svn-r26699] Generators are only built static 2015-04-01 16:02:43 -05:00
Binh-Minh Ribler
f6d9d1fdc8 [svn-r26695] Purpose: Fixed HDFFV-7947 (cont.)
Description:
    - Put back the UNUSED parameters in dsets test because the change to remove
      the warning last time caused failure in setting filter, in turn, caused
      failure in the test with such obscure/unrelated errors!
    - Added incRefCount() to other constructors that missed from last time.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-04-01 13:52:05 -05:00
Allen Byrne
6f03b60c61 [svn-r26693] Remove use of obsolete HDF5_USE_FILTER_{internal} 2015-04-01 13:30:56 -05:00
Allen Byrne
7e183071a5 [svn-r26691] Move attribute define out of dynamic block.
Tested: windows
2015-04-01 09:48:13 -05:00
Neil Fortner
b31a086f3e [svn-r26690] Fix error in H5Sextent_copy
When the selection is set to all, H5Sextent_copy did not update the number of
elements in the selection in the destination space.  Fixed H5Sextent_copy to do
this.  Added tests for this functionality.

Tested: jam, koala, ostrich (h5committest)
2015-04-01 09:22:16 -05:00
Allen Byrne
d28652dacf [svn-r26685] Add new test from test script 2015-03-31 16:42:53 -05:00
Allen Byrne
db2e8ff371 [svn-r26683] Remove internal filter checks 2015-03-31 16:28:44 -05:00
Allen Byrne
e9db2519b5 [svn-r26682] Add new test from test script 2015-03-31 16:16:59 -05:00
Neil Fortner
95983cbdfe [svn-r26680] Implement minor suggestions from 3/26/15 code review.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-31 15:20:10 -05:00
Mohamad Chaarawi
ccdcbec635 [svn-r26678] add ifdef checks and setting for __attribute__ in a public place to allow usage in
public routines.
2015-03-31 14:54:31 -05:00
Albert Cheng
cf11eef385 [svn-r26677] HDFFV-8957: h52gif crashes when run against one of our own examples
The tool claimed it could handle 24bit images but there was no code to handle it.
(or might be there were but was removed by previous revisions.)
Also discovered that it does not accept multiple images nor -p for palette
as its user document and online help message indicated.

Solution: 
Added code to verify dimension sizes are within 8 bit raster images limit and
added tests to verify the tools correctness.
Need to update user document tool.

Tested: h5committested.
2015-03-31 14:13:34 -05:00
Albert Cheng
6c04e6b03c [svn-r26675] HDFFV-9201: Create md5s for bzip, gzip and zip files
An md5 checksum is produced for each archive created and stored in the md5 file

Tested: jam by hand.
2015-03-31 12:40:43 -05:00
Albert Cheng
f207efd6f3 [svn-r26671] Since cmake always redoes everything from start, I change the logfiles to
start fresh everytime.

Tested: platypus
2015-03-30 23:30:58 -05:00
Larry Knox
306775bc98 [svn-r26670] Remove VPATH and LONE_COLON
Tested with h5committest
2015-03-30 19:05:07 -05:00
Larry Knox
11413003c2 [svn-r26669] Remove code to prevent duplicate includes of /usr/include and /usr/lib.
Tested h5committest
2015-03-30 17:12:39 -05:00
Neil Fortner
904c84b2a2 [svn-r26668] Fix error in H5D__virtual_read/write that prevented short circuit.
Fix off by 1 error in H5S__hyper_project_intersection algorithm.
Add many tests for fixed size hyperslab I/O.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-30 17:11:58 -05:00
Binh-Minh Ribler
ea029945f5 [svn-r26667] Purpose: Fixed HDFFV-8766
Description:
    Per user Jason Newton request, the following constructor is added:
        H5File(hid_t existing_id);
    Also, fixed H5File::openFile to close current file first before re-using
    the object.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 16:57:37 -05:00
Frank Baker
d2c5e2bf57 [svn-r26665] Description:
Update HDF Group copyright dates to include 2015.
2015-03-30 16:29:58 -05:00
Albert Cheng
88f8a3c11f [svn-r26662] added option to configure support for fortran2003 API.
--enable-fortran2003 | --disable-fortran2003:
  enable or disable fortran2003 API. Default is off.

Tested: by hand in platypus.
2015-03-30 14:32:31 -05:00
Allen Byrne
45577d5693 [svn-r26660] HDFFV-9131: autotols rework
Remove CXX_CONDITIONAL
remove unneeded/obsolete sections.

h5commtitest
2015-03-30 13:55:21 -05:00
Scot Breitenfeld
13980cd69a [svn-r26657] Fix for HDFFV09202.
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests

Tested: jam( --enable-fortran2003, gnu)
        koala (--enable-fortran2003, intel)
2015-03-30 13:17:45 -05:00
Binh-Minh Ribler
98d1c2d9a9 [svn-r26655] Purpose: Fixed HDFFV-7947
Description:
    When copy constructor or constructor that takes an existing id is invoked,
    the C ref counter stays the same but there is an extra C++ object which
    later is destroyed and may cause the HDF5 id to be closed prematurely. The
    C++ library needs to increment the ref counter in these situations, so that
    the C library will not close the id when it is still being referenced.

    However, the incrementing of ref count left some objects opened at the end
    of the program, perhaps, due to compiler's optimization on cons/destructors.    The constructor, that takes an existing id, needs to increment the counter
    but it seems that the matching destructor wasn't invoked.  The workaround
    is to have a function for each class that has "id" that only sets the id
    and not increment the ref count for the library to use in these situations.
    These functions are "friend" and not public.

    The friend functions are:
        void f_Attribute_setId(Attribute *, hid_t)
        void f_DataSet_setId(DataSet *, hid_t)
        void f_DataSpace_setId(DataSpace *, hid_t)
        void f_DataType_setId(DataType *, hid_t)
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam gnu and Intel 15.0)
    SunOS 5.11 (emu)
2015-03-30 12:58:44 -05:00
Allen Byrne
d0cea60466 [svn-r26653] Update default settings 2015-03-30 12:03:57 -05:00
Allen Byrne
3d1f7a21b3 [svn-r26652] Update default settings 2015-03-30 11:54:46 -05:00
Mohamad Chaarawi
3dd38a29b1 [svn-r26650] move size_t cast from define of HG_ALIGN to usage of HG_ALIGN. 2015-03-30 10:24:44 -05:00
Mohamad Chaarawi
01093ad350 [svn-r26649] squish warnings. 2015-03-30 10:12:49 -05:00
Quincey Koziol
bf7c3fb670 [svn-r26647] Description:
Bring r26639 from autotools_rework branch to trunk:

    Switch AC_TRY_RUN macros to AC_RUN_IFELSE macros.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-30 09:45:22 -05:00
Albert Cheng
56fe37c8e6 [svn-r26646] Bug fix: HDFFV-8957 h52gif crashes when run against one of our own examples.
Description: h52gif crashed when it was asked to convert a 24bitimage.
Upon viewing the code, it did not prepare to handle images other than 2 dimensions.
It has no concept of multiple planes images.  Further examinations showed past attempts
to fix it ended up removed some abilities (-p or multiple planes, animation, ...) have
been removed but documentation was not updated. Even its online help message still
shows -p is an option.

Solution: added protection code to flag errors if input request is not an
8bit image within size limits.  (I don't have enough knowledge of the GIF
format to fix this tool. All I did was plugging known bug from crashing the
program.)

Tested: h5committest.
2015-03-30 00:28:13 -05:00
Larry Knox
f617eeb78f [svn-r26645] Revert the part of revision 26642 that is in fortran/test and causes the error "undefined reference to `verify_fortran_integer_4_".
files:
    tH5P_F03.f90
    tf.f90

Tested:  h5committest and several failed daily tests.
2015-03-29 21:32:09 -05:00
Binh-Minh Ribler
39fb0401a0 [svn-r26643] Purpose: Adding new wrappers (HDFFR-9167 partially)
Description:
    Added wrappers for C functions H5P[s/g]et_libver_bounds and wrappers
    for getting object header version

      // Sets bounds on versions of library format to be used when creating
      // or writing objects.
      void setLibverBounds(H5F_libver_t libver_low, H5F_libver_t libver_high) const;

      // Gets the current settings for the library version format bounds.
      void getLibverBounds(H5F_libver_t& libver_low, H5F_libver_t& libver_high) const;

      // Returns the object header version of an object in a file or group,
      // given the object's name.
      unsigned childObjVersion(const char* objname) const;
      unsigned childObjVersion(const H5std_string& objname) const;

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6
    SunOS 5.11
2015-03-28 23:37:28 -05:00
Scot Breitenfeld
8e5a71c716 [svn-r26642] Fix for HDFFV09202 and HDFFV-9171.
HDFFV-9171 Configure mistakes Cray Compilers for Intel Compilers,
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests 

Tested: h5committest
2015-03-28 15:24:36 -05:00
Larry Knox
ed599421c5 [svn-r26641] configure.ac:
Remove VPATH and related search path syntax checking.
    Remove check for H5_LONE_COLON and checking for lone colon compiler confusion.
tools/h5dump/testh5dumpxml.sh.in
tools/h5dump/CMakeTestsXML.cmake
    Remove test skipping for compilers that were formerly confused by lone colon.

Tested with h5committest.
2015-03-28 09:48:12 -05:00
Binh-Minh Ribler
72d896f709 [svn-r26640] Purpose: Fix bugs
Description:
    - Changed DataType::operator= to simply copy the id of rhs instead of
      calling H5Tcopy because, when the operator= is invoked, a different
      datatype id is created and it won't have the same characteristics as
      rhs', specifically, if the rhs represents a named datatype, "this"
      would still be a transient datatype.
    - Added a DataType constructor that takes a PredType object, and this
      constructor will cause H5Tcopy to generate another datatype id, from a
      predefined datatype.
    - Fixed various mistakes in tests.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam/gnu and jam/icc 15)
    SunOS 5.11 (emu development/production)
2015-03-27 23:15:43 -05:00
Quincey Koziol
2845400b6d [svn-r26639] Description:
Switch AC_TRY_RUN macros to AC_RUN_IFELSE macros.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-27 21:21:32 -05:00
Quincey Koziol
6f75afd15e [svn-r26635] Description:
Bring r26651 from autotools_rework branch to trunk:

    Remove the VSNPRINTF_WORKS macro, it's working around bugs in old SGI
& HP compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 19:37:08 -05:00
Quincey Koziol
68decbbc42 [svn-r26634] Description:
Bring r26550 from autotools_rework branch to trunk:

    Remove orphaned macro definitions (not attached to anything in the library)

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 17:22:49 -05:00
Neil Fortner
1756ca5c13 [svn-r26633] Add -D_DEFAULT_SOURCE to CPPFLAGS on Linux systems. -D_BSD_SOURCE is deprecated
in recent versions of glibc, and -D_DEFAULT_SOURCE is the replacement.  Keep
-D_BSD_SOURCE for now to support older systems.  gcc will not issue a warning
about -D_BSD_SOURCE being deprecated when -D_DEFAULT_SOURCE is supplied as well.

Tested: jam, koala, ostrich (h5committest)
2015-03-27 17:17:31 -05:00
Quincey Koziol
50d7a32330 [svn-r26632] Description:
Bring r26549 from autotools_rework branch to trunk:

    Remove the BAD_LOG2_CODE_GENERATED macro/define, it's working around bugs
in old SGI compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 17:17:24 -05:00
Scot Breitenfeld
ff1c86df14 [svn-r26631] reverted change r26629 2015-03-27 17:16:49 -05:00
Scot Breitenfeld
d494d7b3b9 [svn-r26629] Fix for HDFFV09202 and HDFFV-9171.
HDFFV-9171 Configure mistakes Cray Compilers for Intel Compilers,
HDFFV-9202 subroutine VERIFY() fails when checking 8 byte integers in fortran tests 

Tested: h5committest
2015-03-27 17:10:24 -05:00
Quincey Koziol
b96e13a7e3 [svn-r26627] Description:
Bring r26545 from autotools_rework branch to trunk:

    Remove the WANT_DATA_ACCURACY macro/define/configure option, since it's no
longer attached to any library behavior.

Tested on:
    Linux/32 2.6.8 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 16:30:14 -05:00
Quincey Koziol
c2472b4d00 [svn-r26625] Description:
Bring r26543 from autotools_rework branch to trunk:

    Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around
bugs in very old SGI/FreeBSD/Windows compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:50:44 -05:00
Quincey Koziol
79f59eaf4d [svn-r26623] Description:
Bring r26513 from autotools_rework branch to trunk:

    Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around
bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 15:11:12 -05:00
Quincey Koziol
f7386e173c [svn-r26622] Description:
Bring r26546 from autotools_rework branch to trunk:

    Convert AC_TRY_RUN to AC_RUN_IFELSE, for the LDOUBLE_TO_LONG_SPECIAL and
LONG_TO_LDOUBLE_SPECIAL checks.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 14:33:41 -05:00
Quincey Koziol
463be445ed [svn-r26621] Description:
Correct AC_RUN_IFELSE macros.

Tested on:
    PPC Linux/64 (ostrich)
2015-03-27 14:30:33 -05:00
Quincey Koziol
e30b4b17cf [svn-r26618] Description:
Bring r26511 from autotools_rework branch to trunk:

    Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-27 11:34:08 -05:00
Scot Breitenfeld
037f8104e8 [svn-r26616] Removed reference to grpit.f90 since it was removed. 2015-03-27 10:40:55 -05:00
Allen Byrne
538be8f847 [svn-r26612] Fix missing endif 2015-03-27 09:38:13 -05:00
Allen Byrne
e270981617 [svn-r26611] Remove complete section of VIRTUAL output. 2015-03-27 09:23:24 -05:00
Elena Pourmal
e26999516d [svn-r26609] Neil fixed a bug that caused a failure when a source file was closed. Removed comments from the
example.
Tested on jam.
2015-03-26 17:03:45 -05:00
Allen Byrne
eafd204b2d [svn-r26607] Correct test of plugin read when disabled to not print FAILURE when successful 2015-03-26 14:24:25 -05:00
Quincey Koziol
c4ec20a6de [svn-r26606] Description:
Bring r26508 from autotools_rework branch to trunk:

    Remove HW_FP_TO_LLONG_NOT_WORKS macro/define, it was only addressing
Windows .NET 2003 compiler issues.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 14:13:13 -05:00
Quincey Koziol
39373fbabb [svn-r26605] Description:
Bring r26503 & r26528 from autotools_rework branch back to the trunk:

    Remove old platform configure files: craynv, dec-flags, hpux11.23,
ia64-linux-gnu, nec-superux14.1, sv1-cray, x86_64-redstorm-linux-gnu

   Also remove CONVERT_DENORMAL_FLOAT, since this was only set in the
configure files being removed.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 13:34:11 -05:00
Allen Byrne
f3dd294ff2 [svn-r26604] Add component aware configuration 2015-03-26 12:26:03 -05:00
Quincey Koziol
c8a5172968 [svn-r26602] Description:
Bring r26502 from autotools_rework branch to trunk:

    Remove the H5_SW_ULONG_TO_FP_BOTTOM_BIT_WORKS and
H5_FP_TO_ULLONG_BOTTOM_BIT_WORKS macros/defines, as they are no longer used by
supported platforms.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-26 12:02:13 -05:00
Quincey Koziol
90cc5df290 [svn-r26598] Description:
Bring r26501 from the autotools_rework branch to the trunk:

    Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 22:05:30 -05:00
Quincey Koziol
27dd4e0f05 [svn-r26597] Description:
Bring r26500 from autotools_rework branch to trunk:

    Remove the LLONG_TO_FP_CAST_WORKS macro/define, as it targets problems with
the Visual Studio 6 compilers.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 21:25:32 -05:00
Quincey Koziol
b03d04742d [svn-r26596] Description:
Bring r26499 from autotools_rework branch to trunk:

    Remove ULLONG_TO_FP_CAST_WORKS macro/define, as it only applies to older
platforms we aren't supporting any longer.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for 2+ days)
2015-03-25 20:47:41 -05:00
Quincey Koziol
c622cc7b38 [svn-r26595] Description:
Bring r26494 from autotools_rework branch back to trunk:

    Remove the LDOUBLE_TO_UINT_ACCURATE macro/define, it was addressing
problems with older Intel compilers on Linux that are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested on branch for several days)
2015-03-25 17:11:19 -05:00
Allen Byrne
451a91e53b [svn-r26594] Merge macros and fortran changes from dual_binary feature.
Tested: local linux
2015-03-25 17:08:46 -05:00
Quincey Koziol
d3114a96da [svn-r26591] Description:
Bring r26492 from autotools_rework branch back to trunk:

    Remove the FP_TO_ULLONG_ACCURATE and FP_TO_ULLONG_RIGHT_MAXIMUM
macros/defines, which were added to address problems with older PGI
compilers and HP-UX systems and are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-25 16:33:48 -05:00
Quincey Koziol
597c3c089b [svn-r26587] Description:
Bring r26489 from autotools_rework branch to trunk:

    Remove the ULONG_TO_FP_BOTTOM_BIT_ACCURATE macro/define, as it was added
for SGI systems and old Solaris systems, which are no longer supported.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (Daily tested for >1 week)
2015-03-25 14:54:36 -05:00
Quincey Koziol
e89290b777 [svn-r26584] Description:
Bring r26485 from the autotools_rework branch to the trunk:

    Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the
Sandia system where it was necessary.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested for >1 week)
2015-03-25 14:12:00 -05:00
Scot Breitenfeld
299deb64fb [svn-r26575] Removed compiler warning for hl/tools and hl/src.
HDF5-250 and HDF5-241

tested: h5committest
2015-03-25 10:25:59 -05:00
Elena Pourmal
1180e6f96d [svn-r26570] Commented lineis that print extra "VIRTUAL" keyword and blank lines for demo on 3/25/2015. Allen will need to review it. 2015-03-24 23:08:59 -05:00
Elena Pourmal
1f9bf8d63b [svn-r26568] Simplified percival example. 2015-03-24 18:42:14 -05:00
Elena Pourmal
dd0e7540b6 [svn-r26567] h5dump was nopt displaying source selection correctly due to a type; fixed. 2015-03-24 18:31:00 -05:00
Neil Fortner
1583b1b729 [svn-r26566] Fix error in H5S__hyper_project_intersection algorithm.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-24 18:23:18 -05:00
Elena Pourmal
b8551d25cc [svn-r26565] Since fill values for VDS do not work at this point initialized the read buffer to show
that VDS data is read correctly, leaving unmapped data untouched.

Tested on jam.
2015-03-24 18:02:37 -05:00
Elena Pourmal
dd5a137083 [svn-r26564] Modified related files after adding example/h5_vds-percival.c
Tested on jam.
2015-03-24 17:56:24 -05:00
Elena Pourmal
1df431a1f4 [svn-r26563] Added new percival example to MANFEST. 2015-03-24 17:44:43 -05:00
Elena Pourmal
f7c38d0a2d [svn-r26562] Added examples for percival use case. 2015-03-24 17:43:43 -05:00
Quincey Koziol
460b629e03 [svn-r26560] Description:
Bring r26483 from autotools_rework branch back to trunk:

    Remove INTEGER_TO_LDOUBLE_ACCURATE macro/define - we no longer support
SGI systems.

Tested on:
    Linux/32 2.6.18 (jam) w/serial & parallel
    (daily tested on branch for >1 week)
2015-03-24 17:06:27 -05:00
Neil Fortner
e0db90bcc4 [svn-r26559] Fix error in H5S_extent_copy (needs testing) - would not patch number of
elements selected with "all" slections nor reset sharing state.
Fix error in H5S__hyper_project_intersection algorithm.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-24 16:56:52 -05:00
Elena Pourmal
13299383ea [svn-r26557] Removed commented VDS read code. tested on jam. 2015-03-24 15:21:53 -05:00
Quincey Koziol
61b5fa8e2d [svn-r26551] Description:
Remove the VSNPRINTF_WORKS macro, it's working around bugs in old SGI
& HP compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-23 17:16:28 -05:00
Quincey Koziol
b424ce1b3f [svn-r26550] Description:
Remove orphaned macro definitions (not attached to anything in the library)

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-23 17:01:31 -05:00
Quincey Koziol
9c07c94448 [svn-r26549] Description:
Remove the BAD_LOG2_CODE_GENERATED macro/define, it's working around bugs
in old SGI compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-23 16:57:09 -05:00
Quincey Koziol
51fd9e31a6 [svn-r26546] Description:
Convert AC_TRY_RUN to AC_RUN_IFELSE, for the LDOUBLE_TO_LONG_SPECIAL and
LONG_TO_LDOUBLE_SPECIAL checks.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-23 15:31:39 -05:00
Quincey Koziol
96690845c1 [svn-r26545] Description:
Remove the WANT_DATA_ACCURACY macro/define/configure option, since it's no
longer attached to any library behavior.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-23 15:00:41 -05:00
Quincey Koziol
fe435e3dd4 [svn-r26543] Description:
Remove the LLONG_TO_LDOUBLE_CORRECT macro/define, it's working around
bugs in very old SGI/FreeBSD/Windows compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not needed on this branch)
2015-03-23 14:50:39 -05:00
Allen Byrne
92b1916151 [svn-r26542] Package vars should use uppercase prefix 2015-03-23 14:45:58 -05:00
Scot Breitenfeld
25aa1845e6 [svn-r26541] fixed array bounds starting from zero in H5Pff.f90 routines.
Tested: h5committest
2015-03-23 12:58:57 -05:00
Allen Byrne
410e8fe31a [svn-r26539] Update minimum cmake version 2015-03-23 12:57:26 -05:00
Allen Byrne
5f7e9fcf3b [svn-r26536] Add INSTALL_TYPES to packaging for defaults 2015-03-23 12:44:07 -05:00
Allen Byrne
1180b57990 [svn-r26530] Add back Windows dll export define 2015-03-23 12:01:51 -05:00
Quincey Koziol
7bfec19a02 [svn-r26528] Description:
Remove configure files.
2015-03-23 11:18:48 -05:00
Jerome Soumagne
245f874eb1 [svn-r26526] Merge r26524 from autotools_rework branch
Remove SETX variable from Makefile.am/Makefile.in

Part of: HDFFV-9164
2015-03-23 11:05:44 -05:00
Jerome Soumagne
2db29f6013 [svn-r26524] Remove SETX variable from Makefile.am
Part of: HDFFV-9164
2015-03-23 10:50:04 -05:00
Vailin Choi
4de770788f [svn-r26514] Fix for HDFFV-9173:
H5Pset_istore_k() will validate the "ik" value to not exceed the max v1 btree entries (2 bytes)
The same check for H5Pset_sym_k()  "ik" value.
h5committested.
2015-03-20 17:37:17 -05:00
Quincey Koziol
105b8b93a0 [svn-r26513] Description:
Remove the LDOUBLE_TO_LLONG_ACCURATE macro/define, it's working around
bugs in older SGI, HP/UX, MacOSX and Windows .NET 2003 compilers.

Tested on:
    MacOSX/64 (amazon) 10.10.2 w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 17:18:02 -05:00
Scot Breitenfeld
23afd10544 [svn-r26512] Reverted changed 26488 and 26477
Tested: h5committest
2015-03-20 16:48:41 -05:00
Quincey Koziol
4f18b095d8 [svn-r26511] Description:
Remove the FP_TO_INTEGER_OVERFLOW_WORKS macro/define, which is for working
around bugs in the Cray X1 compiler and is no longer supported.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 16:46:56 -05:00
Jerome Soumagne
1cd7c16a9d [svn-r26509] Run reconfigure after merges from autotools_rework branch. 2015-03-20 14:15:51 -05:00
Quincey Koziol
57393bc048 [svn-r26508] Description:
Remove HW_FP_TO_LLONG_NOT_WORKS macro/define, it was only addressing
Windows .NET 2003 compiler issues.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 14:08:33 -05:00
Jerome Soumagne
69ba270936 [svn-r26507] Merge r26437 from autotools_rework branch.
Remove DYNAMIC_DIRS variable from configure.ac.

Does not seem to be used anymore.
2015-03-20 14:06:57 -05:00
Jerome Soumagne
b184d919a6 [svn-r26506] Merge r26436 from autotools_rework branch.
Remove GNU make check from configure.ac
2015-03-20 14:05:47 -05:00
Jerome Soumagne
8a1d1b24cf [svn-r26505] Merge r26435 from autotools_rework branch.
Remove DEFAULT_LIBS from configure.ac and irix6.x config file which
was using it.

Remove references to IRIX/irix* platform.
2015-03-20 14:04:30 -05:00
Jerome Soumagne
aad3aa7856 [svn-r26504] Merge r26434 from autotools_rework branch.
Fix heading info in configure.ac
2015-03-20 14:01:59 -05:00
Quincey Koziol
7dae7ce0b9 [svn-r26503] Description:
Remove old platform configure files: craynv, dec-flags, hpux11.23,
ia64-linux-gnu, nec-superux14.1, sv1-cray, x86_64-redstorm-linux-gnu

    Also remove CONVERT_DENORMAL_FLOAT, since this was only set in the
configure files being removed.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 13:50:07 -05:00
Quincey Koziol
54ce768076 [svn-r26502] Description:
Remove the H5_SW_ULONG_TO_FP_BOTTOM_BIT_WORKS and
H5_FP_TO_ULLONG_BOTTOM_BIT_WORKS macros/defines, as they are no longer used by
supported platforms.

Tested on:
    MacOSX/64 10.10.x (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 12:54:34 -05:00
Quincey Koziol
3344302a1e [svn-r26501] Desscription:
Remove ULLONG_TO_LDOUBLE_PRECISION macro/define, as it's targeting bugs
in the FreeBSD and Cygwin compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 12:05:00 -05:00
Quincey Koziol
b08160e38b [svn-r26500] Description:
Remove the LLONG_TO_FP_CAST_WORKS macro/define, as it targets problems with
the Visual Studio 6 compilers.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 11:43:35 -05:00
Quincey Koziol
44c8f498e5 [svn-r26499] Description:
Remove ULLONG_TO_FP_CAST_WORKS macro/define, as it only applies to older
platforms we aren't supporting any longer.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-20 11:30:33 -05:00
Allen Byrne
851a0dcfaf [svn-r26497] minor corrections noticed in 1.8 should be in trunk as well 2015-03-20 10:40:30 -05:00
Quincey Koziol
9fb399b3d2 [svn-r26495] Description:
Bring r26258 from the autotools_rework branch to the trunk - remove
the LDOUBLE_TO_INTEGER_WORKS macro/define, which was addressing issues with
SGI systems that are no longer supported.

Tested on:
    Linux 2.6.x (jam) w/serial & parallel
    Daily tested on branch for >2 weeks
2015-03-19 17:22:06 -05:00
Quincey Koziol
54e68fe689 [svn-r26494] Description:
Remove the LDOUBLE_TO_UINT_ACCURATE macro/define, it was addressing
problems with older Intel compilers on Linux that are no longer supported.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-19 17:12:58 -05:00
Quincey Koziol
d63acf93b9 [svn-r26492] Description:
Remove the FP_TO_ULLONG_ACCURATE and FP_TO_ULLONG_RIGHT_MAXIMUM
macros/defines, which were added to address problems with older PGI
compilers and HP-UX systems and are no longer supported.

Tested on:
    MacOSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-19 16:59:19 -05:00
Quincey Koziol
5329a7d6f1 [svn-r26491] Description:
Bring r26257 from autotools_rework branch back to the trunk - removes
the LDOUBLE_TO_INTEGER_ACCURATE macro/define, which was addressing problems
with SGI systems and is no longer supported.

Tested on:
    Linux 2.6.x/32 (jam) w/serial & parallel
    Daily tested on branch for >2 weeks.
2015-03-19 16:52:50 -05:00
Allen Byrne
9501c16857 [svn-r26490] Remove unused defines 2015-03-19 16:37:04 -05:00
Quincey Koziol
cea7454bef [svn-r26489] Description:
Remove the ULONG_TO_FP_BOTTOM_BIT_ACCURATE macro/define, as it was added
for SGI systems and old Solaris systems, which are no longer supported.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required)
2015-03-19 16:34:30 -05:00
Scot Breitenfeld
d75a6763ec [svn-r26488] Updated developers notes due to the removal of COMMON and EQUIVALANCE and how everything is now put together.
Not tested, comments only.
2015-03-19 16:09:42 -05:00
Quincey Koziol
74dc896691 [svn-r26485] Description:
Remove the ULONG_TO_FLOAT_ACCURATE macro/define, we no longer support the
Sandia system where it was necessary.

Tested on:
    Mac OSX 10.10.2 (amazon) w/serial & parallel
    (h5committest not necessary on this branch)
2015-03-19 15:33:57 -05:00
Quincey Koziol
cac405283f [svn-r26483] Description:
Remove INTEGER_TO_LDOUBLE_ACCURATE macro/define - we no longer support
SGI systems.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-03-19 15:15:45 -05:00
Neil Fortner
43dec53436 [svn-r26482] Opening source files now reuses the flags from the virtual file.
Added tests for I/O on virtual dataset with source datasets in unopened files.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-19 15:04:36 -05:00
Scot Breitenfeld
c26d21bb63 [svn-r26481] Removed compiler warnings. HDF5-239
Tested: h5committest.
2015-03-19 14:14:19 -05:00
Allen Byrne
db64e76056 [svn-r26480] Correct find package var name 2015-03-19 13:30:00 -05:00
Scot Breitenfeld
8f8cbb6225 [svn-r26479] Fix for: HDFFV-9162
h5pget_class_f should return hid_t for classtype

Also removed all left over C comment artifacts /* and */ in the Fortran comments.

Tested: h5committest
2015-03-19 12:11:47 -05:00
Scot Breitenfeld
c2c3294c21 [svn-r26477] Removed COMMON and EQUIVALENCE usage from Fortran Source.
Also removed disabling shared when building Fortran on the Mac. 
These fixes should fix all the building shared with Fortran problems. HDF5-247

Also fixes array bounds starting from zero in H5Pff.f90 routines.

Tested: h5committest
2015-03-19 10:38:27 -05:00
Neil Fortner
4cfe53284b [svn-r26476] Add support for I/O in all cases with fixed size datasets and no point
selections.
Add source dataspace extent patching (should allow closing the source file).
Note fill values and various other features are not yet supported.
Note there are still some code coverage assertions in the selection matching
algorithm - if you hit these try taking them out.
Note make check still fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-18 16:53:49 -05:00
Allen Byrne
83beaf7e76 [svn-r26475] packaging cleanup and defaults 2015-03-18 16:17:59 -05:00
Allen Byrne
5c32711280 [svn-r26472] Remove duplicate src dir 2015-03-18 10:31:23 -05:00
Neil Fortner
424826d0dd [svn-r26469] INCOMPLETE, UNWORKING CODE
Commit progress through 3/17/15
2015-03-17 15:02:05 -05:00
Allen Byrne
e5d4692a97 [svn-r26465] Merge back from DB branch; cmake defaults and compressed examples 2015-03-17 13:59:19 -05:00
Allen Byrne
17f78f8469 [svn-r26463] static builds do not have dlls needed for the path 2015-03-17 09:11:50 -05:00
Binh-Minh Ribler
96c424d8bc [svn-r26462] Description:
Fixed typo that caused failure on Windows.
Platforms tested:
    Linux/32 2.6 (jam)
2015-03-16 18:23:16 -05:00
HDF Tester
ead7273c2c [svn-r26459] Snapshot version 1.9 release 215 2015-03-15 06:08:23 -05:00
Binh-Minh Ribler
3b90bca561 [svn-r26458] Purpose: Fix warnings HDFFV-8658
Description:
    Fixed many type conversion warnings and unused variables.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:49:20 -05:00
Binh-Minh Ribler
a382658282 [svn-r26457] Purpose: Fix warnings HDFFV-8658
Description:
    The following two constructors of classes: AbstractDs, IdComponent,
    H5Location, and H5Object are no longer appropriate after the data member
    "id" had been moved from IdComponent to the sub-classes.

    The copy constructors are noop and will be generated by the compilers if
    needed so they can be removed in 1.8.15 without effecting applications. The
    other constructors will be removed from 1.10 release, and then from 1.8 if
    their removal does not raise any problems in at least two 1.10 releases.

    <Classname>(const hid_t h5_id);
    <Classname>(const <Classname>& original);

    Deprecation warnings are added to each of these classes.

    The other classes are changed to call the default constructor instead of
    one of the constructors above.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:47:56 -05:00
Binh-Minh Ribler
66a7cc1289 [svn-r26456] Purpose: Fix warnings HDFFV-8658
Description:
    Fixed base classes that were in wrong order on the prototype lines and
    some misc. warnings.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:45:24 -05:00
Binh-Minh Ribler
f9fe5b4c32 [svn-r26455] Purpose: Fix warnings HDFFV-8658
Description:
    Parameter had the same name as the class' member's.  Replaced parameter
    with a different name.
Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:43:56 -05:00
Binh-Minh Ribler
447d7ebae9 [svn-r26454] Purpose: Fix warnings HDFFV-8658
Description:
    Missing initializing one of the base classes in multiple inheritance.
    Added CommonFG() to constructors' prototype.

Platforms tested:
    Linux/64 (platypus)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2015-03-15 01:42:32 -05:00
Scot Breitenfeld
2d6a979b25 [svn-r26452] Fixed formatting of copyright. 2015-03-13 13:48:10 -05:00
Allen Byrne
66a9948e65 [svn-r26442] Removed blank line and fixed ALL output 2015-03-12 17:29:59 -05:00
Allen Byrne
4edde43ae5 [svn-r26440] Added new structure, removed ";", used static hyperslab arrays. 2015-03-12 16:22:48 -05:00
Larry Knox
ae9069e469 [svn-r26439] Remove configure checks for redundant -I/usr/include and -L/usr/lib additions.
Tested jam, emu, ostrich, koala, platypus, quail.
2015-03-12 09:38:41 -05:00
Dana Robinson
7659506fa8 [svn-r26438] Fixed some double promotion warnings from gcc 4.9.2. Most were in
format strings.

Tested on: h5committest
2015-03-11 17:51:14 -05:00
Jerome Soumagne
5fcf92e006 [svn-r26437] Remove DYNAMIC_DIRS variable from configure.ac.
Does not seem to be used anymore.
2015-03-11 17:47:09 -05:00
Jerome Soumagne
a7dcecd46c [svn-r26436] Remove GNU make check from configure.ac 2015-03-11 16:09:11 -05:00
Jerome Soumagne
9379314551 [svn-r26435] Remove DEFAULT_LIBS from configure.ac and irix6.x config file which
was using it.

Remove references to IRIX/irix* platform.
2015-03-11 15:15:25 -05:00
Jerome Soumagne
9eeb037725 [svn-r26434] Fix heading info 2015-03-11 11:43:00 -05:00
Allen Byrne
e1fed18477 [svn-r26431] Add new example (reorder to match closer to makefile) 2015-03-11 09:25:20 -05:00
Dana Robinson
77f1054b3d [svn-r26429] Merge of r26393-26428 from the trunk.
Tested w/ h5committest
2015-03-11 04:59:37 -05:00
Dana Robinson
88ac8e8929 [svn-r26428] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly.

Tested: Manually on jam by modifying svn-controlled files
2015-03-11 01:40:54 -05:00
Dana Robinson
52607ae900 [svn-r26427] Revert of r26426
The repository wasn't clean when I made some changes so untested
code was committed.
2015-03-11 01:39:48 -05:00
Dana Robinson
3ed20376e0 [svn-r26426] Merge of r26424 from the autotools_rework branch.
Made the chkmanifest script a little more sh-friendly.

Tested: Manually on jam by modifying svn-controlled files
2015-03-11 01:35:51 -05:00
Dana Robinson
52896a9f01 [svn-r26424] Made the chkmanifest script a little more sh-friendly.
Tested on: Manually on local Linux by modifying svn-controlled
           files.
2015-03-11 01:30:41 -05:00
Dana Robinson
9afdf275f8 [svn-r26423] Made the thread-safe + high-level library combination "unsupported".
A detailed error message is emitted if this combination is attempted.
Builders can use --enable-unsupported to build the combo.

Note that default builds will now need to use --disable-hl with
--enable-threadsafe since the high-level library is built by default. 

Part of: HDFFV-8719

Tested on: Local Linux w/ various combinations of configure options.
2015-03-10 23:59:20 -05:00
Dana Robinson
bdb7ec3497 [svn-r26422] Fixes autogen.sh errors caused by r26410 that produced:
CXX_SHARED_CONDITIONAL does not appear in AM_CONDITIONAL

This was due to a removed AM_CONDITIONAL macro in configure.ac.

The CXX_SHARED_CONDITIONAL code was removed from the Makefile.am
files. Additionally, the C++ shared library build settings field in 
libhdf5.settings file was updated.

Tested on: local linux VM w/ C++
           --enable-shared      --enable-static
           --enable-shared      --disable-static
           --disable-shared     --enable-static
2015-03-10 22:49:12 -05:00
Elena Pourmal
2c365915e1 [svn-r26421] This is Neils' change exposed when I ran bin/reconfigure for examples. 2015-03-10 17:16:48 -05:00
Elena Pourmal
ca2a0b80c5 [svn-r26420] Added new example for simple I/O. Modified other examples according to the suggestion in H5VDS-7 (see VDS-178) 2015-03-10 17:15:20 -05:00
Allen Byrne
92d7b82d61 [svn-r26418] Fix initial indent for selection_all 2015-03-10 15:53:57 -05:00
Scot Breitenfeld
04a3b2a458 [svn-r26417] Removed compiler warnings from HL. HDF5-237
Tested: h5committest
2015-03-10 14:02:41 -05:00
Allen Byrne
89da5458b6 [svn-r26415] Fix script mode 2015-03-10 11:43:37 -05:00
Dana Robinson
47bb12bc82 [svn-r26412] Merge of r26081-2, 26226, and 26399 from the autotools rework branch.
Various tweaks for autotools thread-safety and Pthreads support.

- Moved the check for pthread_attr_setscope() into the thread-safe
  checks section. Documented its necessity and added a cross-compiling
  option and helpful comment.

- Moved the high-level library checks up to the same place where
  Fortran and C++ are checked. This will make it easier to handle
  threadsafe/high-level combinations later.

- Also changed the default of --enable-pthread to 'check', which is
  the same as the old 'yes' behavior where we just check the standard
  locations. 'yes' and 'no' are still accepted, though 'no' will
  currently produce an error since the autotools only support Pthreads.

Fixes: HDFFV-9087

Tested on: h5committest
           jam (w/ threadsafe)
2015-03-09 22:35:13 -05:00
Neil Fortner
bfc69905ac [svn-r26411] Add support for I/O in very simple cases (virtual mapping and file space are
both H5S_ALL).
Note make check  fails in h5dump test (unrelated to this checkin).

Tested: ummon
2015-03-09 16:59:50 -05:00
Allen Byrne
50f6da2062 [svn-r26410] HDFFV-9131: remove obsolete functions and other small changes 2015-03-09 16:55:43 -05:00
Dana Robinson
5aa5ed84da [svn-r26408] Missed an H5_HAVE_FILTER_SHUFFLE line.
Part of: HDFFV-9086

Tested on: jam (minor change)
2015-03-09 15:12:18 -05:00
Scot Breitenfeld
31ffa03914 [svn-r26405] Removed compiler warnings, hl/examples:
HDF5-237

tested: h5committest
2015-03-09 13:45:44 -05:00
Allen Byrne
64f65d96d9 [svn-r26403] changes to comments and test should use unsigned var. 2015-03-09 11:21:56 -05:00
Elena Pourmal
1f4f709e8c [svn-r26401] Fixed warnings in the C stubs for Fortran wrappers. See Crucible review HDF5-238.
Tested on platypus with gcc/gfortran 4.9.2, jam and emu with the default compilers.
2015-03-09 10:51:09 -05:00
Dana Robinson
2f77d8c5ea [svn-r26399] Converted an AC_TRY_RUN macro to an AC_RUN_IFELSE macro.
Used with checking Pthread scope.

Part of: HDFFV-9087

Tested on: Local Linux w/ thread-safety enabled
2015-03-09 07:50:27 -05:00
Dana Robinson
42eee37a26 [svn-r26397] Manually added flex/bison warning disable pragmas from r26351
from the trunk.

Fixes: HDFFV-9149

Tested on: jam
    - examined gcc 4.9.2 output for warnings
    - ran 'make check' in hl directory
2015-03-09 04:19:48 -05:00
Dana Robinson
ce19753d87 [svn-r26396] Merge of r26349-26392 from the trunk.
Tested on: h5committest
2015-03-09 03:47:16 -05:00
Dana Robinson
2a4ea9b24e [svn-r26392] Reinstates r26327-8, which had been reverted due to failures on
Solaris and OS X.

Added public API functions that expose the C library's memory allocator
for use in filter functions that need to allocate or resize buffers.

Intended for use with filter plugins, particularly on Windows, where C
runtime (CRT) issues can cause problems.

Fixes: HDFFV-9100

Tested on: h5committest + OS X (quail) + Solaris (emu)
2015-03-08 19:41:54 -05:00
Larry Knox
63bd09ec8b [svn-r26389] Revision 26387 failed with configure option --with-default-api-version=v16.
Changed H5Dcreate() to H5Dcreate2 in test/trefer.c line 633.

Tested with h5committest and with --with-default-api-version=v16 on platypus.
2015-03-08 12:06:02 -05:00
Mohamad Chaarawi
89ffc9f2d7 [svn-r26387] warning fixes from Feb27. 2015-03-06 14:53:23 -05:00
Allen Byrne
9cdf806eec [svn-r26383] Add MAPPING to VDS output 2015-03-06 12:53:56 -05:00
Mike McGreevy
84f0d4735a [svn-r26382] Merge r26289 from autotools_rework branch to trunk:
Purpose:

    Fix HDFFV-9124 - Remove old libtool post-processing
    
Description:
 
    This revision removes some post-processing of the generated libtool
    script, which was added back in 2003 (see svn revisions 6285 and 6293)
    to address a deficiency in which the script failed to set the '$wl'
    variable for icc and pgcc compilers. Libtool has since fixed the issue,
    and the post-processing we've been running has essentially been a no-op
    for years, so it's safe for us to remove the post-processing snippet.
    
Tested:

    Jam using pgcc and icc compilers.
2015-03-06 11:16:04 -05:00
Allen Byrne
ec2e071c00 [svn-r26380] Recapture updated error files for h5dump tests 2015-03-06 08:53:42 -05:00
Elena Pourmal
802fac804d [svn-r26376] Added new examples for fixed-size Excalibur and for Eiger use cases. Fixed several typos.
Tested on jam.
2015-03-05 18:04:57 -05:00
Jerome Soumagne
19fa03d5a8 [svn-r26375] Print number of times sigill_handler is called in H5detect.
Part of: HDFFV-8857
2015-03-05 17:46:07 -05:00
Jerome Soumagne
967c265541 [svn-r26374] Add CMake conversion test for H5_LONG_TO_LDOUBLE_SPECIAL and
H5_LDOUBLE_TO_LONG_SPECIAL (imported from configure.ac).

Fixes: HDFFV-8936

Tested on: ostrich
2015-03-05 17:26:08 -05:00
Scot Breitenfeld
ca0a4d24b6 [svn-r26373] Fix for HDFFV-7959:
H5Rdereference should check for default (HADDR_UNDEF) value and not continue processing and return so that ret value can be checked and handled properly 

Tested: jam (gnu)
2015-03-05 16:42:42 -05:00
Allen Byrne
61dcc807af [svn-r26367] HDFFV-8520: Add plugin control APIs. 2015-03-05 11:38:14 -05:00
Allen Byrne
63e3db6497 [svn-r26366] Update windows wix cpack process. 2015-03-05 11:36:39 -05:00
Allen Byrne
5be5a4d832 [svn-r26365] HDFFV-8520: Add plugin control APIs.
Update windows WiX packaging.

h5committested
2015-03-05 11:09:22 -05:00
Dana Robinson
da1bfda645 [svn-r26363] Partial revert of r26347.
Since off_t is exposed by the C API, the large file definitions MUST
be exposed so that client code matches the library.

These definitions have been switched back to AM_CPPFLAGS, which is
exported to h5cc, etc. The POSIX and GNU definitions changes from
r26347 have been left as using H5_CPPFLAGS, which is not sent to
h5cc as we don't want to inflict our needs on external users.

Fixes: HDFFV-9152

Tested on: h5committest
2015-03-04 17:01:37 -05:00
Allen Byrne
b3c3c8ea72 [svn-r26361] Added check for unlimited to count/block print selection 2015-03-04 14:14:50 -05:00
Elena Pourmal
e2175fd0ca [svn-r26360] Modified CMake files to accomodate new h5_vds-exc.c example. 2015-03-04 12:29:29 -05:00
Elena Pourmal
3c9c263e5a [svn-r26359] Added h5_vds-exc.c to misc. files and ran bin/reconfigure.
Tested on jam.
2015-03-04 12:26:33 -05:00
Elena Pourmal
026cf21de8 [svn-r26357] Added mapping example for the Excalibur detector use case. 2015-03-04 12:03:32 -05:00
Allen Byrne
1aa5cd4fa5 [svn-r26353] Add VDS selection defines for ALL and NONE 2015-03-04 09:08:58 -05:00
Allen Byrne
f1c4d0ff3f [svn-r26352] Update h5dump to latest BNF - reg vs irreg hyperslabs. 2015-03-04 08:34:24 -05:00
Dana Robinson
86d1ef2096 [svn-r26351] Adds warning prevention pragmas, etc. to flex- and bison-generated code.
Fixes: HDFFV-9149

Tested on: jam w/ gcc 4.1 and koala w/ gcc 4.9
2015-03-03 22:23:04 -05:00
Dana Robinson
5b294640c0 [svn-r26350] Merge of r26273-26348 from the trunk.
Tested on: h5committest
2015-03-03 19:27:40 -05:00
Dana Robinson
6ee9ea656f [svn-r26348] Updates bin/chkmanifest to correctly handle the seven Subversion status
columns that are output by svn stat.

Previously, the script assumed that they would all be blank for newly-
added files. This is not always true when merging.

Part of: HDFFV-8895

Tested on: jam (bin/chkmanifest only)
2015-03-03 18:31:31 -05:00
Dana Robinson
f56cb6a8f0 [svn-r26347] Moves large file and POSIX/GNU defines from AM_CPPFLAGS to H5_CPPFLAGS,
which is where the rest of the #defines reside.

The key difference is that AM_CPPFLAGS is exported to h5cc. These #defines
are not necessary to consume the HDF5 API and it's bad form to inflict
our build configuration on users. In particular, the GNU/POSIX defines
could easily conflict with a user's.

Fixes: HDFFV-9152

Tested on: h5committest
2015-03-03 17:27:21 -05:00
Neil Fortner
79771d3fac [svn-r26346] Add more test cases, refactor test code to reduce code duplication. Minor
fixes in src.
Note make check still fails in h5ls test.

Tested: ummon
2015-03-03 12:32:22 -05:00
Elena Pourmal
56f7406671 [svn-r26343] Improved output. 2015-03-02 16:34:39 -05:00
Elena Pourmal
a726992cd8 [svn-r26342] Added usage of the new H5S*_regular_hyperslab functions.
Tested on jam.
2015-03-02 16:32:27 -05:00
Larry Knox
6c7aa17753 [svn-r26338] Remove references to vms and vms files to be updated by this script. VMS has been removed from HDF5 code.
Tested on jam.
2015-03-02 12:11:59 -05:00
Dana Robinson
d8e3d8e908 [svn-r26333] Eliminates gcc warnings due to -Wunsuffixed-float-constants.
- Adds 'F' suffixes for most float constants.

- A few constants MUST be of type double. These now receive the long
  double L suffix and are then cast to double. I do this via a new
  H5_DOUBLE() macro which was added to H5private.h.

Fixes: HDFFV-9148

Tested on: h5committest
2015-03-01 13:48:54 -05:00
Larry Knox
dc059968de [svn-r26332] Removed duplicate linew from MANIFEST
tested with chkmanifest on platypus.
2015-02-28 21:05:19 -05:00
Larry Knox
ac290b5e45 [svn-r26331] Revert checking r 26327&8, which added new code and test that fails on solaris and macs.
Tested h5committest + emu and quail.
2015-02-28 12:00:03 -05:00
Dana Robinson
7462a7ef1c [svn-r26329] Merge of r26069, r26070, and r26072 from the features/autotools_rework
branch.

Removed the configure option that allows selective disabling of individual
internal filters (fletcher32, shuffle, etc.).

This feature mucked up the code with a lot of #ifdefs, saved very little space,
and was not scalable to a general scheme for library size reduction. We've
decided to remove the feature while we investigate a more general scheme for
decreasing the library size.

Part of: HDFFV-9086

Tested on: h5committest
2015-02-27 07:50:38 -05:00
Dana Robinson
7b7f0eafc5 [svn-r26328] Fixed a typo in tmisc.c. 2015-02-27 06:05:02 -05:00
Dana Robinson
c16d230101 [svn-r26327] Added public API functions that expose the C library's memory allocator
for use in filter functions that need to allocate or resize buffers.
Intended for use with filter plugins, particularly on Windows, where
C runtime (CRT) issues can cause problems.

Fixes: HDFFV-9100

tested on: jam (minor, localized change)
2015-02-26 22:33:25 -05:00
Dana Robinson
4c2749fb1d [svn-r26324] Fixes another bug in bin/trace that prevents adding TRACE macros to API
calls that use a FUNC_ENTER macro that does not include parentheses.

This does not affect any source code at this time.

Part of: HDFFV-9141

Tested on: jam (bin/trace behavior only)
2015-02-26 19:49:32 -05:00
Scot Breitenfeld
2048e0bff9 [svn-r26321] Fix for HDFFV-9042.
tested: h5commit
2015-02-26 15:39:51 -05:00
Allen Byrne
61f0497572 [svn-r26320] Trigger component install options 2015-02-26 13:19:41 -05:00
Allen Byrne
45df14138d [svn-r26318] Update virtual layout to latest changes 2015-02-26 10:59:15 -05:00
Dana Robinson
a83b6d6651 [svn-r26311] Merged r26266-7 from features/autotools_rework
Updates the bin/chkmanifest script so that it parses the output
of svn commands instead of hacking at the .svn/entries file. This
will make the script more future-proof and allows it to work with
current Subversion repositories.

Tested on: jam (bin/chkmanifest only)
2015-02-26 09:02:48 -05:00
Neil Fortner
952d00e7f0 [svn-r26306] Merge r26296 through 26304 from trunk to vds branch.
It should no longer be necessary to use --enable-using-memchecker
make check fails due to an issue with h5ls apparently unrelated to the merge

Tested: ummon
2015-02-25 17:06:18 -05:00
Allen Byrne
aad4250bd6 [svn-r26305] convert dump_dcpl to use switch statement
Add default case
refactor out start ctx and end ctx
Tested: local linux
2015-02-25 15:20:31 -05:00
Mohamad Chaarawi
c4044e0c85 [svn-r26303] remove files with .clog2 extension generated by MPE when doing make clean. 2015-02-25 13:48:31 -05:00
Quincey Koziol
3550004b20 [svn-r26302] Description:
Revise dataspace encode/decode routines to make them work better with
future virtual dataset feature.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 13:03:52 -05:00
Quincey Koziol
0ce8fddc73 [svn-r26301] Description:
Bring Neil's fix for error in H5S_extent_copy() back to the trunk.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 12:29:30 -05:00
Quincey Koziol
2dae075569 [svn-r26300] Description:
Add H5Sis_regular_hyperslab() and H5Sget_regular_hyperslab() API routines,
along with tests.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest forthcoming)
2015-02-25 12:05:16 -05:00
Elena Pourmal
99a3f4d8d4 [svn-r26297] Changed example and h5dump according to suggestions at today's code review VDS-176.
BNF has been updated too. Now h5dump displays VDS like this:

HDF5 "vds.h5" {
GROUP "/" {
   DATASET "VDS" {
      DATATYPE  H5T_STD_I32LE
      DATASPACE  SIMPLE { ( 4, 6 ) / ( 4, 6 ) }
      STORAGE_LAYOUT {
         VIRTUAL {
             HYPERSLAB { (0,0)-(0,5) };
             a.h5;
             A;
             ALL;
             HYPERSLAB { (1,0)-(1,5) };
             b.h5;
             B;
             ALL;
             HYPERSLAB { (2,0)-(2,5) };
             c.h5;
             C;
             ALL;
            }
         }
      }
      FILTERS {
.......
I just commented the code with "EIP" and didn't delete to simplify the review with Allen tomorrow.

Tested on jam
2015-02-24 23:19:41 -05:00
Neil Fortner
2ca5b16a9f [svn-r26296] Merge r26050 through 26295 from trunk to vds branch.
Tested: ummon
2015-02-24 16:53:56 -05:00
Allen Byrne
3f72ec11cd [svn-r26295] add space before end bracket of selection 2015-02-24 15:39:08 -05:00
Scot Breitenfeld
48d9c30923 [svn-r26294] Fix for HDFFV-9132.
tested: h5committest
2015-02-24 15:30:07 -05:00
Neil Fortner
2811133914 [svn-r26293] Implement patching of virtual dataspace extent in mapping dataspaces when
opening virtual dataset.  Add tests for this.

Tested: ummon
2015-02-24 14:54:48 -05:00
Allen Byrne
80e77e7d77 [svn-r26290] Add H5S prefix to selection name 2015-02-23 16:52:03 -05:00
Mike McGreevy
d3728f8d64 [svn-r26289] Purpose:
Fix HDFFV-9124 - Remove old libtool post-processing
    
Description:

    This revision removes some post-processing of the generated libtool
    script, which was added back in 2003 (see svn revisions 6285 and 6293)
    to address a deficiency in which the script failed to set the '$wl'
    variable for icc and pgcc compilers. Libtool has since fixed the issue,
    and the post-processing we've been running has essentially been a no-op
    for years, so it's safe for us to remove the post-processing snippet.
    
Tested:

    Jam using pgcc and icc compilers.
2015-02-23 15:40:40 -05:00
Allen Byrne
bc888966a9 [svn-r26288] remove extra set of brackets 2015-02-23 15:30:53 -05:00
Allen Byrne
b1251c915e [svn-r26287] Rename point and block str functions generically.
Add info arg to print virtual selection function.
2015-02-23 15:23:56 -05:00
Allen Byrne
a0ead57cad [svn-r26286] Print selection types - no values 2015-02-23 14:19:19 -05:00
Allen Byrne
cd9b96a887 [svn-r26285] add virtual mapping output blank selections but actual file and dataset names. 2015-02-23 13:41:02 -05:00
Allen Byrne
46074defaa [svn-r26284] Add VIRTUAL layout to h5dump - still need a tools testfile created 2015-02-23 12:07:40 -05:00
Allen Byrne
8e48921d90 [svn-r26283] Correct test folder handling (merge from trunk) 2015-02-23 11:54:39 -05:00
Allen Byrne
c5da9e3270 [svn-r26282] Update source file list and test list 2015-02-23 11:20:53 -05:00
Scot Breitenfeld
e171ee01f1 [svn-r26280] Removed tab indenting for Fortran source, tab indenting is not F2003 standard compliant. 2015-02-23 10:58:12 -05:00
Mohamad Chaarawi
0c29ac42cd [svn-r26279] re-commit 26260 that Dana moved out fixing the versioning of functions to work with v16 default API. 2015-02-23 10:14:43 -05:00
Allen Byrne
f175fd25c8 [svn-r26277] remove filename extension 2015-02-23 08:54:40 -05:00
Dana Robinson
7e220930da [svn-r26276] Merged r26075-80, 86 from features/autotools_rework branch.
Cleans up time functions in the autotools input files. Removed deprecated
gettimeofday() time zone code and configure processing. Also removed
some unused time function configure checks and defines.

Fixes: HDFFV-9083 and HDFFV-9085

Tested on: 32-bit linux, serial and parallel (jam)
           OS X (kite)
           Solaris (emu)
2015-02-23 01:56:16 -05:00
Dana Robinson
7c13406814 [svn-r26275] Merge of r26042, 26083, 26084, 26085 from features/autotools_rework
- Updated configure.ac so that the direct VFD can now be built
  without specifying _GNU_SOURCE, etc. on the command line.

- The direct VFD is now disabled by default. It was previously
  enabled, but the configuration script couldn't configure it
  properly, making it a moot point.

Fixes: HDFFV-9057, HDFFV-7567, HDFFV-9088, HDFFV-7566

Tested on: h5committest
           jam w/ direct VFD (*very* slow!)

NOTE: platypus cmake fails, but this is not a new error.
2015-02-22 10:09:26 -05:00
Dana Robinson
c07d803659 [svn-r26274] Merge of r26096 to r26271 from trunk.
Tested on: jam - serial: C++/Fortran
                 parallel: Fortran
2015-02-22 07:16:30 -05:00
Dana Robinson
bfc0395507 [svn-r26272] Merge of r26071 from features/autotools_rework
Removes the --with-default-vfd option from configure. This was basically
useless and only allowed selecting the stdio VFD. Since this is a demo
VFD and not really a production VFD, we decided to retire this option.

Fixes: HDFFV-9081

Tested on: h5committest

NOTE: platypus cmake fails, but this is not a new error.
2015-02-22 05:44:41 -05:00
Dana Robinson
f634105bdb [svn-r26271] Reverse merge of r26260 which was causing daily test failures.
Tested on: jam w/ parallel and fortran
2015-02-22 03:38:18 -05:00
Dana Robinson
179f3b7879 [svn-r26270] On OS X, the autogen.sh script will first try to use glibtoolize
and then fall back to libtoolize if not found.

Tested on OS X 10.10.2 (Yosemite) with Xcode 6.1.1 and autotools 
installed via Brew
2015-02-22 03:07:00 -05:00
Elena Pourmal
7556f179c3 [svn-r26269] Minor cleanup in the comments. 2015-02-21 22:38:00 -05:00
Elena Pourmal
7881deb15e [svn-r26268] Added VDS example.
I ran bin/reconfigure on jam and it modified test/Makefile.in. May be Neil fixed Makefile.am,
but didn't run reconfigure?

Tested on jam.
2015-02-21 22:26:08 -05:00
Dana Robinson
2d760d9de6 [svn-r26267] Added comments to the bin/chkmanifest script.
Fixed an issue with missing 'svn ls' code.
2015-02-21 17:05:09 -05:00
Dana Robinson
cec02b0b3e [svn-r26266] Updated bin/chkmanifest to use 'svn stat' and 'svn ls' instead
of hacking at the .svn/entries file that changes format all the
time.
2015-02-21 14:26:03 -05:00
Dana Robinson
a93751a342 [svn-r26265] Updated MANIFEST file. Deleted VMS and autotools files were removed from
the list.
2015-02-21 12:35:34 -05:00
Dana Robinson
a5e2167b3e [svn-r26262] Restores maintainer mode to the configure.ac file but leaves it on
by default (unlike the trunk and 1.8 branches, where it's disabled
by default).

Users can build with --disable-maintainer-mode to remove autotools
build dependencies.

Part of: HDFFV-9122

Tested on: 64-bit linux VM (configure and autogen only)
2015-02-21 04:41:03 -05:00
Neil Fortner
88b7d8d34c [svn-r26261] Commit working but incomplete prototype. Does not perform I/O.
Tested: ummon
2015-02-20 16:53:35 -05:00
Mohamad Chaarawi
fcd77ffe7e [svn-r26260] - add an attribute callback to call H5_term_library when MPI_COMM_SELF is destroyed.
- add tests for above.
- this is a fix for HDFFV-883.

tested h5committest
2015-02-20 16:33:48 -05:00
Allen Byrne
734f168225 [svn-r26259] Remove file 2015-02-20 15:52:56 -05:00
Quincey Koziol
c52835f4c1 [svn-r26258] Description:
Remove LDOUBLE_TO_INTEGER_WORKS macro/define from configure/library/tests,
since it was added to support non-standard behavior on SGI IRIX & HP-UX, which
we don't support any longer.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    (h5committest not required on this branch)
2015-02-20 15:52:39 -05:00
Quincey Koziol
707965be8a [svn-r26257] Description:
Remove the LDOUBLE_TO_INTEGER_ACCURATE macro, since it was added to work
around non-standard behavior on SGI IRIX, which we are no longer supporting.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial
    (h5committest not required on this branch)
2015-02-20 14:19:15 -05:00
Allen Byrne
fef1ffe690 [svn-r26256] Remove file - obsoleted by cmake 3.1 minimum 2015-02-20 14:01:32 -05:00
Allen Byrne
42a97ddeff [svn-r26255] Remove file - obsoleted by cmake 3.1 minimum 2015-02-20 14:01:19 -05:00
Scot Breitenfeld
57a1c0b93b [svn-r26254] Changed mpi test to use include 'mpif.h' 2015-02-20 13:30:47 -05:00
Allen Byrne
f679b9006d [svn-r26253] Update CMake with fortran source properties and defines, correct name of hl fortran examples option check 2015-02-20 12:25:56 -05:00
Dana Robinson
54a36600c0 [svn-r26249] Removed warnings about NO TRACE from bin/trace script.
Fixes: HDFFV-9098

Tested on: jam (bin/trace only - causes no source changes)
2015-02-20 09:48:18 -05:00
Scot Breitenfeld
6ce3158da7 [svn-r26247] Reverted back from using 'USE MPI' to include 'mpif.h' since windows does not seem to support 'USE MPI'. 2015-02-20 08:59:18 -05:00
Dana Robinson
5867b6db9e [svn-r26246] Corrects a regular expression in the bin/trace Perl script that did not
match API calls which return a pointer.

Fixes: HDFFV-9141

Tested on: h5committest
2015-02-20 08:04:19 -05:00
Dana Robinson
9d993c5b76 [svn-r26245] Fixed some mixed tabs/spaces.
No code changes.
2015-02-20 01:50:31 -05:00
Scot Breitenfeld
3eeed2f1d5 [svn-r26241] Fixed issue with default 8 byte integers using xlf compilers. 2015-02-19 11:17:16 -05:00
Dana Robinson
fc082e60f3 [svn-r26236] Updated the MANIFEST file after deleting VMS support files.
Tested on: bin/chkmanifest
2015-02-19 09:39:33 -05:00
Dana Robinson
9ecbdc858c [svn-r26234] Removed VMS support from the library. A tag (vms_last_support_trunk) was created just before the VMS files were deleted. 2015-02-19 09:03:23 -05:00
Scot Breitenfeld
3a03c275e9 [svn-r26233] Disable h5tenum_insert_f if F2003 is enabled. 2015-02-19 09:02:36 -05:00
Allen Byrne
a3f987daa9 [svn-r26230] Add def file comment when it is F2003 2015-02-19 08:57:48 -05:00
Dana Robinson
a8a9b47170 [svn-r26229] Removed NO TRACE notifications from bin/trace script.
Fixes: HDFFV-9098

Tested on: 64-bit linux VM (autogen only)
2015-02-19 03:07:07 -05:00
Dana Robinson
ec90898719 [svn-r26228] Added a helpful note to autogen.sh about the Xcode/OS X bison bug
that causes a circular dependency issue.

Tested on: 64-bit linux VM (autogen only - just a comment change)
2015-02-19 02:57:53 -05:00
Dana Robinson
14664baf4f [svn-r26227] Removed bin/compile, which is a generated file.
Removed bin/mkinstalldirs which is both generated and obsolete.

Part of: HDFFV-9067

Tested on: 64-bit linux VM
2015-02-19 02:49:32 -05:00
Dana Robinson
265782d3eb [svn-r26226] Fixed the --with-pthread option so that it correctly handles 'yes' and
'no', which was broken after other work in this area.

Part of: HDFFV-9087

Tested on: 64-bit linux VM
2015-02-19 02:44:55 -05:00
Dana Robinson
a7f70203b4 [svn-r26225] Removes broken open() call work-around that was specific to the now
unsupported Code Warrior compiler. Also removes the H5_NO_SHARED_WRITING
symbol from the pubconf file.

Fixes: HDFFV-9080

Tested on: jam only, after bin/reconfigure
           (all platforms should see no source changes)
2015-02-19 00:24:09 -05:00
Mohamad Chaarawi
32c030ad2b [svn-r26223] add another H5close before finalize so with-mpe does not fail. 2015-02-18 16:37:25 -05:00
Mohamad Chaarawi
79d94c7bb7 [svn-r26222] call H5close before MPI_Finalize() and close some objects that could be potentially left open. 2015-02-18 16:17:15 -05:00
Dana Robinson
a2b08b6e27 [svn-r26221] Removed VMS files. VMS is no longer a supported platform. 2015-02-18 16:15:35 -05:00
Dana Robinson
63d38ca75a [svn-r26219] Merge r26029 from autotools_rework feature branch.
Adds a comment to configure.ac indicating that Cygwin still has
problems with srcdir and time.

Fixes: HDFFV-9082

Tested on: jam (comment only change) w/ bin/reconfigure
2015-02-18 16:06:47 -05:00
Scot Breitenfeld
93379cf58f [svn-r26217] Added H5T_PROVISIONAL_mp_H5TENUM_INSERT_F 2015-02-18 15:03:45 -05:00
Dana Robinson
c3385d9010 [svn-r26216] Removed inappropriate TEXT() macro from the plugin name and changed a few Win32 API calls to use the <function>A version, which forces char behavior (vs. wchar_t) when UNICODE is defined. This only affects Windows.
Fixes HDFFV-8927

Tested on 64-bit Windows 7 with Visual Studio 2012 and CMake 3.2 with UNICODE/_UNICODE both defined and undefined.
2015-02-18 14:41:43 -05:00
Scot Breitenfeld
27a385d557 [svn-r26214] Fix for HDFFV-8908:
h5tenum_insert_f does not work with default 8 byte integers (xlf compiler)
2015-02-18 13:51:13 -05:00
Quincey Koziol
41aeac4504 [svn-r26213] Description:
Minor code cleanups, to align with revise_chunks branch.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
2015-02-18 13:25:05 -05:00
Scot Breitenfeld
3a303d3dd3 [svn-r26211] revert ci 26204 2015-02-18 12:45:42 -05:00
Scot Breitenfeld
f1ffd2202b [svn-r26210] Removed debugging statement and typos. 2015-02-18 12:30:31 -05:00
Allen Byrne
73bb11dda3 [svn-r26208] Update cmake minimums 2015-02-18 11:56:22 -05:00
Scot Breitenfeld
69d4bda97c [svn-r26206] Reverting change r26204 2015-02-18 11:45:03 -05:00
Scot Breitenfeld
a75fd4c960 [svn-r26205] Fix for HDFFV-8908:
h5tenum_insert_f does not work with default 8 byte integers (xlf compiler)
2015-02-18 11:42:47 -05:00
Mohamad Chaarawi
546899dcd6 [svn-r26203] increase string size to 128 for MPE function event name. 2015-02-18 10:53:08 -05:00
Dana Robinson
3db1c5f635 [svn-r26200] Fixed mixed tabs and spaces before making changes.
No code changes.
2015-02-17 16:30:33 -05:00
Neil Fortner
a5460b731d [svn-r26199] INCOMPLETE, UNWORKING CODE
Fix doubled vds.c
2015-02-17 16:12:58 -05:00
Neil Fortner
1199ab1f48 [svn-r26198] INCOMPLETE, UNWORKING CODE
Commit progress through 1610 CST 2/17/15
2015-02-17 16:11:22 -05:00
Quincey Koziol
85504f5376 [svn-r26195] Description:
Switch from enum H5D_CHUNK_BTREE to H5D_CHUNK_IDX_BTREE, along with a couple
of minor whitespace touchups.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
2015-02-17 15:11:39 -05:00
Quincey Koziol
595b01658e [svn-r26193] Description:
Fix locking error when splitting root node of v1 B-tree, and simplify
the iteration over entries in a v1 B-tree (avoiding using the sibling pointer
also).

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/serial & parallel
    Linux/32 2.6.x (jam) w/serial
2015-02-17 14:30:27 -05:00
Quincey Koziol
fd79bc3c1a [svn-r26191] Description:
Track the min & max keys for a v2 B-tree, so it can more efficiently
determine if a key is present in the B-tree.

Tested on:
    Mac OSX/64 10.10.2 (amazon) w/parallel & serial
    Linux/32 2.6.x (jam) w/serial
2015-02-17 10:38:54 -05:00
Scot Breitenfeld
b28b5fade9 [svn-r26188] Merged autotools fixes into the trunk:
HDFFV-9089, HDFFV-9091, HDFFV-9092, HDFFV-9094, HDFFV-9095
2015-02-16 12:17:49 -05:00
Mohamad Chaarawi
74fbb9e327 [svn-r26180] merge configure fixes for HDFFV-9068,9069,9096,9097,9135 from autotools_rework branch:
- Remove Infering parallel compilers (C and Fortran) from configure.ac
- Remove restriction to build shared with parallel
- Cleanup parallel sections in configure.ac
- remove large file support checks
- MPE fixes.

tested with h5committest.
2015-02-16 11:17:03 -05:00
HDF Tester
9a376e4ee9 [svn-r26177] Snapshot version 1.9 release 214 2015-02-15 06:13:34 -05:00
Albert Cheng
d0c224ae18 [svn-r26173] HDF5-9117: if testing for proper working 'tr' command is needed.
Long time ago, the tr command in some platform does not work properly and this test was added
to detect broken tr and abort the configure process.
We are not aware of such broken tr command in current systems and decided to retire this test.

The setup of ${TR} is still needed as it is used to process DEBUG_PKG.

Tested: h5committested plus using "./configure --enable-debug=all" in jam.
2015-02-13 19:24:50 -05:00
Scot Breitenfeld
7fcba33763 [svn-r26172] Fix for: HDFFV-8685 -- Have one include file to use for HL libraries
added hdf5.h to hdf5_hl.h
2015-02-13 16:32:44 -05:00
Mohamad Chaarawi
d38f3d888d [svn-r26171] fix MPE setup. 2015-02-13 16:21:00 -05:00
Scot Breitenfeld
999440cbf8 [svn-r26170] Fix for HDFFV-8559
Correction of mistyped variable and removed implicit typing for interfaces.
2015-02-13 15:57:52 -05:00
Quincey Koziol
8b98b9ee92 [svn-r26169] Description:
Remove generated header file from repository, and add section to
autogen.sh that generates it.

Tested on:
    Mac OSX/64 10.10.2 (amazon)
2015-02-13 14:22:21 -05:00
Dana Robinson
e9144293c1 [svn-r26168] Added --force-missing to automake. It has to be used WITH --add-missing;
it's not a replacement.

Part of HDFFV-9114

Tested on jam with the -p option
2015-02-13 11:23:08 -05:00
Dana Robinson
df7c8f6bc9 [svn-r26166] Changed the automake --force-missing option back to --add-missing.
Part of HDFFV-9114

Tested on: Cygwin
2015-02-13 11:10:35 -05:00
Albert Cheng
6b01332709 [svn-r26165] HDF5-9117: if testing for proper working 'tr' command is needed.
Long time ago, the tr command in some platform does not work properly and this test was added
to detect broken tr and abort the configure process.
We are not aware of such broken tr command in current systems and decided to retire this test.

The setup of ${TR} is still needed as it is used to process DEBUG_PKG.

Tested: in jam using "./configure" and "./configure --enable-debug=all".
2015-02-13 10:15:49 -05:00
Dana Robinson
0829df23e5 [svn-r26164] Updated autogen.sh to use the --force option on all tools
when available. Also added the --copy option to to libtoolize
so files are copied and not symlinked.

Part of HDFFV-9114

Tested on jam.

- autogen.sh -p
- configure (out-of-source)
- Modified configure.ac
- Re-run autogen.sh -p
- Re-run configure
- make

Without the fix, make fails when it notes out-of-date autotools
files and re-runs the tools, picking up jam's elderly versions.
With the fix, make succeeds.
2015-02-13 04:22:31 -05:00
Allen Byrne
d1897cb038 [svn-r26162] Update versions 2015-02-12 16:56:21 -05:00
Allen Byrne
ab75986b8c [svn-r26161] Fix cmake case.
Turn on F2003 by default.
Set source properties in fortran cmake files.
2015-02-12 16:52:48 -05:00
Neil Fortner
d273b2a2f8 [svn-r26154] INCOMPLETE, UNWORKING CODE
Add H5Dvirtual.c mistakenly omitted from last checkin.
2015-02-10 15:14:00 -05:00
Neil Fortner
14200fef67 [svn-r26153] INCOMPLETE, UNWORKING CODE
Commit progress through 2/10/15 at 1500 CST
2015-02-10 14:58:09 -05:00
Neil Fortner
1b78408184 [svn-r26149] Fix potential memory error reported by valgrind in
H5D__link_chunk_collective_io.  This would occur when performing collective I/O
on a dataset with only 1 chunk, and a participating process had nothing to read
or write.

Tested: jam, koala, ostrich (h5committest)
2015-02-09 11:31:28 -05:00
HDF Tester
f4a60fc34c [svn-r26146] Snapshot version 1.9 release 213 2015-02-08 06:05:07 -05:00
Dana Robinson
99c4ec387c [svn-r26145] Removed bin/reconfigure.
The autogen.sh script seems to work in enough places
and for enough people to warrant removing bin/reconfigure.
2015-02-07 02:05:34 -05:00
Dana Robinson
dcd8c9f487 [svn-r26144] Removed bin/genltanalyze from the MANIFEST since that file has
been permanently deleted. I've not removed all the generated
files from the MANIFEST, though, since I'm waiting on a decision
as to whether we leave those in or not.

Tested on: bin/chkmanifest after running autogen.sh
2015-02-07 01:34:24 -05:00
Dana Robinson
7590687d4b [svn-r26143] Merged r26096-26142 from trunk.
Tested on: jam w/ Fortran and C++
2015-02-07 01:14:12 -05:00
Dana Robinson
a7def93aa3 [svn-r26142] Updated autogen.sh so it works on OS-X. Note that this does require
installing the autotools via a package manager like Homebrew since
they are not installed with XCode.

Part of: HDFFV-9114

Tested on: OS-X 10.10.2 (Yosemite) with XCode 6.1.1
2015-02-06 23:24:31 -05:00
Dana Robinson
d63cdb36cf [svn-r26136] Updated autogen.sh to run flex and bison, replacing the (incomplete)
bin/genltanalyze script, which has been deleted. Also removed the
generated hl/src/H5LTparse.c/h and H5LTanalyze.c files.

Part of: HDFFV-9120

Tested on: Local Ubuntu VM
2015-02-05 21:39:36 -05:00
Dana Robinson
eea4f45172 [svn-r26135] Updated autogen.sh to always run API-oriented scripts. Removed
the -s option from autogen.sh. Removed several generated H5E
files from version control as well as H5version.h since these
will always be regenerated.

Part of: HDFFV-9120

Tested on: Local Ubuntu VM
2015-02-05 20:02:30 -05:00
Scot Breitenfeld
167619a75d [svn-r26132] reverted change 26177
svn merge -c -26117 .

Shared Fortran libraries don't work on Mac, the check for building shared on Mac needs to stay in.
2015-02-05 14:36:51 -05:00
Dana Robinson
e8013712b2 [svn-r26130] Updated autogen.sh to try glibtoolize if libtoolize is
not found. Allows reconfiguration on OS-X.

Part of: HDFFV-9120

Untested since we have no suitable OS-X machines
2015-02-05 13:31:21 -05:00
Dana Robinson
ba739af91f [svn-r26129] Removed some additional generated files that were triggering autotools
re-builds, which would fail due to incorrect autotools versions.

Part of: HDFFV-9120

Tested on: jam
2015-02-05 11:54:52 -05:00
Dana Robinson
01c7b17dac [svn-r26128] - Removed libtool generated/copied files.
- Modified autogen.sh to run libtoolize.
  NOTE: OS-X often uses glibtoolize. This will be fixed soon.

- Addational helpful output added to autogen.sh.

Part of HDFFV-9120

Tested on: 64-bit Linux VM
2015-02-05 11:21:21 -05:00
Scot Breitenfeld
46d39603ad [svn-r26127] Fixed typo. 2015-02-05 09:59:15 -05:00
Scot Breitenfeld
06d1971f41 [svn-r26124] Fixed issue with deprecated symbols for H5G constants 2015-02-04 09:38:16 -05:00
Scot Breitenfeld
5060fb1050 [svn-r26122] Fix for HDFFV-9040 h5rget_object_type_f returns different types than indicated by API
Slight change of global variable definitions from C.

Tested: jam.
2015-02-03 13:52:27 -05:00
Scot Breitenfeld
8a528170ec [svn-r26117] Autotools work HDFFV-9067,
Removed restiction of disabling shared libraries on the MAC, H5_FORTRAN_SHARED was replaced with HAVE_SHARED_CONDITIONAL since H5_FORTRAN_SHARED was removed.

tested: jam
2015-02-03 10:42:15 -05:00
Mohamad Chaarawi
cbf280a22d [svn-r26115] explain why If RUNSERIAL or RUNPARALLEL is the word `none' then replace it with empty string. 2015-02-03 09:33:25 -05:00
Mohamad Chaarawi
473feff3c6 [svn-r26114] remove option to toggle large file support. 2015-02-02 15:54:59 -05:00
Scot Breitenfeld
68631b6e95 [svn-r26113] Updated configure and the parallel tests to 'USE mpi' instead of 'include 'mpih.f'
tested jam (mpich + gnu).
2015-02-02 13:52:35 -05:00
Allen Byrne
3946ec882b [svn-r26112] Add quotes around name 2015-02-02 13:02:57 -05:00
Allen Byrne
ba35eb0f05 [svn-r26109] Correct name of source file 2015-02-02 13:00:34 -05:00
Allen Byrne
fc93c6fe70 [svn-r26106] Disable flush1/flush2 test under debug VFD on Windows. 2015-02-02 12:01:15 -05:00
Dana Robinson
51de1ce902 [svn-r26100] Removed maintainer mode (AM_MAINTAINER_MODE) from configure.ac.
This is no longer needed since we don't check in generated files anymore.
Actually, it was not really recommended in the first place:

http://www.gnu.org/software/automake/manual/html_node/maintainer_002dmode.html

Part of: HDFFV-9122

Tested on: jam
2015-02-02 04:16:07 -05:00
Dana Robinson
a36942f59f [svn-r26099] Updated manifest
Part of: HDFFV-9120
2015-02-02 03:53:59 -05:00
Dana Robinson
010c3e7e39 [svn-r26098] Removed copied m4 files from version control.
Developers will now have to run bin/reconfigure (deprecated, will be removed
soon) or autogen.sh after checking out code.

Part of: HDFFV-9120

Tested on: jam with Fortran and C++
2015-02-02 03:05:02 -05:00
Dana Robinson
e2240d544e [svn-r26097] Removed configure and Makefile.in files from version control.
Developers will now have to run bin/reconfigure (deprecated, will be removed
soon) or autogen.sh after checking out code.

Part of: HDFFV-9120

Tested on: jam with Fortran and C++
2015-02-02 02:50:25 -05:00
Dana Robinson
cd1d1d41df [svn-r26096] Merged r26024-26095 from trunk.
Tested on: jam with Fortran and C++
2015-02-02 01:46:40 -05:00
Dana Robinson
45eefdbdea [svn-r26095] Added executable property to distdep. 2015-02-02 01:05:20 -05:00
Dana Robinson
0af31e6938 [svn-r26093] Updated manifest. 2015-02-01 14:25:19 -05:00
HDF Tester
67f41bf9f8 [svn-r26092] Snapshot version 1.9 release 212 2015-02-01 06:03:18 -05:00
Dana Robinson
8387b3fdfa [svn-r26091] Fixed some missing comment text in the autogen.sh script.
Part of HDFFV-9114

Tested on: jam
2015-01-31 08:54:31 -05:00
Dana Robinson
46ea85c6cb [svn-r26090] Added an autogen.sh script.
Note that bin/reconfigure still exists. It will be removed at a later
date.

Part of HDFFV-9114

Tested on: jam
2015-01-31 08:32:42 -05:00
Mohamad Chaarawi
a9cf3b658b [svn-r26087] update build procedure for Hopper (Cray).. only static now.
Will add shared when we introduce support later.
2015-01-30 15:49:39 -05:00
Dana Robinson
ba002bcc8f [svn-r26086] Solaris no longer has issues with requiring early checking for time
functions so the checks were merged with the other system call
checks.

Fixes HDFFV-9083

Tested on: Linux (jam) and Solaris (emu)
2015-01-30 06:57:10 -05:00
Dana Robinson
8cb70b47cb [svn-r26085] Improved the direct VFD configure checks.
- Results of O_DIRECT and posix_memalign() checks are now
  output so users can more easily diagnose problems.

- Configure now fails if --enable-direct-vfd was requested
  but either O_DIRECT or posix_memalign() are not
  present.

Part of HDFFV-7566

Tested on: jam (configure only)
2015-01-30 05:38:59 -05:00
Dana Robinson
21a38c4e67 [svn-r26084] Configure now just checks for O_DIRECT being defined instead of trying
to build and run a program using it, which is problematic (depends on
file system, issues with cross-compiling).

Part of HDFFV-9057

Tested on: jam (configure only)
2015-01-30 04:42:26 -05:00
Dana Robinson
ec45cabfc7 [svn-r26083] Changed the default for building the direct VFD to 'no'.
Updated the direct VFD help string to make it more clear where
it is suported.

Part of HDFFV-7566 and HDFFV-7567

Tested on: jam (configure only)
2015-01-30 03:08:57 -05:00
Dana Robinson
37d1800ec0 [svn-r26082] Moved the high-level library checks up to the same place where
Fortran and C++ are checked. This will make it easier to
handle threadsafe/high-level combinations later.

Also changed the default of --enable-pthread to 'check' and
removed yes/no behavior. If you ask for thread-safety, you
can't disable Pthreads...

Part of HDFFV-8719

Tested on: jam (configure only)
2015-01-30 02:38:40 -05:00
Dana Robinson
adc1845b48 [svn-r26081] Moved the check for pthread_attr_setscope() into the thread-safe checks
section. Documented its necessity and added a cross-compiling option
and helpful comment.

Also removed a check for BSDgettimeofday from configure.ac, which
was for Irix 5.3 support.

Part of HDFFV-9087

Tested on: jam with threadsafe
2015-01-29 18:48:20 -05:00
Dana Robinson
190ff778af [svn-r26080] Removed unused HAVE_TZNAME define from configuration files.
Also removed a missed HAVE___GMTOFF from CMake.

Part of HDFFV-9085

Tested on: jam
2015-01-29 17:37:37 -05:00
Dana Robinson
da2a2d9400 [svn-r26079] Removed obsolete HAVE___TM_GMTOFF defines. This is an artifact of the Linux
fork of glibc. It's been deprecated since at least 1997.

Part of HDFFV-9085

Tested on: jam
2015-01-29 17:33:01 -05:00
Dana Robinson
5bf140387f [svn-r26078] Changed a timezone struct to NULL in testpar/t_cache.c.
Part of HDFFV-9085

Tested on: jam w/ parallel
2015-01-29 17:06:28 -05:00
Dana Robinson
edc8d356f3 [svn-r26077] Removed unused HAVE_TM_ZONE and HAVE_STRUCT_TM_TM_ZONE defines from
VMS and CMake pubconfs.

Part of HDFFV-9085

Tested on: jam
2015-01-29 16:32:32 -05:00
Dana Robinson
f44d493a4b [svn-r26076] Removed gettimeofday() time zone struct functionality.
Part of HDFFV-9085

Tested on: jam
2015-01-29 16:02:19 -05:00
Dana Robinson
a3eb3ac333 [svn-r26075] Removed (HD)BSDtimeofday and H5_HAVE_BSDGETTIMEOFDAY. This is an obsolete
system call from Irix 5.3.

Part of HDFFV-9085

Tested on: jam
2015-01-29 15:28:13 -05:00
Allen Byrne
e05c75ea4e [svn-r26074] fix test destination 2015-01-29 12:58:27 -05:00
Dana Robinson
682dcf403a [svn-r26072] Updated libhdf5.settings.in so that it no longer lists internal filters.
Part of HDFFV-9086

Tested on: jam (configure only)
2015-01-29 09:26:46 -05:00
Dana Robinson
aea0b5b46e [svn-r26071] Moved setting H5_DEFAULT_VFD from configure to src/H5private.h.
Fixes HDFFV-9081

Tested on: jam
2015-01-29 09:15:48 -05:00
Dana Robinson
fec3d82085 [svn-r26070] Removed internal filter configuration from CMake
Part of HDFFV-9086
2015-01-29 08:22:11 -05:00
Dana Robinson
45aece2434 [svn-r26069] Removed the option to selectively disable internal filters like n-bit
at compile time.

Fixes HDFFV-9086

Tested on: jam, both serial and parallel w/ fortran & C++
2015-01-29 08:19:22 -05:00
Scot Breitenfeld
cc7cdaac59 [svn-r26063] Fixed the wrong number of arguments being used for MPI_FILE_OPEN. Kept using include "mpif.h" since it is not going to be depriciated. But 'USE mpi' will work now that the API is correct. 2015-01-28 10:37:01 -05:00
Scot Breitenfeld
052638dbc8 [svn-r26062] Changed the fortran test back from "USE mpi" to "include "mpif.h"". Using the module causes problems on the Cray (hopper). 2015-01-28 10:01:23 -05:00
Scot Breitenfeld
bc0d6a1500 [svn-r26061] Fixed unintentional typo. 2015-01-28 08:54:23 -05:00
Scot Breitenfeld
7046addd0b [svn-r26060] Fix for HDFFV-9091
405-408::fortran vars should be scoped

Scoped:

HAVE_SIZEOF
HAVE_C_SIZEOF
HAVE_STORAGE_SIZE
FORTRAN_DEFAULT_REALisDBLE

to where the tests are (in m4/aclocal_fc.m4)

Tested: jam (gnu)
2015-01-27 16:52:53 -05:00
Scot Breitenfeld
f142970ac2 [svn-r26059] Fix for: HDFFV-9095
4159:: Check if Fortran's default real is double precision. If it is and HL is being built then configure should fail due to bug HDFFV-889.

Fix:
This check should be located where HL is check for, and it is. Updated the comment to elimenate confusion.
2015-01-27 16:35:30 -05:00
Scot Breitenfeld
06587c6e91 [svn-r26057] Fix for: HDFFV-9094
change include 'mpif.h' to module in tests

Solution:

changed to 'USE mpi' and moved the tests to m4/aclocal_fc.m4

Tested: jam (mpicc, mpif90)
2015-01-27 16:24:31 -05:00
Mohamad Chaarawi
4a10dbe011 [svn-r26055] Updates for:
Discuss and Remove Infering parallel compilers (C and Fortran) from configure.ac 
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-9068 

Remove restriction to build shared with parallel 
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-9069 

Cleanup parallel sections in configure.ac 
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-9096 

tested h5committest
2015-01-27 15:59:48 -05:00
Scot Breitenfeld
b2516b909a [svn-r26054] Fix for: HDFFV-9089
375::Compile the Fortran 77/90/95 interface -> remove 77 from comment

Removed from comment.
2015-01-27 15:30:29 -05:00
Scot Breitenfeld
f1da79edff [svn-r26053] Added comments. 2015-01-27 15:20:26 -05:00
Scot Breitenfeld
d29c5a6e6a [svn-r26052] Fixed false positive tests for intrensic functions.
Tested: jam (mpi, gfortran, intel)
        --enable-fortran, and --enable-fortran --enable-fortran2003
2015-01-27 15:16:07 -05:00
Scot Breitenfeld
4d34a0c6ad [svn-r26051] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE and moved all the tests to new files in m4 directory:

aclocal_cxx.m4 (for C++ tests)
aclocal_fc.m4 (for Fortran tests)

tested: jam
2015-01-27 12:17:09 -05:00
Scot Breitenfeld
1e85e7ca52 [svn-r26047] Fix for HDFFV-9092
Change AC_TRY_RUN TO AC_TRY_COMPILE 

Changed all the instances of AC_TRY_RUN for the Fortran and C++ tests to use
AC_COMPILE_IFELSE

tested: jam
2015-01-27 10:29:06 -05:00
Dana Robinson
b10f26ab18 [svn-r26042] Updated configure.ac so that POSIX_C_SOURCE=200112L and GNU_SOURCE
are defined. The former is for posix_memalign() and the latter for
the O_DIRECT flag for open(). Both are for direct VFD support.

Fixes HDFFV-9088

Tested on: jam
2015-01-26 22:31:03 -05:00
Allen Byrne
055348122d [svn-r26040] HDFFV-9018: Install pdb files to bin folder with dlls. 2015-01-26 15:23:19 -05:00
Allen Byrne
eb3900554e [svn-r26036] HDFFV-8736: Patch H5PL.c and test for cygwin plugin support.
Tested: local linux and cygwin
2015-01-26 13:03:18 -05:00
Dana Robinson
4e37d30dba [svn-r26029] Updated the comment on the Cygwin 'srcdir= and time' test to indicate
that it's still an issue with recent versions of Cygwin.

Fixes HDFFV-9082

Tested on: jam (bin/reconfigure only - just a comment change)
2015-01-26 06:14:54 -05:00
Dana Robinson
699b27ee4e [svn-r26028] Removed code from configure.ac that #defined (H5)_NO_SHARED_WRITING under
CodeWarrior as a work-around to broken open() functionality (it's not clear
which version). The only effect of this #define was to cause test_file_close()
in test/tfile.c to be skipped.

Fixes HDFFV-9080

Tested on: jam

We don't have CodeWarrior, so I just ensured the deletion didn't adversely
affect a typical build.
2015-01-26 05:06:53 -05:00
Dana Robinson
c5741c15d2 [svn-r26027] Copied configure.ac to configure.ac.orig for reference. 2015-01-26 01:47:06 -05:00
Dana Robinson
8249ada359 [svn-r26026] Added BRANCH.txt 2015-01-25 17:57:04 -05:00
Mohamad Chaarawi
f4e69ad579 [svn-r26012] make the print format for address overflow error windows friendly. 2015-01-23 09:57:35 -05:00
Scot Breitenfeld
374f064f82 [svn-r26011] Added (i.e. re-added) missing h5oget_info_c definition. 2015-01-23 08:54:04 -05:00
Scot Breitenfeld
1e3f530848 [svn-r26010] Fix for:
HDFFV-9049
Intel 15.0 15.0.1 Fails with --enable-fortran2003

Added BIND to the Fortran 2003 functions.

Tested: windows (tested concept)
        linux (--enable-fortran and --enable-fortran2003)
2015-01-22 16:56:03 -05:00
Scot Breitenfeld
324f087d05 [svn-r26009] Code Comment cleanup:
-----------------------
Remove the numbers in the comments associated with:

       H5G_UNKNOWN_F (-1)
       H5G_LINK_F      0
       H5G_GROUP_F     1
       H5G_DATASET_F   2
       H5G_TYPE_F      3

These should not be defined as a number since they can changed. They should be considered named parameters, not actual values. 

HDFFV-9040
h5rget_object_type_f returns different types than indicated by API
2015-01-22 16:53:30 -05:00
Mohamad Chaarawi
543a8d9d86 [svn-r26005] fix error return value. minor change. 2015-01-22 14:26:42 -05:00
Mohamad Chaarawi
5eee1d7d7e [svn-r26002] move checks on reading/writing beyond file eoa outside of the file drivers and into a centralized place in H5FD_read/write.
tested h5committest.
2015-01-22 12:15:21 -05:00
Mohamad Chaarawi
a24e3e5c86 [svn-r25994] revert adding the has_mpi_atomicity feature flag and use the has_mpi
flag instead.
2015-01-21 13:57:55 -05:00
Mohamad Chaarawi
de47d219c9 [svn-r25993] remove last usage of IS_H5FD_MPIO. 2015-01-21 12:05:03 -05:00
Allen Byrne
21ef17f951 [svn-r25990] Add VFD flush2 depends on flush1 property to test 2015-01-21 09:31:46 -05:00
Allen Byrne
3b742b733b [svn-r25987] Use variable instead of hard coded value 2015-01-20 15:02:17 -05:00
Allen Byrne
aafac8d770 [svn-r25986] HDFFV-9060: Changed test folder to use different test folders for VFDs and regular. Needed to set srcdir env var and specify working folder to the folders where all the reference files were copied.
Tested: local linux
2015-01-20 14:44:28 -05:00
Mohamad Chaarawi
aac2bb6182 [svn-r25984] change the message flag H5O_MSG_FLAG_FAIL_IF_UNKNOWN to
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_AND_OPEN_FOR_WRITE. Will add a new
H5O_MSG_FLAG_FAIL_IF_UNKNOWN_ALWAYS with the new avoid_truncate patch
coming later.

tested h5committest
2015-01-20 12:17:05 -05:00
Mohamad Chaarawi
1949c40bfd [svn-r25983] HDFFV-1125: Eliminate IS_H5FD_MPI() macro use in the library and replace with driver feature flag(s).
Add an MPI atomicity feature flag and remove the macro from the library.

tested Parallel on Jam.
2015-01-20 10:26:45 -05:00
HDF Tester
234e77b3f9 [svn-r25981] Snapshot version 1.9 release 211 2015-01-18 06:01:21 -05:00
Scot Breitenfeld
485faa47e7 [svn-r25980] Reverting check-in 25978, C_LONG_DOUBLE seems to be 16 bytes sometimes and 10 bytes other times. Not sure why. 2015-01-15 10:18:45 -05:00
Scot Breitenfeld
c6cf45e3e7 [svn-r25978] Bug fix for HDFFV-8847
Tested: h5committest
2015-01-13 11:23:07 -05:00
HDF Tester
d3ddfe842d [svn-r25975] Snapshot version 1.9 release 210 2015-01-11 06:05:36 -05:00
Albert Cheng
0ebac5f389 [svn-r25971] Update with retirement of AIX 5.3 and addition of AIX 6.1 support. 2015-01-09 10:33:54 -05:00
Mohamad Chaarawi
50c5f1ab2c [svn-r25963] Do not remove the prefix in the chunk alloc file, otherwise it makes
the H5Fcreate fail when prefix is specified.

tested parallel on Jam.
2015-01-08 12:36:10 -05:00
Allen Byrne
5da20c221e [svn-r25955] Added Perform and io_timer back into build.
Tested: local linux cmake
2015-01-05 16:52:26 -05:00
Albert Cheng
6a982a7690 [svn-r25954] HDFFV-9046: reorganize hdf5/perform, step 2
Last changes had caused problems with Windows platform:
1. H5private.h in io_timer.h is not accessible in the distributed shared library of tools.
   Need to move it to io_timer.c.
2. debug_start_stop_time() would not be available outside of h5perf. Some favor of compiler
   does not like it.  Screened it out for now.
3. mere "extern" is not good enough for Windows shared library. Must mark them as DLL. Need to mark them as 
   "H5TOOLS_DLL".
4. STANDALONE mode is broken. Screened out the code for now.

Tested; h5committest.
2015-01-05 16:47:34 -05:00
Allen Byrne
671006a10d [svn-r25953] Comment out printf statement as it caused system resource issues on Windows. Test now executes in 1/10 of time.
Tested: local linux and Windows
2015-01-05 16:32:43 -05:00
Allen Byrne
6b109315f5 [svn-r25951] HDFFV-9054: disable io_timer in tools lib and perform sub-folder due to SHARED compile issues and other issues. 2015-01-05 11:21:22 -05:00
HDF Tester
509cd32da2 [svn-r25949] Snapshot version 1.9 release 209 2015-01-04 06:04:11 -05:00
Albert Cheng
fe1bf91042 [svn-r25946] Removed debug statments that use //.
Tested: env CFLAGS=-ansi buildhdf5 in jam and parallel platypus.
2015-01-03 23:51:03 -05:00
Albert Cheng
c803666ec2 [svn-r25940] HDFFV-9046: reorganize hdf5/perform, step 2
Move timing measurement routines used by h5perf and h5perf_serial to tools/lib
so that they can be used by other tools too.

tools/lib/io_timer.c
tools/lib/io_timer.h
tools/perform/io_timer.c
tools/perform/io_timer.h
    renamed perform/io_timer.[ch] to lib/io_timer.[ch]

tools/lib/Makefile.am
tools/lib/Makefile.in
tools/lib/CMakeLists.txt
tools/perform/Makefile.in
tools/perform/Makefile.am
tools/perform/CMakeLists.txt
MANIFEST
    updated due to the move.

Tested; h5committest and jam (serial)
2015-01-01 11:24:55 -05:00
Allen Byrne
dcc956f594 [svn-r25938] Remove build and test commands for deleted benchpar.c 2014-12-31 13:06:27 -05:00
Allen Byrne
7affd93d05 [svn-r25934] Fix incorrectly combined check. 2014-12-31 12:50:47 -05:00
Albert Cheng
f5d2975018 [svn-r25933] updated. 2014-12-30 09:49:02 -05:00
Albert Cheng
aebc4ae149 [svn-r25932] HDFFV-8902: merge the source code of h5perf and h5perf_serial, stage 1.
tools/perform/sio_timer.h:
tools/perform/pio_timer.c:
tools/perform/io_timer.h:
tools/perform/io_timer.c:
    Renamed pio_timer.[ch] as io_timer.[ch];
    merged content of sio_timer.[ch] into io_timer.[ch] so that both h5perf and h5perf_serial
    call the combined io_timer.[ch].
    Moved the debug printing code segment in set_time() in [sp]io_timer.c to as debug_start_stop_time() in [sp]io_perf.c where it belongs.
    Screened out set_timer_type() and get_timer_type() which were not used by any code.

tools/perform/Makefile.am:
tools/perform/Makefile.in:
tools/perform/CMakeLists.txt
    Adjusted to use io_timer.c for both h5perf and h5perf_serial.

tools/perform/pio_perf.c:
tools/perform/sio_perf.c:
tools/perform/pio_perf.h:
tools/perform/sio_perf.h:
    Renamed [sp]io_time_destory() to same io_time_destroy();
    Moved the debug printing code segment in set_time() in [sp]io_timer.c to as debug_start_stop_time() in [sp]io_perf.c where it belongs.

tools/perform/pio_engine.c:
tools/perform/sio_engine.c:
    Removed #include io_timer.h since it was already #include by [sp]io_perf.h.

MANIFEST:
    Updated the merge of [sp]io_timer.[ch] into io_timer.[ch].

Tested: h5committest and jam in extra.
2014-12-30 00:56:05 -05:00
Quincey Koziol
b65eae7aee [svn-r25929] Description:
Clean up EOF code within library and add 'mem_type' parameter to 'get_eof'
VFD callback, to avoid various ambiguous situations, particularly with the
multi VFD.  (Supports changes for 'avoid_truncate' feature also)

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    h5committest forthcoming
2014-12-29 01:02:06 -05:00
Quincey Koziol
662892e8b1 [svn-r25928] Description:
Minor code cleanups found while reviewing 'avoid_truncate' changes.

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    (too minor to require h5committest)
2014-12-29 00:17:22 -05:00
HDF Tester
b7047b6425 [svn-r25924] Snapshot version 1.9 release 208 2014-12-28 06:03:37 -05:00
Scot Breitenfeld
fc8767cf82 [svn-r25923] Added name to the BIND(C) attribute, removed the !DEC$ statements for windows. 2014-12-23 10:08:55 -05:00
Mohamad Chaarawi
d4e70e8cae [svn-r25922] mpi version check for new mpi 3 features should be >= 3 rather than == 3. 2014-12-23 10:02:40 -05:00
Mohamad Chaarawi
cbd0460b1b [svn-r25921] - wrap MPI 3 usage with MPI_VERSION compile time check.
- build out unbuffered stdout/err for windows
2014-12-23 09:54:47 -05:00
Scot Breitenfeld
443bc1200f [svn-r25920] Undo BIND(C) addition. 2014-12-23 09:34:17 -05:00
Allen Byrne
e0c586cd98 [svn-r25918] If not testing skip building test only programs. 2014-12-22 09:45:46 -05:00
Scot Breitenfeld
51abd359f3 [svn-r25917] Added BIND(C) to fortran functions that pass a VALUE. 2014-12-22 09:12:04 -05:00
HDF Tester
c8fea60113 [svn-r25915] Snapshot version 1.9 release 207 2014-12-21 05:45:34 -05:00
Albert Cheng
9747e63938 [svn-r25913] Updated. 2014-12-19 15:05:23 -05:00
Larry Knox
1d83ae98b9 [svn-r25912] Revert change r25701: Add LD path to HDF5 install directory to address HDFFV-8944.
The change broke DESTDIR builds where an older HDF5 is installed in the --prefix directory.
The original problem remains.

Tested with h5committest
2014-12-19 14:50:58 -05:00
Albert Cheng
91f7c2797f [svn-r25909] HDFFV-8156: perform/benchpar failed to run
Benchpar.c is retired/deleted. If it is ever needed, it can be retrieved from the SVN repository
or even previous version of HDF5 source code.

Tested: jam parallel make passed.
2014-12-19 12:02:04 -05:00
Albert Cheng
73ccd8a4b3 [svn-r25908] Cleaned up typos comments from last commit.
Tested: just eyeball since changes are cosmetic.
2014-12-19 11:03:58 -05:00
Allen Byrne
6b3e39f9e7 [svn-r25905] Fix CMP0054 warning 2014-12-19 10:14:29 -05:00
Allen Byrne
98958b530a [svn-r25904] Fix CMP0054 warning 2014-12-19 10:13:55 -05:00
Allen Byrne
3f2ce7aebc [svn-r25902] Fix CMP0053 warning 2014-12-19 09:20:48 -05:00
Albert Cheng
d9ba0ae35f [svn-r25900] HDFFV-9046: reorganize hdf5/perform/ directory
Moved perform/ to tools/perform. Updated all the configure related files for the new location.

Tested: h5committested plus tested in jam and kite.
2014-12-17 18:07:24 -05:00
Allen Byrne
4c24346fe1 [svn-r25898] Replace 7zip required command with cmake command 2014-12-17 16:24:51 -05:00
Albert Cheng
3eaa80b0d3 [svn-r25891] Updated online help page to match what the command does now.
Tested: "bin/release -h" and visual inspect the output to be correct.
2014-12-17 05:44:35 -05:00
HDF Tester
118710f360 [svn-r25886] Snapshot version 1.9 release 206 2014-12-14 05:46:08 -05:00
Quincey Koziol
c0ec3bf38e [svn-r25884] Description:
Minor code cleanups found while reviewing 'avoid truncate' branch.

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    (too minor to require h5committest)
2014-12-10 22:00:08 -05:00
Quincey Koziol
8368e9b684 [svn-r25881] Description:
Minor code/comment cleanups, found while reviewing 'avoid truncate' code.

Tested on:
    MacOSX/64 10.10.1 (amazon) w/serial & parallel
    (Too minor to require h5committest)
2014-12-10 15:29:47 -05:00
Allen Byrne
bb9460b27d [svn-r25880] Test if binary folder exists 2014-12-10 15:20:04 -05:00
Albert Cheng
609636acaa [svn-r25876] DAILYTEST-31: Fix cmakehdf5 for Daily Test use
Fix cmakehdf5 so that it can figure out where the source directory is.
It expects cmakehdf5 itself resides at $srcdir/bin/cmamkehdf5.

Tested: Jam by invoking cmakehdf4 with different paths.
2014-12-09 19:51:29 -05:00
Albert Cheng
ff7783bbc8 [svn-r25871] Updated with new options of cmakehdf5. 2014-12-09 17:04:01 -05:00
Albert Cheng
b3852a9f1e [svn-r25870] HDFFV-8932: configure options added to enable or disable the building of
different language API's and testings. See "cmakehdf5 --help" for details.

Tested: jam using different combinations of option and verified correctness
by inspeacting libhdf5.settings output.
2014-12-09 17:03:39 -05:00
Allen Byrne
b21f51c38f [svn-r25868] HDFFV-9041: Definitions needed to be a semi-colon separated list. 2014-12-09 14:55:10 -05:00
HDF Tester
c1763bef53 [svn-r25864] Snapshot version 1.9 release 205 2014-12-07 05:51:49 -05:00
HDF Tester
ccbd46e914 [svn-r25855] Snapshot version 1.9 release 204 2014-11-30 05:49:53 -05:00
Albert Cheng
4d34b79730 [svn-r25851] INSTALL_parallel already has a known issues section for Hopper.
I moved all hopper known problems from RELEASE.txt to INSTALL_parallel
so that they are all in one place.
2014-11-25 18:21:39 -05:00
Allen Byrne
0a21243303 [svn-r25847] Correct typos in linux export of mod 2014-11-25 16:33:04 -05:00
Allen Byrne
5816073846 [svn-r25842] Change WiX program check to use the ENV variable for path.
Tested: Windows
2014-11-25 09:18:06 -05:00
HDF Tester
b59663156d [svn-r25834] Snapshot version 1.9 release 203 2014-11-23 05:47:28 -05:00
Allen Byrne
36a847bc0c [svn-r25818] Add checks for windows installers 2014-11-17 15:57:46 -05:00
Allen Byrne
59132dec15 [svn-r25800] Add utilities and expected output 2014-11-06 16:18:21 -05:00
Allen Byrne
05716e2239 [svn-r25798] correct example cmake info 2014-11-06 15:29:11 -05:00
Mohamad Chaarawi
3ba28fb7ee [svn-r25790] fix bug in shapesame test where test fails with more than 10
procs. This is a fix in the test itself and does not have to do with
the library code.

tested cloud machine with parallel.
2014-11-05 10:47:44 -05:00
Allen Byrne
a096202edd [svn-r25784] Add STATUS to message in script 2014-11-04 17:06:04 -05:00
Mohamad Chaarawi
5362b49bec [svn-r25779] fix bug in parallel tests where a compact dset is being created
proportional to the process count without regard to the 64KB limit for
compact datasets.

tested on jam with parallel.
2014-11-04 12:52:38 -05:00
Albert Cheng
52bff896a7 [svn-r25771] Bug fix: HDFFV-8954
Previously, ph5diff may hang in a test in Linux 32 platform(HDFFV-587).
No solution was available and a patch to bypass the test is implemented.

Since the company is changing domain name soon, the patch would not be valid any more.
Tests were done (repeat 100 mpiexec -np 6 ./ph5diff -v h5diff_hyper1.h5 h5diff_hyper2.h5)
and the previous hanging problem did not occur. It is likely the newer versions of
mpich no longer have this problem.  Therefore, it is decide to remove this patch
to make the test script cleaner, if nothing else.

Tested: ran build and test in Jam (linux 32) and the repeat 100 command mentioned above.
All passed.
2014-11-03 19:37:29 -05:00
Quincey Koziol
89e2c8822d [svn-r25766] Description:
Revert r25273, 25283 & 25439 (the hyperslab improvement changes).  They
are buggy and it's taking me a long time to correct the problem.  I'll check
in a revised form of the changes when I've got them straightened out.

Tested on:
    Mac OSX 10.10.0 (amazon) w/gcc 4.9.x, C++, FORTRAN
    Linux 2.6.x (jam) w/parallel
2014-11-03 15:13:25 -05:00
HDF Tester
2fcec016a8 [svn-r25762] Snapshot version 1.9 release 202 2014-11-02 04:51:44 -05:00
Dana Robinson
d5f913731d [svn-r25756] Removed the -Wunsuffixed-float-constants warning from the gnu-flags
script. The warnings that this generates cannot easily be resolved in
platform-independent C code since gnu expects the non-standard (gnu)
'D' suffix for double constants.

It's still technically useful for catching float and long double
constants, but should probably be enabled by developers on an
as-needed basis for that purpose so the spurious warnings are
avoided.

Tested on a local linux VM with gcc 4.8.2. This is a very minor change.
2014-10-31 17:09:12 -05:00
Dana Robinson
81f7e6b1d3 [svn-r25755] Removed spurious casts in a few HDfree() statements.
Discovered when I temporarily #defined HDfree() to a more complicated
function while investigating something. 

Tested on a local linux VM. This is a very minor change.
2014-10-31 13:11:42 -05:00
Mohamad Chaarawi
6735f59f7d [svn-r25750] use MPI_File_get_size() instead of stat when retrieving the file size for the MPIO driver. 2014-10-28 11:59:36 -05:00
Allen Byrne
73465a6bc2 [svn-r25745] Testfiles for h5dump bitfields and opaques 2014-10-27 16:47:24 -05:00
Allen Byrne
573d47083b [svn-r25744] Add bitfield and opague datatype file for tests.
Tested: local linux
2014-10-27 15:50:33 -05:00
Allen Byrne
3fa8cd322f [svn-r25741] Remove obsolete comment and add test to suite. 2014-10-27 13:34:25 -05:00
Allen Byrne
429dce1736 [svn-r25740] HDFFV-8953: remove svn url references 2014-10-27 13:30:50 -05:00
HDF Tester
290dfb8799 [svn-r25736] Snapshot version 1.9 release 201 2014-10-26 06:00:38 -05:00
Albert Cheng
b6e694cb32 [svn-r25721] The return type of H5A_create was changed from hid_t to H5A_t *
but the test was not changed (still doing H5A_create(...) < 0).
Fixed the error by changing to compare against NULL.

Tested: ADA AIX machine where the old code was flagged as an error by the AIX compiler.
2014-10-19 21:39:58 -05:00
HDF Tester
2a668bd0fc [svn-r25720] Snapshot version 1.9 release 200 2014-10-19 05:31:05 -05:00
Allen Byrne
ad3e91f0c3 [svn-r25714] remove reference to deleted sub-folder 2014-10-17 10:09:52 -05:00
Scot Breitenfeld
d527a825d4 [svn-r25707] Added missing type cast for hid_t_f ids. 2014-10-15 16:29:29 -05:00
Allen Byrne
d3dbcf313f [svn-r25706] Change hdf5 config install location. 2014-10-15 11:25:05 -05:00
Larry Knox
6d82d6c7cd [svn-r25701] Add LD path to HDF5 install directory to address HDFFV-8944.
Tested with h5committest and failed external daily tests.
2014-10-13 22:14:29 -05:00
Elena Pourmal
b402201745 [svn-r25695] Maintenance: Addressing bug HDFFV-8836 - information in section 3.2 about the SZIP binaries distribution was wrong. Fixed. 2014-10-13 07:17:11 -05:00
Albert Cheng
a65212ed9f [svn-r25694] HDFFV-8932:
added Fortran interface to the default build.

Tested: jam, koala, platypus
2014-10-13 00:51:00 -05:00
HDF Tester
e8ffff6853 [svn-r25693] Snapshot version 1.9 release 199 2014-10-12 05:28:29 -05:00
Allen Byrne
6fdac87ac1 [svn-r25691] File is not generated by non-2003 compliant fortran compilers.
Tested: jam and local linux
2014-10-10 12:41:13 -05:00
Larry Knox
c7da369bfd [svn-r25690] Update RELEASE.txt for 1.8.14 release:
Reviewed and revised version information for unix daily tested machines in supported
and tested platforms sections.
2014-10-09 17:11:16 -05:00
Albert Cheng
9a074a6679 [svn-r25685] HDFFV-8932:
added C++ and High level interface to the default build.

Tested: jam, koala, platypus
2014-10-09 07:42:21 -05:00
Albert Cheng
18f671c064 [svn-r25679] Added instruction to run bin/reconfigure after changes. 2014-10-07 11:54:54 -05:00
Albert Cheng
9645159614 [svn-r25677] HDFFV-8933:
Did not provide default values for clang++ options.
Also, applied wrong values for the *_CPPFLAGS.

Solution:
Added default values for *_CXXFLAGS.
Fixed the *_CPPFLAGS values.

Tested: wren with and without --enable-production.
2014-10-07 11:35:58 -05:00
Larry Knox
ab33b7f34d [svn-r25670] Update compiler fersion information for XL compilers on ostrich.
Text only - no test.

This line, and those below, will be ignored--

M    RELEASE.txt
2014-10-06 08:27:47 -05:00
HDF Tester
e6702f2cae [svn-r25668] Snapshot version 1.9 release 198 2014-10-05 05:27:58 -05:00
Allen Byrne
6cc1d95b5f [svn-r25662] Correct packaging paths 2014-10-03 11:13:55 -05:00
Mohamad Chaarawi
ca6ffd477d [svn-r25661] Update the default setting for the memb_addr array when use passes NULL to equally divide all the address space between all the members.
Before there was one chunk of the address space not being used.

tested h5committest, and multi vfd make check on jam.
2014-10-03 10:51:50 -05:00
Mohamad Chaarawi
26400c392b [svn-r25659] fix filename generation with prefix for perf test.
tested h5commitest, jam & platypus parallel.
2014-10-02 10:56:09 -05:00
Binh-Minh Ribler
bd9c6d829a [svn-r25658] Purpose: Fixed HDFFV-8922
Description:
    Added notes regarding UTF-8 and extended ASCII, provided in HDFFV-8899,
    to C++ API.
Platforms tested:
    Linux/32 2.6 (jam) - only in comments
2014-10-02 09:59:01 -05:00
Albert Cheng
cbd0112b16 [svn-r25654] Bug fix: HDFFV-8933
Description:
Mac has changed to use the clang/clang++ compilers but compiler settings for production, debug and profile
were not setup.

Solution:
Setup default values for PROD_CFLAGS, PROD_CPPFLAGS, DEBUG_CFLAGS, DEBUG_CPPFLAGS.
PROFILE_CFLAGS and PROFILE_CPPFLAGS were set too but clang does not -pg or such for
profiling. Need to fix it later.

Tested: duck, swallow, and quail using --enable-production.
2014-10-01 23:30:53 -05:00
Mohamad Chaarawi
87bed2c752 [svn-r25651] Fix for: HDFFV-8715
HDF5_PARAPREFIX is ignored in parallel dense attribute and performance tests.

tested on Jam w/ parallel.
2014-10-01 17:02:41 -05:00
Allen Byrne
bfdf663569 [svn-r25646] Fix missing endif 2014-10-01 09:29:42 -05:00
Binh-Minh Ribler
1df7b415ab [svn-r25645] Description:
Removed the try/block with new/bad_alloc that were unintentionally
    committed previously.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-30 23:31:37 -05:00
Binh-Minh Ribler
22d0d32716 [svn-r25644] Purpose: Fixed HDFFV-8928
Description:
    Followed hints on the JIRA issue to remove several potential memory
    leaks.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-30 23:05:57 -05:00
Binh-Minh Ribler
10f1e6acf8 [svn-r25640] Purpose: Fixed HDFFV-4259
Description:
    - Used H5I_INVALID_HID instead of 0 to initialized member "id" in classes
      that represent HDF5 objects.  For PropList, H5P_DEFAULT has to be used
      instead of H5I_INVALID_HID.
    - Added try/catch block to some dynamically allocating memory code and
      re-throw the bad_alloc exception with a message informing the location of
      the failure.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-30 13:20:36 -05:00
Binh-Minh Ribler
0befe65753 [svn-r25632] Purpose: Fixed HDFFV-8852
Description:
    H5F_ACC_CREAT was included in the C++ API while the C library doesn't
    allow it yet.  Possibly, in the future, but not now.  In addition, the
    two flags H5F_ACC_RDONLY and H5F_ACC_RDWR were missing from the
    documentation, causing confusion that appending is not supported.
Solution:
    - Removed H5F_ACC_CREAT from the function until the C library support it
    - Added H5F_ACC_RDONLY and H5F_ACC_RDWR to the comments to update the
      documentation
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-09-29 15:52:08 -05:00
Scot Breitenfeld
9140500b86 [svn-r25631] Fix fo HDFFV-8912 2014-09-29 11:23:57 -05:00
Scot Breitenfeld
17893b24ea [svn-r25629] Fix for hdffv-8855. 2014-09-29 10:31:40 -05:00
HDF Tester
c617cbdfb0 [svn-r25627] Snapshot version 1.9 release 197 2014-09-28 05:34:35 -05:00
Scot Breitenfeld
6f2f584c42 [svn-r25626] Changed the callback function integer type from INTEGER to INTEGER(C_INT) for portability, HDFFV-8909. 2014-09-26 09:25:04 -05:00
Allen Byrne
8bd91611f4 [svn-r25624] Define symbol for other compilers as nothing.
Tested: platypus
2014-09-26 09:12:55 -05:00
Allen Byrne
38ffe94174 [svn-r25623] Update from 1.8 docs - docs team changes from last release 2014-09-25 16:11:54 -05:00
Mohamad Chaarawi
a881862802 [svn-r25620] Fix a bug in multi VFD when the memb_addr in H5Pset_fapl_multi is passed
as NULL. The library is supposed in that case to equally divide the
address space among all members, but there was a bug causing an
overflow in the assignment.

tested with h5commitest
2014-09-25 14:30:36 -05:00
Scot Breitenfeld
52d5e22956 [svn-r25618] Added tests for HDFFV-8879 2014-09-25 09:48:33 -05:00
Allen Byrne
51e9f7091c [svn-r25617] Upgrade packaging process with cmake helper functions.
Tested: local linux
2014-09-25 09:37:09 -05:00
Allen Byrne
510e79af7c [svn-r25615] Include plugin header change. H5PLextern.h and H5PLprivate.h have two opposing use cases, only the enum is common.
Tested: local linux and windows
2014-09-25 08:51:40 -05:00
Scot Breitenfeld
0324181acc [svn-r25614] Fixed HDFFV-8670
*H5DSis_scale and other HL APIs do not null terminate string (and other issues)
2014-09-24 16:56:47 -05:00
Allen Byrne
b2fa3069d9 [svn-r25608] Windows needs extra slashes 2014-09-23 15:21:17 -05:00
Allen Byrne
148097511c [svn-r25607] Add 10 sec timeout to VFD - flush2 tests instead of default 20 min. 2014-09-22 13:46:21 -05:00
HDF Tester
ae00b7b591 [svn-r25604] Snapshot version 1.9 release 196 2014-09-21 05:29:14 -05:00
Allen Byrne
9a5a86e873 [svn-r25595] Update VMs on other tested 2014-09-17 09:20:58 -05:00
HDF Tester
7f2fa8340b [svn-r25591] Snapshot version 1.9 release 195 2014-09-14 05:30:20 -05:00
Mohamad Chaarawi
1064f6cd03 [svn-r25586] need to use MPI_Count and corresponding _x check routines post read/write to handle big counts. 2014-09-11 10:59:04 -05:00
Mohamad Chaarawi
ace4fef4d6 [svn-r25573] fix error output when dataset verify detects wrong data. 2014-09-05 14:30:42 -05:00
Allen Byrne
5a4357e4fb [svn-r25570] UNDO:Added option to build tools static when building shared libraries. This will prevent 'dll' being appended to the tool name on windows. See HDFFV-8292.
Windows DLL linkage problem because of defines needed.

Tested: local linux
2014-09-03 14:04:18 -05:00
Allen Byrne
c23f3a7ea5 [svn-r25569] Added option to build tools static when building shared libraries. This will prevent 'dll' being appended to the tool name on windows. See HDFFV-8292.
Tested: local linux
2014-09-03 12:12:52 -05:00
HDF Tester
2154d1c6f1 [svn-r25563] Snapshot version 1.9 release 194 2014-08-31 05:31:14 -05:00
Allen Byrne
38251c0765 [svn-r25552] JAVA-1880: hdfview failure to load plugins identified default value was incorrectly formed.
Tested: windows
2014-08-25 16:11:48 -05:00
HDF Tester
77e7e788c8 [svn-r25546] Snapshot version 1.9 release 193 2014-08-24 05:32:01 -05:00
Allen Byrne
32c3fec56c [svn-r25536] HDFFV-8897: remove include extra paths. 2014-08-19 09:59:17 -05:00
HDF Tester
3f11676e9d [svn-r25534] Snapshot version 1.9 release 192 2014-08-17 04:54:45 -05:00
Mohamad Chaarawi
88fb6b1374 [svn-r25531] remove use of C99 PRI that failed on windows in dtypes.c
fix bugs where hid_t were assumed to be 32 bit ints or herr_t.
2014-08-11 14:13:45 -05:00
Mohamad Chaarawi
2a5454616a [svn-r25527] fix printf format warnings in dtypes test. 2014-08-11 09:19:43 -05:00
Mohamad Chaarawi
f98f792fe3 [svn-r25524] remove usage of // comment styles. 2014-08-10 19:01:41 -05:00
Allen Byrne
a794cc9103 [svn-r25518] HDFFV-8880: Remove t_posix_compliant test references 2014-08-06 16:49:19 -05:00
Mohamad Chaarawi
333f1d4783 [svn-r25516] remove use of MPI_LB and MPI_UB deprecated markers and use resize instead. 2014-08-06 12:10:54 -05:00
Mohamad Chaarawi
7433fb9dc1 [svn-r25514] Replace MPI deprecated routines with undeprecated ones. 2014-08-05 10:36:38 -05:00
Scot Breitenfeld
a72cb6e43e [svn-r25510] Added the parameters to the code comment section:
H5T_VLEN_F (9)
             H5T_ARRAY_F (10)

No source changes.
2014-08-05 09:06:35 -05:00
Mohamad Chaarawi
db51b55049 [svn-r25509] HDFFV-8878:
Make the fill value operation for chunked datasets in parallel collective/fast.

tested with h5committest
2014-08-04 14:58:03 -05:00
Dana Robinson
4defea0020 [svn-r25508] Added a check that ensures page_size is not set to zero in
H5Pset_core_write_tracking(). This ensures that the behavior
matches the description in the reference manual.

Tested on a local linux VM. This is a very minor change.
2014-08-04 13:37:55 -05:00
HDF Tester
1bd45cb96f [svn-r25506] Snapshot version 1.9 release 191 2014-08-03 05:01:09 -05:00
Mohamad Chaarawi
d4ebdeadad [svn-r25504] fix ret_value in H5Oexists_by_name to be htri_t instead of hid_t. Bug exposed in VOL branch. 2014-08-01 15:13:27 -05:00
Mohamad Chaarawi
8771fba1de [svn-r25503] - fix bug in encode/decode plist parallel test when 1 proccess is used to run the test.
- fix warning in t_chunk_alloc.
2014-08-01 14:24:52 -05:00
Mohamad Chaarawi
beb6f83cfd [svn-r25500] fix HDFFV-8888 - H5Ldelete_by_idx fails on non-existent group name.
tested Jam. minor change.
2014-07-31 14:26:19 -05:00
Quincey Koziol
33ea1ada24 [svn-r25496] Description:
Merge 64-bit ID changes from branch to trunk.  (Plus a few minor cleanups
that aren't on the branch)

Tested on:
    Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN
    (h5committested on branch already for a week)
2014-07-30 15:55:14 -05:00
Mohamad Chaarawi
3f701fda65 [svn-r25487] store all members of the driver info in the file structs since they
will be needed if H5Pget_create_plist is called.

tested jam. minor change.
2014-07-29 11:51:24 -05:00
HDF Tester
2173d36d66 [svn-r25484] Snapshot version 1.9 release 190 2014-07-27 05:38:25 -05:00
Scot Breitenfeld
f41ac60621 [svn-r25483] Fixed code comments. 2014-07-24 16:11:24 -05:00
Scot Breitenfeld
65e3b596e3 [svn-r25480] Added error if Fortran's default real is double precision. If it is and HL is being built then configure returns an error. This is due to HDFFV-889.
Tested: jam with intel

cmake options:
-DCMAKE_Fortran_FLAGS:STRING="-r8" (should fail) 
and 
-DHDF5_BUILD_HL_LIB:BOOL=OFF (should pass)
2014-07-24 12:07:08 -05:00
Allen Byrne
161ab14bbd [svn-r25479] update ubuntu info 2014-07-24 11:34:51 -05:00
Allen Byrne
ed9115f283 [svn-r25478] update ubuntu info 2014-07-24 11:13:48 -05:00
Scot Breitenfeld
f793c50e47 [svn-r25477] Added error if Fortran's default real is double precision. If it is and HL is being built then configure returns an error. This is due to HDFFV-889.
Tested: jam with intel and -r8 flag, both with and without --disable-hl.
2014-07-24 10:55:16 -05:00
Scot Breitenfeld
c85497442b [svn-r25475] Fixed for nh5pget_fill_valuec_c where we called the wrong function
ret_value = nh5pset_fill_value_c(prp_id, type_id, _fcdtocp(fillvalue))

HDFFV-8879

Tested: jam( intel, gnu)
2014-07-23 13:50:06 -05:00
Scot Breitenfeld
00e4cbc963 [svn-r25473] Added VALUE to callback group_id type. Needed to fix problem when hid_t is 64-bit.
Tested: jam (intel, gnu)
2014-07-23 12:01:51 -05:00
Scot Breitenfeld
1ebce1bfcf [svn-r25469] Removed duplicate BIND(C) type defintion.
Tested: (jam: gnu, intel)
2014-07-22 15:55:08 -05:00
Mohamad Chaarawi
bd66cdd5d6 [svn-r25468] some code refactoring to align trunk with VOL branch.
tested with h5committest.
2014-07-22 14:54:51 -05:00
Albert Cheng
f1f7b15e50 [svn-r25465] BUg fix: HDFFV-8881
testfrome.c has incorrectly exit code (using -1). Fixed by replacing them
with C defined EXIT_FAILURE. Verified by temporary decreaing MAXNUMTESTS
to introduce failure in testhdf to see the changed code did work.
Also replaced all other correctly coded exit codes with the C defined
EXIT_SUCCESS and EXIT_FAILURE. This would help portability for non-Unix
systems.

Tested: h5committest.
2014-07-22 14:06:18 -05:00
Mark Evans
d4d24390a2 [svn-r25460] The contents of this directory is the C++ Reference Manual and
is generated by Doxygen.
2014-07-22 08:12:36 -05:00
Mark Evans
ee28a1ad8b [svn-r25459] Merged revision(s) 25457 from branches/hdf5_1_8_13/c++/src/H5CppDoc.h:
Added a sentence suggested by Barbara to the Installation section. Part of HDFFV-8868 work. 

Tested: Doxygen and Firefox
2014-07-21 13:51:56 -05:00
Quincey Koziol
61a411b02f [svn-r25450] Description:
Initial tweaks to align with VOL branch.

Tested on:
    Mac OSX/64 10.9.3 (amazon) w/gcc 4.9
    (h5committest not required, too small)
2014-07-21 11:05:04 -05:00
Mark Evans
4344c1d70b [svn-r25446] Changed file in Installation section where users should look for instructions from release_docs\INSTALL_Windows.txt to release_docs\INSTALL. Fixes HDFFV-8868.
Tested: Doxygen
2014-07-21 11:00:55 -05:00
Mark Evans
ae25c80cc0 [svn-r25441] Changed file in Installation section where users should look for instructions from release_docs\INSTALL_Windows.txt to release_docs\INSTALL.
Tested: Doxygen
2014-07-21 10:30:23 -05:00
Scot Breitenfeld
7595d00ae5 [svn-r25440] Fixed type conversion in h5pset_fill_value and fixed for
nh5pget_fill_valuec_c we call the wrong function
ret_value = nh5pset_fill_value_c(prp_id, type_id, _fcdtocp(fillvalue))

HDFFV-8879

Tested: jam( intel, gnu)
2014-07-21 10:09:56 -05:00
Quincey Koziol
453f9d7b20 [svn-r25439] Description:
Minor tweaks to updated hyperslab code, before larger revision coming.

Tested on:
    Mac OSX/64 10.9.3 (amazon) w/gcc 4.9 & parallel
    (h5committest forthcoming)
2014-07-21 09:41:39 -05:00
HDF Tester
84d0a9f7cb [svn-r25434] Snapshot version 1.9 release 189 2014-07-20 05:09:27 -05:00
Allen Byrne
186aca8b49 [svn-r25412] Add ASPRINTF define - check already in configure 2014-07-14 11:26:49 -05:00
HDF Tester
06e4e32ba0 [svn-r25407] Snapshot version 1.9 release 188 2014-07-13 07:32:17 -05:00
Mohamad Chaarawi
92cc75bfae [svn-r25401] add serial and parallel regression tests for zero dset read/write bug. 2014-07-09 14:01:25 -05:00
Mohamad Chaarawi
6d637e03f7 [svn-r25399] bug fixes where a wrong type was used instead of hid_t. 2014-07-09 12:12:38 -05:00
Mohamad Chaarawi
382976f3e9 [svn-r25398] add a check to make sure MPI_File_get_size() returns correct value (HDFFV-8856). 2014-07-09 10:19:11 -05:00
Mohamad Chaarawi
06ef71a37f [svn-r25397] - remove configure checks for MPI_File_get_size and Big
MPI_File_set_size as they are supported by most MPI implementations.
- fix bug in t_mpi.c (HDFFV-8856)
2014-07-07 13:22:48 -05:00
HDF Tester
5ad9bfb322 [svn-r25395] Snapshot version 1.9 release 187 2014-07-06 07:31:55 -05:00
Mohamad Chaarawi
ee9d595a8c [svn-r25392] fix HDFFV-8761:
allocating space for zero-length chunked dataset and asserting.
2014-07-03 10:43:48 -05:00
Mohamad Chaarawi
43b3c20c93 [svn-r25386] remove double declaration of off and len. 2014-07-01 15:06:22 -05:00
HDF Tester
8925b39181 [svn-r25378] Snapshot version 1.9 release 186 2014-06-29 05:24:43 -05:00
Allen Byrne
28ec2d2693 [svn-r25357] Change default timeout to 1200 seconds or 20 mins
adjust up for certain tests.
2014-06-25 09:15:13 -05:00
Allen Byrne
d9c1c23c38 [svn-r25350] Add more vfd tests to smaller timeout limits 2014-06-24 10:14:32 -05:00
Allen Byrne
e90941e86a [svn-r25343] Add more vfd tests to smaller timeout limits 2014-06-23 16:57:13 -05:00
Allen Byrne
5849a90e16 [svn-r25341] HDFFV-8845: Propagated changes made to configure.ac to cmake. Enabled MSVC for two tests as suggested in the issue. 2014-06-23 13:26:41 -05:00
HDF Tester
fbaf82bc3c [svn-r25339] Snapshot version 1.9 release 185 2014-06-22 05:26:37 -05:00
John Mainzer
12ee3deb82 [svn-r25321] Reworked and enhanced extreme sanity check in H5C.c, fixing an
uninitialized variable bug in passing.

Added the H5C_get_entry_ptr_from_addr() and H5C_verify_entry_type()
in H5C.c, along with their pass through functions in H5AC.c.  Note
that H5C_get_entry_ptr_from_addr() is quite slimey, and should be
avoided if possible.

Updated fractal heap to use flush ordering to force children
in the hdr / iblock / dblock tree to be flushed prior to parents.
This is part of a port of the fractal heap to the V3 cache, although
I gather that it will also be useful for SWMR.

Added sanity checking code to the fractal heap to verify that direct 
blocks are flushed before their parent indirect blocks, child indirect
block are flushed prior to their parent indirect blocks, and that the
root iblock or dblock is flushed prior to the header

Tested on:

        Jam: Serial and parallel
        Phoenix (Debian): serial, debug and production
        amazon (MacOS): serial
2014-06-18 13:18:36 -05:00
Mark Evans
471aedb1e8 [svn-r25317] Edited the Introduction section.
Tested: Doxygen and Firefox
2014-06-18 11:10:27 -05:00
Allen Byrne
c194e9c9a7 [svn-r25313] Use cmake var to store name of created h5_test_kind_xxxx mod file.
Tested: local linux
2014-06-18 09:28:09 -05:00
Allen Byrne
9c4e646c1a [svn-r25310] Add max time for VFD objcopy test 2014-06-18 08:39:37 -05:00
Scot Breitenfeld
bfb60a0cc1 [svn-r25304] Fixes latest check-in errors for:
HDFFV-8653
replace non-standard sizeof in the fortran tests with c_sizeof

(1) Removed the overloaded h5_sizeof functions for characters and integer arrays since Sun compilers don't allow them to be passed into a function that uses sizeof.

(2) Requested min. precision for reals to avoid duplicate interfaces when the flag -r8 (or equiv.) is set.

tested:
*jam: intel, -i8 -r8 --enable-fortran2003
*jam: pgi, --enable-fortran2003
*emu: sun, --enable-fortran2003
2014-06-17 13:09:39 -05:00
Allen Byrne
0b75068901 [svn-r25302] Add nounistd option to flex command for windows caompatibility 2014-06-17 09:50:49 -05:00
Allen Byrne
890a76ea64 [svn-r25300] Add flex / bison commands to bin script and regenerate hl files using latest versions.
No other files touched.
Tested: h5committest
2014-06-16 15:12:42 -05:00
Allen Byrne
8c56c5096e [svn-r25299] correct case of CMake commands 2014-06-16 14:26:18 -05:00
Scot Breitenfeld
90757478c2 [svn-r25294] added implicit none 2014-06-16 12:06:46 -05:00
Scot Breitenfeld
7d3ff84d59 [svn-r25291] Fix for:
HDFFV-8653
replace non-standard sizeof in the fortran tests with c_sizeof
2014-06-16 11:56:01 -05:00
Scot Breitenfeld
9cf0844928 [svn-r25290] Fix for:
HDFFV-8653
replace non-standard sizeof in the fortran tests with c_sizeof
2014-06-16 11:38:07 -05:00
Scot Breitenfeld
59517a164b [svn-r25287] Fix for:
HDFFV-8653
replace non-standard sizeof in the fortran tests with c_sizeof
2014-06-16 10:33:06 -05:00
Scot Breitenfeld
744bc7d236 [svn-r25286] Fix for:
HDFFV-8653
replace non-standard sizeof in the fortran tests with c_sizeof 

Tested: jam (gnu, intel) with make and cmake.
2014-06-16 10:15:25 -05:00
HDF Tester
588a733b18 [svn-r25285] Snapshot version 1.9 release 184 2014-06-15 04:58:19 -05:00
Quincey Koziol
ec408ef083 [svn-r25283] Description:
Correct error in new hyperslab selection test to use the right # of
dimensions for start/stride/count/block arrays.  Also, switch H5Sselect_select
to H5Smodify_select.

Tested on:
    MacOSX/64 10.9.3 (amazon) w/gcc 4.9.1, OpenMPI, C++, FORTRAN & threadsafe
    (Too minor to require h5committest)
2014-06-13 22:23:54 -05:00
Allen Byrne
e23830d29f [svn-r25282] remove obsolete file 2014-06-13 16:16:34 -05:00
Dana Robinson
25ba47bc97 [svn-r25274] Adds #defines that ensures that DllMain is only compiled in when the thread-safe shared library is built on Windows.
Fixes HDFFV-8837.

Tested on 64-bit Windows 7 with VS2012.
2014-06-13 03:44:34 -05:00
Quincey Koziol
4ccb865c70 [svn-r25273] Description:
Bring in Chao/Neil/my changes to optimize hyperslab selection operations
further, along with 3 new public API routines: H5Scombine_hyperslab(),
H5Sselect_select() and H5Scombine_select(), along with many minor cleanups to
the code and fixing a few compiler warnings.

Tested on:
    Mac OSX/64 10.9.3 w/gcc 4.9.x and parallel w/OpenMPI
    (h5commttest forthcoming)
2014-06-13 01:23:57 -05:00
Allen Byrne
c2bc22d51c [svn-r25266] update to m4 1.4.17 in reconfigure did not change any other files 2014-06-12 14:54:44 -05:00
Allen Byrne
d74b7fb7b8 [svn-r25261] limit vfd flush1 test time 2014-06-11 14:23:00 -05:00
Allen Byrne
0c07b68c92 [svn-r25260] Update versions 2014-06-11 13:51:18 -05:00
Allen Byrne
d867178192 [svn-r25249] change test to ignore h5diff warnings (endianess issue) 2014-06-10 11:21:30 -05:00
HDF Tester
99800edafb [svn-r25241] Snapshot version 1.9 release 183 2014-06-08 06:30:43 -05:00
Allen Byrne
80a2084bf7 [svn-r25239] Add set_property command for list option.
Minor doc edits
2014-06-04 16:22:31 -05:00
Scot Breitenfeld
cf71b7db57 [svn-r25238] Removed warning about the data type of the actual argument does not match the definition to verify function. Trivial fix.
tested: jam (gnu)
2014-06-04 09:08:17 -05:00
HDF Tester
4a8b02f838 [svn-r25216] Snapshot version 1.9 release 182 2014-05-25 06:51:16 -05:00
Quincey Koziol
60f8a4100e [svn-r25215] Description:
Bring changes from Coverity branch back to trunk:

r20914:
    Use HDstrncpy and HDstrncat! --gh

20915:
    Use HDstrncpy and HDstrncat! --gh

Tested on:
    Mac OSX/64 10.9.3 (amazon) w/gcc 4.9.0, C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-05-25 00:55:39 -05:00
Allen Byrne
a8b48bc7f5 [svn-r25208] Make the header generation optional and depend on finding perl executable. Needed because window does not have perl. 2014-05-21 09:29:41 -05:00
Quincey Koziol
b6733f1109 [svn-r25207] Description:
Merge changes from Coverity branch to trunk:

r20907:
    Original issue was #338.

    Refactored code to clean up allocations consistantly, completely, check all returns, assign initialization values and handle errors.

Tested on:
    MacOSX/64 10.9.3 (amazon) w/gcc 4.9, FORTRAN, C++, parallel & multi-threaded
    (too minor to require h5committest)
2014-05-20 13:26:38 -05:00
Quincey Koziol
04c24b4624 [svn-r25206] Description:
Add new warning flags for gcc 4.9.x

Tested on:
    MacOSX/64 10.9.3 (amazon) w/gcc 4.9.0
2014-05-20 13:25:12 -05:00
Allen Byrne
e6a3a3cfad [svn-r25205] Fix CMP0040 Policy cmake usage 2014-05-20 10:41:01 -05:00
Binh-Minh Ribler
5444efe2b1 [svn-r25202] Description:
Set OUTPUT_DIRECTORY to cpplus_RM and HTML_OUTPUT to '.' because
    they were reset by accident causing "bin/release doc" to fail.

    Ran bin/release to verify the failure was gone.
2014-05-19 12:48:55 -05:00
HDF Tester
2c12b5d42d [svn-r25199] Snapshot version 1.9 release 181 2014-05-18 04:53:32 -05:00
Quincey Koziol
a613b70f93 [svn-r25197] Description:
Bring changes from hdf5_1_8_coverity branch back to trunk:

r20878:
    Issue 76: Check if H5Tget_nmembers(type) fails and simply return(FALSE). Also move printf to after check.

r20880:
    Issue 192: Create ret_val var set to -1. Add out label for failures to jump to, return ret_val at bottom.

r20882:
    Fixes for coverity:
    1) bug #1679: remove dead code in test/mf.c
    2) bug #1680: remove dead code in tools/lib/h5diff_dset.c

r20883:
    Fix coverity issue 585

    Description:
    Changed variable "c" in processStrData in h5import.c to an int, to match fgetc
    return value, and removed call to feof, instead checking if c == EOF.

Tested on:
    MacOSX/64 10.9.3 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-05-16 22:22:51 -05:00
Allen Byrne
896a5e7992 [svn-r25191] Moved file back to cmake folder 2014-05-14 15:10:42 -05:00
Allen Byrne
ef494f08a2 [svn-r25189] Fix CMP0053 cmake usage 2014-05-14 14:51:54 -05:00
Allen Byrne
21474f8eee [svn-r25188] Implement change to cmake_ext_mod config folder
Tested: local linux
2014-05-14 14:50:28 -05:00
Allen Byrne
8f57e86ab9 [svn-r25185] update cmake command name case 2014-05-12 13:14:46 -05:00
Allen Byrne
22f9644670 [svn-r25183] correct path statement 2014-05-12 12:10:51 -05:00
HDF Tester
0774c92383 [svn-r25181] Snapshot version 1.9 release 180 2014-05-11 07:01:22 -05:00
Scot Breitenfeld
1ab0de9861 [svn-r25173] Removed unused module TH5F.
Tested: jam (intel, pgi)
2014-05-07 10:57:01 -05:00
Scot Breitenfeld
fb7e8562e2 [svn-r25169] Removed duplicate tests in fortranlib_test_1_8.f90 and fortranlib_test.f90. Thus removing the dependency on tH5F.f90, which was causing compilation race-conditions in cmake.
Tested: jam (gnu)
2014-05-06 09:18:30 -05:00
Allen Byrne
4545b87a09 [svn-r25163] Update file to match release changes 2014-05-05 14:40:19 -05:00
Dana Robinson
acff290b94 [svn-r25161] Removed some C++-style comments from H5FDcore.c.
Tested on:
    32-bit LE linux (jam) 

Tested with HDF5_DRIVER set to "core_paged".
2014-05-05 10:54:56 -05:00
HDF Tester
3f5886da9f [svn-r25158] Snapshot version 1.9 release 179 2014-05-04 07:15:58 -05:00
Albert Cheng
75044d8ae7 [svn-r25136] Bug: HDFFV-8433
The temporary directory used by zip is the same as the rest but it has to be different.
Changed tar2zip to use a different (ztmpdir) name.

Tested: by hand running "bin/release ... gzip zip md5".
2014-04-29 20:24:57 -05:00
Allen Byrne
d517af5086 [svn-r25135] Remove property will fail - This only is true on windows shared. 2014-04-29 10:26:35 -05:00
Scot Breitenfeld
a9fa46cf8e [svn-r25133] Rudimentary changes; changed the casting of hid_t_f variables that used a casting of int_f to use a casting of hid_t_f.
Tested: jam (gnu)
2014-04-28 16:44:33 -05:00
Allen Byrne
39681a594f [svn-r25130] Add clarification to download location and extlibs. 2014-04-28 16:40:17 -05:00
Allen Byrne
9fd8692663 [svn-r25128] HDFFV-8172: Add tests properties that indicate it will fail and to depend on PASSED in the output. 2014-04-28 15:20:11 -05:00
HDF Tester
9711359755 [svn-r25126] Snapshot version 1.9 release 178 2014-04-27 07:14:13 -05:00
Binh-Minh Ribler
6f46f25486 [svn-r25125] Description:
Made printError() virtual as the original; missed it from the previous fix.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-26 10:12:48 -05:00
Albert Cheng
3fde3a16b5 [svn-r25120] HDFFV-8755: Remove compress option from bin/release
Tested: by hand. "bin/release ... compress" to see it failed and to see it succeeded when compress is not used.
2014-04-25 18:24:19 -05:00
Larry Knox
c6e3e68297 [svn-r25117] Removed LT_ADD_LIBHDF5_DEPENDENCY configure conditional to roll back fix for removing rpaths from l
ib files.  The fix also removed dependencies on libhdf5, etc. when the --disable-sharedlib-rpath co
nfigure option was invoked.
Added instead configure variable hardcode_into_lib=no.  This removes rpath from lib files on Linux
and solaris machines.

Tested with h5committest on jam, koala, ostrich and platypus (cmake), and with configure option --disable-sharedlib-rpath on emu, platypus and quail.
2014-04-25 16:59:53 -05:00
Dana Robinson
7309bb5ab8 [svn-r25113] Fixed Subversion EOL and executable attributes. No code changes. 2014-04-25 16:27:37 -05:00
Quincey Koziol
1c3f945739 [svn-r25112] Description:
Revert r25081

Tested on:
    MacOSX/64 10.9.2 (amazon) w/FORTRAN & parallel
    (h5committest not necessary)
2014-04-25 16:21:55 -05:00
Binh-Minh Ribler
97525f97f2 [svn-r25108] Description:
- Put back Exception::printError for backward compatibility
    - Added static member function Exception::printErrorStack to print
      error stack without an instance of Exception.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-25 14:47:57 -05:00
Allen Byrne
01de7491b2 [svn-r25103] Correct installed menu name 2014-04-25 11:49:08 -05:00
Allen Byrne
b06947c433 [svn-r25100] Added -V to example command line.
Added note about INSTALLDIR.
2014-04-25 10:27:05 -05:00
Allen Byrne
4de2b5b559 [svn-r25098] Disable fortran by default 2014-04-25 09:34:54 -05:00
Quincey Koziol
95e0006dc2 [svn-r25097] Description:
Make progress toward moving from DXPL IDs to property list structures
within the library.  Also move the signature location code from the H5F
package to the H5FD package, where it's a better fit.  Also, clean up some
more compiler warnings along the way.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest forthcoming)
2014-04-25 09:32:17 -05:00
Albert Cheng
ead005cc27 [svn-r25096] Bug: HDFFV-8433
Need to unify Windows release process (zip file) and Unix release process (bin/release-> tarfile)

Solution:
Added a new option (zip) to generate Windows zip file from the release tarball.

Tested: by hand running "bin/release ... gzip zip" to verify zip file looks right.
Allen and Dana then confirmed the zip file can be used to build and test HDF5
library without error.
2014-04-24 16:38:54 -05:00
Quincey Koziol
3bdb116942 [svn-r25092] Description:
More migration to using H5F_io_info_t pointers and away from using
property list IDs internally.  Also, clean up some compiler warnings in the
cache code.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest forthcoming)
2014-04-24 11:30:24 -05:00
Quincey Koziol
cd973218bf [svn-r25088] Description:
Introduce "file I/O info" struct, to hold file & dxpl pointers, and start
propagating up through library.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest coming)
2014-04-23 14:10:11 -05:00
Allen Byrne
897806f3c7 [svn-r25085] Comment out under-development code 2014-04-23 12:44:00 -05:00
Quincey Koziol
7b6eae2ddf [svn-r25084] Description:
Begin process of migrating from using property list IDs internally to the
library to using the internal generic property list data structure.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (h5committest forthcoming)
2014-04-23 11:30:25 -05:00
Albert Cheng
3dc1e6dd38 [svn-r25081] Bug HDFFV-8625, HDFFV-8639, HDFFV-8745:
h5diff issues "unable to read attribute" error message when comparing two files

Description:
    h5diff did not handle attributes of variable length strings correctly. It created the wrong memory type if one but not both compared attributes are of the variable strings type. It ended in H5Aread() failure.

Solution:
    We decided to treat the case when one type is variable length string and the other is not as incomparable. That bypassed the above error.  We still need to figure out the proper way, if possible, to compare variable string with non-variable string types.

Tested: h5committested plus tested in Swallow (OS X 10.8).
2014-04-22 17:25:51 -05:00
Allen Byrne
2b11123a20 [svn-r25075] Correct the install folder logic.
Tested: local linux and Mac
2014-04-22 13:41:11 -05:00
Binh-Minh Ribler
a75e8dd654 [svn-r25061] Description:
Put back overloaded functions for backward compatibility:
    - were replaced by better prototyped versions, such as Attribute::getName.
    - were modified to add const to constant arguments.
    Added notes for future removal in documentation.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-17 18:25:01 -05:00
Frank Baker
ca6e13d3df [svn-r25057] Description:
Update copyright notice to include 2014.
2014-04-16 13:14:05 -05:00
Larry Knox
01cd10e0cd [svn-r25054] Merge changes to RELEASE.txt for 1.8.13 release:
Reviewed and revised version information for unix daily tested machines in supported a
d tested platforms sections.
Added description of LD_LIBRARY_PATH change to configure and using scripts to compile
nd run installed example files to Bug Fixes/Configuration section.

Text change only.
2014-04-16 12:11:51 -05:00
Dana Robinson
b4c44f8eeb [svn-r25045] Fixed a few missing lines of code that were not merged when the
core VFD paging changes were brought over.

Tested on:
    32-bit LE linux (jam)
    64-bit LE linux (koala)
    64-bit BE linux (ostrich)

All were tested with HDF5_DRIVER set to "core_paged".
2014-04-14 11:17:52 -05:00
Allen Byrne
94ede7a8ce [svn-r25043] Correct CPPFLAGS value.
Correct test DEPENDS format.
2014-04-14 10:50:13 -05:00
HDF Tester
6233002749 [svn-r25034] Snapshot version 1.9 release 177 2014-04-13 04:56:37 -05:00
Binh-Minh Ribler
9eec404f8b [svn-r25025] Description:
Added:
	./c++/src/header_files/hdf_logo.jpg
	./c++/src/header_files/help.jpg
2014-04-11 22:06:19 -05:00
Binh-Minh Ribler
d259d6e0ab [svn-r25020] Description:
- Fixed a few comments that Doxygen gave warnings on.
    - Removed stylesheet from configuration so Doxygen will use the default
        stylesheet and removed the CLANG-related lines to eliminate another
        error since we're not using that feature, so the lines should not
        present. (from cpp_doc_config)
Platforms tested:
    Linux/32 2.6 (jam) - only changing comments
2014-04-11 20:04:47 -05:00
Binh-Minh Ribler
1ae7c67a71 [svn-r25019] Description:
Updated configuration file to use Doxygen 1.8.5 properly.
    Verified with Doxygen 1.8.5 on Jam, using bin/release.
    After committing, this will be checked out and verified
    again to make sure.
2014-04-11 15:51:12 -05:00
Allen Byrne
e2bc556949 [svn-r25009] Add missing mod file to install
Tested: local linux
2014-04-10 08:27:28 -05:00
Allen Byrne
3edb726818 [svn-r25005] Update release docs 2014-04-09 13:56:19 -05:00
Allen Byrne
c0bb145242 [svn-r25002] By Permission: Add missing mod file to install
Tested: local linux
2014-04-09 10:11:04 -05:00
Scot Breitenfeld
3677c1cc8e [svn-r25001] Cast as integer to verify routine to remove intel warning.
Tested: jam (intel)
2014-04-09 09:45:04 -05:00
Albert Cheng
9734210966 [svn-r24999] Bugfix: HDFFV-8639
h5diff segfaults with user's files

Solution:
Added a variable to indicate if real data are in the buffer and will call H5Dvlen_reclaim()
only when real data are in the buffer.

Tested: with the user provided data files and no more segmentaion fault.
Also h5committ tested.
2014-04-09 06:23:16 -05:00
Quincey Koziol
3de25ee226 [svn-r24998] Description:
Check in Neil's changes for correctly handling case where library is
reinitialized through a deprecated routine.

Tested on:
    Linux 2.4.x/32 (jam)
2014-04-09 00:08:21 -05:00
Larry Knox
f32690b53c [svn-r24997] Added compiler versions for mpich to settings file and configure summary.
For make installcheck, compile and run installed examples using the installed scripts.  They were being compiled but not run.
Add Fortran2003 examples to the run-ex-fortran script when fortran2003 is enabled.
Set flag to -O3 in production mode for Intel compilers other than those with specified other settings.
Gentoo patches:
    Remove unnecessary setting of LD_LIBRARY_PATH from configure.
    Prevent potential array subscript out of bounds error in perform/pio_engine.c and sio_engine.c.

Tested with h5committest on jam, koala, ostrich and platypus, on emu and kite, and parallel tests on jam, koala and platypus with mpich built with gnu 4.8.2 and with intel compilers.
2014-04-08 23:55:49 -05:00
Binh-Minh Ribler
a2c8dc8972 [svn-r24996] Description:
Fixed some minor documentation mistakes.
    Updated configuration file for Doxygen.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
2014-04-08 23:40:46 -05:00
Quincey Koziol
c1163e0399 [svn-r24995] Description:
Improve checks for NULL buffer from user during H5Dread/H5Dwrite calls.

Tested on:
    Linux/32 2.4.x (jam) w/gcc
2014-04-08 23:16:53 -05:00
Binh-Minh Ribler
0dc4ce3704 [svn-r24994] Purpose: Removed some warnings
Description:
    Turned on warnings and removed some of those.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-08 23:03:03 -05:00
Dana Robinson
5ae7ad342d [svn-r24993] Purpose:
Adds write tracking to the core VFD, which can be configured
via the H5Pset/get_core_write_tracking() API call. When enabled
and writing to the backing store is enabled, this feature will
track writes and only write out the changed bytes on flush/close.

Tested on:
    32-bit LE linux (jam) w/ Fortran and C++
    64-bit BE linux (ostrich)
    64-bit Darwin 12.5.0 (kite)

All were tested using the core VFD w/ paging on (core_paged
in the VFD list). Make check-vfd was also tested on jam.
2014-04-08 22:35:16 -05:00
Binh-Minh Ribler
385b4b40ae [svn-r24991] Purpose: Fixed HDFFV-3384
Description:
    - Added const to const arguments
    - Fixed miscellaneous comments
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-08 21:36:48 -05:00
Albert Cheng
aaf5c1d400 [svn-r24989] Problem:
AIX compiler complains that:
ex_ds1.f90, line 89.16: 1512-050 (W) Field separator is missing, in literal FMT specifier, after edit descriptor X.  A comma is assumed.
Line 89:
  WRITE(*,'(/,5X 3(A,1X),I0,A,L1)') 'Is',TRIM(DS_1_NAME),&

Solution:
Added the missing comma after "5X".

Tested:
AIX system.
2014-04-08 20:08:08 -05:00
Allen Byrne
ae84631570 [svn-r24987] HDFFV-8709, HDFFV-8776, HDFFV-8777, HDFFV-8778
Apply user patches, regenerate and patch results for windows.

Miminum changes tested locally
2014-04-08 14:35:34 -05:00
Scot Breitenfeld
9cd1a1bb60 [svn-r24986] Comparing REALs now converts all REALs to double precision and then compares if the two numbers are equivalent.
Tested: jam (gnu, intel)
2014-04-08 14:34:42 -05:00
Scot Breitenfeld
d1f2b1a682 [svn-r24985] reverted the r24984 update. 2014-04-07 20:00:24 -05:00
Scot Breitenfeld
ff9a10cfda [svn-r24984] Added overload operatorZ to compare REALs for tests.
Tested on jam (gfortran, (-r8))
2014-04-07 19:18:20 -05:00
Binh-Minh Ribler
67a61ed22f [svn-r24983] Purpose: Fix HDFFV-8367
Description:
    - Added wrappers to CommomFG for H5Oget_info_by_name() to get a child
      object's type (requested by user)
        H5O_type_t childObjType(const H5std_string& objname) const;
        H5O_type_t childObjType(const char* objname) const;
        H5O_type_t childObjType(hsize_t index, H5_index_t index_type=H5_INDEX_NAME, H5_iter_order_t order=H5_ITER_INC, const char* objname=".") const;
    - Added tests to tobject.cpp
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-07 15:08:59 -05:00
Elena Pourmal
849177c7b6 [svn-r24979] Maintenance: Addressed DT failures on emu in 64-bit mode and on macs, linux, powerpc
for non-standard sizes of reals.

Platforms tested: jam, ostrich, platypus, kite, quail, emu
2014-04-07 12:05:22 -05:00
Scot Breitenfeld
f6a04cded9 [svn-r24978] Removed the .mod (and .raw) files when make clean is issued.
tested (emu).
2014-04-07 11:29:23 -05:00
Allen Byrne
c520294d67 [svn-r24977] Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32
Tested: local linux CMake
2014-04-07 10:39:13 -05:00
Binh-Minh Ribler
25b1330915 [svn-r24975] Description:
Added c++/test/tobject.cpp
2014-04-07 09:11:13 -05:00
Elena Pourmal
c455fdc4f1 [svn-r24974] Maintenance: Fixed daily tests parallel tests compilation failures
Platforms tested: jam
2014-04-07 08:49:00 -05:00
Binh-Minh Ribler
607634a69b [svn-r24973] Description:
Added c++/test/tobject.cpp
2014-04-06 22:27:14 -05:00
Elena Pourmal
805b1ec23c [svn-r24972] Maintenance: Fixed another typo; see HDFFV-8714 2014-04-06 17:57:04 -05:00
Elena Pourmal
dde80eef11 [svn-r24970] Maintenance: Fixed a typo in a comment line (see HDFFV-8714) 2014-04-06 17:52:44 -05:00
Binh-Minh Ribler
a08f75b073 [svn-r24969] Description:
- Added wrappers to H5Object for H5Iget_name() to get object's name
        ssize_t getObjName(char *obj_name, size_t buf_size = 0) const;
        ssize_t getObjName(H5std_string& obj_name, size_t len = 0) const;
        H5std_string getObjName() const;
    - Added tests tobject.cpp
    - Added to various cleanup_* functions in tests to remove generated files
    - Added an overload H5I_type_t getHDFObjType() to get object's type
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu) with gmake
2014-04-06 17:36:15 -05:00
Elena Pourmal
70daa61a87 [svn-r24967] Maintenance: Reorganized and cleaned the code to remove compiler warnings in the Fortran test code
and examples. 

Platforms tested: Manual testing in place and using srcdir on jam, platypus, and emu with default and 
                  PGI, Intel and new GNU compilers. ifort compiler was also tested with -i8 and -r8 flags
                  on jam.  CMake tested on jam.
2014-04-06 10:56:21 -05:00
HDF Tester
a9724dfd6c [svn-r24966] Snapshot version 1.9 release 176 2014-04-06 04:20:59 -05:00
Dana Robinson
5d7af691c3 [svn-r24965] Fixed a typo in the thread-safe code.
Tested on:
    32-bit LE linux w/ thread-safe (jam)
2014-04-04 22:35:32 -05:00
Albert Cheng
785d65181d [svn-r24964] HDFFV-8704: Mac OS X 10.6 (Snow Leopard) is retired from supported platforms. 2014-04-04 17:35:51 -05:00
Dana Robinson
b17ef126a7 [svn-r24961] Updates to Win32 thread-local storage cleanup when the thread-safe library is built on Windows. Previously, thread-local storage was not cleaned up, causing resource leaks.
Fixes HDFFV-8518, HDFFV-8699

As a part of these changes, the thread-safe + static library options are declared unsupported since the solution relies on DllMain. A solution for the static library is probably doable, but requires much more complicated surgery and has been deferred to HDF5 1.8.14.

Tested on:
    64-bit Windows 7 using VS 2012 (changes only affect Windows)
2014-04-04 15:51:30 -05:00
Scot Breitenfeld
79a891c241 [svn-r24959] Updated the development procedures. 2014-04-03 15:51:16 -05:00
Allen Byrne
5f4562b2ea [svn-r24954] HDFFV-8700: lowercase CMake commands 2014-04-03 10:34:08 -05:00
Scot Breitenfeld
e26b78a04b [svn-r24953] Fixed --enable-production compilation error using Sun compilers.
Tested (emu)
2014-04-03 10:18:42 -05:00
Scot Breitenfeld
b0bdd25417 [svn-r24952] Fixed -i8 -r8 error with optimization on jam using intel compiler.
Tested: jam (intel)
2014-04-03 10:01:21 -05:00
Scot Breitenfeld
b87b1c965d [svn-r24951] Changed ordering of initiation of variable to remove warnings using sun compilers.
Tested: emu
2014-04-03 09:35:54 -05:00
Allen Byrne
6739a7f7ac [svn-r24950] Add missing prefix 2014-04-03 08:56:51 -05:00
Allen Byrne
98bbf4a36a [svn-r24948] Group tests by Common name
Remove WIN32 AND NOT CYGWIN if blocks - should be just WIN32

Tested: local linux CMake
2014-04-02 13:35:01 -05:00
Scot Breitenfeld
5555f057ae [svn-r24945] Fixed failed test on jam with intel compilers and -i8 -r8
Tested: jam (intel)
2014-04-02 09:17:14 -05:00
Scot Breitenfeld
c86aedeba1 [svn-r24939] Fix for HDFFV-8309 Fortran wrappers for H5Pget/set_file_image functions
Tested: jam (gnu, intel, pgi)
2014-04-01 10:15:26 -05:00
Binh-Minh Ribler
0fcac56705 [svn-r24938] Description:
- Overloaded Atribute::getName to take a char* for the attribute name:
        ssize_t Attribute::getName(char* attr_name, size_t buf_size)
    - Switched the arguments in this function:
        ssize_t getName(size_t buf_size, H5std_string& attr_name)
        so it became:
        ssize_t getName(H5std_string& attr_name, size_t buf_size)
        The second argument is default to 0, and can be skipped.
    - Removed this function:
        H5std_string getName(size_t buf_size); it'll collide with the
        first function when that function takes a NULL for the first
        argument, and uses default value for the second argument.
    - Added more tests
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-04-01 00:59:37 -05:00
Dana Robinson
d01ee66666 [svn-r24937] Adds an H5free_memory() function to the library for use with
functions that return library-allocated memory. The test and tool
code were modified to use this new function where it's appropriate.

Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551

Tested on:
    64-bit Windows 7 w/ VS2012
    32-bit LE linux w/ parallel and fortran (jam)
    32-bit LE linux w/ fortran and C++ (jam)
2014-03-31 18:35:09 -05:00
Allen Byrne
ef9db69bf3 [svn-r24936] Correct declaration name 2014-03-31 14:54:03 -05:00
Allen Byrne
f5f913436f [svn-r24935] Correct line numbers 2014-03-31 14:52:22 -05:00
Allen Byrne
163f4036ec [svn-r24934] Update file as referenced in configure 2014-03-31 13:37:22 -05:00
Allen Byrne
8faebe2aa8 [svn-r24933] Add file required by automake 2014-03-31 12:55:47 -05:00
Allen Byrne
c6fe8c70b2 [svn-r24932] HDFFV-8290: Remove unnecessary $(srcdir) and use AM_CPPFLAGS instead of INCLUDES. Update automake to 1.14.1
h5committest
2014-03-31 12:07:05 -05:00
Allen Byrne
cf482acf55 [svn-r24931] Add interface property to target 2014-03-31 10:45:07 -05:00
Binh-Minh Ribler
5f17eea9cd [svn-r24929] Description:
Added proper deallocation/allocation to test.
    Revised incorrect comments.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-31 00:27:17 -05:00
Binh-Minh Ribler
82df757e96 [svn-r24926] Description:
Added c++/test/tdspl.cpp
2014-03-30 11:16:04 -05:00
Binh-Minh Ribler
be38074a2f [svn-r24925] Purpose: Fix HDFFV-7907
Description:
    Added transform property list functions
        // Constructor creates a dataset transform property list.
        DSetMemXferPropList(const char* expression);

        // Sets data transform expression.
        void setDataTransform(const char* expression) const;
        void setDataTransform(const H5std_string& expression) const;

        // Gets data transform expression.
        ssize_t getDataTransform(char* exp, size_t buf_size=0) const;
        H5std_string getDataTransform() const;

    Added test file tdspl.cpp.

Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-30 11:15:11 -05:00
HDF Tester
d6cd6cabc2 [svn-r24924] Snapshot version 1.9 release 175 2014-03-30 04:18:22 -05:00
Allen Byrne
5ccbc671e4 [svn-r24919] Add MINGW check
Tested: MinGW on Windows 7
2014-03-27 15:34:35 -05:00
Allen Byrne
65ebbe2753 [svn-r24918] Fix command case 2014-03-27 15:32:47 -05:00
Binh-Minh Ribler
e79b0dece5 [svn-r24912] Purpose: Fix HDFFV-8642
Description:
    Added CompType::setSize(size_t size) to set size for compound data type
    as H5Tset_size had been changed.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-26 23:36:53 -05:00
Allen Byrne
448e1e05f1 [svn-r24904] Revert includes move 2014-03-26 09:38:18 -05:00
Allen Byrne
1e1f754fb0 [svn-r24903] Correct mod install lists
Tested: local linux
2014-03-26 09:36:08 -05:00
Binh-Minh Ribler
7ed2b997ba [svn-r24901] Description:
Fixed mismatched function prototype/definition that caused daily
    test failure on emu/production/HDF5TestExpress=1.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
2014-03-25 19:47:07 -05:00
Allen Byrne
9db0c02b96 [svn-r24899] Add msmpi fortran libs to FindMPI 2014-03-25 16:57:30 -05:00
Allen Byrne
425408b5a1 [svn-r24895] Add INTERFACE properties to libs 2014-03-25 13:25:53 -05:00
Dana Robinson
84e27c4af1 [svn-r24893] CMake now prohibits configuring thread-safety w/ Fortran and C++.
These changes only apply to non-Cygwin Windows since CMake does not allow configuring thread-safety on any other platform.

Tested on 64-bit Windows 7.
2014-03-25 10:44:51 -05:00
Allen Byrne
403506efd4 [svn-r24889] Fix fortran mod file handling and packing 2014-03-24 16:58:59 -05:00
Scot Breitenfeld
8b27024edd [svn-r24888] Cleaned-up warning errors using --enable-fortran only and gcc 4.8.2
tested: gcc (4.8.2, jam)
2014-03-24 16:20:14 -05:00
Allen Byrne
075a5a9a3a [svn-r24887] Fix fortran mod file handling and packing 2014-03-24 16:03:32 -05:00
Allen Byrne
63e1b32068 [svn-r24886] Fix fortran mod file handling and packing 2014-03-24 16:00:34 -05:00
Allen Byrne
810285be8e [svn-r24876] Move includes command up before all programs 2014-03-24 11:29:13 -05:00
Quincey Koziol
f251a0219c [svn-r24875] Description:
Update with corresponding information that was changed in
hl/src/H5Tanalyze.l in r24869.

Tested on:
    Linux 2.6.32-431.5.1.el6.ppc64/64 (ostrich)
2014-03-24 10:48:36 -05:00
Quincey Koziol
f97d63cb95 [svn-r24869] Description:
Clean up more compiler warnings, plus merge a few Coverity bug fixes from
the hdf5_1_8_coverity branch back to the trunk:

r20877:
Purpose: Fix coverity issue 1723

Description:
Modified test_generate in hl/test_image to close file "f" before exit, even if
an error occurs.

r20879:
Issue 63: change check of return of H5Tget_nmembers to <=0. No need to go
futher if call fails as well as empty.

r20881:
Coverity #659 in Run 46: I changed the Line 442 where it tries to check whether
FLAG_PRINTED is TRUE.  But it had just been set to FALSE.  I took out the
condition check in the print statement.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & Parallel
    (too minor to require h5committest)
2014-03-23 01:27:57 -05:00
Binh-Minh Ribler
67be45610f [svn-r24867] Description:
- Added a null terminator to the comment returned from the C call, in
        getComment methods
    - Some minor cleanup
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (platypus)/PGI compilers
2014-03-22 15:39:44 -05:00
Scot Breitenfeld
958a762dd1 [svn-r24866] Fixed compiler warnings using gnu 4.8.1
Tested: jam( intel, gnu, pgi)
2014-03-22 15:01:58 -05:00
Binh-Minh Ribler
60df159d33 [svn-r24865] Description:
- Added another overload for char* argument:
        ssize_t getComment(const char* name, const size_t buf_size, char* comment)
    - Changed default value to 0 for the other two getComment methods
    - Added HDmemset to after every char string allocation to clear the buffer
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (platypus)/PGI compilers
2014-03-21 18:23:05 -05:00
Quincey Koziol
2e4302818a [svn-r24864] Description:
Remove all traces of MPI-POSIX VFD and GPFS detection/code.

    Remove remaining traces of stream VFD.

    Remove testpar/t_posix_compliant test (it's not actually verifying anything).

    Clean up H5D__mpio_opt_possible() further.

    Moved environment variable that disables MPI collective operations into
MPI-IO VFD (instead of it being in src/H5S.c).

    A few other small code cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
2014-03-21 18:02:24 -05:00
Allen Byrne
c4f982abf1 [svn-r24859] Remove unnecessary use of $(srcdir).
Tested: local linux, h5committest
2014-03-21 13:50:30 -05:00
Dana Robinson
7a4727d80c [svn-r24857] --enable-threadsafe no longer requires --with-pthreads if Pthreads can
be found in the standard include and library paths.

Tested on:
    32-bit LE linux (jam)
    SunOS 5.11 (emu)
    64-bit Darwin 12.5 (kite)
    64-bit FreeBSD 8.2 (freedom)

Testing focused on making sure that Pthreads could be found on different
platforms and investigating the interaction of Fortran/C++/thread-safe
options.
2014-03-21 10:19:07 -05:00
Scot Breitenfeld
6515a1f8ac [svn-r24856] added missing common statement 2014-03-21 09:34:05 -05:00
Scot Breitenfeld
6c13c99ce9 [svn-r24855] added missing dllexport 2014-03-21 09:28:03 -05:00
Allen Byrne
da23edd24e [svn-r24851] example causes modal permission dialog to popup on windows. build but do not execute. 2014-03-20 16:18:30 -05:00
Allen Byrne
ba2c98d42a [svn-r24850] example causes modal permission dialog to popup on windows. Do not build. 2014-03-20 16:17:24 -05:00
Allen Byrne
0be0491ee4 [svn-r24849] Update to synch with latest cmake 2014-03-20 14:05:30 -05:00
Scot Breitenfeld
34bfba14d5 [svn-r24846] Bug fix for HDFFV-8689 : Mix-match of type in H5D_CHUNK_CACHE_NBYTES_DEFAULT, Review HDF5-184
Tested with -i8 flag with intel compilers and --enable-production
2014-03-20 09:06:42 -05:00
Binh-Minh Ribler
ff565cd175 [svn-r24830] Purpose: HDFFV-8623
Description:
    Applied patch from user Jason Newton.  JIRA issue HDFFV-8623, patch
    9, improve c++ compatibility with exceptions.  All additions of "throw()"
    are included.  Exception::what() is not added because it is not necessary.
    It was suggested for the name, which follows stdlib.
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2014-03-18 14:31:18 -05:00
Allen Byrne
44fe3cc19b [svn-r24826] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Bump up CMake minimum versions.
Split test file into separate file for h5repack test.

Tested: local linux
2014-03-18 11:55:05 -05:00
Allen Byrne
03d10edd23 [svn-r24824] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Bump up CMake minimum versions.
Split test file into separate file for h5repack test.

Tested: local linux
2014-03-18 11:21:46 -05:00
Allen Byrne
73a72c59b8 [svn-r24822] Update GYGWIN version 2014-03-18 10:03:21 -05:00
Allen Byrne
185b3c5dee [svn-r24816] HDFFV-8695:
Add notes about defining  
-DCMAKE_BUILD_TYPE:STRING=Release
2014-03-17 17:12:46 -05:00
Quincey Koziol
164b4c7534 [svn-r24804] Description:
Brought changes from Coverity branch back to trunk, and cleaned up misc.
other warnings & formatting issues:

r20833:
Fixed Coverity 667 and 668 with real integer overflow tests this time.

r20834:
Use HDstrncpy and HDstrncat. --gh 

r20835:
Change to use strncpy - use base_len + 1 for line 156, use HDstrlen(path) + 1 for line 159

r20836:
Fixed coverity 585 by casting output of fgetc() to a char.

r20837:
Changed sprintf calls to snprintf with size 1 less than the allocated buffer to address coverity issue #967.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/C++, FORTRAN & parallel
    (too minor to require h5committest)
2014-03-15 23:44:13 -05:00
Quincey Koziol
288c7760a4 [svn-r24803] Description:
Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from
src/H5private.h to src/H5public.h.  Wrap typedef of hsize_t and hssize_t
in DIAG_OFF(long-long) macros.

    Clean up a bunch of "macro '-' is unused" warnings.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/gcc 4.8.2, C++, FORTRAN, parallel
    (too minor to require h5committest)
2014-03-15 22:13:52 -05:00
Allen Byrne
f5689224b5 [svn-r24789] Bump up the minimum cmake version 2014-03-13 10:05:09 -05:00
Scot Breitenfeld
b17f3e4183 [svn-r24783] fixed typo 2014-03-12 09:20:47 -05:00
Allen Byrne
6c5e74942d [svn-r24782] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
2014-03-11 17:07:13 -05:00
Allen Byrne
a3292a77ce [svn-r24781] HDFFV-8700 -
KitWare recommendations: Change CMake commands to lower case.
Remove INCLUDE_DIRECTORIES in src for target level includes.
Change ADD_DEFINITIONS package debug defines into CMake option.
Remove -DNDEBUG
2014-03-11 16:14:57 -05:00
Quincey Koziol
5b7c8c7a7d [svn-r24772] Description:
Correct some dynamically sized arrays that fail on Windows.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel
2014-03-10 13:03:35 -05:00
HDF Tester
4a9ea60adc [svn-r24770] Snapshot version 1.9 release 174 2014-03-09 05:17:47 -05:00
Quincey Koziol
ac0ef34a41 [svn-r24769] Description:
Check in Mohamad's changes to support collective I/O on point selections,
along with some other minor cleanups.

Tested on:
    Mac OSX/64 10.9.2 (amazon) w/parallel & serial
    (h5committest forthcoming)
2014-03-07 14:12:20 -05:00
Neil Fortner
e367f64e24 [svn-r24757] Change assertion to condition check/error return. Should fix periodic
assertion failure in fheap test (in test that is expected to fail cleanly).

Fix type in H5detect.c

Tested: ostrich, platypus (h5committest - jam and koala having issues)
2014-03-03 17:54:14 -05:00
HDF Tester
f683d9a035 [svn-r24753] Snapshot version 1.9 release 173 2014-03-02 04:16:37 -05:00
Allen Byrne
e1e136ea1d [svn-r24744] Correct NSIS name 2014-02-27 12:42:31 -05:00
Allen Byrne
f68f4be233 [svn-r24742] Synchronize Apple bundle packaging with latest changes discovered during hdf-java work. 2014-02-27 11:53:12 -05:00
Allen Byrne
db1b11b69b [svn-r24741] HDFFV-8684: Change Package name depending on CDASH_LOCAL configuration variable.
Tested: local linux
2014-02-27 10:43:08 -05:00
Albert Cheng
c2bf6ea162 [svn-r24739] Bug fix: HDFFV-8684
h5committest failed in platypus because cmakehdf5 failed in installation because cmake generates
a install-tarball based on incomplete version number (subrelease string is missing).

Solution:
Fixed $HDF5_PACKAGE_VERSION to contain the subrelease string.
Fixed $HDF5_PACKAGE_VERSION_STRING to be the same as $HDF5_PACKAGE_VERSION.

Tested: jam and platypus in both trunk and v18 branches because the current
version number is trunk has a null sub-release and v18 has a non-null sub-release.
That covers both grounds.
2014-02-26 16:29:55 -05:00
Quincey Koziol
1162465570 [svn-r24727] Description:
Revert change of sprintf -> snprintf, due to failures on Windows.  We'll
need to figure out the correct course of action in the future.

Tested on:
    MacOSX/64 10.9.1 (amazon) w/C++, FORTRAN
    (too minor to require h5committest)
2014-02-21 11:53:33 -05:00
Quincey Koziol
1e36b5a348 [svn-r24726] Description:
Revert some earlier usage of strncpy, which was incorrect.

    Bring Coverity changes from branch back to trunk:

r20821:
    Use HDstrncpy. --gh
    (Fixed already, with strdup)

r20822:
    (Not merged, incorrect use of HDstrncpy())

r20823:
    (Not merged, incorrect use of HDstrncpy())

r20824:
    Maintenance: Bug fix: addressed CID 666.
    Value stored at *expression_len should be used in the call to
        HD5packFstring to avoid overflow (and unnecessary arithmetic
        calculation and casting) 

r20825:
    Issue 642: Added check for error and handler with print to stderr and exit.

r20826:
    Undo revision 20818, as that issue has already been fixed in the 1.8 branch
        and trunk (but not coverity branch)

r20827:
    (Not merged, incorrect use of HDstrncpy())
    
r20828:
    Use HDstrncpy. --gh
    (Corrected use of strncpy())

r20829:
    Check return of H5Lget_val(print_udata->fid, path, targbuf,
        linfo->u.val_size + 1, H5P_DEFAULT) and if error set trgbuf[0] to 0.
        Check if  H5Lunpack_elink_val(targbuf, linfo->u.val_size, NULL,
        &filename, &objname) was successful and allow print. Otherwise filename
        and objname are not created. (init those to NULL)

r20830:
    resolved coverity issues 939, 940, 941, 944, and 947.

    all were complaints about use of sprintf, and in all cases, the
    buffers used were large enough for all eventualities.

    Resolved issue by replacing calls to sprintf with calls
    to snprintf.

r20831:
    Maintenance: Addressed CID 852
    Replaced sprintf with snprintf

r20832:
    Purpose: Fix valgrind issues with hl/examples/ex_image2

    Description:
    Modified hl/examples/ex_image2 to free global "gbuf" before exit.

Tested on:
    Mac OSX/64 10.9.1 (amaon) w/C++, FORTRAN & Threadsafety
    (too minor to require h5committest)
2014-02-20 16:29:26 -05:00
Allen Byrne
b30e37ea78 [svn-r24725] HDFFV-8629: h5repack will not attempt to remove UD filters. h5repack requires a check for UD filters that also must check if the filter can be dynamically loaded. This require a change in the library that checks for this.
Tested: locally and reviewed
2014-02-20 15:21:08 -05:00
Allen Byrne
d0ae86bc64 [svn-r24724] Fix MPI linker flags with quotes 2014-02-20 15:18:42 -05:00
Allen Byrne
bf908ca553 [svn-r24722] Set NSIS display name 2014-02-18 10:07:53 -05:00
HDF Tester
d7f00b8002 [svn-r24716] Snapshot version 1.9 release 172 2014-02-16 03:32:48 -05:00
Allen Byrne
7c54d413ae [svn-r24715] Add Windows VS version for README.txt 2014-02-14 09:30:30 -05:00
Allen Byrne
9dc573798d [svn-r24713] Update Windows VS version for README.txt 2014-02-14 09:15:28 -05:00
Mohamad Chaarawi
863ff882b6 [svn-r24709] rename H5V to H5VM since H5V is needed in the fastforward project for
view objects.  The addition of view objects in the fastforward project
is expected to be brough into the trunk sometimes in the future, which
is why we need to make this change.

Tested Manually on Jam and Ostrich.
Tested with h5commitest - Koala with intel compilers failed, but nothing had to do with those changes.
error on Koala: error while loading shared libraries: libirng.so
2014-02-13 17:12:46 -05:00
Allen Byrne
49a9979166 [svn-r24706] Add to instructions for install 2014-02-13 09:10:50 -05:00
Allen Byrne
82f62cd012 [svn-r24703] Add Binary README.txt file generation
Tested: local linux cmake
2014-02-13 09:00:00 -05:00
Allen Byrne
ab045c634c [svn-r24700] Updated packaging process to align with latest hdf cmake standards. 2014-02-11 15:22:16 -05:00
HDF Tester
1b6683e58f [svn-r24698] Snapshot version 1.9 release 171 2014-02-09 03:36:37 -05:00
Scot Breitenfeld
ecc60884a8 [svn-r24697] Fix for:
HDFFV-8651: H5F_Provisional missing from HDF5mpio.f90

Tested: jam (mpi 3.0.4/gnu)
2014-02-07 16:45:23 -05:00
Allen Byrne
6569d7437a [svn-r24682] Add IF SHARED block around Windows PDB file generation command. 2014-02-04 10:11:36 -05:00
Scot Breitenfeld
ee10548723 [svn-r24681] Description:
Fix for HDF5/HDFFV-8620 H5Rget_name with NULL name parameter fails.
The name parameter now excepts NULL, in which case the length of then
name is returned.


Tested: jam (intel and gnu)
2014-02-04 10:11:20 -05:00
HDF Tester
ddf75b10f6 [svn-r24676] Snapshot version 1.9 release 170 2014-02-02 03:34:20 -05:00
Allen Byrne
0a2ed24d0f [svn-r24672] Update document with ctest script changes. 2014-01-31 13:15:02 -05:00
Allen Byrne
a3e2fabb53 [svn-r24670] HDFFV-8567: Fix cmake tests for changes in reference files due to test script changes in autotools test scripts.
Tested: local linux
2014-01-31 09:15:59 -05:00
Allen Byrne
d9423717e4 [svn-r24668] HDFFV-8568: Remove Acknowledgements file from release binaries 2014-01-30 16:32:40 -05:00
Allen Byrne
b7b4e77f12 [svn-r24666] Fix test folder deletion issue
Tested: local linux autotools
2014-01-30 16:27:23 -05:00
Allen Byrne
2f8c7fbd5e [svn-r24659] Restore dsets test to cmake process 2014-01-28 17:20:41 -05:00
Allen Byrne
362ffa9f05 [svn-r24657] Add VS Express check 2014-01-28 16:48:36 -05:00
Allen Byrne
4f2f2cf6a2 [svn-r24656] Correct packaging variables and use standard cpack module. Remove file. 2014-01-28 16:30:10 -05:00
Allen Byrne
256b36e141 [svn-r24655] Correct packaging variables and use standard cpack module. 2014-01-28 16:25:21 -05:00
Albert Cheng
50bd3521af [svn-r24652] HDFFV-8572: test/testhdf5.c main() should not return number of errors
Solution: testhdf5 now exits EXIT_SUCCESS(0) if no errors, else
EXIT_FAILURE(1).

Tested: Jam only since it is a trivial fix.
2014-01-27 17:33:34 -05:00
Allen Byrne
2f86aa7551 [svn-r24646] HDFFV-8640: Remove xlate_utility by fixing reference files to not add extra lines.
Tested: cmake and autotools local linux
2014-01-27 09:26:21 -05:00
Allen Byrne
8235d9820a [svn-r24644] Correct numbering 2014-01-24 15:06:35 -05:00
Allen Byrne
cf543d258e [svn-r24643] Handle szip lib like zlib lib 2014-01-24 15:05:56 -05:00
Allen Byrne
146a357b90 [svn-r24642] Update other VMs to latest versions 2014-01-24 14:37:21 -05:00
Allen Byrne
63df298fcc [svn-r24641] Handle szip lib like zlib lib 2014-01-24 14:35:58 -05:00
Allen Byrne
25b90a558c [svn-r24639] Add SUN specific block skipping. 2014-01-21 16:37:52 -05:00
Scot Breitenfeld
4a428e25b8 [svn-r24636] typesetting changes for documentation 2014-01-17 16:10:29 -05:00
Neil Fortner
132601ba46 [svn-r24635] Change some range check assertions to errors in H5HF_man_remove in an attempt
to aid in diagnosing issue HDFFV-8647.

Tested: ummon
2014-01-16 16:31:26 -05:00
Allen Byrne
0ff7eb5cda [svn-r24632] Correct name of package location variable 2014-01-16 14:12:02 -05:00
Allen Byrne
1596d15623 [svn-r24631] Update change to relative install location for linux 2014-01-16 13:58:49 -05:00
Scot Breitenfeld
d4d0407a87 [svn-r24623] Enabled test for
HDFFV-8268 Fortran wrapper for H5Fget_file_image function

Tested: jam (pgi compilers)
        h5committest
2014-01-08 15:21:32 -05:00
Allen Byrne
d8b13f60ff [svn-r24621] Update files for changes to installation vars on windows. 2014-01-07 15:02:21 -05:00
Albert Cheng
f30276c462 [svn-r24617] Changed --old to --script as directed by Allen.
Tested: jam (only verify help message is correct and --script is invoked
correctly.)
2014-01-07 14:31:02 -05:00
Mohamad Chaarawi
6ceb9711b8 [svn-r24612] fix bugs in parallel tests exposed in corner cases when running with 1
or 2 processes.

First bug is in testpar/t_mdset.c, where the test reports an error in
addition to skipping the test if there are less than three procs. Fix
to just skip the test.

Second bug is in testpar/t_dset.c in actual_io_mode tests, where
incorrect expected value for IO mode was set if the number of procs
running the test is 1.

tested with h5committest.
2014-01-06 12:56:45 -05:00
Scot Breitenfeld
1febc8a453 [svn-r24611] This is a partial fix for HDFFV-8634. It fixes the problem without --enable-fortran2003, where the optional parameter should not be given as an option for an interface to a C function. --enable-fortran2003 does not work due to a compiler bug in intel 14.0
Tested: kite (intel 14.0 with --enable-fortran)
2014-01-06 10:53:56 -05:00
Albert Cheng
0a128b20a6 [svn-r24604] Feature: HDFFV-8336
Changed to use the quick steps described in INSTALL_CMake.txt.
Previous version is available by --old.
Added a help page to explain how to use.
Added a fix to figure out the current HDF5 version and use that to find the
correct file for install. (Still need to figure out the platform name.)

Tested: Jam and Koala
2014-01-01 13:31:36 -05:00
Mohamad Chaarawi
cdcf54a614 [svn-r24598] allocate and use the H5AC_aux_t struct even if num_procs == 1. This
was a bug exposed by running a single process with a program that
generates lots of dirty metadata that needs to be flushed.

h5committest done!
2013-12-30 15:22:28 -05:00
Allen Byrne
92d4f32514 [svn-r24588] Add sunos compile option changes 2013-12-19 09:55:17 -05:00
Allen Byrne
6a77f9821b [svn-r24505] Correct MacOSX bundle packaging 2013-12-05 15:46:09 -05:00
Allen Byrne
ebb6e8e3be [svn-r24504] HDFFV-8629: disable test until review is complete 2013-12-05 12:53:00 -05:00
Allen Byrne
0cffc628ba [svn-r24492] Correct autotools path 2013-12-03 16:47:56 -05:00
Allen Byrne
3b23b7eb1a [svn-r24487] HDFFV-8629: repack plugin_none test files.
CMake only until library updates approved.
2013-12-03 08:31:05 -05:00
Allen Byrne
008f2e4017 [svn-r24484] Update version and test name. 2013-12-02 16:00:22 -05:00
Allen Byrne
99a54a3056 [svn-r24483] Commit change from 1.8.12 src patch 2013-12-02 15:46:37 -05:00
Allen Byrne
624a466600 [svn-r24482] HDFFV-8635: remove test of whole file and just test dsets that have szip compression.
Tested local linux with cmake and autotools
2013-12-02 15:32:22 -05:00
Allen Byrne
5e695ce4bc [svn-r24481] HDFFV-8635: disable test because of szip causing different read call then expected. 2013-12-02 14:31:25 -05:00
Quincey Koziol
2d79ba29ed [svn-r24480] Description:
Bring r24479 from 1.8 branch to trunk:

    Fix ph5diff worker command handling so it can correctly respond to
situations where there's no work to perform.  Also, a few minor code cleanups.

Tested on:
    Mac OSX/64 10.9.0 (amazon) w/parallel
    (too minor to require h5committest)
2013-11-30 13:10:36 -05:00
Quincey Koziol
0a506a625b [svn-r24476] Description:
Remove duplicate "intent" flags from top & shared file structures, leaving
    them only in the shared file structure.

Tested on:
    Mac OSX/64 10.9.0 (amazon) w/gcc 4.8, both parallel & serial
    (too minor to require h5committest)
2013-11-30 00:51:42 -05:00
Allen Byrne
a25c08e9e2 [svn-r24472] remove line for file that does not exist 2013-11-27 11:34:03 -05:00
Allen Byrne
2f097704ca [svn-r24471] JAVA-1798: Add the testfiles for hdf-java and the h5dump tests including the test to read filter data.
Tested: cmake and autotools - local linux
2013-11-27 11:01:16 -05:00
Allen Byrne
6c90fd5b0b [svn-r24467] tfilters.h5 was created and checked in on 21 Feb 05, rev 10060, and never regenerated. The code for scaleoffset continued to change and the number of params for scaleoffset changed from 7 to 20 on the checkin of 23 Mar 05, rev 10384.
The h5dump tests only looked at headers and never the data. Data reads would fail with invalid number of params (7 expected 20).
Regenerated file and replacement ddls updated.
New h5dump test will be added to read the data.
2013-11-26 17:08:09 -05:00
HDF Tester
bc09cdc302 [svn-r24465] Snapshot version 1.9 release 169 2013-11-24 22:31:26 -05:00
Raymond Lu
200e48e08c [svn-r24463] Issue 8484 - Segfault during H5Fopen of corrupt file. I put a condition check to make sure a pointer isn't NULL.
Tested on jam - very simple change.
2013-11-22 15:59:07 -05:00
Allen Byrne
21cecf09fa [svn-r24432] Update examples package install location and text files 2013-11-12 16:31:01 -05:00
Dana Robinson
3a976e0aa7 [svn-r24416] Fixed some compiler warnings in the dsets test.
Tested on:
    32-bit LE linux (jam)

(These are just minor casting changes in the tests, hence the minimal
testing.)
2013-11-07 16:19:53 -05:00
Allen Byrne
93197c0257 [svn-r24412] Updated information on how to build examples with cmake installed binary. 2013-11-07 13:37:49 -05:00
Allen Byrne
43690b681c [svn-r24411] Correct file generation 2013-11-07 11:45:25 -05:00
Allen Byrne
8190a5e4b3 [svn-r24408] Add compound integer tests files
Tested: local linux cmake
2013-11-06 13:28:12 -05:00
Allen Byrne
132dfca7d0 [svn-r24403] Cleanup temp test files 2013-11-04 16:12:29 -05:00
Elena Pourmal
7aa4a180e4 [svn-r24400] Maintenance: When the libraries are built and tested in place, several files are left
behind by "make distclean" (see below); modified appropriate Makefile.am files and ran
             bin/reconfigure to create Makefile.in to fix the problem.

Here is the list of the files "make disclean" doesn't remove:

       tools/h5dump/testfiles
       tools/h5repack/testfiles/h5diff_attr1.h5
       tools/h5repack/testfiles/tfamily00000.h5
       tools/h5repack/testfiles/tfamily00010.h5
       tools/h5repack/testfiles/tfamily00002.h5
       tools/h5repack/testfiles/tfamily00004.h5
       tools/h5repack/testfiles/tfamily00006.h5
       tools/h5repack/testfiles/tfamily00008.h5
       tools/h5repack/testfiles/tfamily00001.h5
       tools/h5repack/testfiles/tfamily00003.h5
       tools/h5repack/testfiles/tfamily00005.h5
       tools/h5repack/testfiles/tfamily00007.h5
       tools/h5repack/testfiles/tfamily00009.h5
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.err-sav
       tools/h5jam/testfiles/h5jam-help.txt.err-sav
       tools/h5jam/testfiles/h5unjam-help.txt.err-sav
       tools/h5jam/testfiles/h5jam-ub-nohdf5.txt.out-sav
       tools/h5jam/testfiles/h5jam-help.txt.out-sav
       tools/h5jam/testfiles/h5unjam-help.txt.out-sav
       hl/fortran/test/dsetf5.h5
       c++/test/tattr_multi.h5
       c++/test/tattr_scalar.h5
       c++/test/tfattrs.h5
       c++/test/tattr_basic.h5
       c++/test/tattr_compound.h5
       c++/test/tattr_dtype.h5

Tested on jam and emu in place and using srcdir with the svn stat command.

This fix doesn't address two problems:

tool/h5dump/testfiles directory is not removed by "make distclean" and it should be
tools/misc/testfiles directory is removed by "make distclean" and it shouldn't be
2013-11-02 20:21:23 -05:00
Allen Byrne
819b8099e2 [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be cleaned. CMake update to clean testfiles.
Tested: local cmake, autools, and h5committest
2013-11-01 16:15:37 -05:00
Dana Robinson
2136f11a47 [svn-r24390] Fixed a redefinition of HDfree in the HL library.
Tested on:
    32-bit LE linux (jam)

There are no behavior changes, so testing was minimal.
2013-11-01 12:13:00 -05:00
Allen Byrne
a3f7f83ed9 [svn-r24385] Add missing H5_ prefix
Tested: local linux
2013-10-31 09:39:37 -05:00
Dana Robinson
0aa06db0a4 [svn-r24380] The parallel test code now uses HDfree, HDmalloc, and HDcalloc
exclusively.

Part of the preparation for a fix for HDFFV-8551.

Tested on:
    32-bit LE linux (jam) w/ parallel and Fortran.

There are no behavior changes, so testing was minimal.
2013-10-31 02:44:00 -05:00
Dana Robinson
89f2019ecf [svn-r24378] Fixed some commenting typos in configure.ac and reconfigured.
Tested on:
    32-bit LE linux (jam) 

There are no code changes.  A build/test was done just to confirm.
2013-10-31 00:24:22 -05:00
Dana Robinson
e6cace9ee4 [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.
Prep work for adding a memory free function, part of HDFFV-8551.

Tested on:
    32-bit LE linux (jam) 
        * with C++, Fortran
        * with thread safety on

    These are minor changes (almost entirely renaming foo functions
    to HDfoo) that don't change functionality.  This should not
    require a full commit test.
2013-10-30 23:20:36 -05:00
Raymond Lu
2eb24b16da [svn-r24368] Issue 8147 - clang's -fcatch-undefined-behavior exposed undefined behavior in the alignment detection algorithm for integers in H5detect.c. Quincey decided to solve it in two steps. First, catch illegal instruction signal in the original algorithm. Second, use POSIX __alignof function to detect alignment if it's available. This checkin is the first step.
Tested on wren, jam, ostrich, platypas, and koala.
2013-10-28 16:25:46 -05:00
HDF Tester
56803a1970 [svn-r24362] Snapshot version 1.9 release 168 2013-10-27 04:33:34 -05:00
Raymond Lu
277ee2f7ee [svn-r24360] Jira issue 8528: H5Fget_obj_ids overfilled the list of object IDs by one. This is the second round of checkin after
receiving review comments from people. I put the safeguard in both H5F_get_objects and H5F_get_objects_cb to prevent 
overfill the list.

tested with h5committest.
2013-10-25 14:26:08 -05:00
Dana Robinson
b7a4e1a44e [svn-r24358] Changed the big test so that it runs using the h5_fileaccess() fapl.
The previous behavior was to execute a sec2, stdio, and family
test everytime it ran, which was very inefficient under check-vfd.

Tested on:
    32- and 64-bit LE linux (jam and koala)
    64-bit BE linux (ostrich)
    64-bit OS-X 10.6 (fred)
2013-10-24 23:57:01 -05:00
HDF Tester
8538cf61f9 [svn-r24334] Snapshot version 1.9 release 167 2013-10-20 04:21:31 -05:00
Dana Robinson
e9203a73e2 [svn-r24333] Added a few volatile keywords to H5detect.c to quiet Visual Studio warnings. Also added a void to a Windows-specific function.
These are both trivial changes that don't affect behavior.

Tested on: Visual Studio 2010 on 64-bit Windows 7
2013-10-19 18:43:06 -05:00
Raymond Lu
2aec2ec315 [svn-r24317] Fixed a typo. 2013-10-17 14:50:13 -05:00
Raymond Lu
28574d0bc7 [svn-r24307] Issue 8147: CLANG compiler with the options -fcatch-undefined-behavior and -ftrapv
catches some defined behavior in the alignment algorithm of the macro DETECT_I      
  in H5detect.c. I documented it as a known problem.

No test is needed.
2013-10-16 16:38:56 -05:00
Binh-Minh Ribler
370e6f3f56 [svn-r24291] Description:
- Added a lot of documentation to classes for Reference Manual.
    - Fixed some format inconsistencies
Platforms tested:
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-10-15 00:31:20 -05:00
Allen Byrne
82beeef272 [svn-r24289] Correct linux shared version numbering 2013-10-14 11:43:16 -05:00
HDF Tester
5092f5a30e [svn-r24287] Snapshot version 1.9 release 166 2013-10-13 03:43:04 -05:00
Larry Knox
06aa7b6641 [svn-r24285] Eliminate several "passing argument ... with different width due to prototype" warnings by casting constants to size_t where expected by string functions.
Tested on jam, koala,ostrich and platypus with h5committest.
2013-10-10 16:57:04 -05:00
Allen Byrne
52412564af [svn-r24273] Update URL 2013-10-09 12:05:51 -05:00
Mohamad Chaarawi
9d954e1136 [svn-r24270] checkin coverity changes from 10/4/2013.
tested with h5committest
2013-10-09 11:55:33 -05:00
Quincey Koziol
53827d4017 [svn-r24261] Description:
Correct H5I use of skip list to acquire the 'next' pointer in the skip
list after the ID's 'free' callback has been called, since it occasionally
deletes the 'next' node.

	Also a little bit of code cleanup in other modules.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.11 (emu) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode
2013-10-07 14:35:12 -05:00
Quincey Koziol
5f2a34b462 [svn-r24256] Description:
Clean up warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor for h5committest)
2013-10-04 14:28:22 -05:00
Quincey Koziol
2060d4f6b9 [svn-r24255] Description:
Switch H5I internal data structure from using hash table to skip lists.

Tested on:
    Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
    FreeBSD, Linux, etc. forthcoming
2013-10-04 12:03:07 -05:00
Allen Byrne
9d05904ae0 [svn-r24253] Add var for install file 2013-10-02 16:51:01 -05:00
Allen Byrne
738f1f0bd6 [svn-r24252] add log vars 2013-10-02 16:38:25 -05:00
Allen Byrne
80ff6d8fee [svn-r24251] Add packaging to process 2013-10-02 15:42:58 -05:00
Allen Byrne
f17fe28697 [svn-r24250] Updated version numbers and notes about CTest Scripting 2013-10-02 14:46:32 -05:00
Allen Byrne
7942fa417e [svn-r24240] Update WDTP test machines 2013-10-01 09:45:14 -05:00
Allen Byrne
91b41bad3a [svn-r24238] Update list of generated files for clear-objects 2013-10-01 09:02:16 -05:00
Binh-Minh Ribler
8597110837 [svn-r24235] Description:
- Appended h5tutr_ to names of data files to avoid name clashing with
      existing examples.
    - Added example dependencies to Makefile.*
    (pointed out by Allen)

Platforms tested:
    SunOS 5.11 (emu) with gmake
    Linux/ppc64 (ostrich)
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-30 21:40:32 -05:00
Albert Cheng
7fcd636cb3 [svn-r24234] Bug: tfile.c was failing in the ADA AIX system.
The reason was typo in the index variable in the newly added test_get_obj_ids().

Solution: fixed the typo.

Tested: AIX machine. (Did not run h5committest because the fix is in a remote
machine and the fix is quite obvious.)
2013-09-30 18:11:13 -05:00
Allen Byrne
7171c08a88 [svn-r24227] Add new examples to cmake lists
Tested: local linux
2013-09-30 12:49:05 -05:00
Allen Byrne
4611f95d4c [svn-r24224] HDFFV-8529: Space separate define strings
Tested: h5committest
2013-09-30 11:52:03 -05:00
Albert Cheng
2be5841984 [svn-r24221] Bug ID: HDFFV-8512
Mailing lists instructions are incorrect.

Fix by removing hdf5dev which has long retired (2009). Subscription requests
should be sent to new address due to server change.

Tested: tried to subscribe myself and it worked.
2013-09-30 06:53:35 -05:00
HDF Tester
a4ab8b0e1d [svn-r24218] Snapshot version 1.9 release 165 2013-09-29 03:41:59 -05:00
Albert Cheng
bbd9ad0b27 [svn-r24214] Put in proper error message if unexpected switch values happened.
Tested: h5committest.
2013-09-28 15:40:01 -05:00
Raymond Lu
421e7549a5 [svn-r24210] Jira issue 8528: H5Fget_obj_ids overfilled the list of object IDs by one. I moved the safeguard in H5F_get_objects_cb
to the beginning of the function to prevent overfill the list.  I added a new test case for this problem and fix in tfile.c.

Tested with h5committest.
2013-09-27 15:15:52 -05:00
Albert Cheng
ebc0b44fe1 [svn-r24202] Bug fix: HDFFV-8271 Big.c error in address generated by random number.
Description:
There is a bug in the current big.c tests. In a nut-shell,
the writing part randomly picks 50 locations and write 4KB
from that location. Random location range is from byte 0
to end of dataset. There is the problem--if the random location
is greater than (end of dataset - 4KB), then error.

Solution:
Adjust the random number to be at least 4KB less than the end of the
dataset. That allows it write 4KB more from the generated starting
position.

Tested: h5comittest plus jam serial build and test.
2013-09-26 01:51:10 -05:00
Allen Byrne
ae927c6070 [svn-r24200] Updated cygwin versions 2013-09-25 15:20:39 -05:00
Allen Byrne
b232b752a0 [svn-r24198] Change Internal CDash site. 2013-09-25 15:03:59 -05:00
Binh-Minh Ribler
b3f9cb8786 [svn-r24197] revert a changed committed by mistake, printf statement 2013-09-24 20:27:32 -05:00
Binh-Minh Ribler
91df66782e [svn-r24195] Description:
- Improved format/comments in tutorial examples
    - Added them to Makefile.* and run-c++-ex.sh.in
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-23 21:12:40 -05:00
Larry Knox
ab239810e1 [svn-r24194] Don't add hdf5 library dependencies to lib files when --disable-sharedlib-rpath configure option is invoked. Fix for HDFFV-8276.
Tested with h5committest and on hdf-duck.
2013-09-23 20:14:24 -05:00
Allen Byrne
c19d87b1fc [svn-r24192] Correct test and usage of defines for cmake configure 2013-09-23 17:09:30 -05:00
Allen Byrne
b52c12bc1d [svn-r24190] remove comment that caused linux build warnings and correct use of cmakedefine vs define in template.
Tested: local linux
2013-09-23 14:10:53 -05:00
Binh-Minh Ribler
94b55940ea [svn-r24189] Purpose: Fixed bug HDFFV-1060
Description:
    Changed header guards from single underscore to double underscore.
Platforms tested:
    Linux/32 2.6 (jam) - very minor
    Linux/64 2.6 (koala)/PGI compilers
2013-09-22 23:04:26 -05:00
Binh-Minh Ribler
f8fb310610 [svn-r24188] Purpose: Fixed bug introduced in r24163
Description:
    - The failure in daily test was caused by missing initialization of member
    "id" in a few constructors.  This is now fixed.
    - Added two overloaded H5Location::setComment
    - Improved some error reporting in H5Location
    - Improved error reporting in tests
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/64 2.6 (koala)/PGI compilers
2013-09-22 19:39:44 -05:00
HDF Tester
f9a758f442 [svn-r24186] Snapshot version 1.9 release 164 2013-09-22 04:17:20 -05:00
Allen Byrne
5b4202c472 [svn-r24179] HDFFV-8321:Add note about changing FFLAGS to FCFLAGS in configure. 2013-09-20 15:34:36 -05:00
Binh-Minh Ribler
1b22cc435e [svn-r24178] Back out the changes that cause daily test to fail r24163 2013-09-20 13:53:21 -05:00
Binh-Minh Ribler
d567424783 [svn-r24175] Description:
Added the tutorial examples
	./c++/examples/h5tutr_cmprss.cpp
	./c++/examples/h5tutr_crtatt.cpp
	./c++/examples/h5tutr_crtdat.cpp
	./c++/examples/h5tutr_crtgrpar.cpp
	./c++/examples/h5tutr_crtgrp.cpp
	./c++/examples/h5tutr_crtgrpd.cpp
	./c++/examples/h5tutr_extend.cpp
	./c++/examples/h5tutr_rdwt.cpp
	./c++/examples/h5tutr_subset.cpp

    Verified with bin/chkmanifest
2013-09-20 08:23:24 -05:00
Binh-Minh Ribler
10a843ff7f [svn-r24174] Purpose: Add examples
Description:
    Added tutorial examples that Barbara made following the C tutorial examples.
    They will be configured for daily test.
Platforms tested:
    Linux/32 2.6 (jam) - tested by running a script that compiled them with
                h5c++ and executing the examples; output are checked manually
2013-09-20 07:16:23 -05:00
Allen Byrne
c965b5503b [svn-r24172] Position trunk/1.8 vars in similar location for comparison. 2013-09-19 14:42:45 -05:00
Neil Fortner
be3a331550 [svn-r24171] Purpose: Fix problem with gcc 4.8
Description:
With optimization enabled, gcc 4.8 inserts garbage into the padding bytes of
floating point types when assigning from a literal constant.  This caused
problems when H5detect.c scanned the bits in floating point types to determine
their properties.

Modified H5detect.c to scan for padding before further analyzing the type, and
to ignore all information in the padding areas.  Also removed code that
temporarily disabled optimization.

Tested: jam, koala, ostrich, platypus (h5committest)
2013-09-19 13:57:41 -05:00
Allen Byrne
0653325f0d [svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.
Add more usage info for UserMacros.
Add new option information about the Plugin default path.

Tested: local linux, jam
2013-09-19 11:38:08 -05:00
Binh-Minh Ribler
4182c81add [svn-r24163] Purpose: More on HDFFV-7520 and HDFFV-533
Description:
    - Improved the changes in revisions r22836 and r23438, mainly on the
      wrappers of reference, dereference, get region, and set/getcomment.
    - Added more tests.

Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/ppc64 (ostrich)
2013-09-18 22:08:28 -05:00
Binh-Minh Ribler
d95f5e293a [svn-r24162] backing out a commit that includes wrong files 2013-09-18 21:41:00 -05:00
Binh-Minh Ribler
18b896112c [svn-r24161] Purpose: More on HDFFV-7520 and HDFFV-533
Description:
    - Completed the changes in revisions r22836 and r23438 with improvement
    on wrappers such as reference, dereference, get region, and set/getcomment.
    - Added more tests.
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/ppc64 (ostrich)
2013-09-18 20:54:54 -05:00
Allen Byrne
54a659cb99 [svn-r24157] Add back STGZ packaging - .sh compressed package 2013-09-18 16:56:48 -05:00
Binh-Minh Ribler
afb5fc5c35 [svn-r24143] Description:
Fixed comments, documentation, and mis-matched DOXYGEN_SHOULD_SKIP_THIS pairs.
Platforms tested:
    Linux/32 2.6 (jam)
    Regenerated and verified generated documentation.
2013-09-16 09:39:52 -05:00
Binh-Minh Ribler
27ed849cad [svn-r24142] Purpose: Fix bug in tests
Description:
    - Passing the c_str() of an std string into a C function caused failure
      on OpenVMS.  Added a work around using temporary string. (th5s.cpp)
    - Passing incorrect file access property list caused test_datasize() to
      fail.  Fixed.
    - Close a group in test_dset, before the file can be properly closed.
      This should fix the problem on OpenVMS.
Platforms tested:
    Linux/32 2.6 (jam)
    SunOS 5.11 (emu)
    Linux/ppc64 (ostrich)
2013-09-14 22:53:59 -05:00
Neil Fortner
a80cf34324 [svn-r24140] Purpose: Remove problematic abandonment of error stack
Description:
H5Fis_hdf5 uses H5F_locate_signature to check if the file is hdf5.  If it does
not locate the signature, H5F_locate_signature would issue an error and return
HADDR_UNDEF.  H5Fis_hdf5 does not consider it an error if the signature is not
found, so it does not issue an error or clear the stack.  The filled stack could
then cause issues later on.

Changed H5F_locate_signature to return herr_t, not issue an error if the
signature is not found, and added a parameter for a pointer to the signature
address that the function fills in.

Tested: jam, koala, ostrich (h5committest)
2013-09-13 17:03:22 -05:00
Neil Fortner
309f3e7a23 [svn-r24139] Remove "will never be exectued" warnings in H5detect.c
Tested: jam, koala, ostrich (h5committest)
2013-09-13 16:49:39 -05:00
Allen Byrne
a8c63e28d5 [svn-r24138] Cast constants to specified type.
Cast smaller vars to larger type.
Cast calculation result to correct type.
Changed int member to hbool_t

Tested: local linux
2013-09-13 16:11:30 -05:00
Allen Byrne
3c021d3a77 [svn-r24137] Cast constants to specified type.
Cast smaller vars to larger type.
Cast calculation result to correct type.

Tested: local linux
2013-09-13 15:34:55 -05:00
Allen Byrne
f6949a66d7 [svn-r24136] Add base set of warnings for gcc 2013-09-13 14:22:57 -05:00
Allen Byrne
0682846479 [svn-r24128] Change option name for WDTP 2013-09-12 13:12:34 -05:00
Allen Byrne
d088d3285c [svn-r24127] Comment out bundle packing 2013-09-12 11:09:42 -05:00
Allen Byrne
9feb3e641d [svn-r24126] Correct mac pinifo.list vars 2013-09-12 10:13:37 -05:00
Allen Byrne
2465c432f0 [svn-r24124] HDFFV-8345: Changed usage txt to use dsetN instead ofletters for objects in examples.
Tested: local linux
2013-09-11 12:09:06 -05:00
Allen Byrne
175e82e484 [svn-r24120] HDFFV-8345: plugin test properly checks static-exec result to include test.
Tested: jam
2013-09-10 09:24:34 -05:00
Allen Byrne
b0d34310f5 [svn-r24119] Add new tests to memcheck ignore list 2013-09-10 08:59:22 -05:00
Allen Byrne
a1071ada16 [svn-r24118] Comment out test until configure sets conditional correctly 2013-09-09 17:43:57 -05:00
Allen Byrne
f79eac6049 [svn-r24116] Correct indentation and create single exit point.
Tested : local linux
2013-09-09 13:30:25 -05:00
Larry Knox
6b54dac504 [svn-r24115] Reduce warnings for conversions of different widths.
h5committested on jam, ostrich, koala, and platypus.
2013-09-06 17:48:28 -05:00
Larry Knox
2c6fc585fd [svn-r24114] Reverting the changes in r24113 for now because they break parallel make fortran. The changes aren't incorrect, but more work in needed on dependencies and also for enable-parallel.
Reverted to r24112.
2013-09-06 17:42:10 -05:00
Quincey Koziol
f825256c87 [svn-r24113] Description:
Reduce warnings w/gfortran in FORTRAN build by declaring interface for
utility test routines.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc/g++/gfortran 4.8
2013-09-06 15:27:13 -05:00
Quincey Koziol
79c8e26fa7 [svn-r24111] Description:
Restrict GCC diagnostic pragmas to only gcc 4.6+

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
2013-09-06 14:03:35 -05:00
Allen Byrne
2cb03fedde [svn-r24110] Add new h5repack info 2013-09-06 13:00:46 -05:00
Allen Byrne
8b4cf4c8cb [svn-r24109] Correct cygwin info 2013-09-06 12:59:07 -05:00
Allen Byrne
786526fd05 [svn-r24105] Correct filename extension 2013-09-06 10:35:00 -05:00
Allen Byrne
145f1ce9e3 [svn-r24104] HDFFV-8345: add User Defined filters to h5repack.
Reviewed in H5T-61

Tested: local linux - cmake and autotools
2013-09-06 10:15:50 -05:00
Allen Byrne
ddbc3c841c [svn-r24103] Force NO optimization of H5detect.c 2013-09-06 09:44:55 -05:00
Quincey Koziol
5b876c929f [svn-r24101] Description:
Clean up warnings, enable new compiler warning flag(s) and bring back
changes from Coverity branch:

r20813:
Remove the dead code as listed for coverity bug #1722. h5committested.

r20814:
Issue 69: Check return value and throw error if negative return. Also free datatype id on error

r20815:
Use HDstrncpy. --gh

r20816:
Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832.

r20817:
Use HDstrncpy and HDstrncat. --gh

r20818:
Purpose: Fix valgrind issues with h5jam

Description:
Modified h5jam to free strings strdup'd in parse_command_line before exit. Note
that they may still not be freed in case of error, due to the widespread use of
exit().

r20819:
Issue 80: change loop to use int as loop index.

r20820:
Maintenance: Fixed the bug found by coverity CID 788
There were two problems with this function:
    1) it tried to unnecessary free NULL pointer
    2) it tried to allocate c_name buffer that is done by H5Pget_class_name


Tested on:
    Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN
    (too minor to require h5committest)
2013-09-05 15:44:14 -05:00
Raymond Lu
a1fe10691c [svn-r24098] Issue 8500 - H5detect.c has trouble to find info for long double with GCC 4.8. A user in the forum found the
problem in H5detect.c (uninitialized buffer) and provided the solution.  I checked it in yesterday.  But it 
turned out to be a false fix.  So I'm back it out.

Tested on jam - reverse of changes.
2013-09-04 17:09:23 -05:00
Allen Byrne
bf1c137c0c [svn-r24097] Correct indentation 2013-09-04 14:58:45 -05:00
Raymond Lu
d50c061d38 [svn-r24095] Issue 8500 - H5detect.c has trouble to find info for long double with GCC 4.8. A user in the forum found the
problem in H5detect.c (uninitialized buffer) and provided the solution.  Allen and I verified it.

Tested with h5committest and CMake on jam, koala, ostrich, playtus, and Allen's virtual machine.
2013-09-03 14:39:34 -05:00
HDF Tester
a4294ab3cc [svn-r24092] Snapshot version 1.9 release 163 2013-09-01 03:37:42 -05:00
Mohamad Chaarawi
a3e0aecb22 [svn-r24087] Rename the private H5RC (reference count) module to H5UC (Use Count).
This is needed to avoid a conflict with the Read Context object to be
introduced in another Project.

No impact on users, since this is a private module, and low for
developers as the RC module use is very sparse in the library.

Tested with h5committest.
2013-08-30 12:05:42 -05:00
Allen Byrne
7a0f38d807 [svn-r24078] Correct name of windows shared libraries 2013-08-27 09:19:11 -05:00
Larry Knox
d24404ae83 [svn-r24077] Updated -help output for compile scripts for changing default from -noshlib to -shlib when hdf5 is built without static libraries (--disable-static).
Tested with h5committest on jam, koala, ostrich and platypus.
2013-08-27 08:26:37 -05:00
Allen Byrne
0b572983e9 [svn-r24070] Fix typo in flags options 2013-08-26 10:02:13 -05:00
HDF Tester
ca60bda9fb [svn-r24068] Snapshot version 1.9 release 162 2013-08-25 03:44:51 -05:00
Allen Byrne
68dd16d8f0 [svn-r24066] Eliminate switch default warning by printing err message. 2013-08-23 15:02:32 -05:00
Allen Byrne
d2e10eefd7 [svn-r24058] Coorect usage text wrt dataset subsetting 2013-08-22 15:16:45 -05:00
Allen Byrne
e86655bbf4 [svn-r24057] Add --superblock long name to parser and add tests for both --boot-block and --superblock.
Tested: local linux
2013-08-22 14:57:31 -05:00
Allen Byrne
7e0bc29012 [svn-r24056] Move make_executable commands back from tests file 2013-08-22 13:41:25 -05:00
Allen Byrne
ff00749dfc [svn-r24055] Move make_executable commands back from tests file 2013-08-22 13:16:27 -05:00
Allen Byrne
13a0f5576a [svn-r24053] HDFFV-8498: --minimum option was disabled by HDFFV-8214. Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff.
Corrected test scripts for test folder path

Tested: h5committest and local linux with CMake
2013-08-21 17:11:32 -05:00
Allen Byrne
8c14af82c6 [svn-r24050] HDFFV-8498: --minimum option was disabled by HDFFV-8214. Reverted code change and changed default to 0 from 1024. Changed limit test to use h5dump to compare repacked file instead of h5diff.
Tested local linux with CMake
2013-08-21 15:59:49 -05:00
Allen Byrne
6bc36a0c46 [svn-r24046] HDFFV-8500: set h5detect compile optimization to -O0
will generate correct H5Tinit.c file.

Tested: local gcc 4.8.2 linux
2013-08-21 12:12:08 -05:00
Quincey Koziol
482a9c28e7 [svn-r24030] Description:
Clean up more compiler warnings.

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/gcc, C++ & FORTRAN
    (too minor to require h5committest)
2013-08-19 17:13:15 -05:00
Allen Byrne
c502d81a8c [svn-r24029] Move TESTS to seperate file to allow easier editing by all developers.
Tested: local linux
2013-08-19 16:49:44 -05:00
Mohamad Chaarawi
fcb21bb3dd [svn-r24027] merge r 23938 from reduce warnings branch into trunk.
This is the fix for "switch missing default case" warnings in src.
Mohamad & Vailin worked on this patch.
2013-08-19 16:36:03 -05:00
Allen Byrne
b503983d85 [svn-r24023] Added tests to CMakeLists.txt that were only added to the *nix script.
Tested: local linux
2013-08-19 11:26:14 -05:00
Allen Byrne
28c2f17960 [svn-r24022] any_object option should be any_path 2013-08-19 11:02:29 -05:00
Quincey Koziol
308c378ccd [svn-r24020] Description:
Clean up compiler warnings

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-17 15:05:27 -05:00
Albert Cheng
d663d78cd2 [svn-r24017] Bug fix: HDFFV-8500
The new gcc v4.8.* compilers does not work well with dt_arith which failed
in production mode.

Solution:
A temporary patch by removing any optimization (-O*) from the PROD_CFLAGS
so that dt_arith will pass for now.  A more through investigation is needed.

Tested: Jam and Koala where it failed and now passes.
2013-08-16 18:14:23 -05:00
Vailin Choi
170b7275c0 [svn-r24015] A bug fix when merging changes from the trunk to 1.8 for h5stat bug fix HDFFV-1238:
Fix a problem when using opt_arg that is NULL for the new options added: -l N, -m N, -a N.
h5committested.
2013-08-16 14:36:32 -05:00
Quincey Koziol
453f95c192 [svn-r24011] Description:
Clean up a few warnings

Tested on:
    Mac OSX 10.8.4 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-08-15 08:24:28 -05:00
Allen Byrne
b6f7e6e79c [svn-r24007] Update configure to support 64-bit cygwin
Tested: cygwin
2013-08-13 15:29:09 -05:00
Allen Byrne
af92c5f1e0 [svn-r24005] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive). 2013-08-13 14:01:21 -05:00
Allen Byrne
33d5f5d1e8 [svn-r24004] HDFFV-8319 and -8321: Cleanup autotools code.
Also remove GetConsoleScreenInfo check from cygwin configure.

Tested: h5committest
2013-08-13 12:53:23 -05:00
Allen Byrne
8b2f7c2183 [svn-r24003] Remove check for GetConsoleScreenBuffer in CYGWIN (false positive).
Updated CDash site name in cmake script.
2013-08-13 12:50:56 -05:00
Allen Byrne
e8d0919d43 [svn-r24002] Fix 32-bit and valgrind issues with new handle_paths code - correct math of adding a NULL to a string.
Tested: local linux (valgrind) and h5committest
2013-08-13 12:48:57 -05:00
Allen Byrne
4935d0bfab [svn-r23999] Move declaration to top of block - fix for windows. 2013-08-13 08:44:24 -05:00
Allen Byrne
5d0b400f69 [svn-r23996] HDFFV-7989: Add any_path option to search the file for paths. New test added, scripts updated, help text updated.
Tested: local linux
2013-08-12 16:58:31 -05:00
Allen Byrne
a3204d77e7 [svn-r23994] Correct printf % handling 2013-08-12 15:53:54 -05:00
Allen Byrne
f801cf4618 [svn-r23991] Reorder grouping 2013-08-12 14:52:09 -05:00
HDF Tester
407d3db6a4 [svn-r23989] Snapshot version 1.9 release 161 2013-08-11 03:37:02 -05:00
Quincey Koziol
5c3bd21963 [svn-r23988] Description:
Make compiler happier and issue less warnings.

Tested on:
	Mac OSX/64 10.8.4 (amazon) w/gcc 4.8
2013-08-10 13:20:38 -05:00
Neil Fortner
825fe56892 [svn-r23987] Merge r23939 from reduce_warning branch to trunk
Tested: jam, koala, ostrich (h5committest)

Log from r23939:
Fix unused variables warnings in trunk
Rename static functions in H5Adense.c, H5B2cache.c, H5Bcache.c
Switch these functions to use FUNC_ENTER_STATIC* macros

Tested: koala
2013-08-09 16:59:14 -05:00
Peter Cao
ef73979a41 [svn-r23986] merge warning fixes from Jonathan and Peter 2013-08-09 16:34:58 -05:00
Jerome Soumagne
345e57b0b1 [svn-r23985] Merge commit 23937 from reduce_warning branch
Remove unused param (src) and unused var (hl) warnings

Tested on koala
2013-08-09 16:06:46 -05:00
Larry Knox
5dcd9c2dfc [svn-r23984] Merged 2 23932 from reduced_warnings branch:
Changes applied to eliminate several compiler warnings in the test directory in
files:
dt_arith.c
filter_fail.c
big.c
dynlib2.c
dynlib3.c
Also an HDassert(0 && "Unknown type"); statement was added to all 29 combination
s of
case OTHER:
default:
See crucible review HDF5-145 for more details.

Tested with h5committest.
2013-08-09 15:42:27 -05:00
Allen Byrne
b5ad01c7e1 [svn-r23980] Add "_" to VS define. 2013-08-09 13:52:45 -05:00
Allen Byrne
f1bb1129f3 [svn-r23979] Correct Packaging var names. 2013-08-09 09:55:22 -05:00
Allen Byrne
111a57ca26 [svn-r23978] Add Bundle and plist file. Update script file add icon 2013-08-08 16:25:32 -05:00
Vailin Choi
bdeb1f6c43 [svn-r23977] Update MANIFEST for previous checkin #23976.
h5committested.
2013-08-08 16:04:52 -05:00
Vailin Choi
f09101079e [svn-r23976] The following files were missing from previous checkin rev #23975 for bug HDFFV-1238.
h5committested.
2013-08-08 14:19:03 -05:00
Vailin Choi
c902bbdd90 [svn-r23975] This checkin contains--
A) Fix for HDFFV-1238:
   --Add 3 new options to allow users in setting threshold for small groups/datasets/attributes (tools/h5stat/h5stat.c)
   --Generate new test file for testing the new options (tools/h5stat/h5stat_gentest.c)
   --Add tests for the new options (tools/h5stat/testh5stat.sh.in)
   --Update expected output files (tools/h5stat/testfiles/*.ddl)
B) Fix a bug in determining maximum dimension size for 1-D dataset in dataset_stats() (tools/h5stat/h5stat.c)
2013-08-08 12:24:43 -05:00
HDF Tester
f1b5d46cd0 [svn-r23968] Snapshot version 1.9 release 160 2013-08-04 03:35:17 -05:00
Larry Knox
bf9b274e27 [svn-r23964] Corrected "continuous" layout to "contiguous in h5repack -h output and comment.
Jira issue HDFFV-8493.

No test - text only change.
2013-08-02 16:23:39 -05:00
Allen Byrne
7a96201ee1 [svn-r23960] HDFFV-8490: Reorder and group h5dump help text.
Tested: local linux
2013-08-01 09:42:30 -05:00
Allen Byrne
4e1695576c [svn-r23953] Update stream handling to allow binary mode - due to unjam fix.
Tested: local linux
2013-07-31 11:22:40 -05:00
Allen Byrne
ba181d404d [svn-r23952] Update unjam file handling to eliminate infinite loops and use binary mode.
Tested: windows
2013-07-31 11:10:33 -05:00
Peter Cao
5b6ae0b603 [svn-r23945] fixed HDFFV-8306
using file stream for output data
2013-07-30 14:23:24 -05:00
Allen Byrne
ad7624ada3 [svn-r23944] Move stream functions into tools lib.
Tested: local linux
2013-07-30 12:04:23 -05:00
Neil Fortner
cd7ba8ad55 [svn-r23939] Fix unused variables warnings in trunk
Rename static functions in H5Adense.c, H5B2cache.c, H5Bcache.c
Switch these functions to use FUNC_ENTER_STATIC* macros

Tested: koala
2013-07-26 17:14:03 -05:00
Mohamad Chaarawi
69e501fc70 [svn-r23938] remove "switch missing default case" in src. 2013-07-26 12:28:26 -05:00
Jerome Soumagne
cb41664db2 [svn-r23937] Remove unused param / var warnings and fix H5HF_sect_single_dblock_info prototype 2013-07-26 12:05:38 -05:00
Larry Knox
a195bb78b9 [svn-r23932] Changes applied to eliminate several compiler warnings in the test directory in files:
dt_arith.c
filter_fail.c
big.c
dynlib2.c
dynlib3.c
Also an HDassert(0 && "Unknown type"); statement was added to all 29 combinations of
case OTHER:
default:
See crucible review HDF5-145 for more details.
2013-07-24 15:22:14 -05:00
HDF Tester
f26b04712e [svn-r23926] Snapshot version 1.9 release 159 2013-07-21 03:38:01 -05:00
Albert Cheng
2f8642a903 [svn-r23925] Updated with fix for HDFFV-8392.
Plus some indentation cleanup on other entries.
2013-07-19 17:10:13 -05:00
Albert Cheng
3a316cfc63 [svn-r23917] Bug fix: HDFFV-8392
tools/h5diff/testh5diff.sh is run in every "make check", even after it
has passed in the previous run.
The error was in the previous change made to Makefile.am
when testh5diff.sh.in was created.  The mistake was in the
SCRIPT_DEPEND=h5diff$(EXEEXT) $(H5PDIFF) $(srcdir)/testh5diff.sh
$(srcdir)/testh5diff.sh no longer existed. It is now generated in the
current built directory from $(srcdir)/testh5diff.sh.in (which configure
takes care of).

I updated the dependance to
SCRIPT_DEPEND=h5diff$(EXEEXT) $(H5PDIFF) testh5diff.sh
and that fixes the error.

Reviewed: HDF5-149

Tested: h5committested.
2013-07-18 00:12:27 -05:00
Allen Byrne
0bdce69c79 [svn-r23905] Alter option name to avoid conflict with WDTP 2013-07-16 08:48:45 -05:00
Allen Byrne
6d4656f116 [svn-r23899] Change name to avoid conflicts in WDTP 2013-07-15 13:29:49 -05:00
HDF Tester
4e12ec74ae [svn-r23895] Snapshot version 1.9 release 158 2013-07-14 03:31:23 -05:00
Quincey Koziol
25fe312b3c [svn-r23889] Description:
Merge changes from Coverity branch to trunk:

r20768:
Switch to snprintf, HDstrncat, HDstrncpy to address coverity issue 832.

r20812:
Use HDstrncpy. --gh

Tested on:
    Mac OSX/64 10.8.4 (amazon) w/debug
    Linux/32 2.4 (jam) w/debug
2013-07-11 17:33:35 -05:00
Frank Baker
ba44b1ae08 [svn-r23883] Description:
Add comment referring users to information regarding 
        SZIP copyright and license terms.
    -- Addresses HDFFV-300.
2013-07-09 16:00:53 -05:00
Allen Byrne
5c1ee8c836 [svn-r23882] Correct typo 2013-07-09 15:47:16 -05:00
Allen Byrne
e266d672e7 [svn-r23880] Update Windows and VMs for next release 2013-07-09 15:44:24 -05:00
Neil Fortner
70de2942b2 [svn-r23879] Add note to RELEASE.txt for r23859
Tested: kate
2013-07-09 14:58:35 -05:00
Allen Byrne
2efbc227cd [svn-r23875] HDFFV-8322: free allocation before throwing exception.
Tested: local linux
2013-07-09 08:36:26 -05:00
Allen Byrne
7cdea30a3a [svn-r23870] Correct name of file reference 2013-07-08 11:28:48 -05:00
HDF Tester
3cb8efae13 [svn-r23865] Snapshot version 1.9 release 157 2013-07-07 03:33:31 -05:00
Jonathan Kim
dad8a4ddef [svn-r23863] Remove compile warnings due to missing switch defaults 2013-07-03 17:33:25 -05:00
Mohamad Chaarawi
dfcb3cebf1 [svn-r23862] Change printfs in perform output and h5dump to prevent overflow.
This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450

Tested on Jam.
2013-07-03 11:12:32 -05:00
Allen Byrne
6da129cef0 [svn-r23861] HDFFV-8322: Mismatched free() / delete / delete [] for cpp_testhdf5
Tested:" local linux
2013-07-03 09:58:09 -05:00
Allen Byrne
a0ccc0f0fa [svn-r23860] HDFFV-8322: reduce valgrind memory leaks for ex_image2
Tested:" local linux
2013-07-03 09:34:12 -05:00
Neil Fortner
259abfa839 [svn-r23859] Add const tag to source buffers for H5Dscatter and H5Dgather.
Tested: ummon
2013-07-02 16:17:16 -05:00
Allen Byrne
53afd20aeb [svn-r23854] HDFFV-8302: Add macros/code function to use coorect Windows (v)snprintf statement. Also fix use other uses of macros for windows.
Tested
2013-07-01 09:23:04 -05:00
HDF Tester
a157eb2f68 [svn-r23849] Snapshot version 1.9 release 156 2013-06-30 03:35:12 -05:00
Allen Byrne
1b6d1ca4f0 [svn-r23845] HDFFV-8394: Add Optional Examples source packaging option.
Tested: local linux
2013-06-28 10:37:41 -05:00
Allen Byrne
a4dc3ff34d [svn-r23830] HDFFV-8476: Add the optional arg to the help usage text.
Tested: local linux
2013-06-26 16:28:13 -05:00
Allen Byrne
308106c0e9 [svn-r23829] HDFFV-8134: allow exclusion of attributes. This implements the technique and creates a test. Help changes will be added after trunk tests pass the test cycle.
Tested: local linux
2013-06-26 16:04:20 -05:00
Albert Cheng
c2750822ff [svn-r23825] Bug HDFFV-8469: C++ comments in C code.
Found and removed two more "//" comments.

Tested: in Koala by
$ env CFLAGS="-ansi" ../hdf5/bin/buildhdf5 -fortran -cxx -config # enable fortran and cxx, configure only
$ make AM_CFLAGS=-ansi # compile all source file by setting HDF5 build CFLAGS as "-ansi" only
2013-06-26 01:25:44 -05:00
Allen Byrne
cf5071ad05 [svn-r23824] Remove unused warnings option 2013-06-25 13:48:49 -05:00
Allen Byrne
dc2de300b4 [svn-r23823] HDFFV-8428: Correct docs install list
HDFFV-8427: Add options to the help text of ALLOW_EXTERNAL_LIBS option.
2013-06-25 12:44:09 -05:00
Allen Byrne
a8b44cd899 [svn-r23821] HDFFV-8428: Corrected FAQ reference 2013-06-25 11:10:56 -05:00
Allen Byrne
dd89c8e90f [svn-r23819] Change name of generated file in test to use the macro based removal line.
Tested: local linux
2013-06-25 09:06:28 -05:00
Allen Byrne
e3a1fa7e57 [svn-r23813] Added the HD prefix to the system functions used in the file.
Tested: local linux
2013-06-24 15:03:54 -05:00
Allen Byrne
a8c227e175 [svn-r23812] Added the HD prefix to the system functions used in the links.c file.
Tested: local linux
2013-06-24 15:02:42 -05:00
Allen Byrne
66490d45e1 [svn-r23811] Remove unused label 2013-06-24 15:01:24 -05:00
Mohamad Chaarawi
1e38ef6718 [svn-r23810] revert printf format changes to do a better solution. 2013-06-24 13:16:58 -05:00
HDF Tester
6fedfb6124 [svn-r23806] Snapshot version 1.9 release 155 2013-06-23 03:36:24 -05:00
Mohamad Chaarawi
148fc61872 [svn-r23801] Change printfs in perform output for long long to use %lld instead of %Hd. The later is for shorts.
This fixes: https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8450

Tested on Jam.
2013-06-20 17:21:42 -05:00
Allen Byrne
125e2a0a9d [svn-r23800] Added the HD prefix to the system functions used in the h5tools_str_replace function. 2013-06-20 17:02:17 -05:00
Allen Byrne
e71411f9cf [svn-r23799] HDFFV-8455: moved h5dump in order of subdirs under tools to in front of h5import.
Tested local linux: h5dump executed before h5import
2013-06-20 13:10:07 -05:00
Allen Byrne
74384b3c19 [svn-r23798] HDFFV-8465: dtd reference incorrect. Fixed loading of xml files with respect to XSD file.
Tested: local linux
2013-06-20 12:39:49 -05:00
Allen Byrne
60cce86d0e [svn-r23796] remove commented line with c++ style 2013-06-20 10:06:14 -05:00
Allen Byrne
8ae76fa4b8 [svn-r23793] Correct logic for packaging cygwin release docs 2013-06-19 12:48:44 -05:00
Allen Byrne
8f9fb4a106 [svn-r23789] Remove COMPILE_FLAGS value - already set in X_FLAGS 2013-06-17 11:43:33 -05:00
Allen Byrne
47190b32e5 [svn-r23786] Remove COMPILE_FLAGS value - already set in X_FLAGS
Tested: windows
2013-06-17 11:28:47 -05:00
Allen Byrne
6c3284f8b3 [svn-r23784] Remove ignored FLAGS from MSVC variant of C compile/link. Incorrect copy from Fortran macro 2013-06-17 09:13:30 -05:00
HDF Tester
bdbd06d85d [svn-r23778] Snapshot version 1.9 release 154 2013-06-16 03:34:51 -05:00
Allen Byrne
e35d1e08f3 [svn-r23763] Fix missing command
Tested: local linux
2013-06-13 08:22:43 -05:00
Allen Byrne
93ec8e0821 [svn-r23762] Change warning flag groups to match list of gcc 4.7 from the config/gnu-flags file. 2013-06-12 15:55:38 -05:00
Allen Byrne
c7e81f4894 [svn-r23759] HDFFV-8451/8453: add options to enable more warning messages.
MS VS compiler levels added to warning options.
2013-06-12 10:28:26 -05:00
Allen Byrne
26ef64312a [svn-r23754] HDFFV-8451/8453: add options to enable more warning messages.
Tested: local linux
2013-06-11 14:05:36 -05:00
Allen Byrne
6ca79dd149 [svn-r23753] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake Windows /MT support file.

Tested: local linux
2013-06-11 14:03:34 -05:00
Allen Byrne
f4a3f6412b [svn-r23751] Enable all warnings (do not filter warnings) 2013-06-11 10:10:18 -05:00
Allen Byrne
8f0c245f72 [svn-r23748] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
Correct Properties tag name
2013-06-10 15:39:00 -05:00
Allen Byrne
7e2733da8c [svn-r23746] Correct Windows setting after tests on windows 2013-06-10 14:23:27 -05:00
Allen Byrne
feb14ea872 [svn-r23745] HDFFV-8461: Add Windows /MT support
This adds the UserMacros.cmake support needed.
2013-06-10 12:46:48 -05:00
Allen Byrne
001f6a53bf [svn-r23744] HDFFV-8468: Remove conversion tests which generate access violations on Windows 8 64 2013-06-10 12:41:33 -05:00
HDF Tester
70d440330d [svn-r23741] Snapshot version 1.9 release 153 2013-06-09 03:39:22 -05:00
Allen Byrne
f0a9b781f3 [svn-r23740] HDFFV-8447: subsetting broke data output file option.
Reviewed in H5T-59, tested local linux
2013-06-07 13:39:54 -05:00
Allen Byrne
a6d8395557 [svn-r23737] HDFFV-8434: Use lowecase for whether in confiure.ac
Trival change
2013-06-05 13:26:35 -05:00
Allen Byrne
06d9eb3c63 [svn-r23736] HDFFV-8437: CMake so version numbering - changed order of values to match libtool values.
Tested: local linux
2013-06-05 13:14:45 -05:00
Allen Byrne
10108d7e30 [svn-r23735] HDFFV-8445: unregonized character warning solved by changing '\/' to '\\'.
Tested: Windows
2013-06-05 12:55:09 -05:00
Allen Byrne
fab67b684e [svn-r23733] HDFFV-8366: Patches tested by Larry using h5committest, it creates the intermediate testfiles folder first. 2013-06-05 08:36:45 -05:00
HDF Tester
177a90f97a [svn-r23718] Snapshot version 1.9 release 152 2013-05-26 03:56:00 -05:00
Quincey Koziol
33bd53a7eb [svn-r23717] Description:
Fix return value from FAIL to NULL, to match the routines type.

Tested on:
    Mac OSX/64 10.8.3 (amazon)
2013-05-23 13:24:57 -05:00
Joel Plutchak
8cc6ceb4e3 [svn-r23715] Bug Fix: HDFFV-8247
Description:
  Failure to write fill values to the user's buffer when reading unallocated
  chunks from datasets that have a fill value set to H5D_FILL_VALUE_DEFAULT.
  A consequence of this was the reporting of spurious data values in h5dump
  and h5diff output.

Solution:
  Added check for fill value of H5D_FILL_VALUE_DEFAULT whenever fill value 
  setting was checked to decide whether or not to fill. This effectively
  treats H5D_FILL_VALUE_DEFAULT the same as H5D_FILL_VALUE_USER rather than
  H5D_FILL_VALUE_UNDEFINED.

Tested:
   h5committest (platypus, ostrich, jam-pp, koala) ran successfully
   (fillval test was modified to reveal and check for this error)

Note: RELEASE.txt was previously changed to reflect this fix. This
checkin was of a cleaner version of the code, but mostly to get this
full log message entered.


-This line, and those below, will be ignored--

M    H5Dchunk.c
2013-05-22 15:52:34 -05:00
Quincey Koziol
424a41f878 [svn-r23713] Description:
Clean up warnings, switch library code to use Standard C/POSIX wrapper
macros, remove internal calls to API routines, update checkapi and checkposix
scripts.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    Big-Endian Linux/64 (ostrich)
2013-05-21 12:30:54 -05:00
Raymond Lu
7a3f473c04 [svn-r23710] I added H5Pencdec.c to make.com. I added
H5_HAVE_DIRENT_H
  H5_HAVE_LIBDL
  H5_HAVE_SETJMP
to h5pubconf.h.

Not tested yet.
2013-05-20 15:48:18 -05:00
HDF Tester
c09748b14e [svn-r23708] Snapshot version 1.9 release 151 2013-05-19 03:39:09 -05:00
Allen Byrne
b0235a2610 [svn-r23707] Vagrind memleak: bufferes only cleaned up if there was an error. 2013-05-15 08:38:41 -05:00
Quincey Koziol
7922ae388e [svn-r23698] Description:
Revert r23695, which breaks big-endian tests on ostrich, etc.  Will
investigate and submit correction later.

Tested on:
    BE & LE Linux systems (ostrich, koala, jam, emu)
2013-05-13 13:16:01 -05:00
Quincey Koziol
d38fe20df6 [svn-r23695] Description:
Clean up warnings in H5Tconv.c (down to _only_ 9000 lines of output now!)

    Merge changes from Coverity branch back to trunk:

r20684:
Fix for coverity bug #1721 which was due to the fix for coverity bug #943.

r20685:
Use HDstrncpy. --gh

r20761:
Purpose: Fix valgrind issues

Description:
Free image_data and data as appropriate in test_image.

r20762:
Purpose: Fix coverity issue 600

Description:
Add check for return value of H5O_close in H5Ocopy.  Also cleaned up various
warnings.

r20763:
Purpose: Fix valgrind issues with h5stat

Description:
Modified h5stat to free "iter" before exit, and free "hand" before exit if
parse_command_line exits directly.

r20764:
fixed coverity issues:
69, 327, 614, 684, 685, 696, 697, 1681, 967, 826, 660, 80

r20765:
Fixed coverity bug 668

Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.

No actual integer overflow tests are performed since it's just a test program but I did add a check that n_elements is >= 1.

I also changed an error condition from doing its own close and returning -1 to "goto out;" like the rest of the program.

r20766:
Fixed coverity bug 667

Pulled x * y * z multiply out of malloc operand into a separate n_elements variable to quiet integer overflow warning.

No actual integer overflow tests are performed since it's just a test program.


Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    (h5committest upcoming)
2013-05-11 10:59:48 -05:00
Allen Byrne
5ecebe5b9b [svn-r23692] Remove INSTALL_VMS file.
Added if block around INSTALL files
2013-05-09 13:07:36 -05:00
Allen Byrne
fb396557fc [svn-r23691] Fix valgrind leak by closing fapl
Tested: local linux
2013-05-09 09:56:18 -05:00
Raymond Lu
90ccb5c3c3 [svn-r23685] Issue 8380 H5Zunregister caused seg fault. I simplied the iteration process over datasets, groups, and files as Quincey suggested. I also removed H5I_search that I introduced in last commit but didn't actually used it.
Tested on jam and koala - simple change.
2013-05-08 11:36:58 -05:00
Raymond Lu
8ec42ced80 [svn-r23675] Issue 8380 - H5Zunregister caused seg fault. This is the followup commit. Quincey
reviewed my previous commit and suggested me to use H5I_iterate to iterate through
all opened objects in H5Z_unregister.  I changed it in this commit.

Tested with h5committest.
2013-05-06 15:51:26 -05:00
HDF Tester
8f3aee85de [svn-r23669] Snapshot version 1.9 release 150 2013-05-05 03:32:05 -05:00
Joel Plutchak
99e1300a0f [svn-r23668] Added fix report for Jira issue HDFFV-8247, and removed it from
the "Known Problem" section.
2013-05-03 14:23:50 -05:00
Joel Plutchak
30f904dbe9 [svn-r23667] Removed H5E call. 2013-05-03 10:39:44 -05:00
Joel Plutchak
62f6b579d0 [svn-r23666] Fix for fill value problem for chunked files with mixed allocated/unallocated chunks. 2013-05-02 14:20:14 -05:00
Joel Plutchak
7d205bba0a [svn-r23665] Added test cases to expose potential fill value issues. 2013-05-02 14:19:06 -05:00
Albert Cheng
7d0aded13a [svn-r23662] Bug fix: HDFFV-8236
Some files are not distributed when release tarball is created by bin/release
according to MANIFEST.  But --enable-build-all compiles them in test/.

Solution:
Distributed those missing files for now.  Need to resolve if these files
should be distributed or not.  And if not, fix --enable-build-all NOT to
compile them.

Tested: use bin/release to generate the tarball and run --enable-build-all with
it. Error is gone and all passed.
2013-05-02 07:50:08 -05:00
Raymond Lu
bada3f7a86 [svn-r23656] Issue 8380 H5Zunregister caused seg fault: I added some protection measures:
1. If any opened object uses the filter, let it fail.
  2. Flush all opened files to push any cached data to files.

Tested with h5committest.
2013-04-29 14:23:04 -05:00
Allen Byrne
029e143471 [svn-r23651] Add MPI configuration information to includes and libs 2013-04-29 10:12:47 -05:00
Allen Byrne
3c79c08dbe [svn-r23649] Correct file reference in pack list
Rename and update CMake docs.
2013-04-29 09:18:34 -05:00
HDF Tester
1f09e9d19e [svn-r23642] Snapshot version 1.9 release 149 2013-04-28 03:37:26 -05:00
Albert Cheng
613c5e8046 [svn-r23638] Removed INSTALL_MinGW because,
1. The file states that:
NOTE:
We are no longer actively supporting MinGW as of 1.8.5.
2. It is not tested for v1.8.11.
3. If we ever supports it again, it can be "restored" from previous
release (e.g. v1.8.10).)
2013-04-26 18:02:57 -05:00
Albert Cheng
357424423c [svn-r23618] Bug fix: HDFFV-8390
Threadsafe works in v1.8.10 release. But it fails v1.8.11-pre1 tarball in
configure stage now. There was a typo in the configure around the checking
of pthread library.  Fixed it.

Tested: AIX and also h5committested.
2013-04-24 13:27:04 -05:00
Allen Byrne
ed5a2bc1c1 [svn-r23614] Remove subfolders for includes 2013-04-23 12:50:15 -05:00
Albert Cheng
00648b6875 [svn-r23607] Purpose:
Daily test failed in koala with parallel and v16compat API from the previous
commit r22735.

Descriptoin:
    Changed to use H5Dopen2() instead of H5Dopen().

Tested: koala --enable-parallel --with-default-api-version=v16.
No h5committest test since this is limited to parallel test program.
2013-04-22 13:44:17 -05:00
Quincey Koziol
5acd9c4053 [svn-r23597] Description:
Bring r20683 from Coverity branch back to trunk:

Isues 1309-1333: Changed strcpy/strcat to strncpy/strncat with maximum size expected.

Tested on:
    Max OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
2013-04-17 07:49:56 -05:00
Raymond Lu
e112a68bf8 [svn-r23590] I added SunOS 5.11 (emu) as a newly supported system. 2013-04-15 11:12:13 -05:00
Scot Breitenfeld
c61fb7260a [svn-r23585] changed the integer kind in the enum to satisfy g95.
Tested: jam (g95, gfortran)
2013-04-14 16:19:40 -05:00
Quincey Koziol
608559dead [svn-r23584] Description:
Update with new compiler warnings for gcc 4.8.x

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/gcc 4.8.0
2013-04-13 18:18:05 -05:00
Raymond Lu
523675b2c1 [svn-r23580] I updated the compiler info, system info, and HDF5 support table of fred, emu, and ostrich.
No test is needed.
2013-04-12 14:48:07 -05:00
Scot Breitenfeld
337242feea [svn-r23576] added missing argument in check call.
tested: jam (g95,gcc))
2013-04-11 14:40:57 -05:00
Dana Robinson
dd577725d1 [svn-r23572] Removed inappropriate executable properties from a few files. These are
often added by Windows text editors.

Tested on: jam (just tested to make sure it builds - no code changes)
2013-04-10 11:49:28 -05:00
Raymond Lu
3e841b44be [svn-r23561] I added the info about dynamically loaded filter. 2013-04-08 11:22:00 -05:00
Albert Cheng
6b00c16d2a [svn-r23555] Bug fix: HDFFV-8358
The previous change set exec_prefix, libdir and includedir to actual values.
That removed the option for user to hand edit just the first prefix=...
to make "everything" to work.
Changed h5redeploy to do this by default:
## Installation directories:						  ##
## prefix	architecture-independent files.				  ##
## exec_prefix	architecture-dependent files, default is <prefix>.	  ##
## libdir	libraries, default is <exec_prefix>/lib.		  ##
## includedir	header files, default is <prefix/include>.		  ##
############################################################################
This allows users to just change the first line of prefix=<...> and the
effect will change libdir and includedir too.

This was also try to accommodate the -prefix option of h5XX. Unfortunately,
after changing h5redeploy, I found out the h5XX code to support -prefix
actually does not provide the stated efffect. This will be fixed in the
release.

Tested: h5committested plus hand test.
2013-04-05 13:29:46 -05:00
Joel Plutchak
a99e92e6a4 [svn-r23554] Added HDFFV-8247 to the Known Problems section. 2013-04-05 12:37:55 -05:00
Quincey Koziol
8277409a9b [svn-r23549] Description:
More misc. cleanups, but main change is to make an "extern" header file
for the plugin interface.

Tested on:
    Mac OSX/64 10.8.3 (amazon)
2013-04-04 15:57:59 -05:00
Allen Byrne
70e0f8e200 [svn-r23548] Fix typo in macro end macro
Warning only.
2013-04-04 11:35:22 -05:00
Allen Byrne
12616e370c [svn-r23547] Windows plugins will always be "dll"'s.
CMake also uses ";" as a separator - escape it

Tested: windows
2013-04-04 10:41:15 -05:00
Allen Byrne
a259cbdda7 [svn-r23546] Correct typo 2013-04-04 10:04:16 -05:00
Quincey Koziol
46342f6398 [svn-r23544] Description:
Correct API version mistake w/H5Acreate -> H5Acreate2

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/parallel
2013-04-04 08:30:45 -05:00
Quincey Koziol
9ab7c47000 [svn-r23543] Description:
Bring r23542 from desy_1_8 branch to trunk:

    Further revisions to dynamic library loading code, to clean it up.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/parallel
2013-04-04 08:29:14 -05:00
Raymond Lu
68b0945687 [svn-r23540] I took out the "const" symbol from H5PL_get_plugin_type and H5PL_get_plugin_info functions.
Tested on jam - simple change.
2013-04-03 15:53:13 -05:00
Allen Byrne
f2e9f4e8c6 [svn-r23538] Correct incorrect unset var name 2013-04-03 15:47:37 -05:00
Raymond Lu
86c0d2aa05 [svn-r23536] I corrected the copyright information and added some comment in H5Pocpl.c.
Tested on jam - no code change.
2013-04-03 14:15:13 -05:00
Raymond Lu
97caaff719 [svn-r23533] I changed the operation in dynlib2.c from math operations pow and sqrt to simpler multiplication and division
to avoid potential rounding problem in math operations.

Tested on jam - simple change.
2013-04-03 11:30:46 -05:00
Allen Byrne
f03301ce82 [svn-r23530] Moved test property into test macro.
Tested: local linux
2013-04-03 10:08:52 -05:00
Quincey Koziol
b4331b2ff3 [svn-r23529] Description:
Stop aliasing property to indicate internal collective metadata operations
with property to perform collective raw data operations from the application.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/paralllel
2013-04-02 21:50:50 -05:00
Larry Knox
0b16cecb99 [svn-r23527] Revised usage to reflect change to use -shlib as default when no static libraries were built.
No test - text only revision of compile scripts.
2013-04-02 17:54:20 -05:00
Albert Cheng
7ee9828c26 [svn-r23526] Bug fix: Mac system has dynamic library name in the form of libxyz.dylib. Changed test_plugin.in
to copy library file names in the form of libdynlib{123].*.

Another problem: Even when copy failed in copying the libray files (was in the form of *.so*),
the test still passed.  That was because .libs was included in $HDF5_PLUGIN_PATH and the needed
plug in libraries were generated there.
Fixed by copying the plug in library files to separate directories and seetup HDF5_PLUGIN_PATH
to include them but NOT .libs.

Tested: used desycommittest (duck, emu, jam, koala, ostrich) plus cmakehdf5 in jam.
The cmakehdf5 in jam reported a failure in 
Test #594: H5REPART-h5repart_test ....................................***Failed
Since this failure could not be caused by my change in test_plugin.sh, I reported it to Allen
and proceed to check this in.
2013-04-02 16:26:14 -05:00
Allen Byrne
26785f6af5 [svn-r23524] Use two plugin folders for testing plugin Path 2013-04-02 14:12:06 -05:00
Allen Byrne
91831f41ad [svn-r23520] Add new plugin library to build list for test.
Tested: local linux, windows
2013-04-02 11:27:46 -05:00
Raymond Lu
b8c258a970 [svn-r23519] I used H5Gcreate instead of H5Gcreate2 in plugin.c. I corrected it and added some real operation in the dummy filter library dynlib3.c.
Tested on jam and koala.
2013-04-02 11:12:20 -05:00
Albert Cheng
fc4c7a05f6 [svn-r23517] Rewrirte part of the script that copy the libdynlib libraries and check
for result.

h5committested. (Cmake in Duck has errors but the error are not related to
this change.
2013-04-02 00:07:20 -05:00
Scot Breitenfeld
1b6963230b [svn-r23516] Updated documentation. 2013-04-01 19:58:44 -05:00
Raymond Lu
46b63fe7d8 [svn-r23515] I added test/dynlib3.c. 2013-04-01 18:38:40 -05:00
Raymond Lu
075334af96 [svn-r23514] I forgot to add the new file dynlib3.c in last commit. 2013-04-01 18:30:08 -05:00
Raymond Lu
72e84fcd82 [svn-r23513] I added a test case in plugin.c for testing using filter for groups and created a dummy filter library for this test case.
Tested on jam and koala.
2013-04-01 18:28:48 -05:00
Larry Knox
e679eed61b [svn-r23511] Replaced install-data-local with install-exec-hook in test/Makefile.am.
tested with h5committest
2013-04-01 17:45:02 -05:00
Dana Robinson
47a25f0d0c [svn-r23509] Duplicated Bin-Minh's changes in the 1.8 branch (r23503) that
delete the removed multi dxpl function names from the class.

Tested on: jam w/ fortran & C++

I did not test on other platforms (h5committest) since there is nothing
even remotely platform-specific here.
2013-04-01 14:05:15 -05:00
Dana Robinson
581f5fc68d [svn-r23508] Removed some dead code that belonged to the multi dxpl functions that
were removed in HDF5 1.8.11.

Tested on: jam w/ fortran & C++, tested with check-vfd

I did not test on other platforms (h5committest) since there is nothing
even remotely platform-specific here.
2013-04-01 13:54:18 -05:00
Scot Breitenfeld
cc3fdd8ba4 [svn-r23505] reverted FFLAGS bug fix.
Tested: jam (intel)
2013-03-31 21:03:05 -05:00
Albert Cheng
913b88d15b [svn-r23497] Bug fix: HDFFV-8358
Change h5redeploy to change all 4 lines, prefix=..., exec_prefix=...,
libdir=..., and includedir=...  This way, it reset all 4 lines. Should work
for both version of h5cc created by configure or by rpm.

Tested: hand tested in jam.
2013-03-30 00:55:15 -05:00
Raymond Lu
b6e0e867d0 [svn-r23496] synced DESY branch with the trunk (tested with h5committest) 2013-03-29 18:58:07 -05:00
Raymond Lu
6c974c824d [svn-r23495] ported revisions 23433:23494 from the trunk 2013-03-29 18:13:05 -05:00
Raymond Lu
ed621aae38 [svn-r23494] I added another filter library dynlib2.c for plugin.c test. The test script moves the libdynlib2.so to /tmp then runs
plugin.c.

Tested on jam and koala.
2013-03-29 15:59:15 -05:00
Allen Byrne
5e5e9e3987 [svn-r23493] Correct improper addition 2013-03-29 15:46:48 -05:00
Albert Cheng
59bb6d185e [svn-r23492] Bug fix:
Test was not checking error result. It basically return succeess to make check
all the time.

Fixed it so that it does check the return code of the test (plugin) and set
nerror accordingly.  It then exit 1 if there is any error detected.

Test: use the desy committest to pass on jam, koala, ostrich, duck and emu.
Also hand test by "rm test/.lib/libdynlib1* to verify the test script can
indeed response to errors properly.
2013-03-29 15:22:40 -05:00
Allen Byrne
c1c11c021b [svn-r23491] Add test_plugin.sh to list of cleanup files 2013-03-29 14:51:49 -05:00
Raymond Lu
3374ffecf8 [svn-r23482] I changed the plugin library to be built as shared library only when configure enables shared. libtool will install the shared plugin library. I put a remove command in test/Makefile.am to delete the unnecessary plugin library.
Tested on jam, koala, and emu.
2013-03-28 15:14:11 -05:00
Allen Byrne
9138b343aa [svn-r23480] Reposition conditional and libtool commands. 2013-03-28 12:17:19 -05:00
Allen Byrne
02b1c11ecd [svn-r23476] HDFFV-8359: correct script function calls.
Tested: local linux
2013-03-28 11:38:12 -05:00
Scot Breitenfeld
d7724485b0 [svn-r23475] added dll for verify_Fortran_INTEGER_4 2013-03-28 11:11:34 -05:00
Raymond Lu
c76847d107 [svn-r23472] I updated the default search path for plugin module to be /usr/local/hdf5/lib/plugin for Unix and
"%ALLUSERSPROFILE%/hdf5/lib/plugin" for Windows.

Tested with Albert's committest on 6 systesm.
2013-03-27 17:30:21 -05:00
Mohamad Chaarawi
be4198eb41 [svn-r23470] update INSTALL_parallel with build instructions for Hopper. 2013-03-27 17:06:16 -05:00
Quincey Koziol
86f1fce5f7 [svn-r23469] Description:
Change h5diff_exit() routine to always return a zero exit code when running
in parallel, since returning a non-zero exit code can cause MPI implementations
to print output and that can throw off our "expected output" comparisons.

    Note that this change only changes the exit code for situations where an
incorrect command-line parameter was given - ph5diff was already returning a
zero exit code for all "normal" executions, including those where a serial
h5diff would return a non-zero exit code.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/parallel
    (Too minor to require h5committest)
2013-03-27 13:11:55 -05:00
Allen Byrne
5f8f3dcb79 [svn-r23467] Remove subdirectory.
Tested: local linux
2013-03-27 11:11:21 -05:00
Mohamad Chaarawi
5a14bf5fac [svn-r23466] more missed static declarations
tested on Jam, to minor for committest
2013-03-27 10:51:15 -05:00
Raymond Lu
5b12b8e122 [svn-r23465] I moved dynlib1.c to test/ directory and revised the Makefile.am in test/. I added the condition to skip
plugin.c test when the library is built for static.

Tested on jam, koala, and emu.
2013-03-27 10:39:16 -05:00
Scot Breitenfeld
881cdef5f8 [svn-r23463] Added dllexport for verify_real_kind_7 2013-03-27 10:04:33 -05:00
Scot Breitenfeld
a1db18bc05 [svn-r23462] Added definition for h5kind_to_type 2013-03-27 09:58:41 -05:00
Mohamad Chaarawi
d55bfb91a2 [svn-r23461] add missing static declarations of rotuines.
tested on Jam - too minor for committest
2013-03-27 08:41:44 -05:00
Allen Byrne
cb8e3dee9f [svn-r23460] Add missing infile assignment and error counts 2013-03-26 14:26:10 -05:00
Binh-Minh Ribler
782591cf13 [svn-r23456] Description:
A "return" was missing from a non-void function.  Fixed.
Platforms Tested:
    Linux/32 2.6 (jam)
    Linux/ppc64 (ostrich)
    Asked Allen check Windows.
2013-03-26 02:20:11 -05:00
Allen Byrne
bda2e5da5a [svn-r23454] Update script for reporting errors from configure, build, test.
Tested: jam
2013-03-25 16:38:42 -05:00
Allen Byrne
cfbbd94627 [svn-r23453] FIX plugin DLL decoration 2013-03-25 16:37:09 -05:00
Raymond Lu
b1c594d52d [svn-r23451] I took out RTLD_LAZY for dlopen.
Tested on koala.
2013-03-25 15:34:05 -05:00
Allen Byrne
52d1190883 [svn-r23449] Update script for reporting errors from configure, build, test.
Tested: jam
2013-03-25 14:22:10 -05:00
Allen Byrne
dabebe412f [svn-r23447] Add new env var to prevent filter plugin loading
Tested: jam
2013-03-25 12:39:14 -05:00
Allen Byrne
4ae0c873e0 [svn-r23446] HDFFV-8344, HDFFV-8346: merge from 1.8 branch 2013-03-25 12:35:39 -05:00
Albert Cheng
6e1122dda4 [svn-r23441] HDFFV-8245: bug fix. Snow Leopard (darwin 10.X) does not have clang++.
Reversed it to use gcc/g++ as the default C and CXX compilers for Darwin 10.X
systems.

Tested: duck (darwin 11), wren (darwin 12) and fred (darwin 10).
2013-03-25 00:28:47 -05:00
Binh-Minh Ribler
1f6cd26a93 [svn-r23438] Purpose: Fix bug HDFFV-7520
Description:
    Added wrappers for H5Aexists.
Platforms Tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    Linux/ppc64 (ostrich)
2013-03-23 12:37:49 -05:00
Elena Pourmal
01765e3079 [svn-r23437] Removed duplicated line in the MANIFEST file (exposed by the daily tests) 2013-03-23 10:40:50 -05:00
Raymond Lu
865bf6bcb2 [svn-r23435] ported revisions 23346:23432 from the trunk 2013-03-22 17:29:55 -05:00
Albert Cheng
5c45961845 [svn-r23434] Improvement: DFFV-8245
Use Clang as the compiler for the Mac platform.

Changed all Mac to use clang/clang++ as the default C and CXX compilers if
not provided by the user. Still use gfortran as the default fortran
compiler since Apple does not provide any fortran compiler.

Tested: passed all three macs OS, snow leapord (fred), lion (duck) and
mountain lion (wren). Also passed test using Apple gcc, Gnu gcc, Intel
as the C compilers and all corresponding CXX compilers fits in.
Did not run h5committest or other non-mac platform since this change
affect Apple platforms only.
2013-03-22 17:05:57 -05:00
Larry Knox
f593b6e712 [svn-r23433] Fix for HDFFV-7996.
Compile scripts will add paths for external libraries linked to executable files that they create.
Eliminates need for LD_LIBRARY_PATH for szip in locations not known to ld.

Teted on platypus and emu (64bit) in addition to h5committest.
2013-03-22 16:56:15 -05:00
Raymond Lu
8ffd55478e [svn-r23432] I added a new macro HDF5_PLUGIN_PRELOAD to skip plugin loading during data reading.
Tested on koala and jam.
2013-03-22 16:39:53 -05:00
Larry Knox
99b1524474 [svn-r23431] Fix for HDFFV-8141.
Changes default value for USE_SHARED_LIB in compile scripts to yes when static is disabled.
Comments in scripts about the order of flag variables containing library paths was also corrected.

Tested with h5committest on duck, jam, koala, and ostrich in addition to specific testing for the 
compile script change.
2013-03-22 16:02:07 -05:00
Binh-Minh Ribler
3f1c23b315 [svn-r23428] Description:
Fixed bug HDFFV-4272.  Just typos in documentation.
Platform tested:
    Jam
2013-03-22 14:16:38 -05:00
Binh-Minh Ribler
c8018386da [svn-r23427] Purpose: Fix bug HDFFV-8067
Description:
  + The C++ test failed with the new PGI compilers versions 12.4 and 12.5
  + An exception thrown by an internal function, which was called by
    a constructor, was not propagating to the test program during the stack
    unwinding, so it couldn't be caught by the test and the program terminated.
  + Various trials and errors indicated that the problem is where an STD string
    converted to a char* being passed to the internal function, but confirmation
    has not been found yet.  It could be a compiler bug.
Solution:
  + Added a try/catch in the constructor around the internal function and
    re-throw the exception when it is caught.  This is a workaround.
  + Unrelated minor fixes: removed unused variables and MESSAGE's; commented
    out tvlstr.cpp/test_read_vl_string_attribute because it may be redundant,
    and commented out H5Tpkg.h inclusion because TEST_ALIGNMENT is not added
    yet and probably not necessary in the C++ API.
Platforms tested:
    Linux/32 2.6 (jam) with PGI compilers
    Linux/32 2.6 (jam) with GNU compilers
    Linux/64 2.6 (koala)
2013-03-22 12:56:05 -05:00
Dana Robinson
030a17ca60 [svn-r23417] Fixes an issue (HDFFV-8159) where uninitialized memory was being read
during variable-length type conversion.  All variable-length type conversion
buffers are now initialized to contain 0s on allocation.

Tested on: jam(w/ fortran, C++, parallel, parallel fortran)
           ostrich

This is a very small change (basially changing malloc to calloc) and
is unlikely to cause issues on other platforms.
2013-03-21 14:22:19 -05:00
Quincey Koziol
535456397c [svn-r23415] Description:
Avoid using fpclassify() for detecting zero/non-zero values.

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/debug
2013-03-21 13:19:53 -05:00
Allen Byrne
0596de6267 [svn-r23412] Add test depends on clear test. Occasional failures. 2013-03-21 09:19:09 -05:00
Allen Byrne
e7ced517bc [svn-r23411] HDDFV-8322: Free allocations in command line parsing.
Tested: local linux
2013-03-21 09:04:50 -05:00
Scot Breitenfeld
a0ec9c282b [svn-r23410] HDFFV-8264: Using F2003, build fails on Fedora with undefined reference to __h5r_MOD_h5rget_region_region_f
This turned out being an issue with configure. The reporter submitted a patch which fixed the fact that we should not be 
setting AM_FCFLAGS (an automake variable) with FFLAGS (a user variable). 

I removed this, and we now only set FFLAGS if the environment variable is set, otherwise we don't.

Tested: jam (gnu)
2013-03-20 23:04:19 -05:00
Jonathan Kim
e8955b876c [svn-r23407] Purpose:
HDFFV-8214 - h5repack failed converting small chunked dataset (size < 1K) to contiguous layout.

Description:
  h5repack failed converting small chunked dataset (size < 1K) to contiguous layout.
  The first case was when chunk dim is bigger than the dataset dim (at leat one), h5repack failed with displaying error stacks.
  The other case is when chunk dim is smaller than the dataset dim, h5repack failed to change layout.

    
Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), emu (solaris-BE),fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
2013-03-20 15:33:33 -05:00
Allen Byrne
f0e328cc04 [svn-r23406] Correct typo 2013-03-20 15:24:55 -05:00
Allen Byrne
fb169f7aa9 [svn-r23405] Correct typo 2013-03-20 13:37:35 -05:00
Allen Byrne
59a9d9a0c6 [svn-r23403] Refactor windows code:
windows uses ';' as path separator
windows default path is different
windows find files needs '*.*'
2013-03-20 13:21:28 -05:00
Allen Byrne
6563fc39b1 [svn-r23402] Plugin Library needs own dll decorator
Tested: windows
2013-03-20 11:14:53 -05:00
Raymond Lu
76d6b9f4db [svn-r23401] I cleaned up the test.
Tested on koala.
2013-03-20 10:50:52 -05:00
Raymond Lu
61b39ecc7c [svn-r23400] I updated Makefile.in for Mac.
Tested on MacGoblin and koala.
2013-03-20 10:13:17 -05:00
Allen Byrne
7c70c816f5 [svn-r23399] Add missing CMakeLists.txt file 2013-03-20 09:26:04 -05:00
Quincey Koziol
59dd5665a5 [svn-r23395] Description:
Bring Coverity changes from branch to trunk:

r20682:
fixed coverity:
76, 77, 635, 636, 1164, 1165, 1166, 1121, 1122, 1117, 1343

Tested on:
    Mac OSX/64 10.8.3 (amazon) w/C++ & FORTRAN
    (too minor to require h5committest)
2013-03-19 22:44:28 -05:00
Allen Byrne
4f1c1bbf1a [svn-r23390] Remove dll decoration from local function 2013-03-19 16:10:39 -05:00
Allen Byrne
cec54e1fa0 [svn-r23389] HDFFV-8338: remove unused headers 2013-03-19 15:57:18 -05:00
Allen Byrne
8ad18f496a [svn-r23388] HDDFV-8322: Free allocations in parse_command_line function.
Tested: local linux
2013-03-19 15:51:14 -05:00
Allen Byrne
40b7936a5b [svn-r23387] Add dynamic windows decorations 2013-03-19 15:19:06 -05:00
Raymond Lu
721b337b15 [svn-r23386] More updates for Windows.
Tested on koala.
2013-03-19 15:07:03 -05:00
Allen Byrne
b587321096 [svn-r23384] Copy dynamic lib to a plugins folder for testing. This will avoid the segfault with looking for the library with other libraries.
Tested: local linux
2013-03-19 14:20:54 -05:00
Raymond Lu
a9de601138 [svn-r23382] I took out H5PLpkg.h. It no longer exist. 2013-03-19 11:27:45 -05:00
Raymond Lu
32ffaa8982 [svn-r23381] More update for Windows.
Tested on koala
2013-03-19 11:25:44 -05:00
Quincey Koziol
af9a3abb3d [svn-r23380] Description:
Review & cleanup code.
2013-03-18 23:22:34 -05:00
Scot Breitenfeld
626fb1b02f [svn-r23379] HDFFV-8297 h5fc does not recognize files ending in .f95, .f03, and .f08 as source files
added missing extensions.

Tested: jam (gnu)
2013-03-18 23:14:59 -05:00
Quincey Koziol
beccb8a0fc [svn-r23377] Description:
Re-run bon/reconfigure, to generate detection of dirent.h and set up
macro.
2013-03-18 22:14:28 -05:00
Quincey Koziol
00c4e5f00d [svn-r23376] Description:
Add dirent.h detection to configure.ac
2013-03-18 22:00:40 -05:00
Raymond Lu
c08dc5f646 [svn-r23373] Some updates for Windows.
Not tested.
2013-03-18 17:16:59 -05:00
Quincey Koziol
e4c9a6f3b6 [svn-r23372] Description:
Bring in missing r23248 from trunk.

Tested on:
    Not tested...
2013-03-18 17:06:28 -05:00
Allen Byrne
9a720f99fe [svn-r23370] Corrected macro name and removed optional function info in ERROR macro 2013-03-18 17:00:24 -05:00
Allen Byrne
f2b142f6ed [svn-r23369] Escape "\" char 2013-03-18 16:56:32 -05:00
Allen Byrne
23635d656a [svn-r23368] Correct names and add includes for windows 2013-03-18 15:44:02 -05:00
Raymond Lu
ebfebfd7d5 [svn-r23367] I took out a declaration of "DIR" for Windows support.
Not tested.
2013-03-18 15:11:19 -05:00
Dana Robinson
76a8599736 [svn-r23366] Removed the H5Pset_dxpl_multi and H5Pget_dxpl_multi functions from the
library.  The intended functionality for them was never fully implemented
and they are fundamentally broken.

The functions were removed from the C and C++ interfaces.  They were not
exported in the Fortran interface.

Tested on: jam(c++/fortran/hl)

I tested using check-vfd to ensure the multi VFD still works properly.
There is no reason to test this on other machines or on parallel.
2013-03-18 14:50:32 -05:00
Raymond Lu
c7e0a521db [svn-r23365] I opted out dirent.h for Windows.
Not tested yet.
2013-03-18 14:21:55 -05:00
HDF Tester
e188e7797b [svn-r23361] Snapshot version 1.9 release 148 2013-03-17 03:28:21 -05:00
Raymond Lu
296e21f2e2 [svn-r23360] I added Windows support to H5PL_find function.
Tested on koala but not on Windows yet.
2013-03-16 16:16:22 -05:00
Raymond Lu
f6f202dc71 [svn-r23359] I added some macros and refactoring the code to prepare for Windows support.
Tested on koala.
2013-03-15 16:25:30 -05:00
Allen Byrne
7f44286aa5 [svn-r23358] correct env var value for test 2013-03-15 14:10:16 -05:00
Allen Byrne
2923f64c28 [svn-r23357] HDFFV-8338: Add cmake support, this commit only tested for linux
Tested: local linux
2013-03-15 13:28:37 -05:00
Allen Byrne
c1ddb82ac1 [svn-r23356] Correct target name 2013-03-15 10:28:32 -05:00
Allen Byrne
dadea7dc74 [svn-r23354] Close prop list var 2013-03-15 10:26:55 -05:00
Allen Byrne
3a4c43cbd4 [svn-r23353] Correct target name 2013-03-15 10:26:14 -05:00
Raymond Lu
e37ee97a58 [svn-r23350] I cleaned up some code and added comments for my previous checkin of the DESY project.
Tested on koala.
2013-03-14 15:00:48 -05:00
Raymond Lu
08359be858 [svn-r23347] ported revision 23248:23346 from the trunk 2013-03-13 17:34:23 -05:00
Raymond Lu
55822485c6 [svn-r23346] First commit for DESY project. It has the basic functionality of loading dynamically filter libraries and a simple test for it.
Tested on koala.
2013-03-13 14:35:26 -05:00
HDF Tester
c896a5b7eb [svn-r23341] Snapshot version 1.9 release 147 2013-03-10 04:34:50 -05:00
Albert Cheng
1e057e17d2 [svn-r23338] Updated with HDFFV-8305 fix. 2013-03-07 15:58:41 -05:00
Albert Cheng
dd0a7fa13b [svn-r23336] Discovered some typo in the last added comment. Rewrote the comment.
Tested: no need since only comments are changed.
2013-03-07 14:58:45 -05:00
Allen Byrne
f667d55efe [svn-r23333] Update CMake documentation, remove obsolete info for windows. 2013-03-06 13:40:47 -05:00
Allen Byrne
dbd93b2c55 [svn-r23332] HDFFV-8322: for valgrind testing, split-up testhdf5 tests by excluding and running long running tests separately.
Tested: local linux
2013-03-06 12:26:48 -05:00
Albert Cheng
110d933a57 [svn-r23329] Bug fix: HDFFV-8305
Some systems, like Mac, strings inspect library files and older versions
of strings maybe know newer library format, resulting in errors.
Make it read the file as stdin, avoiding this problem. 

Tested: h5committest. all passed.
2013-03-06 01:13:45 -05:00
Albert Cheng
5b959f0bf9 [svn-r23327] Added the reference of the requirement of POSIX Compliance. 2013-03-05 17:35:23 -05:00
Allen Byrne
2195fe47db [svn-r23326] Refactor testhdf5 for memcheck testing. Test longest running options using only. 2013-03-05 15:16:51 -05:00
Scot Breitenfeld
ebb18c5186 [svn-r23325] Description
------------

Fix for:
HDFFV-8149: h5pset_external_f API - the offset is declared integer which can cause problem if use 64-bit integer  

Added new type off_t, modified source files and added a new test.

Tested (jam, intel, gnu)
2013-03-05 00:06:59 -05:00
HDF Tester
1cffcb401a [svn-r23323] Snapshot version 1.9 release 146 2013-03-03 11:20:00 -05:00
Allen Byrne
77dedb3c64 [svn-r23322] HDFFV-8322: Close resources, found from valgrind testing
Tested: local linux
2013-03-01 15:09:40 -05:00
Allen Byrne
00eea738d6 [svn-r23320] Close resources, found from valgrind testing
Tested: local linux
2013-02-27 12:32:56 -05:00
Allen Byrne
fbf49aeddf [svn-r23317] Fix indentation 2013-02-25 11:59:17 -05:00
Allen Byrne
54574a282d [svn-r23314] Correct typo in DEPENDS 2013-02-25 11:41:09 -05:00
Quincey Koziol
0fc1c9c519 [svn-r23313] Description:
Bring changes from Coverity branch to the trunk:

r20612:
Changed string functions to versions with string length to fix coverity issues
922, 942 and 943.

r20614:
Use HDsnprintf. --gh

r20675:
Fix for coverity #1714 due to the fix for #810.  
Use HDfree() instead of H5MM_xfree().

r20678:
Repaired coverity issue #598 -- failure to check return value from a
call to fstat(), or to tidy up in the event of failure.

r20679:
Use HDstrncpy. --gh

r20681:
Use HDstrncat and HDstrncpy. --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/Debug, etc.
    (too minor to require h5committest)
2013-02-25 09:48:42 -05:00
HDF Tester
66ba0b4f33 [svn-r23311] Snapshot version 1.9 release 145 2013-02-24 11:26:03 -05:00
Allen Byrne
47af32527b [svn-r23310] Correct duplicate test command 2013-02-21 14:39:29 -05:00
Allen Byrne
e142838d1f [svn-r23308] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-21 10:47:51 -05:00
Allen Byrne
2c0357db80 [svn-r23307] HDFFV-8311: Correct test dependency
Remove h5ls references

Tested: local linux
2013-02-20 13:43:47 -05:00
Allen Byrne
8a92fbce85 [svn-r23306] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-20 11:42:11 -05:00
Allen Byrne
aff5c20a6a [svn-r23305] HDFFV-8257: szip still used even if headers are not found. Change configure to test the result of the CHECK HEADERS call before checking for the library.
Tested: local linux, h5committest
2013-02-18 15:56:21 -05:00
Jonathan Kim
dbad502865 [svn-r23304] Purpose:
HDFFV-7643 - h5diff - incorrect exit-code returns for extra attribute exist

Description:
   h5diff: Fixed to return correct exit code 1 when detect unique
   attribute. Prior to this fix, h5diff returned exit code 0 indicating 
   two files are identical.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), emu (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2013-02-18 14:46:03 -05:00
Scot Breitenfeld
f3da4919c4 [svn-r23297] Temporary fix: PGI COMPILERS seem to have a bug in the INQUIRE function,
waiting for an answer from PGI how to resolve the problem.

Tested: jam (pgi compiler)
2013-02-18 10:28:36 -05:00
Scot Breitenfeld
2ec529c035 [svn-r23296] Fix HDFFV-8312: Problem using NAG compiler and F2003 interface
added character bounds for C_LOC arguments.

Tested: jam (gnu)
2013-02-17 22:46:06 -05:00
Scot Breitenfeld
4e08487549 [svn-r23295] Did not intend to check in this file with the previous ci.
reverted check in.
2013-02-17 22:10:17 -05:00
Scot Breitenfeld
a4521b7901 [svn-r23294] Related to: HDFFV-8265
Fortran2003 option does not work under windows; Need to manage .def files more efficiently

Changed the comment notes from adding to the 'hdf5_fortrandll.def' to instead adding
to the 'hdf5_fortrandll.def.in' file.
2013-02-17 21:22:29 -05:00
Scot Breitenfeld
a976ca99a9 [svn-r23293] Fix for HDFFV-8268: Fortran wrapper for H5Fget_file_image function.
Tested: (jam, gnu,intel compilers)
2013-02-17 21:01:18 -05:00
HDF Tester
32da9c96ae [svn-r23290] Snapshot version 1.9 release 144 2013-02-17 11:30:06 -05:00
Allen Byrne
1eeac2048a [svn-r23289] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-15 16:46:45 -05:00
Allen Byrne
ff30c61329 [svn-r23288] Fix mismatched block statement 2013-02-15 16:46:24 -05:00
Allen Byrne
69ced48cf8 [svn-r23287] Correct file names 2013-02-15 15:12:18 -05:00
Allen Byrne
43189639fd [svn-r23286] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-15 14:35:21 -05:00
Allen Byrne
4149edf118 [svn-r23282] Add folder to outfile name 2013-02-14 15:32:15 -05:00
Allen Byrne
325c3b869f [svn-r23278] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 15:00:50 -05:00
Allen Byrne
8bdc6f991e [svn-r23277] Change name of output file. 2013-02-14 14:13:30 -05:00
Allen Byrne
ba355ce887 [svn-r23276] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:48:10 -05:00
Allen Byrne
bf80a61b14 [svn-r23275] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:43:03 -05:00
Allen Byrne
0336d9cdb4 [svn-r23274] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:37:52 -05:00
Allen Byrne
06e935bae9 [svn-r23273] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:37:02 -05:00
Allen Byrne
90f4f15617 [svn-r23272] Correct typos 2013-02-14 13:16:43 -05:00
Allen Byrne
7feda84aeb [svn-r23271] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 13:10:24 -05:00
Allen Byrne
115a5b36dd [svn-r23270] Cleanup old test comments 2013-02-14 11:37:37 -05:00
Allen Byrne
b9edfdfa25 [svn-r23269] HDFFV-8311: Correct test dependency
Tested: local linux
2013-02-14 11:35:56 -05:00
Frank Baker
a6b09480ff [svn-r23267] Description:
Update copyright to 2013.
Tested:  Firefox
2013-02-13 17:13:00 -05:00
Allen Byrne
366d729046 [svn-r23264] Remove tests from valgrind processing 2013-02-13 13:54:14 -05:00
Allen Byrne
3b1e202378 [svn-r23263] Test dependencies were incorrect and test outside macros did not always execute in the correct order.
Created new macro for h5import test verification. Corrected intra-macro test dependencies. Fixed clear tests.

Tested: local linux
2013-02-13 12:37:10 -05:00
Albert Cheng
d8b3b84ca2 [svn-r23262] Updated with bug fix entry of HDFFV-8267.
Since this is a testing code error that does not affect the function of the
library or tools, I started a new "Testing" section for this sort of changes.
2013-02-13 11:03:49 -05:00
Albert Cheng
e8a0753656 [svn-r23260] Bug fix: HDFFV-8267
The ERROR macro had a typo of missing a separator comma. When used, it seg.
fault. Added the comma back in.
Fix is reviewed in Crucible HDF5-107.

Tested: h5committest passed. Also tested using the ERROR macro in the
Mac (Owl) platform. Before fix, it seg. fault. After fix, it prints the
message as intended.
2013-02-12 16:36:54 -05:00
Allen Byrne
472566b543 [svn-r23254] Make tests independent of each other
Tested: local linux
2013-02-12 16:01:26 -05:00
Allen Byrne
7ca11cb3e0 [svn-r23253] update memcheck ignore tests 2013-02-12 15:47:31 -05:00
Allen Byrne
f08e413f1d [svn-r23252] Fix test dependency flow 2013-02-12 13:19:28 -05:00
Allen Byrne
334cebba07 [svn-r23251] Fix test dependency flow 2013-02-12 13:09:29 -05:00
Allen Byrne
4680324b24 [svn-r23250] Merge changes from normal cache file 2013-02-12 10:11:20 -05:00
Allen Byrne
6ad28abc14 [svn-r23249] Correct typo in normal depends statement.
Add MEMORY_CHECK settings to match existing VALGRIND statements
2013-02-12 08:41:43 -05:00
Scot Breitenfeld
9d07161dd9 [svn-r23248] Made modification of comments for h5rget_name_*f for the loc_id identifier.
Cleaned up comments.
2013-02-11 20:28:08 -05:00
Raymond Lu
d9baac8b0b [svn-r23245] I added the information about the new function H5DOwrite_chunk.
No test is needed.
2013-02-11 16:20:37 -05:00
Allen Byrne
23d2b5d557 [svn-r23244] Correct test dependency handling.
Tested: local linux
2013-02-11 15:15:17 -05:00
Scot Breitenfeld
b37820aecb [svn-r23242] Added info. about changed behavior of H5DSgetscale_name (HDFFV-7596) 2013-02-10 21:18:24 -05:00
Scot Breitenfeld
871b69723e [svn-r23241] Fix for: HDFFV-7596 H5DSget_scale returns size that includes NULL termination and H5DSget_label returns size
Updated tests.

Tested: jam( gnu, intel)
2013-02-10 21:06:01 -05:00
HDF Tester
944f0399ac [svn-r23240] Snapshot version 1.9 release 143 2013-02-10 11:25:10 -05:00
Quincey Koziol
d91625d139 [svn-r23238] Description:
Bring changes from Coverity branch to trunk:

r20528:
Purpose: Fix coverity issue 1372

Description: Rewrite file open secition of H5FD_stdio_open to avoid TOCTUO
condition.  No longer calls access, and uses a tentative open in "rb" or "rb+"
mode to check for existence of the file.

r20609:
Use HDstrncpy and HDstrncat. --gh

r20611:
Use HDstrncpy. --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug, C++ & FORTRAN
    (h5committest not required, already tested on branch)
2013-02-08 15:36:31 -05:00
Neil Fortner
692fa69934 [svn-r23237] Purpose: Implement H5Dscatter and H5Dgather
Description:
Adds 2 new API functions, H5Dscatter and H5Dgather.  H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer.  H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function.  Added tests for these functions

Tested: jam, ostrich, koala (h5committest); ummon
2013-02-08 11:49:21 -05:00
Scot Breitenfeld
386f73823a [svn-r23236] Fix for: HDFFV-8223
Write a Fortran test for conversion fron enum to numeric type 

Tested (jam, gnu, intel)
2013-02-07 19:28:55 -05:00
Scot Breitenfeld
69a777556e [svn-r23235] Fix for:
HDFFV-7909
When building with g95 on Mac OS X 64-bit, the wrong options (gfortran) are used 

Tested: duck (gfortran, g95 (which is not supported))
2013-02-07 19:09:24 -05:00
Neil Fortner
400bf73d17 [svn-r23234] Fix out-of-bounds errors on pgcc for H5Dscatter and H5Dgather tests.
Tested: jam (pgcc), ummon (gcc)
2013-02-07 16:57:57 -05:00
Neil Fortner
0e3517d34f [svn-r23230] Purpose: Implement H5Dscatter and H5Dgather
Description:
Adds 2 new API functions, H5Dscatter and H5Dgather.  H5Dscatter retrieves data
from a specified callback function and scatters it into a selection, defined by
a supplied dataspace, within a supplied memory buffer.  H5Dgather gathers data
from a selection within a supplied memory buffer and passes it in a contiguous
form to a supplied callback function.  Added tests for these functions

Tested: jam, ostrich, koala (h5committest); ummon
2013-02-05 12:07:02 -05:00
Jonathan Kim
d7a07d62a4 [svn-r23228] Purpose:
Revert back one of the coverity updates from previous checkin. "r20457: Coverity issue 691" in previous svn log.  Only revert the change about using "STDOUT_FILENO".

Description:
    Using "STDOUT_FILENO" caused error on Windows. On unix it's defined in <unistd.h>, but not in Windows.  After a little discussion with Allen, he remembered how the similar case were handled for h5dump redirecting those streams. (in h5dump.c) However it would requires more attention to apply, so this issue is entered as a separate task in jira HDDFV-8306.

    
Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE)
2013-02-05 11:09:45 -05:00
Allen Byrne
b1e0f6c5a5 [svn-r23227] HDFFV-8215 - update help text to be cosistent with the RM entry.
Tested: local linux
2013-02-05 10:11:47 -05:00
Allen Byrne
c3e149d06f [svn-r23226] HDFFV-8285: suppress-ddl option: Changed file options to allow for filename F to be optional.
Tested: local linux
2013-02-04 15:15:59 -05:00
Quincey Koziol
c0b2724d4d [svn-r23223] Description:
Revert use of snprintf() for sprintf(), as it is not supported on Windows.
(And file a bug, http://jira.hdfgroup.uiuc.edu/browse/HDFFV-8302, for the
general problem)

Tested:
    Mac OSX/64 10.8.2 (amazon)
2013-02-04 09:42:21 -05:00
HDF Tester
b65a911b8a [svn-r23221] Snapshot version 1.9 release 142 2013-02-03 11:20:03 -05:00
Quincey Koziol
a3e98d0e36 [svn-r23219] Description:
Bring reviewed changes from Coverity branch back to trunk (QK & JK):

r20457:
Coverity issue 691: return of H5duo could be negative. Fixed by using
STDOUT_FILENO and redesign parse_command_line and main to cleanup file
allocations. The output_file var is null when using stdout. In cleanup do not
close output_file if NULL.

r20510:
Initialize ufid = -1 and predicate HDclose call on ufid != -1

r20511:
Purpose: Fix coverity issue 1715

Description: Free "file" and nested data on failure in H5FD_core_open.

r20512:
Initialize ifid = -1 and predicate HDclose call on ifid != -1

r20514:
Initialize h5fid = -1 and predicate HDclose call on h5fid != -1

r20516:
Added else branch to the if (ret_value < 0) check.

r20522:
Addressed coverity issues 930-933, 850, 836, 835, 1307.  All minor 
potential buffer overwrite bugs, or coverity errors.  Fixed by replacing
strcpy and sprintf with strncpy and snprintf.

r20523:
fixed coverity issues 68, 1120, 1116i

r20524:
Check  H5Z_SZIP->encoder_present < 1 assuming 0 represents absence.

r20601:
Purpose: Fix coverity issues 1703-1705

Description: Modified the cleanup code in test_free in accum.c to reset
allocated buffers to NULL after they are freed, and modified the error cleanup
code to check if these buffers are NULL before freeing them.  Also fixed some
unrelated warnings in accum.c.

r20602:
Use HDsnprintf and HDstrncat

r20603:
Purpose: Fix coverity issues 808-809

Description: Modified test_core in vfd.c to check the returns from malloc, and
keep track of whether points and check are allocated by setting them to NULL
when they are not.  Added code to free points and check on error if they are
not NULL.  Also fixed unrelated warnings in vfd.c.

r20604:
Use HDstrncpy.

r20605:
Use HDstrncpy and HDstrncat.

r20606:
Purpose: Fix coverity issue 807

Description: Modified long_compact in stab.c to keep track of whether objname is
allocated by setting it to NULL when it is not.  Added code to free objname on
error if it is not NULL.

r20607:
Changed string function calls to use versions that specify the string length
to fix coverity issues 832 and 839.


Tested on:
    Mac OSX/64 10.8.2 (amazon)
    (Too minor to require h5committest)
2013-02-01 20:53:32 -05:00
Peter Cao
5140343f45 [svn-r23217] add scalr vlen string datasets 2013-01-31 17:15:15 -05:00
Allen Byrne
415aa7e257 [svn-r23216] Add newline for special case of only raw data to stdout 2013-01-31 15:51:23 -05:00
Allen Byrne
b84234d23c [svn-r23209] Change "diff -b" to just "cmp" for tests. diff is for text files and the ddl redirect does not have an ending newline. 2013-01-31 09:28:04 -05:00
Peter Cao
9d23b171a5 [svn-r23208] adding a large compound dataset to the test file 2013-01-30 17:06:40 -05:00
Peter Cao
4cb3d328ca [svn-r23207] add the new test file to the list. 2013-01-30 16:09:56 -05:00
Peter Cao
d42db65e89 [svn-r23206] minor fixes for number of attributes to be created. 2013-01-30 15:53:15 -05:00
Peter Cao
7461ce3958 [svn-r23205] correct a typo in the instruction. 2013-01-30 15:06:46 -05:00
Peter Cao
1b4769d016 [svn-r23204] Update help information. 2013-01-30 15:00:19 -05:00
Peter Cao
ab2f0d00f3 [svn-r23203] Add test program to generate test file for checking performance. 2013-01-30 14:37:33 -05:00
Allen Byrne
3b787c97d3 [svn-r23202] Add another warning to ignore list 2013-01-29 14:33:55 -05:00
Allen Byrne
6fca8e80d0 [svn-r23201] Correct option text 2013-01-29 14:31:27 -05:00
Allen Byrne
82ac7b92e3 [svn-r23198] Remove -q option from diff as some OS do not support it.
Tested: local linux
2013-01-24 09:13:47 -05:00
Albert Cheng
cf1821d116 [svn-r23197] prints out what and where the log files are.
Set it NOT to submit result to the CDASH.
2013-01-23 18:22:39 -05:00
Raymond Lu
2233570f16 [svn-r23196] I changed the call to H5P_object_verify to H5I_object as the header file H5Iprivate.h is included but not H5Pprivate.h.
Tested on jam.
2013-01-23 10:37:51 -05:00
Allen Byrne
81a6f5be7c [svn-r23195] Compares without end of file newlines
Tested: duck
2013-01-23 10:16:14 -05:00
Allen Byrne
5650be2d1a [svn-r23193] Rename ddl export file and force file write on copy for windows.
Tested: local linux
2013-01-23 08:48:54 -05:00
Allen Byrne
ff421d9424 [svn-r23190] HDFFV-8285: Add suppress ddl option.
Tested: local linux
2013-01-22 15:43:12 -05:00
Allen Byrne
0b107827ec [svn-r23185] Comment out unimplemented tests 2013-01-22 09:00:05 -05:00
Albert Cheng
488453cdfc [svn-r23184] Addition of cmakehdf5. 2013-01-21 23:06:24 -05:00
HDF Tester
37d1a0330a [svn-r23180] Snapshot version 1.9 release 141 2013-01-20 11:23:56 -05:00
Allen Byrne
3ddf8006a1 [svn-r23178] Comment out unimplemented tests 2013-01-18 14:49:11 -05:00
Allen Byrne
b807327433 [svn-r23177] Adjust mkdir to create all dependent folders 2013-01-18 14:33:00 -05:00
Allen Byrne
c352249db1 [svn-r23176] Separate testfiles into subdirs of TestDir to avoid parallel test errors trying to copy a reference file over when already in use.
Tested: local linux
2013-01-18 10:51:59 -05:00
Allen Byrne
769c50cbdc [svn-r23175] Comment out uncommitted tests. 2013-01-18 08:19:58 -05:00
Allen Byrne
0068ead81c [svn-r23174] Correct list items 2013-01-17 14:57:29 -05:00
Allen Byrne
0aba80fb13 [svn-r23173] export files must be handled differently on windows 2013-01-17 14:55:39 -05:00
Allen Byrne
a02d99ab61 [svn-r23170] Switch script to copy files to TESTDIR and execute
Tested: h5committest
2013-01-16 14:23:25 -05:00
Allen Byrne
ceb07d21b0 [svn-r23169] HDFFV-8169: String binary dump test scripts 2013-01-16 13:38:58 -05:00
Allen Byrne
c80e3a0d13 [svn-r23168] HDFFV-8169: String binary dump testfiles 2013-01-16 13:35:48 -05:00
Albert Cheng
629b737016 [svn-r23167] Removed the working in Jam only statement since it works for all THG unix
platforms except Linew (SunOS).
2013-01-16 11:08:38 -05:00
Allen Byrne
35c2e47c60 [svn-r23166] Comment out redirect-ddl tests - incomplete 2013-01-15 11:36:09 -05:00
Mohamad Chaarawi
cb6d2f2a45 [svn-r23165] HDFF-8203 Break H5FDmpi.h header into public and private components
https://jira.hdfgroup.uiuc.edu/browse/HDFFV-8203

tested: h5committest
2013-01-15 10:32:23 -05:00
Allen Byrne
c326a3bd9c [svn-r23164] HDFFV-8285: H5dump suppress ddl option test script 2013-01-15 09:34:44 -05:00
Allen Byrne
2a7ae0367b [svn-r23163] HDFFV-8285: H5dump suppress ddl option testfile additions 2013-01-15 09:31:24 -05:00
Raymond Lu
ec704e0077 [svn-r23162] synchronized DECTRIS branch (r23161) with the trunk 2013-01-14 15:40:19 -05:00
Raymond Lu
c9aad08a90 [svn-r23161] ported revisions 23146:23160 from the trunk 2013-01-14 14:45:59 -05:00
Allen Byrne
2fba171a67 [svn-r23160] HDFFV-8227: Mac DARWIN requires CMake 2.8.10 2013-01-14 13:35:30 -05:00
Allen Byrne
7a775b6c59 [svn-r23158] HDFFV-8169: h5dump incorrectly dumps a string into a binary file
Tested: local linux
2013-01-14 11:26:22 -05:00
Allen Byrne
4b9482eaee [svn-r23154] HDFFV-8286: changed comments from // to /* */ 2013-01-14 10:42:17 -05:00
HDF Tester
2381dacdad [svn-r23153] Snapshot version 1.9 release 140 2013-01-13 11:18:18 -05:00
Raymond Lu
3a7b11863a [svn-r23152] I took out the obsolete function H5PSIwrite_chunk and its related test and performance test.
Tested on koala.
2013-01-11 16:34:31 -05:00
Allen Byrne
9ac4f9ad6b [svn-r23151] HDFFV-498: Eliminate a.exe file on cygwin configurations 2013-01-11 14:11:33 -05:00
Allen Byrne
fd07eb96af [svn-r23150] Revert changes because 1.8 branch files were improperly used. 2013-01-11 14:00:50 -05:00
Raymond Lu
7b895e1dd8 [svn-r23149] I put more condition checks with macro when DEFLATE filter is disabled.
Tested on koala.
2013-01-10 11:04:09 -05:00
Raymond Lu
8eab66f667 [svn-r23148] I added the macro condition check for the test of direct chunk write as it uses compress2 function.
Tested on koala.
2013-01-09 16:07:27 -05:00
Raymond Lu
81bcd314a9 [svn-r23147] ported revisions 23081:23145 from the trunk 2013-01-09 15:23:07 -05:00
Raymond Lu
cde5029461 [svn-r23146] The test on Windows shows it doesn't have zlib.h. I added a macro condition to verify it before include it.
Tested on koala.
2013-01-09 14:23:18 -05:00
Allen Byrne
39e26205e1 [svn-r23145] HDFFV-498: Eliminate a.exe file on cygwin configurations
Tested: cygwin, duck, jam, and local linux
2013-01-09 13:47:28 -05:00
Allen Byrne
b4f238fbd5 [svn-r23139] Only do line by line compare if compare files fail. 2013-01-07 15:38:34 -05:00
Allen Byrne
6e77ce012f [svn-r23138] Only do line by line compare if compare files fail.
Tested: local linux
2013-01-07 15:28:57 -05:00
Allen Byrne
6fd9729b82 [svn-r23137] HDFFV-8227: Add Message to stop configure id SHARED FORTRAN is selected.
Also added APPLE cpack section
Corrected FATAL to FATAL_ERROR in MESSAGEs

Tested: duck
2013-01-07 09:23:48 -05:00
HDF Tester
c1b0e4f686 [svn-r23136] Snapshot version 1.9 release 139 2013-01-06 11:19:19 -05:00
Scot Breitenfeld
99af0ce575 [svn-r23134] Revised the comments to reflect what is in the F2003 standard. 2013-01-03 19:49:06 -05:00
Allen Byrne
93bdf382dc [svn-r23133] Force static builds on MAC machines 2013-01-03 16:44:43 -05:00
Allen Byrne
0c50bcd929 [svn-r23131] Correct missing command name 2013-01-02 13:12:29 -05:00
Allen Byrne
d2e60f3110 [svn-r23130] Update CPack to 2.8.10 2013-01-02 12:21:55 -05:00
Allen Byrne
55e0df638b [svn-r23127] Add MAC options to script in IF(APPLE) block. 2013-01-02 12:01:06 -05:00
HDF Tester
72e8ef707b [svn-r23121] Snapshot version 1.9 release 138 2012-12-30 11:18:08 -05:00
Albert Cheng
8d5525df85 [svn-r23120] Removed -VV from the ctest command line so that it does not send debug output
to the standout.  This keeps command output terse and easier to tell if it
passes or not.

Added time stamps printing.
Added exit code and command executation summary.

All these will make it easier for user to tell if the command succeeds or not.

Tested: {jam,koala,ostrich} all passed. {Linew,fred,duck,owl} failed.
The failure is the cmake process, not cmakehdf5 itself.
2012-12-27 16:04:50 -05:00
HDF Tester
d1b7de066e [svn-r23119] Snapshot version 1.9 release 137 2012-12-23 11:31:26 -05:00
Scot Breitenfeld
16c2af26b6 [svn-r23118] HDFFV-2686 Remove the ptExampleVL.c example from the source code
FIX: Removed files and adjusted other files accordingly.

Tested: jam (gnu)
2012-12-22 14:33:27 -05:00
Scot Breitenfeld
07df6630f1 [svn-r23117] Changed extension of hdf5 files from .hdf5 to .h5 for consistancy.
HDFFV-422: Change extention of the binary files from hdf5 to h5

Tested: jam (gnu)
2012-12-21 00:00:08 -05:00
Scot Breitenfeld
31bbe63ebf [svn-r23116] Changed extension of hdf5 from .hdf5 to .h5 for consistancy.
HDFFV-422: Change extention of the binary files from hdf5 to h5

Tested: jam (gnu)
2012-12-20 23:51:38 -05:00
Scot Breitenfeld
f1e311ef7d [svn-r23115] Added a new test for KIND C_INT64_T, which some earlier windows Intel versions (<12.1)
did not support.
2012-12-20 19:47:03 -05:00
Allen Byrne
357d94328c [svn-r23114] remove "AT-" from buildname 2012-12-20 10:39:37 -05:00
Allen Byrne
f41c524ca9 [svn-r23113] Added corrections to treat ";" character as text for comparision.
Tested: local linux
2012-12-20 09:41:11 -05:00
Dana Robinson
7b5b6d239e [svn-r23111] Purpose:
Fixes for HDF5 1.8.10 p1

HDFFV-7975
Changed the max single I/O operation size on Darwin/Mac OS X.

HDFFV-8124 and HDFFV-8158
Fixed a core VFD bug when large blocks of data are read.

HDFFV-8246
Added more fields to the VFD read/write error messages.

Tested on:
64-bit Windows 7, Visual Studio 2010, CMake
64-bit Mac OS X Snow Leopard (Fred), Fortran, C++
64-bit BE Linux (Ostrich), Fortran, C++
32-bit LE Linux (jam), Fortran, C++ (also parallel w/ Fortran)
2012-12-19 16:51:55 -05:00
Allen Byrne
a50b051538 [svn-r23110] Correct comparison function 2012-12-19 15:05:03 -05:00
Scot Breitenfeld
a692fe88cd [svn-r23105] Changed Fortran examples to reflect tutorial examples via Barbara;
added: h5_cmprss.f90

Tested: jam (gnu compilers)
2012-12-15 17:59:00 -05:00
Raymond Lu
cf823b47ed [svn-r23103] I changed the H5Dopen in hl/test/dectris_hl_perf.c and perform/dectris_perf.c to H5Dopen2.
Tested on Koala.
2012-12-14 10:42:18 -05:00
Raymond Lu
6050e78143 [svn-r23097] I changed H5Dopen to H5Dopen2 in test/dectris_tst.c and hl/test/test_dset_opt.c. I added
hl/test/dectris_hl_perf.c
    perform/dectris_perf.c
    test/dectris_tst.c

Tested on koala.
2012-12-13 11:13:43 -05:00
Albert Cheng
4de0ac5388 [svn-r23096] Added bin/cmakehdf5. 2012-12-12 16:45:33 -05:00
Albert Cheng
8dd246fb2c [svn-r23094] cmakehdf5 is a build command script similar to buildhdf5.
This is an initial implementation and is known to work in
Jam only. More porting is in progress.

Tested: Jam
2012-12-12 14:37:20 -05:00
Scot Breitenfeld
8dc9f39570 [svn-r23093] Fixed API to be 1.6 compliant, removed deprecated APIs
Checked: jam (gnu, mpi) --disable-deprecated-symbols, --with-default-api-version=v16
2012-12-12 09:56:39 -05:00
Scot Breitenfeld
e92f4b1a7c [svn-r23092] Cleaned-up printed output and corrected output comments
Tested: jam (gnu)
2012-12-11 23:30:22 -05:00
Scot Breitenfeld
7155aa6f1d [svn-r23091] Changed C examples to reflect changes in documentation via Barbara;
mainly program additions from tutorial.

Tested: jam (gnu compilers)
2012-12-11 23:00:34 -05:00
Scot Breitenfeld
3079b8dde8 [svn-r23090] Fixed H5Dread input parameters.
Tested: gnu (jam)
2012-12-11 08:39:39 -05:00
Scot Breitenfeld
02fb07aa85 [svn-r23089] Changed Fortran examples to reflect changes in documentation via Barbara;
mainly program name changes. Two new examples added: h5_extend.f90 h5_subset.f90 and
example fileexample.f90 was removed.

Tested: jam (gnu compilers)
2012-12-10 17:41:13 -05:00
Scot Breitenfeld
17fd0e9ce4 [svn-r23088] Changed Fortran examples to reflect changes in documentation via Barbara;
mainly program name changes. Two new examples added: h5_extend.f90 h5_subset.f90 and
example fileexample.f90 was removed.

Tested: jam (gnu compilers)
2012-12-10 17:30:38 -05:00
Raymond Lu
fc9ed51a3a [svn-r23087] I updated MANIFEST to include the new files hl/src/H5DO.c, H5DOpublic.h, H5DOprivate.h. I included H5DOpublic.h into hl/src/hdf5_hl.h.
Tested on koala.
2012-12-10 14:08:30 -05:00
HDF Tester
f89d080191 [svn-r23085] Snapshot version 1.9 release 136 2012-12-09 11:14:57 -05:00
Allen Byrne
f45283113b [svn-r23083] Correct cmake statement to use SET instead of ADD_DEFINITIONS 2012-12-07 12:19:31 -05:00
Raymond Lu
c409265f9d [svn-r23082] I corrected an error for test_dectris.h5.
Tested on jam.
2012-12-06 14:48:50 -05:00
Raymond Lu
b7e1b629e9 [svn-r23081] ported revisions 22987 to 23080 from the trunk 2012-12-06 11:02:01 -05:00
Raymond Lu
6b1ef6ad02 [svn-r23079] I updated CMakefile for adding H5DO.c and H5DOpublic.h under hl/ directory.
Not test.
2012-12-05 16:11:49 -05:00
Raymond Lu
8f3a8710ca [svn-r23078] I took out O_SYNC flag from the code. I used it to do performance test. But
we decided not to support it.

Tested on koala.
2012-12-05 15:15:54 -05:00
Raymond Lu
bbeea7dd99 [svn-r23077] I adjusted the dataset and chunk to smaller sizes.
Tested on koala.
2012-12-05 11:57:30 -05:00
Raymond Lu
0c4cec81b2 [svn-r23075] I revised the code and test according to Quincey's review. I also added more test cases.
Tested on koala.
2012-12-04 14:47:35 -05:00
HDF Tester
0de4e03305 [svn-r23071] Snapshot version 1.9 release 135 2012-12-02 09:57:47 -05:00
Allen Byrne
5697dc8f80 [svn-r23066] HDFFV-8265: create .def file during configure, added F2003 optional functions and refactor ISO_C_BINDING usage in cmake files
Tested: local cmake
2012-11-29 09:50:21 -05:00
Allen Byrne
c7440f2f36 [svn-r23064] HDFFV-8202: Add diff display to cmake output on error. Merged changes from runTest.cmake. 2012-11-28 16:37:37 -05:00
Allen Byrne
b3c12e8d55 [svn-r23057] HDFFV-8265: create .def file during configure
Tested: windows
2012-11-27 10:53:30 -05:00
Albert Cheng
19a00efd98 [svn-r23055] Bug fix: HDFFV-8233
testh5stat.sh fails in LLNL uDawn. The test actually ran as expected
but it did not prepare for the extra error messages from the MPI
process.

Solution:
This sort of problem has been fixed by using the output filters in
output_filter.sh. testh5stat.sh is updated to use the output filters.

Tested:
uDawn.
2012-11-26 15:45:17 -05:00
Allen Byrne
e5d4ba944f [svn-r23053] Remove deleted file from CMake build list 2012-11-26 08:56:29 -05:00
Scot Breitenfeld
e53f4cce8a [svn-r23052] Description:
Removed example grpit.f90 which used undocumented/obsolete APIs, The equivalent and up-to-date example
to transverse through a file would be the example h5ex_g_traverse_F03.f90 in hdf5-examples.
2012-11-25 22:08:02 -05:00
HDF Tester
48b241d52d [svn-r23050] Snapshot version 1.9 release 134 2012-11-25 09:47:11 -05:00
Quincey Koziol
a20adf6924 [svn-r23048] Description:
Bring r20456 from Coverity branch to trunk:

fixed coverity 678, 679

Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug
    (too minor to require h5committest)
2012-11-21 17:25:46 -05:00
Allen Byrne
b1439fa810 [svn-r23044] Restore build configuration defines for cmake 2012-11-21 10:05:49 -05:00
HDF Tester
9ac4fea3b0 [svn-r23039] Snapshot version 1.9 release 133 2012-11-18 09:57:04 -05:00
Allen Byrne
670fb1977b [svn-r23038] Corrected last array assignment to use X-1 values for index. 2012-11-16 09:13:55 -05:00
Allen Byrne
b06253f597 [svn-r23037] Correct string variable handling/reference
Tested: local and windows
2012-11-16 09:03:49 -05:00
Allen Byrne
4e2e8d118c [svn-r23036] HDFFV-8202: cmake compare should show differences in log output
Tested: local linux
2012-11-15 16:18:17 -05:00
Allen Byrne
b23a2aebf0 [svn-r23035] Add scalar string test file and tests 2012-11-15 12:21:18 -05:00
Allen Byrne
3e7f74caf1 [svn-r23034] Add scalar string test file and tests 2012-11-15 12:20:05 -05:00
Albert Cheng
061f0b454c [svn-r23032] Updated the following sections with information from the v1.8 branch.
Supported Platforms
Tested Configuration Features Summary
More Tested Platforms
2012-11-14 13:10:03 -05:00
HDF Tester
82868270dc [svn-r23021] Snapshot version 1.9 release 132 2012-11-11 09:56:57 -05:00
Allen Byrne
a177131e71 [svn-r23020] HDFFV-498: lone colon test fails on cygwin and leaves a.exe file on system. Added test for CYGWIN and use a,exe instead of a.out.
Review: HHDF5-1-8-31

Tested: cygwin
2012-11-09 15:27:03 -05:00
Raymond Lu
6192c80307 [svn-r23019] I added dectris_hl_perf.c for testing performance.
Tested on koala.
2012-11-07 16:59:43 -05:00
Raymond Lu
e9a9c23a6d [svn-r23018] I forgot to add these new files in previous commit. 2012-11-07 12:11:22 -05:00
Raymond Lu
b7041a91cd [svn-r23017] I added a prototype function H5DOwrite_chunk in HL library for Dectris people to test performance. The library's API function H5PSIdirect_write
is still in.  I reorganized the internal library by adding H5D__pre_write function.

Tested on koala.
2012-11-07 12:08:46 -05:00
Allen Byrne
ee27a10d49 [svn-r23015] Update windows platforms 2012-11-06 13:54:08 -05:00
Raymond Lu
c5d62ca899 [svn-r23012] I added Sun's 5.9 C++ compiler problem as a known problem. It doesn't know a C99 predefined identifier __func__. 2012-11-05 15:29:31 -05:00
Quincey Koziol
308171a2ef [svn-r23010] Description:
Initialize cd_values pointer when cd_elemts is zero.

Tested on:
    Mac OSX/64 (amazon) w/debug
    Windows (via Allen's builds)
2012-11-05 13:21:11 -05:00
Quincey Koziol
b9d042d2d2 [svn-r22998] Description:
Clean up warnings and bring changes from Coverity branch back to trunk:

r20451:
Fixed coverity 810

r20454:
Purpose: Fix coverity issue 816

Description: Modified various file drivers to always check the return value from
H5P_get_driver_info.

r20455:
Purpose: Cleanup fix for coverity issue 816

Description: Removed redundant check for "fa" in H5FD_core_open.


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug
    (Too minor to require h5committest)
2012-11-01 11:01:37 -05:00
Jonathan Kim
51c5bf8aa7 [svn-r22992] Purpose:
HDFFV-8146 - Remove "multi-chunk IO without optimization" sub-feature from MPI I/O optimization for chunked dataset feature

Description:
  The “multi-chunk IO without optimization” feature is removed and made the related xfer property (H5FD_MPIO_CHUNK_MULTI_IO) go directly to “multi-chunk-io” feature.
  Also update/fix/cleanup testings (chunk collective IO and actual chunk opt mode) accordingly.
    
Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), fred (mac64-LE), Windows (32-LE cmake), cmake (jam)
2012-10-30 11:28:17 -05:00
Raymond Lu
0cf58a4755 [svn-r22987] ported revisions from 22742 to 22986 from the trunk 2012-10-29 13:59:05 -05:00
Larry Knox
57d23e5062 [svn-r22984] Removed references to windows files for legacy builds with Visual Studio that were removed.
Tested on jam.
2012-10-27 22:39:07 -05:00
Dana Robinson
88885a82ae [svn-r22953] Purpose:
Removed legacy Visual Studio solutions and projects, which will
	no longer be supported after HDF5 1.8.10.
2012-10-23 13:27:33 -05:00
Raymond Lu
e96bb5fed1 [svn-r22951] I added an item in the new feature about the conversion from enumeration to numerica datatypes. 2012-10-23 12:06:59 -05:00
Raymond Lu
e00ffb3e51 [svn-r22945] I fixed a few minor casting problems in enum.c. It's a followup commit for the test of the conversion function H5T__conv_enum_numeric (numeric type means integer or floating number).
Tested on tejeda - failed on tejeda and ostrich in the daily test.
2012-10-22 14:46:03 -05:00
Mark Evans
29dec8ea7c [svn-r22943] Changed the spelling of accessability to accessibility. 2012-10-22 11:39:27 -05:00
Dana Robinson
fe00929980 [svn-r22936] Purpose:
Reorganize Windows release docs

Tested on:
	N/A (docs only), ran chkmanifest
2012-10-21 21:51:48 -05:00
Quincey Koziol
8430e2d4de [svn-r22935] Description:
Clean up a few warnings and minor code issues during review of enum ->
int/float conversion changes.

Tested on:
    Mac OSX/64 10.8.2 (amazon) w/debug
    (too minor to require h5committest)
2012-10-20 22:44:32 -05:00
Jonathan Kim
961a24ac3c [svn-r22933] Purpose:
HDFFV-8145 h5diff slowness with version >= 1.8.7

Description:
    Improved speed when comparing HDF5 files with lots of attributes. Much slower performance was identified with release version from 1.8.7 to 1.8.10 compared to 1.8.6.
    
Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), Windows (32-LE cmake), cmake (jam)
2012-10-19 16:28:14 -05:00
Quincey Koziol
14e7962b30 [svn-r22932] Description:
Update FreeBSD info.
2012-10-19 14:57:04 -05:00
Quincey Koziol
e9519f5e6a [svn-r22921] Description:
Review Coverity changes and bring them back to trunk. (QK & JK)

r20402:
Added #includes for h5tools.y or h5tools_utils.h as required to remedy implicit
function declarations which caused compiler warnings and coverity issues 703-4
and 708-11.

r20414:
This is related to the previous checkin r20399.  There were incorrect updates
which caused incorrect behavior when no file was given. Also possible segfault
when handling hyperslab options. Simplify the code changes.

r20449:
Description: Modified H5E_walk2_cb to check return value of H5I_object_verify.

r20450:
fixed coverity 813


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, debug & threadsafe
    (too minor to require h5committest)
2012-10-18 14:47:39 -05:00
Quincey Koziol
0324f05566 [svn-r22915] Description:
Bring Coverity changes back to trunk:


r20399:
Change parse_command_line to free hand structure on error and only "leave()" at end of main.

r20400:
Purpose: Fix coverity issue 592

Description: Added void cast to call to H5F_sfile_assert_num() in
H5F_term)interface().  There is no need to check the return value of this
function in general, and there would be nothing to do even if it did fail.

r20401:
Added free(src_sizes) and free(src_offset). --gh


Tested on:
    Mac OSX/64 10.8.2 (amazon) w/C++, FORTRAN, threadsafe
    (too minor for h5committest)
2012-10-17 13:41:42 -05:00
Raymond Lu
1c45b31cc6 [svn-r22914] I checked in the conversion function H5T__conv_enum_numeric (numeric type means integer or floating number) and the C test for it. This is the work for Chicago.
Tested on jam, koala, and ostrich.
2012-10-17 13:38:38 -05:00
Larry Knox
33504deb83 [svn-r22908] Reverted changes in revision 22819
Tested with h5committest on jam, koala and ostrich.
2012-10-16 16:38:58 -05:00
Allen Byrne
6e6ba4f064 [svn-r22904] Fixed typo in name of cmake config file. Needed for installing multiple versions on windows. 2012-10-16 12:44:14 -05:00
Scot Breitenfeld
2f798dc842 [svn-r22897] Cleaned up the comments, formatted for automatic documentation. 2012-10-12 22:23:47 -05:00
Scot Breitenfeld
777884558a [svn-r22896] Updated the robodoc resource file with new keywords and new options
for generating the documentation.
2012-10-12 22:22:38 -05:00
Allen Byrne
348e91e02f [svn-r22881] Correct datatype of scalar array of doubles
Tested: local linux
2012-10-10 16:08:44 -05:00
Albert Cheng
10ab09069d [svn-r22879] Bug Fix: HDFFV 8017
dt_arith would fail in Lion and Mountain Lion system when GCC version 4.2.1
is used with --enable-production. Somehow the -O optimization will fail some of
the hard conversion code.

Solution:
This is just a temporary patch by detecting if this is a Lion or Mountain Lion
system using GCC 4.2.1, then just remove the any -O option from the PROD_CFLAGS.
A better fix should be deviced later.

Tested: Duck(lion) and Owl (mountain lion) tested with --enable-production.
Also tested in Fred and Tejeda, both Snow Leopard systems to verify there is
no undesired side effect.
2012-10-10 00:03:36 -05:00
Scot Breitenfeld
990fdaed07 [svn-r22878] Added bug fixes and enhancements since the last release. 2012-10-09 23:21:59 -05:00
Binh-Minh Ribler
f7e1da0cfb [svn-r22877] Description:
Changed uint to unsigned so that no hdf5-specific header file is needed.
Platform tested:
    Linux/32 2.6 (jam) - very minor
2012-10-09 22:32:21 -05:00
Scot Breitenfeld
ac472bb111 [svn-r22876] Fixed exporting subroutines that will not be compiled if --enable-fortran2003
was not used.
2012-10-09 18:59:33 -05:00
Quincey Koziol
cda42fdc77 [svn-r22866] Description:
Correct use of 'uint8_t' parameter type in public header file (which was
causing Windows builds to fail).

Tested on:
    Mac OSX/64 10.7.5 (amazon) w/debug
    (too minor to require h5committest)
2012-10-04 21:25:37 -05:00
Scot Breitenfeld
223bdd1173 [svn-r22859] Fixed new functions that are used in the _F03 files, updated to reflect the correct
module they are in.
2012-10-03 15:05:25 -05:00
Allen Byrne
9603f61cda [svn-r22857] Change def list of RGET_REGION to match other types declarations 2012-10-03 13:55:57 -05:00
Scot Breitenfeld
3e59374ccd [svn-r22854] Fixed issues with default 8-byte real and default 8-byte integers and the new H5O routines.
Tested: jam (gcc,intel)
2012-10-02 19:53:21 -05:00
Allen Byrne
7648354b80 [svn-r22853] Change def list of RGET_REGION to match other types declarations 2012-10-02 12:53:03 -05:00
Allen Byrne
0f76f393ed [svn-r22852] Add new files to library file lists
Tested: local linux
2012-10-02 12:38:24 -05:00
Albert Cheng
41c8a10740 [svn-r22849] Updated with changes. 2012-10-01 18:52:56 -05:00
Albert Cheng
fa935398b3 [svn-r22848] Bug fix: HDFFV-8156
benchpar.c is compiled when configure --enable-build-all --enable-paralllel.
But it failed to compile.  It is decided to retire or move it to example.
I removed it from the PARA_BUILD_ALL list so that --enable-build-all will
not fail.  The program file still need to be moved.

Tested: Koala using --enable-build-all --enable-parallel.
--in parallel mode.This line, and those below, will be ignored--

M    perform/Makefile.in
M    perform/Makefile.am
2012-10-01 18:41:55 -05:00
HDF Tester
d4657ce265 [svn-r22846] Snapshot version 1.9 release 131 2012-09-30 09:46:20 -05:00
Binh-Minh Ribler
9c3f82fbd7 [svn-r22845] Purpose: Misc fixes
Description:
    Fixed miscellaneous inconsistencies and typos, which also took
    care of the failure in Packet Table test on daily test today.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    Mac Lion (duck)
2012-09-28 17:18:33 -05:00
Scot Breitenfeld
51bb0fe2d2 [svn-r22843] Renamed variable to match C.
Tested: jam (gnu, mpich)
2012-09-28 15:42:33 -05:00
Scot Breitenfeld
cc2669fedf [svn-r22842] Fixed typo in variable.
Tested: jam (gnu,mpich)
2012-09-28 15:29:38 -05:00
Scot Breitenfeld
08a5424f60 [svn-r22839] removed unused variable.
tested: jam (pgi compiler)
2012-09-28 09:48:12 -05:00
Scot Breitenfeld
5fba5c2e3a [svn-r22838] Fixed typo in variable name.
Tested: jam (pgi compiler)
2012-09-28 08:36:39 -05:00
Binh-Minh Ribler
5aed216f47 [svn-r22837] Description:
Added
	c++/src/H5Location.h
	c++/src/H5Location.cpp
2012-09-27 18:33:03 -05:00
Binh-Minh Ribler
5fcec401bd [svn-r22836] Purpose: Fix bug HDFFV-533 and add other missing functions
Description:
    In this bug, H5File doesn't have the ability to create attribute.  The
    following changes will provide that functionality and several others that
    were also missing:
    - Added an abstract class H5Location in between IdComponent and H5Object.
    - New class structure of IdComponent, H5Location, H5Object, H5File
                                IdComponent
                                     |
                                H5Location
                                /        \
                        H5Object        H5File
    - Wrappers in H5Object were moved to H5Location because the related C
      functions take either file, group, dataset, or named datatype ID.
    - Added wrapper for H5Rget_obj_type2
    - Added tests for file attributes and H5Rget_obj_type2 wrapper
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 2.6 (koala)
    SunOS 5.10 (linew)
2012-09-27 18:26:16 -05:00
Albert Cheng
e488529430 [svn-r22834] Documented HDFFV-8069 fix. 2012-09-27 17:22:10 -05:00
Jonathan Kim
2752394064 [svn-r22832] Update the CMake reference files list correctly for newly added encoded property list files. 2012-09-27 16:31:33 -05:00
Albert Cheng
e554086467 [svn-r22830] Bug fix: HDFFV-8069 AIX config file Fortran flags need fix
Description: The Fortran compiler flags were all set to "-O". They should be
different setting for different situations. E.g, "-g" for debug and
"-pg" for profile, etc.

Fix: set them to appropriate different values.

Tested: in Remote ADA AIX machines using 3 different settings:
    configure --enable-fortran --enable-cxx     # default to --disable-production
    configure --enable-fortran --enable-cxx --enable-production
    configure --enable-fortran --enable-cxx --disable-production
2012-09-27 16:07:43 -05:00
Scot Breitenfeld
485b5dea69 [svn-r22829] Fixed merge mistake, merge removed part of the subroutine.
tested: jam (intel)
2012-09-27 15:24:03 -05:00
Scot Breitenfeld
7b9929e309 [svn-r22828]
HDFFV-8007:Add missing H5O Fortran functions 

Added new F03 test file for new H5O functions.
2012-09-27 14:48:54 -05:00
Scot Breitenfeld
0878e52087 [svn-r22827] HDFFV-8007: Add missing H5O Fortran functions.
Tested: jam(gnu,intel)
2012-09-27 14:43:48 -05:00
Scot Breitenfeld
393852a414 [svn-r22826] Fix for: HDFFV-7903 Fortran problem writing control character to a dataset
reconfigured
2012-09-27 14:21:45 -05:00
Scot Breitenfeld
32a131ea70 [svn-r22825] Fix for: HDFFV-7903 Fortran problem writing control character to a dataset
Tested: (jam, gfortran)
2012-09-27 14:20:09 -05:00
Scot Breitenfeld
a81cc2ac7e [svn-r22824] FIX: HDFFV-8118: Support Fortran compiler flags that change the default size of integer and real
Tested: jam(gnu,intel), machine with gcc 4.7 and C long double = 16 bytes.
2012-09-27 14:13:13 -05:00
Scot Breitenfeld
0710ab3955 [svn-r22823] Fix for HDFFV-7658: Add FORTRAN interface for H5Pget_mpio_actual_io_mode API routine
Test: jam (gnu)
2012-09-27 10:59:40 -05:00
Scot Breitenfeld
dbf542c008 [svn-r22822] Fix for HDFFV-7658: Add FORTRAN interface for H5Pget_mpio_actual_io_mode API routine
Test: jam (gnu)
2012-09-27 10:58:54 -05:00
Quincey Koziol
0ae06ebea6 [svn-r22820] Description:
Update the CMake reference files list for newly added encoded property list
files.
2012-09-27 06:34:40 -05:00
Larry Knox
c5371d7618 [svn-r22819] Added H5BLD_STATIC and HDF5_USE_SHLIB to configure.ac so that if configured with --disable-static the default for HDF5_USE_SHLIB in the compile scripts will be changed to yes. This is a fix for HDFFV-8141, where the compile scripts try to link to non-existant static hdf5 libraries.
Tested on jam,koala,ostrich(h5committest) and other THG machines.
2012-09-26 23:49:19 -05:00
Quincey Koziol
7702c7f760 [svn-r22817] Description:
Update CMake files for new encode/decode property list files.
2012-09-26 15:53:18 -05:00
Jonathan Kim
563990e64e [svn-r22816] Failed on Mac for testing tscalarintsize and tscalarattrintsize from daily test.
Larry mentioned that intel compiler was used on Mac for testing.
Allen requested comment it out.
"It is not scheduled for 1.8, I created the file for Java testing. Actually I 
have to create windows versions because of the use of floating point." - Allen
2012-09-26 15:21:36 -05:00
Raymond Lu
4f9adf902b [svn-r22815] Issue 8164 - test_image.c printed an extra "FAILED" after it succeeded. A test function doesn't return 0 after it succeeds.
It goes down to the error handling branch and prints "FAILED".  The fix is adding "return 0;" in the end of the function.  

Tested on jam - simple change.
2012-09-26 15:06:08 -05:00
Quincey Koziol
392b7d3249 [svn-r22808] Description:
Correct location of property list files.
2012-09-25 14:05:49 -05:00
Quincey Koziol
6a89177036 [svn-r22807] Description:
Add encode/decode API routines for property lists: H5Pencode/H5Pdecode.

Tested on:
        FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
                w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x,
                w/C++ & FORTRAN, in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                w/szip filter, w/threadsafe, in production mode
        Linux/PPC 2.6 (ostrich) w/C++ & FORTRAN, w/threadsafe, in debug mode
        Linux/64-ia64 2.6 (ember) w/Intel compilers, w/parallel, C++ & FORTRAN,
                in production mode
        Mac OS X/32 10.7.3 (amazon) in debug mode
        Mac OS X/32 10.7.3 (amazon) w/C++ & FORTRAN, w/threadsafe,
                in production mode
        Mac OS X/32 10.7.3 (amazon) w/parallel, in debug mode
2012-09-25 10:47:25 -05:00
Jonathan Kim
50e3990f2a [svn-r22805] Purpose:
HDFFV-8012 - h5repack changes max dims and cause failure if only "-f none" is used without changing layout for chunked dataset when a chunk dim is bigger than a dataset dim

Description:
    "h5repack -f <obj>:NONE <file.h5> out.h5" command failed if source file contains chunked dataset and a chunk dim is bigger than a dataset dim. 
    Another issue is that the command changed max dims if chunk dim is smaller than the dataset dim. 
    These issue occurred when dataset size is smaller than 64k (compact size limit)
    Fixed them.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2012-09-24 18:13:57 -05:00
HDF Tester
528bd520b8 [svn-r22802] Snapshot version 1.9 release 130 2012-09-23 09:32:56 -05:00
Albert Cheng
443d342905 [svn-r22799] Documented the retiremen of mpi-perf. 2012-09-22 14:44:14 -05:00
Allen Byrne
d834917bca [svn-r22795] Create scalar test files and h5dump tests.
Tested: local linux
2012-09-20 13:57:03 -05:00
Albert Cheng
fcea67a3c2 [svn-r22793] Updated to reflect the removal of perform/mpi-perf.c. 2012-09-20 10:38:43 -05:00
Albert Cheng
e252013bee [svn-r22791] HDFFV-8110: Removed mpi-perf.c which was given with permission to freely
distribute by the author. It was an example program showing how to measure
parallel IO speed. Since then, we have created h5perf to do I/O performanace
measurement. This example is not needed any more.

mpi-perf.c:
    Removed.
Makefile.am:
Makefile.in:
    Removed the entry of mpi-perf.c so that "configure --enable-build-all ..."
    will not build it.

The change is trivial that I got permission to skip the code review step.

Tested: h5committest plus "--enable-parallel --enable-build-all" in koala.
2012-09-20 10:09:11 -05:00
Allen Byrne
eff696a3b0 [svn-r22785] HDFFV-8153: Pull POSIX_C_SOURCE define out to separate variable. Use ADD_DEFINITIONS (${HDF5_EXTRA_C_FLAGS}) in non-fortran CMakeLists.txt folders
Tested: jam with intel compilers
2012-09-18 17:08:07 -05:00
Allen Byrne
315ab68bd1 [svn-r22774] The matching configure file
Use 
  LT_PREREQ([2.2])
  LT_INIT([dlopen])
instead of
  AC_LIBTOOL_DLOPEN
  AM_PROG_LIBTOOL

Also add ALLOW_UNSUPPORTED on threadsafe check

Both from 1.8 configure
2012-09-17 11:18:05 -05:00
Allen Byrne
06eb364890 [svn-r22773] Use
LT_PREREQ([2.2])
  LT_INIT([dlopen])
instead of
  AC_LIBTOOL_DLOPEN
  AM_PROG_LIBTOOL

Also add ALLOW_UNSUPPORTED on threadsafe check

Both from 1.8 configure
2012-09-17 11:10:12 -05:00
Allen Byrne
ebcd96a9c1 [svn-r22772] Synch line spaces with 1.8 2012-09-17 11:03:19 -05:00
Allen Byrne
a90b492bff [svn-r22771] remove obsolete files 2012-09-17 11:02:21 -05:00
Allen Byrne
8c870f14c1 [svn-r22770] Update windows release docs to match 1.8 2012-09-17 11:00:07 -05:00
HDF Tester
786b220e46 [svn-r22766] Snapshot version 1.9 release 129 2012-09-16 09:27:43 -05:00
Quincey Koziol
52c7a6352b [svn-r22765] Description:
Propogate Coverity changes to trunk, also fix compiler warnings and
other minor code cleanups. (QK & JK)

r20393: (Not directly propogated, since trunk also had a similar fix)
    Move initialization ocrt_info.new_obj = NULL; before FUNC_ENTER_NOAPI -- gh

r20397:
    Added free(src_sizes) --gh

r20398:
    Added free(src_offset). --gh

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, parallel, FORTRAN & C++
    (h5committest forthcoming)
2012-09-15 08:22:02 -05:00
Jonathan Kim
0a5b0304ad [svn-r22763] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access

Description:
    Fixed Daily test failed from the previous commit r22735. (ember)
    Also changed H5Pget_mpio_no_collective_cause() parameter type from
    H5D_mpio_no_collective_cause_t to uint32_t due to change to return
    combined bitmap value which can be not emun defined value.

Tested: 
    jam (linux32-LE), koala-pp (linux64-LE), ember, h5committest
2012-09-14 15:24:02 -05:00
Quincey Koziol
602c716f76 [svn-r22758] Description:
Bring generic improvements from encode/decode property list branch to
the trunk.  This includes a better version of the property list comparison
routine, cleaned up compiler warnings, and some cleaned up property list
callbacks.  Also, started on changes to clean up parallel test output, so that
it doesn't report successful tests from each process.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, GCC 4.7.x, FORTRAN, C++, threadsafe and parallel
    Linux 2.6/32 (jam) w/debug
    Solaris 2.7/64 (linew) w/debug
2012-09-13 12:08:01 -05:00
Raymond Lu
0ffdaff795 [svn-r22755] When Scot Breitenfeld committed his test function test_valid_path in r22078 6 months ago, he replaced test_text_type
function with his function, thus skipped test_text_type test.  I'm restoring it back in this checkin.

Tested on jam - simple change.
2012-09-12 11:32:33 -05:00
Raymond Lu
6f1ae47a37 [svn-r22754] Issue 8140 - return value is missing for H5LTyyerror in H5LTanalyze.l. I put "return 0" in because the
program should continue even though there is an error.

Tested on jam - simple change.
2012-09-12 11:29:14 -05:00
Allen Byrne
c16ae673e3 [svn-r22752] Update autotools macros and comment indicators.
Added autotools quotation around parameters

h5committest
2012-09-11 15:11:44 -05:00
Jonathan Kim
89a2c4a783 [svn-r22751] Purpose:
HDFFV-5919 -  GMQS: h5diff - The number of object difference is not consistent between dataset and group/type when attribute(s) have differences

Description:
  Object differences are not consistent between dataset and group/datatype when their attribute(s) have differences. This is because attribute(s) differences is not accumulated to group or datatype object’s difference, but accumulated to dataset difference.
  To fix, do not accumulate attribute difference to dataset difference.  This is referred to h5diff’s default behavior and also past report from users that users were confused by the accumulated behavior. (also can’t figure out only for dataset difference , also hard to spot dataset difference when it has lots of attributes or differences)
  This also lead to fix inconsistent format indicating difference between dataset and group/datatype object.

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), cmake (jam)
2012-09-10 16:40:47 -05:00
Scot Breitenfeld
f5efc5224f [svn-r22750] Removed check-in r22746 because it causes an error in objcopy on Linew 64 byte. Will check-in again after
the issue is resolved.
2012-09-10 14:38:55 -05:00
Dana Robinson
b951fb9fe1 [svn-r22749] Description:
Undo of accidental check-in of H5T code in last check-in.

Tested on:
    jam w/ parallel enabled (revert to pre-existing code)
2012-09-10 12:00:05 -05:00
Dana Robinson
d1060f63b7 [svn-r22748] Description:
H5FD_FLMAP_SINGLE changed to H5FD_FLMAP_DICHOTOMY in the MPI-POSIX VFD.

Tested on:
    jam w/ parallel and fortran enabled (minor change)
2012-09-10 11:53:19 -05:00
Scot Breitenfeld
2fae4fbfa6 [svn-r22746] Description:
Fix for HDFFV-7959 H5Rdereference should check for default (HADDR_UNDEF) value and not continue processing and return so that ret value can be checked and handled properly.

Added fix and test, reviewed:

Tested: jam (gnu, intel)
2012-09-09 14:08:12 -05:00
HDF Tester
0824b43ecd [svn-r22745] Snapshot version 1.9 release 128 2012-09-09 09:43:15 -05:00
Jonathan Kim
f4b0229467 [svn-r22744] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access                                                                 

Description:
    Daily test failed from the previous commit r22735. (ember)
    Skip tests not to disrupt other tests while finding a solution for ember.
2012-09-08 14:16:40 -05:00
Jonathan Kim
4990fdaba6 [svn-r22743] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access

Description:
    Daily test failed from the previous commit r22735. (ember)
    Follow actual_io function to sync before go futher as this is similar 
    function.

Tested: 
    jam (linux32-LE), koala-pp (linux64-LE), ember
2012-09-07 17:14:08 -05:00
Raymond Lu
78b07da7ae [svn-r22742] ported revisions 22738 to 22741 from the trunk 2012-09-06 11:10:52 -05:00
Jonathan Kim
394f5403a0 [svn-r22741] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access

Description:
    Daily test failed from the previous commit r22735. (koala , ember)
    Fixed failure due to not be able to read external-storage file from external test.

Tested: 
    jam (linux32-LE), koala-pp (linux64-LE)
2012-09-05 14:15:52 -05:00
Allen Byrne
6137e3add0 [svn-r22740] Correct typo on test command 2012-09-05 14:04:00 -05:00
Raymond Lu
9ce6dadd48 [svn-r22739] ported revisions 22615 to 22737 from the trunk 2012-09-05 13:13:15 -05:00
Scot Breitenfeld
fa7b8028af [svn-r22738] Fix for Windows and DLLEXPORT if statement.
Tested: jam (gnu)
2012-09-05 11:52:13 -05:00
Scot Breitenfeld
1c9e159ffe [svn-r22737] Fix for HDF5 HDFFV-8109 H5S_UNLIMITED_F has a wrong type
Tested: jam (gnu)
2012-09-04 22:46:58 -05:00
Scot Breitenfeld
7740e853f4 [svn-r22736] Fix for HDFFV-8132: Compile problem w/NAG Fortran due to too many continuation lines.
Tested: jam (gnu)
2012-09-04 19:59:46 -05:00
Jonathan Kim
0aa8d4d88a [svn-r22735] Purpose:
HDFFV-8143 Provide a routine(s) for telling the user why the library broke collective data access

Description:
    Added H5Pget_mpio_no_collective_cause() function that retrive reasons why the collective I/O was broken during Read/Write IO access.
    Reasons to break collective I/O:
     - SET_INDEPENDENT
     - DATATYPE_CONVERSION
     - DATA_TRANSFORMS
     - MPIPOSIX
     - NOT_SIMPLE_OR_SCALAR_DATASPACES  (NULL Space)
     - POINT_SELECTIONS
     - NOT_CONTIGUOUS_OR_CHUNKED_DATASET  (Compact or External-Storage)
     - FILTERS  

Tested: 
    jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2012-09-04 12:00:38 -05:00
HDF Tester
3ab17f5e04 [svn-r22732] Snapshot version 1.9 release 127 2012-09-02 09:34:02 -05:00
Raymond Lu
60daa9be2b [svn-r22728] I forgot to include H5MMprivate.h header file for using H5MM_free function.
Tested on koala.
2012-08-30 11:00:31 -05:00
Allen Byrne
3c69283e0b [svn-r22726] remove duplicate file line 2012-08-30 09:49:48 -05:00
Allen Byrne
6ce1aa0ffe [svn-r22725] Add other h5 files needed by pbits tests 2012-08-30 09:48:31 -05:00
Allen Byrne
1673b04a23 [svn-r22722] Update all references from configure.in to configure.ac
Tested: h5committest
2012-08-28 12:47:52 -05:00
Allen Byrne
b257bab294 [svn-r22720] Fix RelWithDebInfo packaging 2012-08-28 12:39:30 -05:00
Allen Byrne
1fa894c6b9 [svn-r22718] Remove unneeded srcdir test 2012-08-27 13:51:48 -05:00
Allen Byrne
7089b2cff0 [svn-r22716] HDFFV-8133: Add usage text to see Reference manual for compact subsetting. 2012-08-27 10:56:23 -05:00
Allen Byrne
5d88bae6df [svn-r22714] one more missed VAR change for parallel examples 2012-08-26 14:10:01 -05:00
Allen Byrne
f4a7d2cba2 [svn-r22712] Updated a missed example makefile. Tested locally with make installcheck (another h5committest understanding oversight) 2012-08-24 08:50:00 -05:00
Allen Byrne
caa51543a8 [svn-r22710] Remove reference to srcdir in TOOL path 2012-08-23 11:56:02 -05:00
Allen Byrne
1f8fb63581 [svn-r22709] HDFFV-8129: reconfigured on jam, Remove overloading of autotools TESTS var, rename configure.in to configure.ac, convert test scripts from hard *.sh to configure managed *sh.in files.
Tested: h5committest
2012-08-23 11:07:43 -05:00
Quincey Koziol
cac6687a6a [svn-r22707] Description:
Bring back some more cleanups from the plist_encode_decode branch, clean up
some formatting and compiler errors, and add a few more property comparison
routines that we've skipped implementing in the past.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5committest)
2012-08-22 14:09:56 -05:00
Larry Knox
edf83e5d1f [svn-r22706] Updated autotools: autoconf 2.69, automake 1.12.3, m4 1.4.16, libtool 2.4.2
Tested THG machines.
2012-08-22 00:00:32 -05:00
Dana Robinson
e53af0ed74 [svn-r22703] Description:
Propagated Windows and POSIX correctness changes from SEC2 VFD to
    the MPI-POSIX VFD.  Fixes HDFFV-8058.

Tested on:
    jam w/ parallel and fortran enabled
2012-08-21 06:47:54 -05:00
Dana Robinson
d8f67a62cc [svn-r22700] Description:
Minor refactoring to extract managed object length determination.
    This makes the tiny, managed, and huge code work alike.

Tested on:
    jam (very minor change, no need for full commit test)
2012-08-20 13:44:14 -05:00
HDF Tester
1560a6ea38 [svn-r22697] Snapshot version 1.9 release 126 2012-08-19 09:35:47 -05:00
Dana Robinson
3f6b6fbe93 [svn-r22694] Description:
Minor change to consolidate odd bitmasking due to an old bugfix.

Tested on:
    jam (very minor change)
2012-08-17 16:54:21 -05:00
Allen Byrne
60dc75f4f4 [svn-r22693] Add missing H5Tclose(). 2012-08-17 13:36:45 -05:00
Jonathan Kim
bb11cbee94 [svn-r22691] Purpose:
HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class

Description:
   This is additional fix due to daily build fail against previous r22684.
   Refer to the svn -r22684 log for previous details

Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), cmake (jam)
2012-08-16 10:50:25 -05:00
Jonathan Kim
231fc4d781 [svn-r22684] Purpose:
Address HDFFV-7942 - h5diff: incorrect result for comparing attribute data with different type size in same class

Description:
   When comparing attribute data values with same type class but different size, the result was incorrect.  It was due to the size difference and got truncated. 
   Fixed to match up the smaller type size to big type size like what dataset does.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE cmake), cmake (jam)
2012-08-15 11:04:26 -05:00
Quincey Koziol
d27ec1d3bd [svn-r22681] Description:
Clean up file driver property handling, along with some misc. warnings.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.1, C++, FORTRAN & threadsafe
    (h5committest upcoming)
2012-08-15 09:14:13 -05:00
Vailin Choi
8b72343753 [svn-r22679] Changed H5O_copy_search_comm_dt_check() to use H5O_obj_class() to get object type instead of H5O_get_info(...TRUE...) saving time in traversing metadata.
(This is part of the checkin to 1.8 branch #22677)
2012-08-14 11:56:06 -05:00
Vailin Choi
a9602d1b34 [svn-r22676] Changes needed to make the default free-list mapping from H5FD_FLMAP_SINGLE to H5FD_FLMAP_DICHOTOMY. 2012-08-13 15:04:20 -05:00
Allen Byrne
eb4fd07b5a [svn-r22674] Remove checks for filters are available because the h5dump tests never used the filters in the tests. "-H" option excludes data.
HDFFV-8125
2012-08-13 10:34:22 -05:00
Allen Byrne
4f4db8799c [svn-r22673] Add "_" to list of version separators 2012-08-13 08:39:17 -05:00
HDF Tester
2eb782130a [svn-r22670] Snapshot version 1.9 release 125 2012-08-12 15:28:06 -05:00
Quincey Koziol
d20da589dd [svn-r22668] Description:
Have free space manager use temporary address space for storing the
section info, until the file is flushed or closed.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.x, C++, FORTRAN & threadsafe
    (h5committest forthcoming)
2012-08-11 16:27:58 -05:00
Quincey Koziol
3552beb08b [svn-r22666] Description:
Merge "flush me last" & "flush me collectively" feature from the
avoid_truncate branch back to the trunk.  (To help enable allowing the
free space section info to reside in temporary address space)

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug, gcc 4.7.x, C++, FORTRAN & threadsafe
    (h5committest forthcoming)
2012-08-10 21:26:34 -05:00
Albert Cheng
60c9d88951 [svn-r22657] Bug fix: previous commit has a mistake--it used the wrong type of return
value of FAIL. The function type is a pointer. Fixed it by changing it to NULL.

Tested: In remote machine ADA (aix).
2012-08-09 18:57:57 -05:00
Raymond Lu
527a6edb3e [svn-r22655] Dectris project - I changed the rank of the offset for H5PSIdirect_write from RANK+1 to RANK. But internally, it expands to RANK+1 as
the library requires it to terminate with a zero.

Tested on koala.
2012-08-09 15:24:56 -05:00
Raymond Lu
3b3ae10c5b [svn-r22653] Dectris project: I revised the code per Quincey's suggestion.
Tested on koala.
2012-08-09 14:59:43 -05:00
Mohamad Chaarawi
c3247876b1 [svn-r22651] fix a bug that would skip or include the parallel atomicity test with cmd arguments -o or -x 2012-08-09 13:09:56 -05:00
Allen Byrne
fcdc7614d7 [svn-r22650] Allow second find_package call for legacy libraries (not cmake-configured) 2012-08-09 09:46:15 -05:00
Quincey Koziol
88a94bbe7f [svn-r22646] Description:
Changes resulting from Klocwork static analysis tool, from Mark Miller
@ LLNL (miller86@llnl.gov).

Tested on:
    Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x
    (too minor to require h5committest)
2012-08-08 18:01:20 -05:00
Allen Byrne
79b2eb993e [svn-r22642] Correct check for filters in tools test 2012-08-08 12:03:44 -05:00
Raymond Lu
faba610060 [svn-r22641] Dectris project: I revised the code per Quincey's and Neil's comments. I added a performance benchmark program dectris_perf.c in the test/ directory.
Tested on koala and jam.
2012-08-08 11:08:27 -05:00
Allen Byrne
9c547117ec [svn-r22637] Remove legacy command to kill MPI processes on obj to obj testing.
Tested: Windows, jam, koala
2012-08-06 15:08:12 -05:00
Allen Byrne
e7896ce1ce [svn-r22633] Correct packaing info 2012-08-06 11:39:13 -05:00
Allen Byrne
db5a8eaa54 [svn-r22631] Move executable statement to after declarations 2012-08-05 21:48:11 -05:00
Larry Knox
456b97b9fa [svn-r22629] Snapshot version 1.9 release 124 2012-08-05 13:42:13 -05:00
Quincey Koziol
f2bc1b43de [svn-r22627] Description:
Merge some of the changes on the plist_encode_decode branch back to the
trunk.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5committest)
2012-08-03 18:44:17 -05:00
Allen Byrne
28943c415b [svn-r22625] HDFFV-8111: h5diff compare file to itself - removed path shortcut 2012-08-03 15:11:36 -05:00
Allen Byrne
c9cd62c1b5 [svn-r22624] The cmake folder needed a local variable to not include a "." as one of the path components on windows. 2012-08-03 12:46:47 -05:00
Allen Byrne
cc7ae0a7fe [svn-r22622] Windows config is up one level 2012-08-02 15:31:43 -05:00
Allen Byrne
49a11118ee [svn-r22620] Add ${CMAKE_RUNTIME_OUTPUT_DIRECTORY} to default include_dirs
Correct cmake packaging names
2012-08-02 12:57:54 -05:00
Jonathan Kim
99ef5765f5 [svn-r22618]
Purpose:
  HDFFV-8003 - ph5diff (parallel h5diff): daily test failure on ember intermittently during non comparable test file comparison
  HDFFV-7755 - parallel h5diff : hanging on koala intermittently during non comparable test file comparison

Description:
  non-comparable test intermittently hung on koala and ember, but not on jam. it didn't occur until -np reaches 4 or bigger. it occurred once out of many repeated attempts of the same test.
  There was a incorrectly (mistakenly?) duplicated code in MPI section which caused such hang in a certain condition. The test used more processes than other tests, which increased chance to trigger more undone processes, and such process could enter the incorrect code section and wait for wrong pair of send. it explains why it occurred intermittently according to machine condition and using a certain feature. 
  Removed incorrect code which blocked correct code.
  
Tested: some manually repeated test performed
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE)
2012-08-01 12:07:46 -05:00
Jonathan Kim
840ad09105 [svn-r22617] Purpose:
Fix for HDFFV-8107 testh5diff will fail if build/test in HDF5 source tree

Description:
  This is sub-task for "HDFFV-8105 testh5diff.sh uses the wrong operator (-a) in an if statement."
  From the HDFFV-8105's update, h5diff test failed if build&test is performed in HDF5 source tree because 'cp' try to copy test files to self dir. 
  It's addressed by skipping if cp's src dir and dest dir is same.
  Also this applied for all other tools under src/tools dir.
  No change to the CMakeLists.txt files because CMake cautions/demands that in-source builds be avoided.

  
Tested: 
 jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), some manual tests as well
2012-08-01 10:37:40 -05:00
Raymond Lu
8a0b4729cd [svn-r22616] The code for H5PSIdirect_write and its test dectris_tst.c.
Tested on koala and jam.
2012-07-30 17:14:46 -05:00
Raymond Lu
305950acf9 [svn-r22615] porting revisions from 22586 to 22614 from the trunk 2012-07-30 16:22:35 -05:00
Allen Byrne
d4d9cbd52d [svn-r22614] Revert heading of summary. 2012-07-30 14:15:31 -05:00
Scot Breitenfeld
65100aa371 [svn-r22611] Fixed: HDFFV-8013 H5LTget_attribute_string appears to not close an object identifier
Tested: gnu and intel (jam)
2012-07-26 22:18:03 -05:00
Scot Breitenfeld
f385b0d537 [svn-r22610] HDFFV-8055 H5TBdelete_record destroys data after the deleted row
Added fix and test case.

Tested: gnu and intel (jam)
2012-07-26 21:51:04 -05:00
Quincey Koziol
7143164de9 [svn-r22608] Description:
Switch propert list/class iteration from internal to external form of
iteration, cleaning up and simplifying the code a bit.

    Bring other general improvements from plist_encode_decode branch back to
trunk.

    Clean up many warnings.


Tested on:
    Mac OSX/64 10.7.4 (amazon) w/gcc 4.7, debug and C++ & FORTRAN
    (too minor to require h5committest)
2012-07-26 14:33:59 -05:00
Allen Byrne
74e0060526 [svn-r22606] Correct typo from cut/paste 2012-07-26 09:21:15 -05:00
Allen Byrne
aeaab5204b [svn-r22605] Skip test that require h5diff to compress when the DEFALTE filter is unavailable 2012-07-26 08:54:06 -05:00
Allen Byrne
389e928176 [svn-r22604] cast void* to char* for calculation
Issue on windows
2012-07-26 08:32:12 -05:00
Allen Byrne
dd27fe612c [svn-r22602] 2012-07-25 17:17:48 -05:00
Neil Fortner
c04144fb39 [svn-r22601] Purpose: Fix HDFFV-5853
Description:
When jumping out from between H5_BEGIN_TAG and H5_END_TAG macros using
HGOTO_ERROR or HGOTO_DONE, the previous metadata tag is not reset on the dxpl.
This could cause problems when, for example, calling H5Ocopy within an
H5Literate callback.

Added new HGOTO_ERROR_TAG and HGOTO_DONE_TAG macros which must be used in place
of the above between H5_BEGIN_TAG and H5_END_TAG.

Tested:
jam, koala, ostrich (h5committest), durandal
2012-07-25 16:50:22 -05:00
Allen Byrne
b5ef63b550 [svn-r22599] FinHDF5 should be generated during build. 2012-07-24 09:10:05 -05:00
Allen Byrne
ab072288ad [svn-r22598] BE machines have a different offset in STORAGE_LAYOUT then the LE machines.
Use h5diff with -r to not report warnings.

Tested: local with CMake and ostrich with shell script
2012-07-23 10:58:30 -05:00
Albert Cheng
9e08a0d8c5 [svn-r22594] Bug fix: HDFFV-8105
Description:
The test command in COPY_TESTFILES_TO_TESTDIR used the wrong operator -a which
means and. It is not sufficient to test mere existence as $tstfile could have
been a directory or other non-file things.  If the file is not readable, the
$CP command would fail but its return code was not checked.

Solution:
Get rid of the test command and go ahead to $CP it and then check its returned
code and report errors if detected.

Tested; committested. (note that ostrick still failed on errors committed by
other staff).
2012-07-22 01:42:30 -05:00
Allen Byrne
23d32fec25 [svn-r22590] correct reference file location in runTest command 2012-07-20 11:55:37 -05:00
Allen Byrne
3a1c4de359 [svn-r22589] Change strto functions to the HD prefix versions.
Tested: local
2012-07-20 11:41:11 -05:00
Allen Byrne
4a6f93f895 [svn-r22588] HDFFV-721: h5dump supplies input for h5import
Tested: local linux with cmake
        jam with configure
2012-07-19 14:53:17 -05:00
Quincey Koziol
75f4e51a1a [svn-r22582] Description:
Refactor ID class registration to be more like how other "class"s in the
library are registered, and clean up compiler warnings.

Tested on:
    Mac OSX/64 10.7.4 (amazon) w/debug
    (Too minor to require h5comittest)
2012-07-16 14:54:26 -05:00
Allen Byrne
2e3ab09a52 [svn-r22581] HDFFV-588: hdump restrictions on filename for split files. Added text and example to usage.
Tested: local linux
2012-07-16 13:21:05 -05:00
Allen Byrne
d06dd11291 [svn-r22577] Windows compilers require declarations at top of routine. 2012-07-16 10:08:03 -05:00
Raymond Lu
feb79ce8ea [svn-r22575] Issue 8068 - A user reported some random data in the padding of fill value. The problem happened in H5P_get_fill_value. I believe it's because the background buffer wasn't big enough. So I corrected it in this checkin.
Tested on jam and koala - simple change.
2012-07-13 17:10:57 -05:00
Allen Byrne
c7513e1776 [svn-r22570] Correct name of error reference file 2012-07-13 09:12:17 -05:00
Allen Byrne
f48ae2195a [svn-r22569] On windows read/write error reference file just like reference file before comparision. This will set the line endings. 2012-07-13 08:58:18 -05:00
Allen Byrne
a947f3b755 [svn-r22568] fix another typo - due to wrong edit state! 2012-07-12 16:50:26 -05:00
Allen Byrne
210d04b05f [svn-r22567] HDFFV-7784: add attributes to the list of file contents option for h5dump. This is accomplished by adding an optional value to the option (-n)
Created test and reference files.

Tested: local linux with cmake
2012-07-12 15:30:30 -05:00
Allen Byrne
1942f47bcf [svn-r22566] correct typo of new files names 2012-07-12 11:51:30 -05:00
Allen Byrne
6e0eb24b7b [svn-r22564] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:40:15 -05:00
Allen Byrne
b54b3fcf29 [svn-r22563] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. 
Revert h5trav_print to remove now duplicated parameters.
Added test and testfiles.

Tested: local linux with cmake
2012-07-12 10:38:44 -05:00
Allen Byrne
4bba12dbee [svn-r22562] tattr-3err file missing from list in cmake 2012-07-12 08:56:25 -05:00
Allen Byrne
fa28c69b55 [svn-r22561] Add errfile to list.
Create missing errfile, edit ddl file for test only on linux (not using cmake).
2012-07-12 08:52:31 -05:00
Allen Byrne
f1850c6156 [svn-r22560] Changes to allow tests to compare error files! 2012-07-12 08:32:47 -05:00
Allen Byrne
7bed6ec213 [svn-r22557] Add missing test file 2012-07-11 15:46:12 -05:00
Allen Byrne
d987b06112 [svn-r22556] HDFFV-7936: added error files in h5dump folder and adjusted scripts to compare error files.
Tested: local linux with cmake,
   jam with make check
2012-07-11 15:12:31 -05:00
Allen Byrne
4b29d11f74 [svn-r22552] update comment 2012-07-11 10:16:14 -05:00
Allen Byrne
61cb9cc547 [svn-r22550] Correct datatypes in generator and update files for test.
Tested: local linux with cmake
2012-07-11 09:03:53 -05:00
Allen Byrne
91d63fa0ae [svn-r22548] added test for "-w0" option
Tested: local linux
2012-07-10 14:51:56 -05:00
Allen Byrne
59da54f0fd [svn-r22547] Remove clear-objects from ignore list (like h5import) 2012-07-10 14:31:54 -05:00
Allen Byrne
912daba464 [svn-r22546] Correct generation of testfile 2012-07-10 13:58:20 -05:00
Allen Byrne
a7f482142e [svn-r22545] Enable H5IMPORT-clear-objects for valgrind
Tested: local linux
2012-07-10 13:36:01 -05:00
Allen Byrne
87fe8971ed [svn-r22544] Add test to verify use of named datatypes
HDFFV-2687
Tested: local linux with cmake
2012-07-10 12:12:06 -05:00
Jonathan Kim
bb696c61ac [svn-r22541] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5dump tool.

Description:
  Update cmake script to fetch test files from any tools to a test directory
  and run test in organized manner. 
  Also keep the apperance similiar to shell script for better maintainance.
  
Tested:
  CMake (Windows and jam)
2012-07-10 10:37:14 -05:00
Allen Byrne
212cd31641 [svn-r22539] Correct indentation 2012-07-10 09:31:22 -05:00
Allen Byrne
a496d41ac7 [svn-r22537] Correct error string contents 2012-07-10 09:22:40 -05:00
Allen Byrne
a0aca32d35 [svn-r22535] added missing break to end of case statement 2012-07-10 08:57:58 -05:00
Allen Byrne
8019ed0b59 [svn-r22534] Correct contents of reference files 2012-07-10 08:22:14 -05:00
Allen Byrne
7417af566e [svn-r22533] Correct order of declarations in functions. 2012-07-10 08:16:26 -05:00
Allen Byrne
17eca872f1 [svn-r22531] HDFFV-5942: sort options with contents option
Added static local variables in h5trav to hold the index_by and index_order values. Defaults are set.
H5dump only use of the trav_print function, added two parameters and passed in the sort_by and sort_order variables.

Tested: local linux
2012-07-09 14:41:17 -05:00
Allen Byrne
637df34074 [svn-r22528] HDFFV-4206: h5dump -w0 needed to be tested within the get option function.
Tested: local linux and all H5DUMP tests still work
2012-07-09 13:02:24 -05:00
Allen Byrne
b3cafaa61d [svn-r22527] Update Ignore List for change to H5IMPORT tests 2012-07-09 12:32:07 -05:00
Allen Byrne
1a195c1ee0 [svn-r22526] ifdef around the text file generation in importtest.
reordered tests so that both scripts are in similar order.
Changed ADD_H5_TEST in CMake file to always delete the created h5 file.

Tested: local linux
2012-07-09 12:25:16 -05:00
Larry Knox
9e79829ab8 [svn-r22525] Snapshot version 1.9 release 124 2012-07-09 11:54:50 -05:00
Allen Byrne
6f5ba815f0 [svn-r22516] Add new testfiles for h5dump with eight varieties of ints and used in an Attribute and Compound datatypes.
Tested: local linux using CMake
2012-07-05 14:59:36 -05:00
Allen Byrne
862d74c6ff [svn-r22514] Correct failure REGEX test to test value of TEST_EXPECT 2012-07-05 09:36:53 -05:00
Scot Breitenfeld
ce47ef777f [svn-r22510] Enabled the compilation of tH5E_F03.f90 2012-07-02 20:16:45 -05:00
Allen Byrne
720769743e [svn-r22507] Correct file name typo 2012-07-02 14:09:37 -05:00
Allen Byrne
721e652427 [svn-r22506] HDFFV-7782: resolve names of tests files with tests - added two copies of references files and adjusted CMake and linux test script.
Tested: local linux w/ CMake
2012-07-02 12:35:11 -05:00
Elena Pourmal
732ae085dc [svn-r22504] Maintenance:
See HELPDESK-643 issue in JIRA.
NAG Fortran compiler doesn't like the current tH5E_F03.f90 file that has only comments
and no executable statements. Removed tH5E_F03.f90 from the list of modules to build.

Tested on jam with Intel compiler using --enable-fortran2003 flag.
2012-06-29 15:39:42 -05:00
Allen Byrne
2a3c0587ed [svn-r22499] Add seconf new file! 2012-06-27 14:41:21 -05:00
Allen Byrne
afb0efe139 [svn-r22498] Add new test to linux script 2012-06-27 14:27:19 -05:00
Allen Byrne
a30bf0f61a [svn-r22497] Added new file 2012-06-27 14:24:23 -05:00
Allen Byrne
a13344aefd [svn-r22496] Add file to test integer sizes for attributes
Tested: local linux
2012-06-27 13:26:16 -05:00
Larry Knox
4a7802b82b [svn-r22495] Skip the failing File Creation I/O subtest that causes c++ tests to fail with the new/PGI compiler (see HDFFV-
8067).

Tested jam, koala, ostrich.
2012-06-27 11:12:57 -05:00
Raymond Lu
9ded3f59ed [svn-r22490] I took out the "return an error" line in H5Dget_offset, to match what the RM says about the function behavior.
Quincey added it some time ago without realizing it caused test errors (Issue 8072).

Tested on ostrich, MacGoblin - simple change.
2012-06-25 17:00:06 -05:00
HDF Tester
02a0bd53e8 [svn-r22487] Snapshot version 1.9 release 122 2012-06-24 09:29:36 -05:00
Quincey Koziol
76c13682e4 [svn-r22486] Description:
Fix typo with last change and reformat a little bit
2012-06-23 18:42:09 -05:00
Quincey Koziol
5f8d6d5bb5 [svn-r22484] Description:
Copy the file image test file from the source directory to the build
directory, instead of trying to open the [in-memory] file R/W.

    Also, clean up a few other test files that were left lying around from
other tests.

Tested on:
    MacOSX/64 10.7.4 (amazon) w/debug
    Too minor to require h5committest
2012-06-23 18:32:02 -05:00
Elena Pourmal
24b1316f8b [svn-r22482] Maintenance:
- Fixed a typo in return value of the nh5dread_f_c function ( was 1
      instead of 0 on success); fixed the return value to make it consistent
      with other Fortran functions; cleaned the code from debug statements.

Platforms tested: jam with GNU and Intel compilers, fortran 2003 feature.
2012-06-23 18:31:40 -05:00
Allen Byrne
b608652f7e [svn-r22479] Remove subfolder tools from install command 2012-06-20 09:43:02 -05:00
Allen Byrne
d0347999e6 [svn-r22477] Removed subfolder tools from install command, need to correct install template 2012-06-20 09:38:23 -05:00
Allen Byrne
9b63d7d513 [svn-r22471] Add check for MINGW - ws2_32 library
Tested: windows - mingw
2012-06-18 15:01:59 -05:00
Allen Byrne
860fe3d4d7 [svn-r22470] Allow MinGW checks for fseek and the like
Tested: windows 32 mingw
2012-06-18 13:01:57 -05:00
Allen Byrne
79b36622aa [svn-r22469] MinGW Flags need to use dash
set WINSOCK2_H
      do not test for endianess
      
Tested: windows 32 minGW
2012-06-18 12:29:44 -05:00
Allen Byrne
603fc9dbe0 [svn-r22464] Correct name used for POSIX flag 2012-06-15 08:26:33 -05:00
Allen Byrne
7eb9d11fa2 [svn-r22460] Update CPack assignments. 2012-06-13 15:59:24 -05:00
Raymond Lu
0a6b3c2d4b [svn-r22458] I added an item in the known problem section for the data conversion problem on Mac Lion. 2012-06-12 15:55:52 -05:00
Allen Byrne
c02719a4c8 [svn-r22455] Add NOT WINDOWS blocking around VSNPRINTF works check. 2012-06-12 08:55:01 -05:00
Allen Byrne
20d45c853d [svn-r22453] Add missing property for resultcode of 1 to MEMCHECKER tests 2012-06-12 08:50:47 -05:00
Allen Byrne
75f3194882 [svn-r22450] Update winsock define to match autotools configure check 2012-06-11 10:49:25 -05:00
HDF Tester
d1b7eede73 [svn-r22448] Snapshot version 1.9 release 121 2012-06-10 08:53:06 -05:00
Allen Byrne
dde94c349e [svn-r22447] DAILYTEST-13: Remove check for vsnprintf works in config. Correct HAVE_WINSOCK name.
Tested: windows
2012-06-08 11:00:58 -05:00
Allen Byrne
0820bef83e [svn-r22445] Add new test to CMake file
Tested: local linux
2012-06-07 16:06:57 -05:00
Vailin Choi
73db2056a3 [svn-r22444] (1) fix for making MEM_GHEAP as MEM_DRAW
(2) fix to extend into the aggregator based on threshold
(3) fix for the "flavor" logging problem
(4) fix for test failures due to the above fixes
(5) bug fix for h5stat when h5stat against a non-existing file
2012-06-07 11:04:56 -05:00
Allen Byrne
a6d41f7a75 [svn-r22441] Move some tests into NOT WINDOWS blocks 2012-06-06 17:11:07 -05:00
Allen Byrne
a11a6d9b34 [svn-r22437] Correct Windows cmake config files
Tested: windows
2012-06-05 14:36:41 -05:00
Quincey Koziol
65bf87c4a6 [svn-r22432] Description:
Correct misspelled debugging #ifdef and remove unused variable.

Tested on:
    Mac OS X/64 10.7.4 (amazon) w/serial
    (too minor to require h5committest)
2012-06-04 15:14:59 -05:00
Allen Byrne
d419d8a417 [svn-r22431] Extension is cpp! 2012-06-04 12:41:26 -05:00
Allen Byrne
7b1ea8aa2a [svn-r22430] CMake and configure synchronization effort. CMake added most tests and options: DEBUGPKG not addressed.
Still needed: compiler wrapper scripts

Tested: local linux(cmake) and h5committest
2012-06-04 12:05:02 -05:00
HDF Tester
64fc9df55b [svn-r22427] Snapshot version 1.9 release 120 2012-06-03 09:29:20 -05:00
Larry Knox
f4990be635 [svn-r22426] Add examples/README file to be installed with examples.
Text file only, but tested with h5committest.
2012-06-02 13:54:58 -05:00
Jonathan Kim
71c9b82d5e [svn-r22419] Purpose:
HDFFV-7602 - GMQS: HDF5 command tools: Provide framework for reusable test files among tools
  Stage2 working for h5diff tool.

Description:
  Update cmake script to fetch test files from any tools to a test directory
  and run test in organized manner. 
  Also keep the apperance similiar to shell script for better maintainance.
  
Tested:
  CMake (Windows and jam)
2012-05-29 18:03:57 -05:00
Allen Byrne
ed84ad426b [svn-r22416] Missing ${TEST_FOLDER} path component in test script 2012-05-29 09:31:09 -05:00
Allen Byrne
bf24ca6741 [svn-r22415] Windows needs monolithic set for CPack (CMake 2.8.6) 2012-05-29 09:24:01 -05:00
HDF Tester
80955cf224 [svn-r22413] Snapshot version 1.9 release 119 2012-05-27 09:34:59 -05:00
Allen Byrne
eb5b8163f9 [svn-r22411] reduce compiler warnings by removing unreferenced variables and adding cast
Tested: local linux
2012-05-25 12:39:07 -05:00
Allen Byrne
d7bfa3617f [svn-r22410] reduce compiler warnings reported by CDash for non-critical issues 2012-05-25 12:36:01 -05:00
Allen Byrne
d54152f057 [svn-r22406] do not need warnings from utility program. 2012-05-25 08:36:04 -05:00
Allen Byrne
336a743068 [svn-r22405] HDFFV-8018: add INSTALL commands for packaging the pdb files for windows when configured with RelWithDebInfo
Tested: local linux and Windows
2012-05-24 16:50:06 -05:00
Allen Byrne
01553cb8f7 [svn-r22396] Correct missing clean filenames in h5dump make
Sync 518/trunk version and cpack info
2012-05-23 13:15:08 -05:00
Raymond Lu
955b84369e [svn-r22393] I forgot to close a few datatypes in test_str_create. I fixed them in this commit.
Tested on jam - very simple change.
2012-05-23 09:42:43 -05:00
Scot Breitenfeld
24810fd216 [svn-r22392] Added test for h5tcreate_f with H5T_STRING_F option.
Cleaned-up formating and comments for h5tcreate_f.

Tested: jam (gnu compiler)
2012-05-22 23:47:31 -05:00
Allen Byrne
b904ca7ec3 [svn-r22391] HDFFV-7999: h5dump did not display H5T_DSET_UTF8.
Changed if/else block to switch like in h5ls, and distinguished between ERROR and UNKNOWN.
Reviewed by JKM
Tested: local linux
2012-05-22 16:36:45 -05:00
Allen Byrne
2f8b5057c1 [svn-r22390] Break out the packed bits tests into a new script.
reconfigure on jam
Tested: local linux
2012-05-22 15:34:34 -05:00
Allen Byrne
0cbde329bd [svn-r22388] remove unbalanced bracket 2012-05-22 09:03:43 -05:00
Allen Byrne
56d35fd969 [svn-r22386] Add missing H5_VERS_SUBRELEASE of version info 2012-05-21 16:32:21 -05:00
Allen Byrne
5e388aa257 [svn-r22385] Skip tests using sparse file writes on Windows. JIRA issue (JIRA HDDFV-8064) created. 2012-05-21 15:37:19 -05:00
HDF Tester
823e63252b [svn-r22382] Snapshot version 1.9 release 118 2012-05-20 09:36:03 -05:00
Mohamad Chaarawi
b247ef2d89 [svn-r22378] removed the parallel #endif by mistake.. oops
remove an un-needed bool
2012-05-18 10:01:41 -05:00
Mohamad Chaarawi
886039ab68 [svn-r22377] make the file and memory MPI datatypes as default properties in the
DXPL so that we don't have to insert and remove them everytime we
perform collective I/O.

Test with h5committest
2012-05-18 09:51:41 -05:00
Mohamad Chaarawi
7aaa1ad229 [svn-r22375] add a test to expose a memory leak when adding/removing the same property in property list multiple times.
fix that bug.

test with h5committest
2012-05-18 09:08:58 -05:00
Jonathan Kim
27535adaa9 [svn-r22373] Purpose:
Fix h5repacktst (test file generating binary) to address HDFFV-8016  h5repacktst failed in AIX 32bit mode

Description:
  Segmentation fault occurred when h5repacktst try to generate a dataset when
  system memory is limited to 256MB. 
  Add error handling to display apporiate message to exit and adjust the test 
  dataset according to the original size which didn't causing out of memory.

Tested:  test was done by limit memory in csh.
jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE)
2012-05-16 16:16:20 -05:00
Dana Robinson
6e1a85e781 [svn-r22371] Fix for HDFFV-7697
Minor change to error message text in H5R.c.

Minor change: tested on jam
2012-05-15 12:38:36 -05:00
Larry Knox
7e33b49405 [svn-r22369] Change case of filename to match file. 2012-05-14 22:12:31 -05:00
Allen Byrne
45e119b7d2 [svn-r22368] change file name case 2012-05-14 17:36:04 -05:00
Allen Byrne
987b0ac639 [svn-r22366] Added libsettings file to packaging 2012-05-14 15:09:13 -05:00
Allen Byrne
a4eb58bc33 [svn-r22361] Change library source properties: remove "LANGUAGE C" property from headers. Add "LINKER C" property to link.
Tested: local linux
2012-05-14 12:19:56 -05:00
HDF Tester
306a2e07e1 [svn-r22356] Snapshot version 1.9 release 117 2012-05-13 09:35:22 -05:00
Allen Byrne
b285c91189 [svn-r22346] replace C++ style comments 2012-05-07 12:47:46 -05:00
HDF Tester
825a2ae17e [svn-r22326] Snapshot version 1.9 release 116 2012-04-29 09:36:52 -05:00
Quincey Koziol
b1b8ff96bb [svn-r22324] Description:
Change name of MPE log file produced from "cpilog" (which was the name
used in the example code we were referencing) to "h5log".

Tested on:
    None, too trivial, eyeballed only...
2012-04-29 00:04:39 -05:00
Jonathan Kim
b9b39067e0 [svn-r22323] Description:
The ph5diff (parallel h5diff) can intermittently hang in parallel mode
  when comparing the two HDF5 files that contains common name objects with 
  different object types.  (HDFFV-8003)
  Skip only the specific test for parallel until the fix has made.

Tested:
jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
2012-04-27 15:37:02 -05:00
Jonathan Kim
1b35c60118 [svn-r22319] Purpose:
Fix for HDFFV-7998-h5diff: incorrect behavior and output for comparing symbolic dangling links without following-symlinks option 

Description:
  Fix not to check and display dangling link status without --follow-symlinks option.
  Berfor the fix, when comparing symbolic link to symbolic link without follow-symlinks option, h5diff followed to check if those links are dangling or not. It caused to display output incorrectly (dangling link instead of symbolic link).
  
  The fix also improved performance when comparing lots of symbolic links without the --follow-symlinks option.
  Test cases were added and tagged with jira#.

Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-04-26 10:56:16 -05:00
Allen Byrne
8c138d7844 [svn-r22318] Use new function that combines two functions that check for vlen types. Based on code used in h5ls.
Tested: local linux
2012-04-26 09:51:36 -05:00
Quincey Koziol
447d13e82b [svn-r22312] Description:
Correct error reported by user (Martin Otte) where we weren't using
realloc'ed buffer in MPI datatype code.

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/parallel
2012-04-23 14:21:23 -05:00
HDF Tester
3d90128b16 [svn-r22311] Snapshot version 1.9 release 115 2012-04-22 09:35:32 -05:00
Jonathan Kim
41b9ce962a [svn-r22300] Purpose:
Fix for HDFFV-8001 - h5unjam: segfault when used -V (show version) option

Description:
  h5unjam has an option '-V' to display version information.
  "h5unjam -V" caused segfulat for 1.8.9 pre-release.

Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-04-19 16:38:07 -05:00
Quincey Koziol
a07c8f9247 [svn-r22287] Description:
Clean up more FUNC_ENTER/FUNC_LEAVE macros and move H5D & H5T code toward
the final design (as exemplified by the H5EA & H5FA code).

Tested on:
    Mac OSX/64 10.7.3 (amazon) w/debug & parallel
2012-04-16 16:20:26 -05:00
HDF Tester
bdb6e538ac [svn-r22286] Snapshot version 1.9 release 114 2012-04-15 09:36:51 -05:00
Jonathan Kim
10b62203a3 [svn-r22277] Purpose:
Fix for HDFFV-7993 - h5repack fails with error "chunk size must be <= maximum dimension size for fixed-sized dimensions"

Description:
  Fixed a failure when change the chunk size of a specified chunked dataset with unlimited max dims.
  Also took care of converting to contiguous and compact from the dataset.
  Test cases were added and tagged with jira#.

Tested:
  jam (linux32-LE), koala (linux64-LE), ostrich (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE),  Windows (32-LE cmake), Cmake (jam)
2012-04-11 15:57:10 -05:00
3536 changed files with 621422 additions and 548071 deletions

View File

@@ -4,12 +4,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
## ------------------ ##
## User Preferences. ##

873
.gitattributes vendored Normal file
View File

@@ -0,0 +1,873 @@
* text=auto !eol
bin/bbrelease -text
bin/genparser -text
bin/switch_maint_mode -text
c++/src/H5OcreatProp.cpp -text
c++/src/H5OcreatProp.h -text
c++/src/footer.html -text
c++/src/header_files/hdf_logo.jpg -text
c++/src/header_files/help.jpg -text
c++/src/header_files/image001.jpg -text
c++/src/header_files/image002.jpg -text
c++/test/tarray.cpp -text
c++/test/th5s.h5 -text
config/cce-fflags -text
config/cce-flags -text
config/cmake/CMakeFindJavaCommon.cmake -text
config/cmake/CPack.Info.plist.in -text svneol=unset#application/xml
config/cmake/FindHDFJAVA.cmake.in -text
config/cmake/FindJNI.cmake -text
config/cmake/HDF5UseFortran.cmake -text
config/cmake/HDF5_Examples.cmake.in -text
config/cmake/HDF5_Process_Flex_Files.cmake -text
config/cmake/HDFCompilerFlags.cmake -text
config/cmake/UseJava.cmake -text
config/cmake/UseJavaClassFilelist.cmake -text
config/cmake/UseJavaSymlinks.cmake -text
config/cmake/jrunTest.cmake -text
config/cmake/patch.xml -text
config/cmake/scripts/CTestScript.cmake -text
config/cmake/scripts/HDF5config.cmake -text
config/cmake_ext_mod/hdf.bmp -text
config/cmake_ext_mod/hdf.icns -text
config/cmake_ext_mod/hdf.ico -text
config/conclude_fc.am -text
config/gnu-cxxflags -text
examples/h5_vds-eiger.c -text
examples/h5_vds-exc.c -text
examples/h5_vds-exclim.c -text
examples/h5_vds-percival-unlim-maxmin.c -text
examples/h5_vds-percival-unlim.c -text
examples/h5_vds-percival.c -text
examples/h5_vds-simpleIO.c -text
examples/h5_vds.c -text
fortran/src/H5_buildiface.F90 -text
fortran/src/H5config_f.inc.cmake -text
fortran/src/H5config_f.inc.in -text
fortran/src/H5fort_type_defines.h.in -text
fortran/src/H5fortkit.F90 -text
fortran/test/H5_test_buildiface.F90 -text
hl/fortran/src/H5HL_buildiface.F90 -text
hl/fortran/src/hdf5_hl_fortrandll.def.in -text
hl/src/H5LD.c -text
hl/src/H5LDprivate.h -text
hl/src/H5LDpublic.h -text
hl/src/H5LTanalyze.c -text
hl/src/H5LTparse.c -text
hl/src/H5LTparse.h -text
hl/test/gen_test_ds.c svneol=native#text/plain
hl/test/gen_test_ld.c -text
hl/test/test_ds_be.h5 -text
hl/test/test_ds_le.h5 -text
hl/test/test_dset_append.c -text
hl/test/test_ld.c -text
hl/test/test_ld.h5 -text
hl/test/test_packet_vlen.c -text
hl/test/test_table_be.h5 -text
hl/test/test_table_cray.h5 -text
hl/test/test_table_le.h5 -text
hl/tools/gif2h5/CMakeLists.txt -text
hl/tools/gif2h5/CMakeTests.cmake -text
hl/tools/gif2h5/testfiles/README -text
hl/tools/gif2h5/testfiles/ex_image2.h5 -text
hl/tools/gif2h5/testfiles/h52giftst.h5 -text
hl/tools/gif2h5/testfiles/image1.gif -text
java/CMakeLists.txt -text
java/COPYING -text
java/Makefile.am -text
java/examples/CMakeLists.txt -text
java/examples/Makefile.am -text
java/examples/datasets/CMakeLists.txt -text
java/examples/datasets/H5Ex_D_Alloc.java -text
java/examples/datasets/H5Ex_D_Checksum.java -text
java/examples/datasets/H5Ex_D_Chunk.java -text
java/examples/datasets/H5Ex_D_Compact.java -text
java/examples/datasets/H5Ex_D_External.java -text
java/examples/datasets/H5Ex_D_FillValue.java -text
java/examples/datasets/H5Ex_D_Gzip.java -text
java/examples/datasets/H5Ex_D_Hyperslab.java -text
java/examples/datasets/H5Ex_D_Nbit.java -text
java/examples/datasets/H5Ex_D_ReadWrite.java -text
java/examples/datasets/H5Ex_D_Shuffle.java -text
java/examples/datasets/H5Ex_D_Sofloat.java -text
java/examples/datasets/H5Ex_D_Soint.java -text
java/examples/datasets/H5Ex_D_Szip.java -text
java/examples/datasets/H5Ex_D_Transform.java -text
java/examples/datasets/H5Ex_D_UnlimitedAdd.java -text
java/examples/datasets/H5Ex_D_UnlimitedGzip.java -text
java/examples/datasets/H5Ex_D_UnlimitedMod.java -text
java/examples/datasets/Makefile.am -text
java/examples/datasets/runExample.sh.in -text
java/examples/datatypes/CMakeLists.txt -text
java/examples/datatypes/H5Ex_T_Array.java -text
java/examples/datatypes/H5Ex_T_ArrayAttribute.java -text
java/examples/datatypes/H5Ex_T_Bit.java -text
java/examples/datatypes/H5Ex_T_BitAttribute.java -text
java/examples/datatypes/H5Ex_T_Commit.java -text
java/examples/datatypes/H5Ex_T_Compound.java -text
java/examples/datatypes/H5Ex_T_CompoundAttribute.java -text
java/examples/datatypes/H5Ex_T_Float.java -text
java/examples/datatypes/H5Ex_T_FloatAttribute.java -text
java/examples/datatypes/H5Ex_T_Integer.java -text
java/examples/datatypes/H5Ex_T_IntegerAttribute.java -text
java/examples/datatypes/H5Ex_T_ObjectReference.java -text
java/examples/datatypes/H5Ex_T_ObjectReferenceAttribute.java -text
java/examples/datatypes/H5Ex_T_Opaque.java -text
java/examples/datatypes/H5Ex_T_OpaqueAttribute.java -text
java/examples/datatypes/H5Ex_T_String.java -text
java/examples/datatypes/H5Ex_T_StringAttribute.java -text
java/examples/datatypes/H5Ex_T_VLString.java -text
java/examples/datatypes/Makefile.am -text
java/examples/datatypes/runExample.sh.in -text
java/examples/groups/CMakeLists.txt -text
java/examples/groups/H5Ex_G_Compact.java -text
java/examples/groups/H5Ex_G_Corder.java -text
java/examples/groups/H5Ex_G_Create.java -text
java/examples/groups/H5Ex_G_Intermediate.java -text
java/examples/groups/H5Ex_G_Iterate.java -text
java/examples/groups/H5Ex_G_Phase.java -text
java/examples/groups/H5Ex_G_Traverse.java -text
java/examples/groups/H5Ex_G_Visit.java -text
java/examples/groups/Makefile.am -text
java/examples/groups/h5ex_g_iterate.h5 -text svneol=unset#application/x-hdf
java/examples/groups/h5ex_g_visit.h5 -text svneol=unset#application/x-hdf
java/examples/groups/runExample.sh.in -text
java/examples/intro/CMakeLists.txt -text
java/examples/intro/H5_CreateAttribute.java -text
java/examples/intro/H5_CreateDataset.java -text
java/examples/intro/H5_CreateFile.java -text
java/examples/intro/H5_CreateGroup.java -text
java/examples/intro/H5_CreateGroupAbsoluteRelative.java -text
java/examples/intro/H5_CreateGroupDataset.java -text
java/examples/intro/H5_ReadWrite.java -text
java/examples/intro/Makefile.am -text
java/examples/intro/runExample.sh.in -text
java/examples/testfiles/examples.datasets.H5Ex_D_Alloc.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Checksum.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Chunk.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Compact.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_External.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_FillValue.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Gzip.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Hyperslab.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Nbit.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_ReadWrite.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Shuffle.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Sofloat.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Soint.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Szip.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_Transform.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_UnlimitedAdd.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_UnlimitedGzip.txt -text
java/examples/testfiles/examples.datasets.H5Ex_D_UnlimitedMod.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Array.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_ArrayAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Bit.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_BitAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Commit.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Compound.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_CompoundAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Float.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_FloatAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Integer.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_IntegerAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_ObjectReference.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_ObjectReferenceAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_Opaque.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_OpaqueAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_String.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_StringAttribute.txt -text
java/examples/testfiles/examples.datatypes.H5Ex_T_VLString.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Compact.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Corder.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Create.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Intermediate.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Iterate.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Phase.txt -text
java/examples/testfiles/examples.groups.H5Ex_G_Visit.txt -text
java/examples/testfiles/examples.intro.H5_CreateAttribute.txt -text
java/examples/testfiles/examples.intro.H5_CreateDataset.txt -text
java/examples/testfiles/examples.intro.H5_CreateFile.txt -text
java/examples/testfiles/examples.intro.H5_CreateGroup.txt -text
java/examples/testfiles/examples.intro.H5_CreateGroupAbsoluteRelative.txt -text
java/examples/testfiles/examples.intro.H5_CreateGroupDataset.txt -text
java/examples/testfiles/examples.intro.H5_ReadWrite.txt -text
java/lib/ext/slf4j-nop-1.7.5.jar -text svneol=unset#application/zip
java/lib/ext/slf4j-simple-1.7.5.jar -text svneol=unset#application/zip
java/lib/hamcrest-core.jar -text svneol=unset#application/java-archive
java/lib/junit.jar -text svneol=unset#application/java-archive
java/lib/simplelogger.properties -text
java/lib/slf4j-api-1.7.5.jar -text svneol=unset#application/zip
java/src/CMakeLists.txt -text
java/src/Makefile.am -text
java/src/hdf/CMakeLists.txt -text
java/src/hdf/hdf5lib/CMakeLists.txt -text
java/src/hdf/hdf5lib/H5.java -text
java/src/hdf/hdf5lib/HDF5Constants.java -text
java/src/hdf/hdf5lib/HDF5GroupInfo.java -text
java/src/hdf/hdf5lib/HDFArray.java -text
java/src/hdf/hdf5lib/HDFNativeData.java -text
java/src/hdf/hdf5lib/callbacks/Callbacks.java -text
java/src/hdf/hdf5lib/callbacks/H5A_iterate_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5A_iterate_t.java -text
java/src/hdf/hdf5lib/callbacks/H5D_append_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5D_append_t.java -text
java/src/hdf/hdf5lib/callbacks/H5D_iterate_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5D_iterate_t.java -text
java/src/hdf/hdf5lib/callbacks/H5E_walk_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5E_walk_t.java -text
java/src/hdf/hdf5lib/callbacks/H5L_iterate_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5L_iterate_t.java -text
java/src/hdf/hdf5lib/callbacks/H5O_iterate_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5O_iterate_t.java -text
java/src/hdf/hdf5lib/callbacks/H5P_cls_close_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_cls_close_func_t.java -text
java/src/hdf/hdf5lib/callbacks/H5P_cls_copy_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_cls_copy_func_t.java -text
java/src/hdf/hdf5lib/callbacks/H5P_cls_create_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_cls_create_func_t.java -text
java/src/hdf/hdf5lib/callbacks/H5P_iterate_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_iterate_t.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_close_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_compare_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_copy_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_create_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_delete_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_get_func_cb.java -text
java/src/hdf/hdf5lib/callbacks/H5P_prp_set_func_cb.java -text
java/src/hdf/hdf5lib/exceptions/HDF5AtomException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5AttributeException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5BtreeException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5DataFiltersException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5DataStorageException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5DatasetInterfaceException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5DataspaceInterfaceException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5DatatypeInterfaceException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5Exception.java -text
java/src/hdf/hdf5lib/exceptions/HDF5ExternalFileListException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5FileInterfaceException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5FunctionArgumentException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5FunctionEntryExitException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5HeapException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5InternalErrorException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5JavaException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5LibraryException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5LowLevelIOException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5MetaDataCacheException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5ObjectHeaderException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5PropertyListInterfaceException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5ReferenceException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5ResourceUnavailableException.java -text
java/src/hdf/hdf5lib/exceptions/HDF5SymbolTableException.java -text
java/src/hdf/hdf5lib/structs/H5AC_cache_config_t.java -text
java/src/hdf/hdf5lib/structs/H5A_info_t.java -text
java/src/hdf/hdf5lib/structs/H5E_error2_t.java -text
java/src/hdf/hdf5lib/structs/H5F_info2_t.java -text
java/src/hdf/hdf5lib/structs/H5G_info_t.java -text
java/src/hdf/hdf5lib/structs/H5L_info_t.java -text
java/src/hdf/hdf5lib/structs/H5O_hdr_info_t.java -text
java/src/hdf/hdf5lib/structs/H5O_info_t.java -text
java/src/hdf/hdf5lib/structs/H5_ih_info_t.java -text
java/src/hdf/overview.html -text
java/src/jni/CMakeLists.txt -text
java/src/jni/Makefile.am -text
java/src/jni/exceptionImp.c -text
java/src/jni/exceptionImp.h -text
java/src/jni/h5Constants.c -text
java/src/jni/h5Imp.c -text
java/src/jni/h5Imp.h -text
java/src/jni/h5aImp.c -text
java/src/jni/h5aImp.h -text
java/src/jni/h5dImp.c -text
java/src/jni/h5dImp.h -text
java/src/jni/h5eImp.c -text
java/src/jni/h5eImp.h -text
java/src/jni/h5fImp.c -text
java/src/jni/h5fImp.h -text
java/src/jni/h5gImp.c -text
java/src/jni/h5gImp.h -text
java/src/jni/h5iImp.c -text
java/src/jni/h5iImp.h -text
java/src/jni/h5jni.h -text
java/src/jni/h5lImp.c -text
java/src/jni/h5lImp.h -text
java/src/jni/h5oImp.c -text
java/src/jni/h5oImp.h -text
java/src/jni/h5pImp.c -text
java/src/jni/h5pImp.h -text
java/src/jni/h5plImp.c -text
java/src/jni/h5plImp.h -text
java/src/jni/h5rImp.c -text
java/src/jni/h5rImp.h -text
java/src/jni/h5sImp.c -text
java/src/jni/h5sImp.h -text
java/src/jni/h5tImp.c -text
java/src/jni/h5tImp.h -text
java/src/jni/h5util.c -text
java/src/jni/h5util.h -text
java/src/jni/h5zImp.c -text
java/src/jni/h5zImp.h -text
java/src/jni/nativeData.c -text
java/src/jni/nativeData.h -text
java/test/CMakeLists.txt -text
java/test/JUnit-interface.ert -text
java/test/JUnit-interface.txt -text
java/test/Makefile.am -text
java/test/TestAll.java -text
java/test/TestH5.java -text
java/test/TestH5A.java -text
java/test/TestH5D.java -text
java/test/TestH5Dparams.java -text
java/test/TestH5Dplist.java -text
java/test/TestH5E.java -text
java/test/TestH5Edefault.java -text
java/test/TestH5Eregister.java -text
java/test/TestH5F.java -text
java/test/TestH5Fbasic.java -text
java/test/TestH5Fparams.java -text
java/test/TestH5G.java -text
java/test/TestH5Gbasic.java -text
java/test/TestH5Giterate.java -text
java/test/TestH5Lbasic.java -text
java/test/TestH5Lcreate.java -text
java/test/TestH5Lparams.java -text
java/test/TestH5Obasic.java -text
java/test/TestH5Ocopy.java -text
java/test/TestH5Ocreate.java -text
java/test/TestH5Oparams.java -text
java/test/TestH5P.java -text
java/test/TestH5PData.java -text
java/test/TestH5PL.java -text
java/test/TestH5Pfapl.java -text
java/test/TestH5Plist.java -text
java/test/TestH5Pvirtual.java -text
java/test/TestH5R.java -text
java/test/TestH5S.java -text
java/test/TestH5Sbasic.java -text
java/test/TestH5T.java -text
java/test/TestH5Tbasic.java -text
java/test/TestH5Tparams.java -text
java/test/TestH5Z.java -text
java/test/h5ex_g_iterate.orig -text svneol=unset#application/x-hdf
java/test/junit.sh.in -text
m4/aclocal_cxx.m4 -text
m4/aclocal_fc.f90 -text
m4/aclocal_fc.m4 -text
m4/ax_check_class.m4 -text
m4/ax_check_classpath.m4 -text
m4/ax_check_java_home.m4 -text
m4/ax_check_junit.m4 -text
m4/ax_check_rqrd_class.m4 -text
m4/ax_java_check_class.m4 -text
m4/ax_java_options.m4 -text
m4/ax_jni_include_dir.m4 -text
m4/ax_prog_jar.m4 -text
m4/ax_prog_java.m4 -text
m4/ax_prog_java_cc.m4 -text
m4/ax_prog_java_works.m4 -text
m4/ax_prog_javac.m4 -text
m4/ax_prog_javac_works.m4 -text
m4/ax_prog_javadoc.m4 -text
m4/ax_prog_javah.m4 -text
m4/ax_try_compile_java.m4 -text
m4/ax_try_run_java.m4 -text
src/H5Cepoch.c -text
src/H5Cquery.c -text
src/H5Ctag.c -text
src/H5Ctest.c -text
src/H5Dnone.c -text
src/H5Dsingle.c -text
src/H5Oflush.c -text
test/bad_compound.h5 -text
test/be_data.h5 -text
test/be_extlink1.h5 -text
test/be_extlink2.h5 -text
test/btree_idx_1_6.h5 -text
test/btree_idx_1_8.h5 -text
test/cork.c -text
test/corrupt_stab_msg.h5 -text
test/deflate.h5 -text
test/dynlib4.c -text
test/family_v16_00000.h5 -text
test/family_v16_00001.h5 -text
test/family_v16_00002.h5 -text
test/family_v16_00003.h5 -text
test/file_image_core_test.h5 -text
test/filespace_1_6.h5 -text
test/filespace_1_8.h5 -text
test/fill_old.h5 -text
test/filter_error.h5 -text
test/group_old.h5 -text
test/le_data.h5 -text
test/le_extlink1.h5 -text
test/le_extlink2.h5 -text
test/mergemsg.h5 -text svneol=unset#application/hdf5
test/multi_file_v16-r.h5 -text
test/multi_file_v16-s.h5 -text
test/noencoder.h5 -text
test/specmetaread.h5 -text
test/tarrold.h5 -text
test/tbad_msg_count.h5 -text
test/tbogus.h5 -text
test/test_filters_be.h5 -text
test/test_filters_le.h5 -text
test/testfiles/plist_files/acpl_32be -text
test/testfiles/plist_files/acpl_32le -text
test/testfiles/plist_files/acpl_64be -text
test/testfiles/plist_files/acpl_64le -text
test/testfiles/plist_files/dapl_32be -text
test/testfiles/plist_files/dapl_32le -text
test/testfiles/plist_files/dapl_64be -text
test/testfiles/plist_files/dapl_64le -text
test/testfiles/plist_files/dcpl_32be -text
test/testfiles/plist_files/dcpl_32le -text
test/testfiles/plist_files/dcpl_64be -text
test/testfiles/plist_files/dcpl_64le -text
test/testfiles/plist_files/def_acpl_32be -text
test/testfiles/plist_files/def_acpl_32le -text
test/testfiles/plist_files/def_acpl_64be -text
test/testfiles/plist_files/def_acpl_64le -text
test/testfiles/plist_files/def_dapl_32be -text
test/testfiles/plist_files/def_dapl_32le -text
test/testfiles/plist_files/def_dapl_64be -text
test/testfiles/plist_files/def_dapl_64le -text
test/testfiles/plist_files/def_dcpl_32be -text
test/testfiles/plist_files/def_dcpl_32le -text
test/testfiles/plist_files/def_dcpl_64be -text
test/testfiles/plist_files/def_dcpl_64le -text
test/testfiles/plist_files/def_dxpl_32be -text
test/testfiles/plist_files/def_dxpl_32le -text
test/testfiles/plist_files/def_dxpl_64be -text
test/testfiles/plist_files/def_dxpl_64le -text
test/testfiles/plist_files/def_fapl_32be -text
test/testfiles/plist_files/def_fapl_32le -text
test/testfiles/plist_files/def_fapl_64be -text
test/testfiles/plist_files/def_fapl_64le -text
test/testfiles/plist_files/def_fcpl_32be -text
test/testfiles/plist_files/def_fcpl_32le -text
test/testfiles/plist_files/def_fcpl_64be -text
test/testfiles/plist_files/def_fcpl_64le -text
test/testfiles/plist_files/def_gcpl_32be -text
test/testfiles/plist_files/def_gcpl_32le -text
test/testfiles/plist_files/def_gcpl_64be -text
test/testfiles/plist_files/def_gcpl_64le -text
test/testfiles/plist_files/def_lapl_32be -text
test/testfiles/plist_files/def_lapl_32le -text
test/testfiles/plist_files/def_lapl_64be -text
test/testfiles/plist_files/def_lapl_64le -text
test/testfiles/plist_files/def_lcpl_32be -text
test/testfiles/plist_files/def_lcpl_32le -text
test/testfiles/plist_files/def_lcpl_64be -text
test/testfiles/plist_files/def_lcpl_64le -text
test/testfiles/plist_files/def_ocpl_32be -text
test/testfiles/plist_files/def_ocpl_32le -text
test/testfiles/plist_files/def_ocpl_64be -text
test/testfiles/plist_files/def_ocpl_64le -text
test/testfiles/plist_files/def_ocpypl_32be -text
test/testfiles/plist_files/def_ocpypl_32le -text
test/testfiles/plist_files/def_ocpypl_64be -text
test/testfiles/plist_files/def_ocpypl_64le -text
test/testfiles/plist_files/def_strcpl_32be -text
test/testfiles/plist_files/def_strcpl_32le -text
test/testfiles/plist_files/def_strcpl_64be -text
test/testfiles/plist_files/def_strcpl_64le -text
test/testfiles/plist_files/dxpl_32be -text
test/testfiles/plist_files/dxpl_32le -text
test/testfiles/plist_files/dxpl_64be -text
test/testfiles/plist_files/dxpl_64le -text
test/testfiles/plist_files/fapl_32be -text
test/testfiles/plist_files/fapl_32le -text
test/testfiles/plist_files/fapl_64be -text
test/testfiles/plist_files/fapl_64le -text
test/testfiles/plist_files/fcpl_32be -text
test/testfiles/plist_files/fcpl_32le -text
test/testfiles/plist_files/fcpl_64be -text
test/testfiles/plist_files/fcpl_64le -text
test/testfiles/plist_files/gcpl_32be -text
test/testfiles/plist_files/gcpl_32le -text
test/testfiles/plist_files/gcpl_64be -text
test/testfiles/plist_files/gcpl_64le -text
test/testfiles/plist_files/lapl_32be -text
test/testfiles/plist_files/lapl_32le -text
test/testfiles/plist_files/lapl_64be -text
test/testfiles/plist_files/lapl_64le -text
test/testfiles/plist_files/lcpl_32be -text
test/testfiles/plist_files/lcpl_32le -text
test/testfiles/plist_files/lcpl_64be -text
test/testfiles/plist_files/lcpl_64le -text
test/testfiles/plist_files/ocpl_32be -text
test/testfiles/plist_files/ocpl_32le -text
test/testfiles/plist_files/ocpl_64be -text
test/testfiles/plist_files/ocpl_64le -text
test/testfiles/plist_files/ocpypl_32be -text
test/testfiles/plist_files/ocpypl_32le -text
test/testfiles/plist_files/ocpypl_64be -text
test/testfiles/plist_files/ocpypl_64le -text
test/testfiles/plist_files/strcpl_32be -text
test/testfiles/plist_files/strcpl_32le -text
test/testfiles/plist_files/strcpl_64be -text
test/testfiles/plist_files/strcpl_64le -text
test/th5s.h5 -text
test/tlayouto.h5 -text
test/tmtimen.h5 -text
test/tmtimeo.h5 -text
test/tsizeslheap.h5 -text
testpar/t_init_term.c -text
testpar/t_prestart.c -text
testpar/t_pshutdown.c -text
tools/h5copy/testfiles/h5copy_extlinks_src.h5 -text
tools/h5copy/testfiles/h5copy_extlinks_trg.h5 -text
tools/h5copy/testfiles/h5copy_ref.h5 -text
tools/h5copy/testfiles/h5copytst.h5 -text
tools/h5copy/testfiles/h5copytst_new.h5 -text
tools/h5copy/testfiles/h5copytst_new.out.ls -text
tools/h5diff/testfiles/compounds_array_vlen1.h5 -text
tools/h5diff/testfiles/compounds_array_vlen2.h5 -text
tools/h5diff/testfiles/h5diff_attr1.h5 -text
tools/h5diff/testfiles/h5diff_attr2.h5 -text
tools/h5diff/testfiles/h5diff_attr_v_level1.h5 -text
tools/h5diff/testfiles/h5diff_attr_v_level2.h5 -text
tools/h5diff/testfiles/h5diff_basic1.h5 -text
tools/h5diff/testfiles/h5diff_basic2.h5 -text
tools/h5diff/testfiles/h5diff_comp_vl_strs.h5 -text
tools/h5diff/testfiles/h5diff_danglelinks1.h5 -text
tools/h5diff/testfiles/h5diff_danglelinks2.h5 -text
tools/h5diff/testfiles/h5diff_dset1.h5 -text
tools/h5diff/testfiles/h5diff_dset2.h5 -text
tools/h5diff/testfiles/h5diff_dset_zero_dim_size1.h5 -text
tools/h5diff/testfiles/h5diff_dset_zero_dim_size2.h5 -text
tools/h5diff/testfiles/h5diff_dtypes.h5 -text
tools/h5diff/testfiles/h5diff_empty.h5 -text
tools/h5diff/testfiles/h5diff_enum_invalid_values.h5 -text
tools/h5diff/testfiles/h5diff_exclude1-1.h5 -text
tools/h5diff/testfiles/h5diff_exclude1-2.h5 -text
tools/h5diff/testfiles/h5diff_exclude2-1.h5 -text
tools/h5diff/testfiles/h5diff_exclude2-2.h5 -text
tools/h5diff/testfiles/h5diff_exclude3-1.h5 -text
tools/h5diff/testfiles/h5diff_exclude3-2.h5 -text
tools/h5diff/testfiles/h5diff_ext2softlink_src.h5 -text
tools/h5diff/testfiles/h5diff_ext2softlink_trg.h5 -text
tools/h5diff/testfiles/h5diff_extlink_src.h5 -text
tools/h5diff/testfiles/h5diff_extlink_trg.h5 -text
tools/h5diff/testfiles/h5diff_grp_recurse1.h5 -text
tools/h5diff/testfiles/h5diff_grp_recurse2.h5 -text
tools/h5diff/testfiles/h5diff_grp_recurse_ext1.h5 -text
tools/h5diff/testfiles/h5diff_grp_recurse_ext2-1.h5 -text
tools/h5diff/testfiles/h5diff_grp_recurse_ext2-2.h5 -text
tools/h5diff/testfiles/h5diff_grp_recurse_ext2-3.h5 -text
tools/h5diff/testfiles/h5diff_hyper1.h5 -text
tools/h5diff/testfiles/h5diff_hyper2.h5 -text
tools/h5diff/testfiles/h5diff_linked_softlink.h5 -text
tools/h5diff/testfiles/h5diff_links.h5 -text
tools/h5diff/testfiles/h5diff_softlinks.h5 -text
tools/h5diff/testfiles/h5diff_types.h5 -text
tools/h5diff/testfiles/h5diff_v1.txt -text
tools/h5diff/testfiles/h5diff_v2.txt -text
tools/h5diff/testfiles/h5diff_v3.txt -text
tools/h5diff/testfiles/non_comparables1.h5 -text
tools/h5diff/testfiles/non_comparables2.h5 -text
tools/h5diff/testfiles/tmpSingleSiteBethe.output.h5 -text
tools/h5diff/testfiles/tmpSingleSiteBethe.reference.h5 -text
tools/h5diff/testfiles/tmptest.he5 -text
tools/h5diff/testfiles/tmptest2.he5 -text
tools/h5dump/errfiles/non_existing.err -text
tools/h5format_convert/CMakeLists.txt -text
tools/h5format_convert/CMakeTests.cmake -text
tools/h5format_convert/Makefile.am -text
tools/h5format_convert/h5fc_chk_idx.c -text
tools/h5format_convert/h5fc_gentest.c -text
tools/h5format_convert/h5format_convert.c -text
tools/h5format_convert/testfiles/h5fc_d_file.ddl -text
tools/h5format_convert/testfiles/h5fc_dname.ddl -text
tools/h5format_convert/testfiles/h5fc_edge_v3.h5 -text
tools/h5format_convert/testfiles/h5fc_err_level.h5 -text
tools/h5format_convert/testfiles/h5fc_ext1_f.ddl -text
tools/h5format_convert/testfiles/h5fc_ext1_f.h5 -text
tools/h5format_convert/testfiles/h5fc_ext1_i.ddl -text
tools/h5format_convert/testfiles/h5fc_ext1_i.h5 -text
tools/h5format_convert/testfiles/h5fc_ext1_s.ddl -text
tools/h5format_convert/testfiles/h5fc_ext1_s.h5 -text
tools/h5format_convert/testfiles/h5fc_ext2_if.ddl -text
tools/h5format_convert/testfiles/h5fc_ext2_if.h5 -text
tools/h5format_convert/testfiles/h5fc_ext2_is.ddl -text
tools/h5format_convert/testfiles/h5fc_ext2_is.h5 -text
tools/h5format_convert/testfiles/h5fc_ext2_sf.ddl -text
tools/h5format_convert/testfiles/h5fc_ext2_sf.h5 -text
tools/h5format_convert/testfiles/h5fc_ext3_isf.ddl -text
tools/h5format_convert/testfiles/h5fc_ext3_isf.h5 -text
tools/h5format_convert/testfiles/h5fc_ext_none.h5 -text
tools/h5format_convert/testfiles/h5fc_help.ddl -text
tools/h5format_convert/testfiles/h5fc_non_v3.h5 -text
tools/h5format_convert/testfiles/h5fc_nonexistdset_file.ddl -text
tools/h5format_convert/testfiles/h5fc_nonexistfile.ddl -text
tools/h5format_convert/testfiles/h5fc_nooption.ddl -text
tools/h5format_convert/testfiles/h5fc_v_all.ddl -text
tools/h5format_convert/testfiles/h5fc_v_bt1.ddl -text
tools/h5format_convert/testfiles/h5fc_v_err.ddl -text
tools/h5format_convert/testfiles/h5fc_v_n_1d.ddl -text
tools/h5format_convert/testfiles/h5fc_v_n_all.ddl -text
tools/h5format_convert/testfiles/h5fc_v_ndata_bt1.ddl -text
tools/h5format_convert/testfiles/h5fc_v_non_chunked.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext1_f.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext1_f.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext1_i.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext1_i.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext1_s.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext1_s.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext2_if.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext2_if.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext2_is.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext2_is.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext2_sf.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext2_sf.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext3_isf.ddl -text
tools/h5format_convert/testfiles/old_h5fc_ext3_isf.h5 -text
tools/h5format_convert/testfiles/old_h5fc_ext_none.h5 -text
tools/h5format_convert/testh5fc.sh.in -text
tools/h5import/testfiles/binfp64.h5 -text
tools/h5import/testfiles/binin16.h5 -text
tools/h5import/testfiles/binin32.h5 -text
tools/h5import/testfiles/binin8.h5 -text
tools/h5import/testfiles/binin8w.h5 -text
tools/h5import/testfiles/binuin16.h5 -text
tools/h5import/testfiles/binuin32.h5 -text
tools/h5import/testfiles/textpfe.h5 -text
tools/h5import/testfiles/txtfp32.h5 -text
tools/h5import/testfiles/txtfp64.h5 -text
tools/h5import/testfiles/txtin16.h5 -text
tools/h5import/testfiles/txtin32.h5 -text
tools/h5import/testfiles/txtin8.h5 -text
tools/h5import/testfiles/txtstr.h5 -text
tools/h5import/testfiles/txtuin16.h5 -text
tools/h5import/testfiles/txtuin32.h5 -text
tools/h5jam/testfiles/tall.h5 -text
tools/h5jam/testfiles/twithub.h5 -text
tools/h5jam/testfiles/twithub513.h5 -text
tools/h5repack/testfiles/1_vds.h5-vds_dset_chunk20x10x5-v.ddl -text
tools/h5repack/testfiles/2_vds.h5-vds_chunk3x6x9-v.ddl -text
tools/h5repack/testfiles/3_1_vds.h5-vds_chunk2x5x8-v.ddl -text
tools/h5repack/testfiles/4_vds.h5-vds_compa-v.ddl -text
tools/h5repack/testfiles/4_vds.h5-vds_conti-v.ddl -text
tools/h5repack/testfiles/README -text
tools/h5repack/testfiles/h5repack_attr.h5 -text
tools/h5repack/testfiles/h5repack_attr_refs.h5 -text
tools/h5repack/testfiles/h5repack_deflate.h5 -text
tools/h5repack/testfiles/h5repack_early.h5 -text
tools/h5repack/testfiles/h5repack_ext.bin -text
tools/h5repack/testfiles/h5repack_ext.h5 -text
tools/h5repack/testfiles/h5repack_fill.h5 -text
tools/h5repack/testfiles/h5repack_filters.h5 -text
tools/h5repack/testfiles/h5repack_filters.h5-gzip_verbose_filters.tst -text
tools/h5repack/testfiles/h5repack_fletcher.h5 -text
tools/h5repack/testfiles/h5repack_hlink.h5 -text
tools/h5repack/testfiles/h5repack_layout.UD.h5 -text svneol=unset#application/x-hdf
tools/h5repack/testfiles/h5repack_layout.h5 -text
tools/h5repack/testfiles/h5repack_layout.h5-dset2_chunk_20x10-errstk.tst -text
tools/h5repack/testfiles/h5repack_layout.h5-plugin_zero.tst -text
tools/h5repack/testfiles/h5repack_layout2.h5 -text
tools/h5repack/testfiles/h5repack_layout3.h5 -text
tools/h5repack/testfiles/h5repack_layouto.h5 -text
tools/h5repack/testfiles/h5repack_named_dtypes.h5 -text
tools/h5repack/testfiles/h5repack_nbit.h5 -text
tools/h5repack/testfiles/h5repack_nested_8bit_enum.h5 -text
tools/h5repack/testfiles/h5repack_nested_8bit_enum_deflated.h5 -text
tools/h5repack/testfiles/h5repack_objs.h5 -text
tools/h5repack/testfiles/h5repack_refs.h5 -text
tools/h5repack/testfiles/h5repack_shuffle.h5 -text
tools/h5repack/testfiles/h5repack_soffset.h5 -text
tools/h5repack/testfiles/h5repack_szip.h5 -text
tools/h5repack/testfiles/ublock.bin -text
tools/h5stat/testfiles/h5stat_filters.h5 -text
tools/h5stat/testfiles/h5stat_idx.ddl -text
tools/h5stat/testfiles/h5stat_idx.h5 -text
tools/h5stat/testfiles/h5stat_newgrat.h5 -text
tools/h5stat/testfiles/h5stat_threshold.h5 -text
tools/h5stat/testfiles/h5stat_tsohm.h5 -text
tools/lib/h5tools_error.h svneol=native#text/plain
tools/testfiles/charsets.h5 -text
tools/testfiles/family_file00000.h5 -text
tools/testfiles/family_file00001.h5 -text
tools/testfiles/family_file00002.h5 -text
tools/testfiles/family_file00003.h5 -text
tools/testfiles/family_file00004.h5 -text
tools/testfiles/family_file00005.h5 -text
tools/testfiles/family_file00006.h5 -text
tools/testfiles/family_file00007.h5 -text
tools/testfiles/family_file00008.h5 -text
tools/testfiles/family_file00009.h5 -text
tools/testfiles/family_file00010.h5 -text
tools/testfiles/family_file00011.h5 -text
tools/testfiles/family_file00012.h5 -text
tools/testfiles/family_file00013.h5 -text
tools/testfiles/family_file00014.h5 -text
tools/testfiles/family_file00015.h5 -text
tools/testfiles/family_file00016.h5 -text
tools/testfiles/family_file00017.h5 -text
tools/testfiles/file_space.h5 -text
tools/testfiles/filter_fail.h5 -text
tools/testfiles/non_existing.ddl -text
tools/testfiles/packedbits.h5 -text
tools/testfiles/taindices.h5 -text
tools/testfiles/tall.h5 -text
tools/testfiles/tarray1.h5 -text
tools/testfiles/tarray1_big.h5 -text
tools/testfiles/tarray2.h5 -text
tools/testfiles/tarray3.h5 -text
tools/testfiles/tarray4.h5 -text
tools/testfiles/tarray5.h5 -text
tools/testfiles/tarray6.h5 -text
tools/testfiles/tarray7.h5 -text
tools/testfiles/tarray8.h5 -text
tools/testfiles/tattr.h5 -text
tools/testfiles/tattr2.h5 -text
tools/testfiles/tattr4_be.h5 -text
tools/testfiles/tattrintsize.h5 -text
tools/testfiles/tattrreg.h5 -text
tools/testfiles/tbigdims.h5 -text
tools/testfiles/tbinary.h5 -text
tools/testfiles/tbitfields.h5 -text
tools/testfiles/tbitnopaque_be.ddl -text
tools/testfiles/tbitnopaque_le.ddl -text
tools/testfiles/tbitnopaque.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tchar.h5 -text
tools/testfiles/tcmpdattrintsize.h5 -text
tools/testfiles/tcmpdintarray.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tcmpdints.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tcmpdintsize.h5 -text
tools/testfiles/tcompound.h5 -text
tools/testfiles/tcompound2.h5 -text
tools/testfiles/tcompound_complex.h5 -text
tools/testfiles/tcompound_complex2.ddl -text
tools/testfiles/tcompound_complex2.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tdatareg.h5 -text
tools/testfiles/tdset.h5 -text
tools/testfiles/tdset2.h5 -text
tools/testfiles/tdset_idx.h5 -text
tools/testfiles/tdset_idx.ls -text
tools/testfiles/tempty.h5 -text
tools/testfiles/tenum.h5 -text
tools/testfiles/textlink.h5 -text
tools/testfiles/textlinkfar.h5 -text
tools/testfiles/textlinksrc.h5 -text
tools/testfiles/textlinktar.h5 -text
tools/testfiles/tfamily00000.h5 -text
tools/testfiles/tfamily00001.h5 -text
tools/testfiles/tfamily00002.h5 -text
tools/testfiles/tfamily00003.h5 -text
tools/testfiles/tfamily00004.h5 -text
tools/testfiles/tfamily00005.h5 -text
tools/testfiles/tfamily00006.h5 -text
tools/testfiles/tfamily00007.h5 -text
tools/testfiles/tfamily00008.h5 -text
tools/testfiles/tfamily00009.h5 -text
tools/testfiles/tfamily00010.h5 -text
tools/testfiles/tfcontents1.h5 -text
tools/testfiles/tfcontents2.h5 -text
tools/testfiles/tfilters.h5 -text
tools/testfiles/tfpformat.h5 -text
tools/testfiles/tfvalues.h5 -text
tools/testfiles/tgroup.h5 -text
tools/testfiles/tgrp_comments.h5 -text
tools/testfiles/thlink.h5 -text
tools/testfiles/thyperslab.h5 -text
tools/testfiles/tints4dims.ddl -text
tools/testfiles/tints4dims.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tints4dimsBlock2.ddl -text
tools/testfiles/tints4dimsBlockEq.ddl -text
tools/testfiles/tints4dimsCount2.ddl -text
tools/testfiles/tints4dimsCountEq.ddl -text
tools/testfiles/tints4dimsStride2.ddl -text
tools/testfiles/tintsattrs.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tlarge_objname.h5 -text
tools/testfiles/tldouble.h5 -text
tools/testfiles/tlonglinks.h5 -text
tools/testfiles/tloop.h5 -text
tools/testfiles/tloop2.h5 -text
tools/testfiles/tmany.h5 -text
tools/testfiles/tmulti-b.h5 -text
tools/testfiles/tmulti-g.h5 -text svneol=unset#application/octet-stream
tools/testfiles/tmulti-l.h5 -text
tools/testfiles/tmulti-o.h5 -text
tools/testfiles/tmulti-r.h5 -text
tools/testfiles/tmulti-s.h5 -text
tools/testfiles/tname-amp.h5 -text
tools/testfiles/tname-apos.h5 -text
tools/testfiles/tname-gt.h5 -text
tools/testfiles/tname-lt.h5 -text
tools/testfiles/tname-quot.h5 -text
tools/testfiles/tname-sp.h5 -text
tools/testfiles/tnamed_dtype_attr.h5 -text
tools/testfiles/tnestedcmpddt.h5 -text
tools/testfiles/tnestedcomp.h5 -text
tools/testfiles/tno-subset.h5 -text
tools/testfiles/tnodata.h5 -text
tools/testfiles/tnullspace.h5 -text
tools/testfiles/tobjref.h5 -text
tools/testfiles/topaque.h5 -text
tools/testfiles/torderattr.h5 -text
tools/testfiles/tordergr.h5 -text
tools/testfiles/tref-escapes-at.h5 -text
tools/testfiles/tref-escapes.h5 -text
tools/testfiles/tref.h5 -text
tools/testfiles/tsaf.h5 -text
tools/testfiles/tscalarattrintsize.h5 -text
tools/testfiles/tscalarintattrsize.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tscalarintsize.h5 -text
tools/testfiles/tscalarstring.h5 -text
tools/testfiles/tslink.h5 -text
tools/testfiles/tsoftlinks.h5 -text
tools/testfiles/tsplit_file-m.h5 -text
tools/testfiles/tsplit_file-r.h5 -text
tools/testfiles/tstr.h5 -text
tools/testfiles/tstr2.h5 -text
tools/testfiles/tstr3.h5 -text
tools/testfiles/tstring-at.h5 -text
tools/testfiles/tstring.ddl -text svneol=unset#application/octet-stream
tools/testfiles/tstring.h5 -text
tools/testfiles/tudlink.h5 -text
tools/testfiles/tvldtypes1.h5 -text
tools/testfiles/tvldtypes2.h5 -text
tools/testfiles/tvldtypes3.h5 -text
tools/testfiles/tvldtypes4.h5 -text
tools/testfiles/tvldtypes5.h5 -text
tools/testfiles/tvlenstr_array.ddl -text
tools/testfiles/tvlenstr_array.h5 -text svneol=unset#application/x-hdf
tools/testfiles/tvlstr.h5 -text
tools/testfiles/tvms.h5 -text
tools/testfiles/vds/1_a.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/1_b.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/1_c.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/1_d.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/1_e.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/1_f.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/1_vds.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/2_a.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/2_b.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/2_c.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/2_d.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/2_e.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/2_vds.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/3_1_vds.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/3_2_vds.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/4_0.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/4_1.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/4_2.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/4_vds.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/5_a.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/5_b.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/5_c.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/5_vds.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/a.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/b.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/c.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/d.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/f-0.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/f-3.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/vds-eiger.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/vds-first.ddl -text
tools/testfiles/vds/vds-gap1.ddl -text
tools/testfiles/vds/vds-gap2.ddl -text
tools/testfiles/vds/vds-percival-unlim-maxmin.h5 -text svneol=unset#application/x-hdf
tools/testfiles/vds/vds_layout-eiger.ddl -text
tools/testfiles/vds/vds_layout-maxmin.ddl -text
tools/testfiles/zerodim.h5 -text

43
.gitignore vendored Normal file
View File

@@ -0,0 +1,43 @@
# .gitignore file for HDF5
# Makefile.in files
**/Makefile.in
# Java .classes files
**/java/.classes
# Backup files
# Editor-specific extensions should go in your ~/.gitconfig, but we
# include the standard Unix backup '~' extension since autoheader
# backs up H5config.h.in when it creates a new one and the
# extension is always '~'.
**/*~
# Other files, most of which are created by the Autotools though
# some are created by scripts in bin/
/aclocal.m4
/autom4te.cache
bin/compile
bin/config.guess
bin/config.sub
bin/depcomp
bin/install-sh
bin/ltmain.sh
bin/missing
bin/test-driver
/build*
/configure
m4/libtool.m4
m4/ltoptions.m4
m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
src/H5Edefin.h
src/H5Einit.h
src/H5Epubgen.h
src/H5Eterm.h
src/H5config.h.in
src/H5overflow.h
src/H5version.h
/.classpath

View File

@@ -4,12 +4,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
# Initialization files for the Copyright Checker, chkcopyright.
# Each line is a keyword for action and the rest are values.

134
CMakeFilters.cmake Normal file
View File

@@ -0,0 +1,134 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
include (ExternalProject)
#option (HDF5_ALLOW_EXTERNAL_SUPPORT "Allow External Library Building (NO GIT TGZ)" "NO")
set (HDF5_ALLOW_EXTERNAL_SUPPORT "NO" CACHE STRING "Allow External Library Building (NO GIT TGZ)")
set_property (CACHE HDF5_ALLOW_EXTERNAL_SUPPORT PROPERTY STRINGS NO GIT TGZ)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
option (ZLIB_USE_EXTERNAL "Use External Library Building for ZLIB" 1)
option (SZIP_USE_EXTERNAL "Use External Library Building for SZIP" 1)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT")
set (ZLIB_URL ${ZLIB_GIT_URL} CACHE STRING "Path to zlib git repository")
set (ZLIB_BRANCH ${ZLIB_GIT_BRANCH})
set (SZIP_URL ${SZIP_GIT_URL} CACHE STRING "Path to szip git repository")
set (SZIP_BRANCH ${SZIP_GIT_BRANCH})
elseif (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
if (NOT TGZPATH)
set (TGZPATH ${HDF5_SOURCE_DIR})
endif ()
set (ZLIB_URL ${TGZPATH}/${ZLIB_TGZ_NAME})
set (SZIP_URL ${TGZPATH}/${SZIP_TGZ_NAME})
else ()
set (ZLIB_USE_EXTERNAL 0)
set (SZIP_USE_EXTERNAL 0)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Option for ZLib support
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_Z_LIB_SUPPORT "Enable Zlib Filters" OFF)
if (HDF5_ENABLE_Z_LIB_SUPPORT)
if (NOT H5_ZLIB_HEADER)
if (NOT ZLIB_USE_EXTERNAL)
find_package (ZLIB NAMES ${ZLIB_PACKAGE_NAME}${HDF_PACKAGE_EXT} COMPONENTS static shared)
if (NOT ZLIB_FOUND)
find_package (ZLIB) # Legacy find
if (ZLIB_FOUND)
set (LINK_LIBS ${LINK_LIBS} ${ZLIB_LIBRARIES})
set (LINK_SHARED_LIBS ${LINK_SHARED_LIBS} ${ZLIB_LIBRARIES})
endif ()
endif ()
endif ()
if (ZLIB_FOUND)
set (H5_HAVE_FILTER_DEFLATE 1)
set (H5_HAVE_ZLIB_H 1)
set (H5_HAVE_LIBZ 1)
set (H5_ZLIB_HEADER "zlib.h")
set (ZLIB_INCLUDE_DIR_GEN ${ZLIB_INCLUDE_DIR})
set (ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIRS} ${ZLIB_INCLUDE_DIR})
else ()
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
EXTERNAL_ZLIB_LIBRARY (${HDF5_ALLOW_EXTERNAL_SUPPORT})
set (H5_HAVE_FILTER_DEFLATE 1)
set (H5_HAVE_ZLIB_H 1)
set (H5_HAVE_LIBZ 1)
message (STATUS "Filter ZLIB is built")
else ()
message (FATAL_ERROR " ZLib is Required for ZLib support in HDF5")
endif ()
endif ()
else ()
# This project is being called from within another and ZLib is already configured
set (H5_HAVE_FILTER_DEFLATE 1)
set (H5_HAVE_ZLIB_H 1)
set (H5_HAVE_LIBZ 1)
endif ()
if (H5_HAVE_FILTER_DEFLATE)
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} DEFLATE")
endif ()
if (BUILD_SHARED_LIBS)
set (LINK_SHARED_LIBS ${LINK_SHARED_LIBS} ${ZLIB_SHARED_LIBRARY})
endif ()
set (LINK_LIBS ${LINK_LIBS} ${ZLIB_STATIC_LIBRARY})
INCLUDE_DIRECTORIES (${ZLIB_INCLUDE_DIRS})
message (STATUS "Filter ZLIB is ON")
endif ()
#-----------------------------------------------------------------------------
# Option for SzLib support
#-----------------------------------------------------------------------------
option (HDF5_ENABLE_SZIP_SUPPORT "Use SZip Filter" OFF)
if (HDF5_ENABLE_SZIP_SUPPORT)
option (HDF5_ENABLE_SZIP_ENCODING "Use SZip Encoding" OFF)
if (NOT SZIP_USE_EXTERNAL)
find_package (SZIP NAMES ${SZIP_PACKAGE_NAME}${HDF_PACKAGE_EXT} COMPONENTS static shared)
if (NOT SZIP_FOUND)
find_package (SZIP) # Legacy find
if (SZIP_FOUND)
set (LINK_LIBS ${LINK_LIBS} ${SZIP_LIBRARIES})
set (LINK_SHARED_LIBS ${LINK_SHARED_LIBS} ${SZIP_LIBRARIES})
endif ()
endif ()
endif ()
if (SZIP_FOUND)
set (H5_HAVE_FILTER_SZIP 1)
set (H5_HAVE_SZLIB_H 1)
set (H5_HAVE_LIBSZ 1)
set (SZIP_INCLUDE_DIR_GEN ${SZIP_INCLUDE_DIR})
set (SZIP_INCLUDE_DIRS ${SZIP_INCLUDE_DIRS} ${SZIP_INCLUDE_DIR})
else ()
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
EXTERNAL_SZIP_LIBRARY (${HDF5_ALLOW_EXTERNAL_SUPPORT} ${HDF5_ENABLE_SZIP_ENCODING})
set (H5_HAVE_FILTER_SZIP 1)
set (H5_HAVE_SZLIB_H 1)
set (H5_HAVE_LIBSZ 1)
message (STATUS "Filter SZIP is built")
else ()
message (FATAL_ERROR "SZIP is Required for SZIP support in HDF5")
endif ()
endif ()
if (BUILD_SHARED_LIBS)
set (LINK_SHARED_LIBS ${LINK_SHARED_LIBS} ${SZIP_SHARED_LIBRARY})
endif ()
set (LINK_LIBS ${LINK_LIBS} ${SZIP_STATIC_LIBRARY})
INCLUDE_DIRECTORIES (${SZIP_INCLUDE_DIRS})
message (STATUS "Filter SZIP is ON")
if (H5_HAVE_FILTER_SZIP)
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} DECODE")
endif ()
if (HDF5_ENABLE_SZIP_ENCODING)
set (H5_HAVE_SZIP_ENCODER 1)
set (EXTERNAL_FILTERS "${EXTERNAL_FILTERS} ENCODE")
endif ()
endif ()

646
CMakeInstallation.cmake Normal file
View File

@@ -0,0 +1,646 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
include (CMakePackageConfigHelpers)
#-----------------------------------------------------------------------------
# Check for Installation Utilities
#-----------------------------------------------------------------------------
if (WIN32)
set (PF_ENV_EXT "(x86)")
find_program (NSIS_EXECUTABLE NSIS.exe PATHS "$ENV{ProgramFiles}\\NSIS" "$ENV{ProgramFiles${PF_ENV_EXT}}\\NSIS")
if(NOT CPACK_WIX_ROOT)
file(TO_CMAKE_PATH "$ENV{WIX}" CPACK_WIX_ROOT)
endif ()
find_program (WIX_EXECUTABLE candle PATHS "${CPACK_WIX_ROOT}/bin")
endif ()
#-----------------------------------------------------------------------------
# Add file(s) to CMake Install
#-----------------------------------------------------------------------------
if (NOT HDF5_INSTALL_NO_DEVELOPMENT)
install (
FILES ${PROJECT_BINARY_DIR}/H5pubconf.h
DESTINATION ${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT headers
)
endif ()
#-----------------------------------------------------------------------------
# Add Target(s) to CMake Install for import into other projects
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
if (HDF5_EXPORTED_TARGETS)
install (
EXPORT ${HDF5_EXPORTED_TARGETS}
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
NAMESPACE ${HDF5_PACKAGE}::
COMPONENT configinstall
)
endif ()
#-----------------------------------------------------------------------------
# Export all exported targets to the build tree for use by parent project
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
export (
TARGETS ${HDF5_LIBRARIES_TO_EXPORT} ${HDF5_LIB_DEPENDENCIES} ${HDF5_UTILS_TO_EXPORT}
FILE ${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-targets.cmake
NAMESPACE ${HDF5_PACKAGE}::
)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Set includes needed for build
#-----------------------------------------------------------------------------
set (HDF5_INCLUDES_BUILD_TIME
${HDF5_SRC_DIR} ${HDF5_CPP_SRC_DIR} ${HDF5_HL_SRC_DIR}
${HDF5_TOOLS_SRC_DIR} ${HDF5_BINARY_DIR}
)
#-----------------------------------------------------------------------------
# Set variables needed for installation
#-----------------------------------------------------------------------------
set (HDF5_VERSION_STRING ${HDF5_PACKAGE_VERSION})
set (HDF5_VERSION_MAJOR ${HDF5_PACKAGE_VERSION_MAJOR})
set (HDF5_VERSION_MINOR ${HDF5_PACKAGE_VERSION_MINOR})
#-----------------------------------------------------------------------------
# Configure the hdf5-config.cmake file for the build directory
#-----------------------------------------------------------------------------
set (INCLUDE_INSTALL_DIR ${HDF5_INSTALL_INCLUDE_DIR})
set (SHARE_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_INSTALL_CMAKE_DIR}" )
set (CURRENT_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}" )
configure_package_config_file (
${HDF_RESOURCES_DIR}/hdf5-config.cmake.in
"${HDF5_BINARY_DIR}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake"
INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}"
PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR
INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}"
)
#-----------------------------------------------------------------------------
# Configure the hdf5-config.cmake file for the install directory
#-----------------------------------------------------------------------------
set (INCLUDE_INSTALL_DIR ${HDF5_INSTALL_INCLUDE_DIR})
set (SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${HDF5_INSTALL_CMAKE_DIR}" )
set (CURRENT_BUILD_DIR "${CMAKE_INSTALL_PREFIX}" )
configure_package_config_file (
${HDF_RESOURCES_DIR}/hdf5-config.cmake.in
"${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake"
INSTALL_DESTINATION "${HDF5_INSTALL_CMAKE_DIR}"
PATH_VARS INCLUDE_INSTALL_DIR SHARE_INSTALL_DIR CURRENT_BUILD_DIR
)
if (NOT HDF5_EXTERNALLY_CONFIGURED)
install (
FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config.cmake
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif ()
#-----------------------------------------------------------------------------
# Configure the hdf5-config-version .cmake file for the install directory
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
configure_file (
${HDF_RESOURCES_DIR}/hdf5-config-version.cmake.in
${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake @ONLY
)
install (
FILES ${HDF5_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/${HDF5_PACKAGE}${HDF_PACKAGE_EXT}-config-version.cmake
DESTINATION ${HDF5_INSTALL_CMAKE_DIR}
COMPONENT configinstall
)
endif ()
#-----------------------------------------------------------------------------
# Configure the libhdf5.settings file for the lib info
#-----------------------------------------------------------------------------
if (H5_WORDS_BIGENDIAN)
set (BYTESEX big-endian)
else ()
set (BYTESEX little-endian)
endif ()
configure_file (
${HDF_RESOURCES_DIR}/libhdf5.settings.cmake.in
${HDF5_BINARY_DIR}/libhdf5.settings @ONLY
)
install (
FILES ${HDF5_BINARY_DIR}/libhdf5.settings
DESTINATION ${HDF5_INSTALL_LIB_DIR}
COMPONENT libraries
)
#-----------------------------------------------------------------------------
# Create pkgconfig files
#-----------------------------------------------------------------------------
#foreach (libs ${LINK_LIBS})
# set (LIBS "${LIBS} -l${libs}")
#endforeach ()
#foreach (libs ${HDF5_LIBRARIES_TO_EXPORT})
# set (HDF5LIBS "${HDF5LIBS} -l${libs}")
#endforeach ()
#configure_file (
# ${HDF_RESOURCES_DIR}/libhdf5.pc.in
# ${HDF5_BINARY_DIR}/CMakeFiles/libhdf5.pc @ONLY
#)
#install (
# FILES ${HDF5_BINARY_DIR}/CMakeFiles/libhdf5.pc
# DESTINATION ${HDF5_INSTALL_LIB_DIR}/pkgconfig
#)
#-----------------------------------------------------------------------------
# Configure the HDF518_Examples.cmake file and the examples
#-----------------------------------------------------------------------------
option (HDF5_PACK_EXAMPLES "Package the HDF5 Library Examples Compressed File" OFF)
if (HDF5_PACK_EXAMPLES)
configure_file (
${HDF_RESOURCES_DIR}/HDF5_Examples.cmake.in
${HDF5_BINARY_DIR}/HDF5_Examples.cmake @ONLY
)
install (
FILES ${HDF5_BINARY_DIR}/HDF5_Examples.cmake
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
if (EXISTS "${HDF5_EXAMPLES_COMPRESSED_DIR}/${HDF5_EXAMPLES_COMPRESSED}")
execute_process(
COMMAND ${CMAKE_COMMAND} -E tar xzf ${HDF5_EXAMPLES_COMPRESSED_DIR}/${HDF5_EXAMPLES_COMPRESSED}
)
install (
DIRECTORY ${HDF5_BINARY_DIR}/HDF5Examples
DESTINATION ${HDF5_INSTALL_DATA_DIR}
USE_SOURCE_PERMISSIONS
COMPONENT hdfdocuments
)
endif ()
install (
FILES
${HDF5_SOURCE_DIR}/release_docs/USING_CMake_Examples.txt
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
install (
FILES
${HDF_RESOURCES_DIR}/CTestScript.cmake
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
install (
FILES
${HDF_RESOURCES_DIR}/HDF5_Examples_options.cmake
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
endif ()
#-----------------------------------------------------------------------------
# Configure the README.txt file for the binary package
#-----------------------------------------------------------------------------
HDF_README_PROPERTIES(HDF5_BUILD_FORTRAN)
#-----------------------------------------------------------------------------
# Configure the COPYING.txt file for the windows binary package
#-----------------------------------------------------------------------------
if (WIN32)
configure_file (${HDF5_SOURCE_DIR}/COPYING ${HDF5_BINARY_DIR}/COPYING.txt @ONLY)
endif ()
#-----------------------------------------------------------------------------
# Add Document File(s) to CMake Install
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED)
install (
FILES
${HDF5_SOURCE_DIR}/COPYING
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
if (EXISTS "${HDF5_SOURCE_DIR}/release_docs" AND IS_DIRECTORY "${HDF5_SOURCE_DIR}/release_docs")
set (release_files
${HDF5_SOURCE_DIR}/release_docs/USING_HDF5_CMake.txt
${HDF5_SOURCE_DIR}/release_docs/COPYING
${HDF5_SOURCE_DIR}/release_docs/RELEASE.txt
)
if (WIN32)
set (release_files
${release_files}
${HDF5_SOURCE_DIR}/release_docs/USING_HDF5_VS.txt
)
endif ()
if (HDF5_PACK_INSTALL_DOCS)
set (release_files
${release_files}
${HDF5_SOURCE_DIR}/release_docs/INSTALL_CMake.txt
${HDF5_SOURCE_DIR}/release_docs/HISTORY-1_8.txt
${HDF5_SOURCE_DIR}/release_docs/INSTALL
)
if (WIN32)
set (release_files
${release_files}
${HDF5_SOURCE_DIR}/release_docs/INSTALL_Windows.txt
)
endif ()
if (CYGWIN)
set (release_files
${release_files}
${HDF5_SOURCE_DIR}/release_docs/INSTALL_Cygwin.txt
)
endif ()
if (HDF5_ENABLE_PARALLEL)
set (release_files
${release_files}
${HDF5_SOURCE_DIR}/release_docs/INSTALL_parallel
)
endif ()
endif ()
install (
FILES ${release_files}
DESTINATION ${HDF5_INSTALL_DATA_DIR}
COMPONENT hdfdocuments
)
endif ()
endif ()
if (CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
if (CMAKE_HOST_UNIX)
set (CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}/HDF_Group/${HDF5_PACKAGE_NAME}/${HDF5_PACKAGE_VERSION}"
CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
else ()
GetDefaultWindowsPrefixBase(CMAKE_GENERIC_PROGRAM_FILES)
set (CMAKE_INSTALL_PREFIX
"${CMAKE_GENERIC_PROGRAM_FILES}/HDF_Group/${HDF5_PACKAGE_NAME}/${HDF5_PACKAGE_VERSION}"
CACHE PATH "Install path prefix, prepended onto install directories." FORCE)
set (CMAKE_GENERIC_PROGRAM_FILES)
endif ()
endif ()
#-----------------------------------------------------------------------------
# Set the cpack variables
#-----------------------------------------------------------------------------
if (NOT HDF5_EXTERNALLY_CONFIGURED AND NOT HDF5_NO_PACKAGES)
set (CPACK_PACKAGE_VENDOR "HDF_Group")
set (CPACK_PACKAGE_NAME "${HDF5_PACKAGE_NAME}")
if (CDASH_LOCAL)
set (CPACK_PACKAGE_VERSION "${HDF5_PACKAGE_VERSION}")
else ()
set (CPACK_PACKAGE_VERSION "${HDF5_PACKAGE_VERSION_STRING}")
endif ()
set (CPACK_PACKAGE_VERSION_MAJOR "${HDF5_PACKAGE_VERSION_MAJOR}")
set (CPACK_PACKAGE_VERSION_MINOR "${HDF5_PACKAGE_VERSION_MINOR}")
set (CPACK_PACKAGE_VERSION_PATCH "")
if (EXISTS "${HDF5_SOURCE_DIR}/release_docs")
set (CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/RELEASE.txt")
set (CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/COPYING")
set (CPACK_RESOURCE_FILE_README "${CMAKE_CURRENT_SOURCE_DIR}/release_docs/RELEASE.txt")
endif ()
set (CPACK_PACKAGE_RELOCATABLE TRUE)
if (OVERRIDE_INSTALL_VERSION)
set (CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_VENDOR}/${CPACK_PACKAGE_NAME}/${OVERRIDE_INSTALL_VERSION}")
else ()
set (CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_VENDOR}/${CPACK_PACKAGE_NAME}/${CPACK_PACKAGE_VERSION}")
endif ()
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_EXT_DIR}/hdf.bmp")
set (CPACK_GENERATOR "TGZ")
if (WIN32)
set (CPACK_GENERATOR "ZIP")
if (NSIS_EXECUTABLE)
list (APPEND CPACK_GENERATOR "NSIS")
endif ()
# Installers for 32- vs. 64-bit CMake:
# - Root install directory (displayed to end user at installer-run time)
# - "NSIS package/display name" (text used in the installer GUI)
# - Registry key used to store info about the installation
set (CPACK_NSIS_PACKAGE_NAME "${HDF5_PACKAGE_STRING}")
if (CMAKE_CL_64)
set (CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64")
set (CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION} (Win64)")
else ()
set (CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
set (CPACK_PACKAGE_INSTALL_REGISTRY_KEY "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
endif ()
# set the install/unistall icon used for the installer itself
# There is a bug in NSI that does not handle full unix paths properly.
set (CPACK_NSIS_MUI_ICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.ico")
set (CPACK_NSIS_MUI_UNIICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.ico")
# set the package header icon for MUI
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.bmp")
set (CPACK_NSIS_DISPLAY_NAME "${CPACK_NSIS_PACKAGE_NAME}")
if (OVERRIDE_INSTALL_VERSION)
set (CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_VENDOR}\\\\${CPACK_PACKAGE_NAME}\\\\${OVERRIDE_INSTALL_VERSION}")
else ()
set (CPACK_PACKAGE_INSTALL_DIRECTORY "${CPACK_PACKAGE_VENDOR}\\\\${CPACK_PACKAGE_NAME}\\\\${CPACK_PACKAGE_VERSION}")
endif ()
set (CPACK_NSIS_CONTACT "${HDF5_PACKAGE_BUGREPORT}")
set (CPACK_NSIS_MODIFY_PATH ON)
if (WIX_EXECUTABLE)
list (APPEND CPACK_GENERATOR "WIX")
endif ()
#WiX variables
set (CPACK_WIX_UNINSTALL "1")
# .. variable:: CPACK_WIX_LICENSE_RTF
# RTF License File
#
# If CPACK_RESOURCE_FILE_LICENSE has an .rtf extension it is used as-is.
#
# If CPACK_RESOURCE_FILE_LICENSE has an .txt extension it is implicitly
# converted to RTF by the WiX Generator.
# The expected encoding of the .txt file is UTF-8.
#
# With CPACK_WIX_LICENSE_RTF you can override the license file used by the
# WiX Generator in case CPACK_RESOURCE_FILE_LICENSE is in an unsupported
# format or the .txt -> .rtf conversion does not work as expected.
set (CPACK_RESOURCE_FILE_LICENSE "${HDF5_BINARY_DIR}/COPYING.txt")
# .. variable:: CPACK_WIX_PRODUCT_ICON
# The Icon shown next to the program name in Add/Remove programs.
set(CPACK_WIX_PRODUCT_ICON "${HDF_RESOURCES_EXT_DIR}\\\\hdf.ico")
#
# .. variable:: CPACK_WIX_UI_BANNER
#
# The bitmap will appear at the top of all installer pages other than the
# welcome and completion dialogs.
#
# If set, this image will replace the default banner image.
#
# This image must be 493 by 58 pixels.
#
# .. variable:: CPACK_WIX_UI_DIALOG
#
# Background bitmap used on the welcome and completion dialogs.
#
# If this variable is set, the installer will replace the default dialog
# image.
#
# This image must be 493 by 312 pixels.
#
set(CPACK_WIX_PROPERTY_ARPCOMMENTS "HDF5 (Hierarchical Data Format 5) Software Library and Utilities")
set(CPACK_WIX_PROPERTY_ARPURLINFOABOUT "${HDF5_PACKAGE_URL}")
set(CPACK_WIX_PROPERTY_ARPHELPLINK "${HDF5_PACKAGE_BUGREPORT}")
if (BUILD_SHARED_LIBS)
set(CPACK_WIX_PATCH_FILE "${HDF_RESOURCES_DIR}/patch.xml")
endif ()
elseif (APPLE)
list (APPEND CPACK_GENERATOR "STGZ")
list (APPEND CPACK_GENERATOR "DragNDrop")
set (CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE ON)
set (CPACK_PACKAGING_INSTALL_PREFIX "/${CPACK_PACKAGE_INSTALL_DIRECTORY}")
set (CPACK_PACKAGE_ICON "${HDF_RESOURCES_EXT_DIR}/hdf.icns")
option (HDF5_PACK_MACOSX_FRAMEWORK "Package the HDF5 Library in a Frameworks" OFF)
if (HDF5_PACK_MACOSX_FRAMEWORK AND HDF5_BUILD_FRAMEWORKS)
set (CPACK_BUNDLE_NAME "${HDF5_PACKAGE_STRING}")
set (CPACK_BUNDLE_LOCATION "/") # make sure CMAKE_INSTALL_PREFIX ends in /
set (CMAKE_INSTALL_PREFIX "/${CPACK_BUNDLE_NAME}.framework/Versions/${CPACK_PACKAGE_VERSION}/${CPACK_PACKAGE_NAME}/")
set (CPACK_BUNDLE_ICON "${HDF_RESOURCES_EXT_DIR}/hdf.icns")
set (CPACK_BUNDLE_PLIST "${HDF5_BINARY_DIR}/CMakeFiles/Info.plist")
set (CPACK_SHORT_VERSION_STRING "${CPACK_PACKAGE_VERSION}")
#-----------------------------------------------------------------------------
# Configure the Info.plist file for the install bundle
#-----------------------------------------------------------------------------
configure_file (
${HDF_RESOURCES_DIR}/CPack.Info.plist.in
${HDF5_BINARY_DIR}/CMakeFiles/Info.plist @ONLY
)
configure_file (
${HDF_RESOURCES_DIR}/PkgInfo.in
${HDF5_BINARY_DIR}/CMakeFiles/PkgInfo @ONLY
)
configure_file (
${HDF_RESOURCES_EXT_DIR}/version.plist.in
${HDF5_BINARY_DIR}/CMakeFiles/version.plist @ONLY
)
install (
FILES ${HDF5_BINARY_DIR}/CMakeFiles/PkgInfo
DESTINATION ..
)
endif ()
else ()
list (APPEND CPACK_GENERATOR "STGZ")
set (CPACK_PACKAGING_INSTALL_PREFIX "/${CPACK_PACKAGE_INSTALL_DIRECTORY}")
set (CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE ON)
set (CPACK_DEBIAN_PACKAGE_SECTION "Libraries")
set (CPACK_DEBIAN_PACKAGE_MAINTAINER "${HDF5_PACKAGE_BUGREPORT}")
# list (APPEND CPACK_GENERATOR "RPM")
set (CPACK_RPM_PACKAGE_RELEASE "1")
set (CPACK_RPM_COMPONENT_INSTALL ON)
set (CPACK_RPM_PACKAGE_RELOCATABLE ON)
set (CPACK_RPM_PACKAGE_LICENSE "BSD-style")
set (CPACK_RPM_PACKAGE_GROUP "Development/Libraries")
set (CPACK_RPM_PACKAGE_URL "${HDF5_PACKAGE_URL}")
set (CPACK_RPM_PACKAGE_SUMMARY "HDF5 is a unique technology suite that makes possible the management of extremely large and complex data collections.")
set (CPACK_RPM_PACKAGE_DESCRIPTION
"The HDF5 technology suite includes:
* A versatile data model that can represent very complex data objects and a wide variety of metadata.
* A completely portable file format with no limit on the number or size of data objects in the collection.
* A software library that runs on a range of computational platforms, from laptops to massively parallel systems, and implements a high-level API with C, C++, Fortran 90, and Java interfaces.
* A rich set of integrated performance features that allow for access time and storage space optimizations.
* Tools and applications for managing, manipulating, viewing, and analyzing the data in the collection.
The HDF5 data model, file format, API, library, and tools are open and distributed without charge.
"
)
#-----------------------------------------------------------------------------
# Configure the spec file for the install RPM
#-----------------------------------------------------------------------------
# configure_file ("${HDF5_RESOURCES_DIR}/hdf5.spec.in" "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_PACKAGE_NAME}.spec" @ONLY IMMEDIATE)
# set (CPACK_RPM_USER_BINARY_SPECFILE "${CMAKE_CURRENT_BINARY_DIR}/${HDF5_PACKAGE_NAME}.spec")
endif ()
# By default, do not warn when built on machines using only VS Express:
if (NOT DEFINED CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS)
set (CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_NO_WARNINGS ON)
endif ()
include (InstallRequiredSystemLibraries)
set (CPACK_INSTALL_CMAKE_PROJECTS "${HDF5_BINARY_DIR};HDF5;ALL;/")
if (HDF5_PACKAGE_EXTLIBS)
if (HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "GIT" OR HDF5_ALLOW_EXTERNAL_SUPPORT MATCHES "TGZ")
if (ZLIB_FOUND AND ZLIB_USE_EXTERNAL)
if (WIN32)
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ZLIB_INCLUDE_DIR_GEN};ZLIB;ALL;/")
else ()
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ZLIB_INCLUDE_DIR_GEN};ZLIB;libraries;/")
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ZLIB_INCLUDE_DIR_GEN};ZLIB;headers;/")
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${ZLIB_INCLUDE_DIR_GEN};ZLIB;configinstall;/")
endif ()
endif ()
if (SZIP_FOUND AND SZIP_USE_EXTERNAL)
if (WIN32)
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${SZIP_INCLUDE_DIR_GEN};SZIP;ALL;/")
else ()
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${SZIP_INCLUDE_DIR_GEN};SZIP;libraries;/")
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${SZIP_INCLUDE_DIR_GEN};SZIP;headers;/")
set (CPACK_INSTALL_CMAKE_PROJECTS "${CPACK_INSTALL_CMAKE_PROJECTS};${SZIP_INCLUDE_DIR_GEN};SZIP;configinstall;/")
endif ()
endif ()
endif ()
endif ()
include (CPack)
cpack_add_install_type(Full DISPLAY_NAME "Everything")
cpack_add_install_type(Developer)
cpack_add_component_group(Runtime)
cpack_add_component_group(Documents
EXPANDED
DESCRIPTION "Release notes for developing HDF5 applications"
)
cpack_add_component_group(Development
EXPANDED
DESCRIPTION "All of the tools you'll need to develop HDF5 applications"
)
cpack_add_component_group(Applications
EXPANDED
DESCRIPTION "Tools for HDF5 files"
)
#---------------------------------------------------------------------------
# Now list the cpack commands
#---------------------------------------------------------------------------
cpack_add_component (libraries
DISPLAY_NAME "HDF5 Libraries"
GROUP Runtime
INSTALL_TYPES Full Developer User
)
cpack_add_component (headers
DISPLAY_NAME "HDF5 Headers"
DEPENDS libraries
GROUP Development
INSTALL_TYPES Full Developer
)
cpack_add_component (hdfdocuments
DISPLAY_NAME "HDF5 Documents"
GROUP Documents
INSTALL_TYPES Full Developer
)
cpack_add_component (configinstall
DISPLAY_NAME "HDF5 CMake files"
HIDDEN
DEPENDS libraries
GROUP Development
INSTALL_TYPES Full Developer User
)
if (HDF5_BUILD_FORTRAN)
cpack_add_component (fortlibraries
DISPLAY_NAME "HDF5 Fortran Libraries"
DEPENDS libraries
GROUP Runtime
INSTALL_TYPES Full Developer User
)
cpack_add_component (fortheaders
DISPLAY_NAME "HDF5 Fortran Headers"
DEPENDS fortlibraries
GROUP Development
INSTALL_TYPES Full Developer
)
endif ()
if (HDF5_BUILD_CPP_LIB)
cpack_add_component (cpplibraries
DISPLAY_NAME "HDF5 C++ Libraries"
DEPENDS libraries
GROUP Runtime
INSTALL_TYPES Full Developer User
)
cpack_add_component (cppheaders
DISPLAY_NAME "HDF5 C++ Headers"
DEPENDS cpplibraries
GROUP Development
INSTALL_TYPES Full Developer
)
endif ()
if (HDF5_BUILD_TOOLS)
cpack_add_component (toolsapplications
DISPLAY_NAME "HDF5 Tools Applications"
DEPENDS toolslibraries
GROUP Applications
INSTALL_TYPES Full Developer User
)
cpack_add_component (toolslibraries
DISPLAY_NAME "HDF5 Tools Libraries"
DEPENDS libraries
GROUP Runtime
INSTALL_TYPES Full Developer User
)
cpack_add_component (toolsheaders
DISPLAY_NAME "HDF5 Tools Headers"
DEPENDS toolslibraries
GROUP Development
INSTALL_TYPES Full Developer
)
endif ()
if (HDF5_BUILD_HL_LIB)
cpack_add_component (hllibraries
DISPLAY_NAME "HDF5 HL Libraries"
DEPENDS libraries
GROUP Runtime
INSTALL_TYPES Full Developer User
)
cpack_add_component (hlheaders
DISPLAY_NAME "HDF5 HL Headers"
DEPENDS hllibraries
GROUP Development
INSTALL_TYPES Full Developer
)
cpack_add_component (hltoolsapplications
DISPLAY_NAME "HDF5 HL Tools Applications"
DEPENDS hllibraries
GROUP Applications
INSTALL_TYPES Full Developer User
)
if (HDF5_BUILD_CPP_LIB)
cpack_add_component (hlcpplibraries
DISPLAY_NAME "HDF5 HL C++ Libraries"
DEPENDS hllibraries
GROUP Runtime
INSTALL_TYPES Full Developer User
)
cpack_add_component (hlcppheaders
DISPLAY_NAME "HDF5 HL C++ Headers"
DEPENDS hlcpplibraries
GROUP Development
INSTALL_TYPES Full Developer
)
endif ()
if (HDF5_BUILD_FORTRAN)
cpack_add_component (hlfortlibraries
DISPLAY_NAME "HDF5 HL Fortran Libraries"
DEPENDS fortlibraries
GROUP Runtime
INSTALL_TYPES Full Developer User
)
endif ()
endif ()
endif ()

File diff suppressed because it is too large Load Diff

21
COPYING
View File

@@ -1,13 +1,12 @@
Copyright Notice and License Terms for
HDF5 (Hierarchical Data Format 5) Software Library and Utilities
-----------------------------------------------------------------------------
HDF5 (Hierarchical Data Format 5) Software Library and Utilities
Copyright 2006-2012 by The HDF Group.
Copyright (c) 2006, The HDF Group.
NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities
Copyright 1998-2006 by the Board of Trustees of the University of Illinois.
Copyright (c) 1998-2006, The Board of Trustees of the University of Illinois.
All rights reserved.
@@ -47,13 +46,21 @@ advised of the possibility of such damage.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Limited portions of HDF5 were developed by Lawrence Berkeley National
Laboratory (LBNL). LBNL's Copyright Notice and Licensing Terms can be
found here: COPYING_LBNL_HDF5 file in this directory or at
http://support.hdfgroup.org/ftp/HDF5/releases/COPYING_LBNL_HDF5.
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
Contributors: National Center for Supercomputing Applications (NCSA) at
the University of Illinois, Fortner Software, Unidata Program Center (netCDF),
The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip),
and Digital Equipment Corporation (DEC).
-----------------------------------------------------------------------------
Portions of HDF5 were developed with support from the Lawrence Berkeley
National Laboratory (LBNL) and the United States Department of Energy
under Prime Contract No. DE-AC02-05CH11231.
@@ -87,6 +94,12 @@ and/or accompanying materials:
opinions of authors expressed herein do not necessarily state or reflect
those of the United States Government or the University of California,
and shall not be used for advertising or product endorsement purposes.
-----------------------------------------------------------------------------
HDF5 is available with the SZIP compression library but SZIP is not part
of HDF5 and has separate copyright and license terms. See “Szip Compression
in HDF Products” (www.hdfgroup.org/doc_resource/SZIP/) for further details.
-----------------------------------------------------------------------------

49
COPYING_LBNL_HDF5 Normal file
View File

@@ -0,0 +1,49 @@
Copyright Notice and License Terms for
HDF5 (Hierarchical Data Format 5) Software Library and Utilities
-----------------------------------------------------------------------------
HDF5 (Hierarchical Data Format 5)
Copyright (c) 2016, The Regents of the University of California, through
Lawrence Berkeley National Laboratory (subject to receipt of any required
approvals from the U.S. Dept. of Energy).
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions, and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions, and the following disclaimer in the documentation
and/or materials provided with the distribution.
3. Neither the name of the University of California, Lawrence Berkeley
National Laboratory, U.S. Dept. of Energy nor the names of its contributors
may be used to endorse or promote products derived from this software without
specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
You are under no obligation whatsoever to provide any bug fixes, patches,
or upgrades to the features, functionality or performance of the source
code ("Enhancements") to anyone; however, if you choose to make your
Enhancements available either publicly, or directly to Lawrence Berkeley
National Laboratory, without imposing a separate written license agreement
for such Enhancements, then you hereby grant the following license:
a non-exclusive, royalty-free perpetual license to install, use, modify,
prepare derivative works, incorporate into other computer software,
distribute, and sublicense such enhancements or derivative works thereof,
in binary and source code form.

View File

@@ -1,29 +1,42 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
## This file should be placed in the root directory of your project.
## Then modify the CMakeLists.txt file in the root directory of your
## project to incorporate the testing dashboard.
## # The following are required to uses Dart and the Cdash dashboard
## ENABLE_TESTING()
## INCLUDE(CTest)
SET (CTEST_PROJECT_NAME "HDF5")
SET (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
set (CTEST_PROJECT_NAME "HDF5")
set (CTEST_NIGHTLY_START_TIME "18:00:00 CST")
SET (CTEST_DROP_METHOD "http")
IF (CDASH_LOCAL)
SET (CTEST_DROP_SITE "nei.hdfgroup.uiuc.edu")
SET (CTEST_DROP_LOCATION "/cdash/submit.php?project=HDF5+Trunk")
ELSE (CDASH_LOCAL)
SET (CTEST_DROP_SITE "cdash.hdfgroup.uiuc.edu")
SET (CTEST_DROP_LOCATION "/submit.php?project=HDF5+Trunk")
ENDIF (CDASH_LOCAL)
SET (CTEST_DROP_SITE_CDASH TRUE)
set (CTEST_DROP_METHOD "http")
if (CDASH_LOCAL)
set (CTEST_DROP_SITE "cdash-internal.hdfgroup.org")
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5Trunk")
else ()
set (CTEST_DROP_SITE "cdash.hdfgroup.org")
set (CTEST_DROP_LOCATION "/submit.php?project=HDF5+Trunk")
endif ()
set (CTEST_DROP_SITE_CDASH TRUE)
SET (UPDATE_TYPE svn)
SET (VALGRIND_COMMAND "/usr/bin/valgrind")
SET (VALGRIND_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
set (UPDATE_TYPE git)
set (VALGRIND_COMMAND "/usr/bin/valgrind")
set (VALGRIND_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
set (CTEST_MEMORYCHECK_COMMAND "/usr/bin/valgrind")
set (CTEST_MEMORYCHECK_COMMAND_OPTIONS "-v --tool=memcheck --leak-check=full --track-fds=yes --num-callers=50 --show-reachable=yes --track-origins=yes --malloc-fill=0xff --free-fill=0xfe")
SET (CTEST_TEST_TIMEOUT 3600 CACHE STRING
"Maximum time allowed before CTest will kill the test.")
SET (DART_TESTING_TIMEOUT 3600 CACHE STRING
set (CTEST_TEST_TIMEOUT 600 CACHE STRING
"Maximum time allowed before CTest will kill the test.")
set (DART_TESTING_TIMEOUT 600 CACHE STRING
"Maximum time allowed before CTest will kill the test." FORCE)
SET(CTEST_SUBMIT_RETRY_DELAY 20 CACHE STRING

3287
MANIFEST

File diff suppressed because it is too large Load Diff

View File

@@ -5,12 +5,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.
@@ -66,6 +64,11 @@ if BUILD_FORTRAN_CONDITIONAL
else
FORTRAN_DIR=
endif
if BUILD_JAVA_CONDITIONAL
JAVA_DIR=java
else
JAVA_DIR=
endif
if BUILD_HDF5_HL_CONDITIONAL
HDF5_HL_DIR =hl
else
@@ -73,8 +76,8 @@ else
endif
SUBDIRS = src test $(TESTPARALLEL_DIR) tools . $(CXX_DIR) $(FORTRAN_DIR) \
$(HDF5_HL_DIR) perform
DIST_SUBDIRS = src test testpar tools . c++ fortran hl perform examples
$(JAVA_DIR) $(HDF5_HL_DIR)
DIST_SUBDIRS = src test testpar tools . c++ fortran hl examples java
# Some files generated during configure that should be cleaned
DISTCLEANFILES=config/stamp1 config/stamp2
@@ -87,31 +90,23 @@ CHECK_CLEANFILES+=*-tmp
test _test: check
lib progs check-p check-s:
@@SETX@; for d in $(SUBDIRS); do \
for d in $(SUBDIRS); do \
if test $$d != .; then \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# Make all, tests, and (un)install also recurse into perform directory
all-local:
@cd perform && $(MAKE) $(AM_MAKEFLAGS) all
# Make all, tests, and (un)install
tests:
@@SETX@; for d in $(SUBDIRS) perform; do \
for d in $(SUBDIRS); do \
if test $$d != .; then \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
install-exec-local:
@cd perform && $(MAKE) $(AM_MAKEFLAGS) install
uninstall-local:
@cd perform && $(MAKE) $(AM_MAKEFLAGS) uninstall
done
# Check-clean also recurses into examples directory
check-clean:
@@SETX@; for d in $(SUBDIRS) examples perform; do \
for d in $(SUBDIRS) examples; do \
if test $$d != .; then \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
@@ -138,7 +133,7 @@ uninstall-all:
# Install examples in this directory and recursively
install-examples uninstall-examples:
@@SETX@; for d in examples $(HDF5_INTERFACES) $(HL); do \
for d in examples $(HDF5_INTERFACES) $(HL); do \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
done
@@ -185,7 +180,7 @@ trace:
# Run tests with different Virtual File Drivers.
# Currently, only invoke check-vfd in the test directory.
check-vfd:
@@SETX@; for d in src test; do \
for d in src test; do \
if test $$d != .; then \
(cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
@@ -201,4 +196,4 @@ check-vfd:
$(top_builddir)/config.status:
# Don't include conclude.am in root Makefile; tests target needs to
# recurse into perform directory as well as reguar subdirs.
# recurse into reguar subdirs.

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
# This Makefile is a stub (copied from Makefile.dist) which will run
# configure and then invoke the same target in the new Makefile created

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
HDF5 version 1.9.114 currently under development
HDF5 version 1.11.0 currently under development
Please refer to the release_docs/INSTALL file for installation instructions.
------------------------------------------------------------------------------
@@ -8,7 +8,7 @@ specific to this release of the library. Several INSTALL* files can also be
found in the release_docs/ directory: INSTALL contains instructions for
compiling and installing the library; INSTALL_parallel contains instructions
for installing the parallel version of the library; similarly-named files
contain instructions for VMS and several environments on MS Windows systems.
contain instructions for several environments on MS Windows systems.
Documentation for this release can be found at the following URL:
http://www.hdfgroup.org/HDF5/doc/.
@@ -21,20 +21,17 @@ The following mailing lists are currently set up for HDF5 Library users:
hdf-forum - For general discussion of the HDF5 library with
other users.
hdf5dev - For discussion of the HDF5 library development
with developers and other interested parties.
To subscribe to a list, send mail to "<list>-subscribe@hdfgroup.org".
To subscribe to a list, send mail to "<list>-subscribe@lists.hdfgroup.org".
where <list> is the name of the list. For example, send a request
to subscribe to the 'news' mail list to the following address:
news-subscribe@hdfgroup.org
news-subscribe@lists.hdfgroup.org
Messages to be sent to the list should be sent to "<list>@hdfgroup.org".
Messages sent to the list should be addressed to "<list>@lists.hdfgroup.org".
Periodic code snapshots are provided at the following URL:
ftp://ftp.hdfgroup.uiuc.edu/pub/outgoing/hdf5/snapshots
Please read the README.txt file in that directory before working with a library
snapshot.
Please read the README.txt file in that directory before working with a
library snapshot.
The HDF5 website is located at http://hdfgroup.org/HDF5/

32
UserMacros.cmake Normal file
View File

@@ -0,0 +1,32 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
########################################################
# Include file for user options
########################################################
#-----------------------------------------------------------------------------
#------------------- E X A M P L E B E G I N--------------------------------
#-----------------------------------------------------------------------------
# Option to Build with User Defined Values
#-----------------------------------------------------------------------------
macro (MACRO_USER_DEFINED_LIBS)
set (USER_DEFINED_VALUE "FALSE")
endmacro ()
#-------------------------------------------------------------------------------
option (BUILD_USER_DEFINED_LIBS "Build With User Defined Values" OFF)
if (BUILD_USER_DEFINED_LIBS)
MACRO_USER_DEFINED_LIBS ()
endif ()
#-----------------------------------------------------------------------------
#------------------- E X A M P L E E N D -----------------------------------
#-----------------------------------------------------------------------------

9457
aclocal.m4 vendored

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +1,16 @@
dnl -------------------------------------------------------------------------
dnl -------------------------------------------------------------------------
dnl
dnl Copyright by The HDF Group.
dnl Copyright by the Board of Trustees of the University of Illinois.
dnl All rights reserved.
dnl
dnl This file is part of HDF5. The full HDF5 copyright notice, including
dnl terms governing use, modification, and redistribution, is contained in
dnl the files COPYING and Copyright.html. COPYING can be found at the root
dnl of the source code distribution tree; Copyright.html can be found at the
dnl root level of an installed copy of the electronic HDF5 document set and
dnl is linked from the top-level documents page. It can also be found at
dnl http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
dnl access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
dnl the COPYING file, which can be found at the root of the source code
dnl dnl distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
dnl dnl If you do not have access to either file, you may request a copy from
dnl dnl help@hdfgroup.org.
dnl
dnl Macros for HDF5 Fortran
dnl
@@ -53,87 +52,3 @@ esac
rm -rf conftest*[]dnl
])# _AC_SYS_LARGEFILE_MACRO_VALUE
dnl -------------------------------------------------------------------------
dnl AC_F9X_MODS()
dnl
dnl Check how F9X handles modules. This macro also checks which
dnl command-line option to use to include the module once it's built.
dnl
AC_DEFUN(AC_F9X_MODS,
[AC_MSG_CHECKING(what $FC does with modules)
AC_LANG_PUSH(Fortran)
test -d conftestdir || mkdir conftestdir
cd conftestdir
rm -rf *
cat >conftest.$ac_ext <<EOF
module module
integer foo
end module module
EOF
eval $ac_compile
modfiles=""
F9XMODEXT=""
for f in conftest.o module.mod MODULE.mod module.M MODULE.M; do
if test -f "$f" ; then
modfiles="$f"
case "$f" in
*.o) F9XMODEXT="o" ;;
*.mod) F9XMODEXT="mod" ;;
*.M) F9XMODEXT="M" ;;
esac
fi
done
echo $modfiles 6>&1
if test "$modfiles" = file.o; then
echo $ac_n "checking whether $FC -em is saner""... $ac_c" 1>&6
OLD_FCFLAGS=$FCFLAGS
FCFLAGS="$FCFLAGS -em"
eval $ac_compile
modfiles=""
for f in file.o module.mod MODULE.mod module.M MODULE.M; do
test -f $f && modfiles="$f"
done
if test "$modfiles" = "file.o"; then
FCFLAGS=$OLD_FCFLAGS
echo no 6>&1
else
echo yes 6>&1
fi
fi
cd ..
AC_MSG_CHECKING(how $FC finds modules)
for flag in "-I" "-M" "-p"; do
cat >conftest.$ac_ext <<EOF
program conftest
use module
end program conftest
EOF
ac_compile='${FC-f90} $FCFLAGS ${flag}conftestdir -c conftest.$ac_ext 1>&AS_MESSAGE_LOG_FD'
if AC_TRY_EVAL(ac_compile); then
F9XMODFLAG=$flag
break
fi
done
if test -n "$F9XMODFLAG"; then
echo $F9XMODFLAG 1>&6
FCFLAGS="$F9XMODFLAG. $FCFLAGS"
else
echo unknown 1>&6
fi
AC_SUBST(F9XMODFLAG)
AC_SUBST(F9XMODEXT)
rm -rf conftest*
AC_LANG_POP(Fortran)
])

305
autogen.sh Executable file
View File

@@ -0,0 +1,305 @@
#!/bin/sh
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# A script to reconfigure autotools for HDF5, and to recreate other
# generated files specifc to HDF5.
#
# IMPORTANT OS X NOTE
#
# If you are using OS X, you will probably not have the autotools
# installed, even if you have the Xcode command-line tools.
#
# The easiest way to fix this is to install everything via Homebrew:
#
# http://brew.sh/
#
# After you install the base packages, install autoconf, automake,
# and libtool.
#
# brew install autoconf
# brew install automake
# brew install libtool
#
# This only takes a few minutes. Note that libtool and libtoolize will
# be glibtool and glibtoolize so as not to conflict with Apple's non-gnu
# tools. This autogen.sh script handles this for you.
#
# END IMPORTANT OS X NOTE
#
# If you want to use a particular version of the autotools, the paths
# to each tool can be overridden using the following environment
# variables:
#
# HDF5_ACLOCAL
# HDF5_AUTOHEADER
# HDF5_AUTOMAKE
# HDF5_AUTOCONF
# HDF5_LIBTOOL
# HDF5_M4
#
# Note that aclocal will attempt to include libtool's share/aclocal
# directory.
#
# This script takes two potential options:
#
# -p
#
# When this is selected, the autotools versions are set to the paths
# and versions used by The HDF Group to produce the released versions
# of the library.
#
# NOTE: This is probably temporary. Once we update our dev machines
# to have recent versions of the autotools this option will probably
# be removed.
#
# -v
#
# This emits some extra information, mainly tool versions.
echo
echo "**************************"
echo "* HDF5 autogen.sh script *"
echo "**************************"
echo
# Default is not production
production=false
# Default is not verbose output
verbose=false
optspec=":hpv-"
while getopts "$optspec" optchar; do
case "${optchar}" in
h)
echo "usage: $0 [OPTIONS]"
echo
echo " -h Print this help message."
echo
echo " -p Used by THG to use hard-codes autotools"
echo " paths on THG machines. Not for non-HDF-Group"
echo " users!"
echo
echo " -v Show more verbose output."
echo
echo " NOTE: Each tool can be set via an environment variable."
echo " These are documented inside this autogen.sh script."
echo
exit 0
;;
p)
echo "Setting THG production mode..."
echo
production=true
;;
v)
echo "Setting verbosity: high"
echo
verbose=true
;;
*)
if [ "$OPTERR" != 1 ] || case $optspec in :*) ;; *) false; esac; then
echo "ERROR: non-option argument: '-${OPTARG}'" >&2
echo "Quitting"
exit 1
fi
;;
esac
done
if [ "$production" = true ] ; then
# Production mode
#
# Hard-code canonical HDF Group tool locations.
# If paths to tools are not specified, assume they are
# located in /usr/hdf/bin/AUTOTOOLS and set paths accordingly.
if test -z ${HDF5_AUTOCONF}; then
HDF5_AUTOCONF=/usr/hdf/bin/AUTOTOOLS/autoconf
fi
if test -z ${HDF5_AUTOMAKE}; then
HDF5_AUTOMAKE=/usr/hdf/bin/AUTOTOOLS/automake
fi
if test -z ${HDF5_AUTOHEADER}; then
HDF5_AUTOHEADER=/usr/hdf/bin/AUTOTOOLS/autoheader
fi
if test -z ${HDF5_ACLOCAL}; then
HDF5_ACLOCAL=/usr/hdf/bin/AUTOTOOLS/aclocal
fi
if test -z ${HDF5_LIBTOOL}; then
HDF5_LIBTOOL=/usr/hdf/bin/AUTOTOOLS/libtool
fi
if test -z ${HDF5_M4}; then
HDF5_M4=/usr/hdf/bin/AUTOTOOLS/m4
fi
else
# Not in production mode
#
# If paths to autotools are not specified, use whatever the system
# has installed as the default. We use 'which <tool>' to
# show exactly what's being used.
if test -z ${HDF5_AUTOCONF}; then
HDF5_AUTOCONF=$(which autoconf)
fi
if test -z ${HDF5_AUTOMAKE}; then
HDF5_AUTOMAKE=$(which automake)
fi
if test -z ${HDF5_AUTOHEADER}; then
HDF5_AUTOHEADER=$(which autoheader)
fi
if test -z ${HDF5_ACLOCAL}; then
HDF5_ACLOCAL=$(which aclocal)
fi
if test -z ${HDF5_LIBTOOL}; then
case "`uname`" in
Darwin*)
# libtool on OS-X is non-gnu
HDF5_LIBTOOL=$(which glibtool)
;;
*)
HDF5_LIBTOOL=$(which libtool)
;;
esac
fi
if test -z ${HDF5_M4}; then
HDF5_M4=$(which m4)
fi
fi # production
# Make sure that these versions of the autotools are in the path
AUTOCONF_DIR=`dirname ${HDF5_AUTOCONF}`
LIBTOOL_DIR=`dirname ${HDF5_LIBTOOL}`
M4_DIR=`dirname ${HDF5_M4}`
PATH=${AUTOCONF_DIR}:${LIBTOOL_DIR}:${M4_DIR}:$PATH
# Make libtoolize match the specified libtool
case "`uname`" in
Darwin*)
# On OS X, libtoolize could be named glibtoolize or
# libtoolize. Try the former first, then fall back
# to the latter if it's not found.
HDF5_LIBTOOLIZE="${LIBTOOL_DIR}/glibtoolize"
if [ ! -f $HDF5_LIBTOOLIZE ] ; then
HDF5_LIBTOOLIZE="${LIBTOOL_DIR}/libtoolize"
fi
;;
*)
HDF5_LIBTOOLIZE="${LIBTOOL_DIR}/libtoolize"
;;
esac
# Run scripts that process source.
#
# These should be run before the autotools so that failures here block
# compilation.
# Run trace script
# The trace script adds H5TRACE macros to library source files. It should
# have no effect on files that don't have HDF5 API macros in them.
echo "Running trace script:"
bin/trace src/H5*.c || exit 1
echo
# Run make_err
# make_err automatically generates the H5E headers that create error message
# types for HDF5.
echo "Running error generation script:"
bin/make_err src/H5err.txt || exit 1
echo
# Run make_vers
# make_vers automatically generates the public headers that define the API version
# macros for HDF5.
echo "Running API version generation script:"
bin/make_vers src/H5vers.txt || exit 1
echo
# Run make_overflow
# make_overflow automatically generates macros for detecting overflows for type
# conversion.
echo "Running overflow macro generation script:"
bin/make_overflow src/H5overflow.txt || exit 1
echo
# Run autotools in order
#
# When available, we use the --force option to ensure all files are
# updated. This prevents the autotools from re-running to fix dependencies
# during the 'make' step, which can be a problem if environment variables
# were set on the command line during autogen invocation.
# Some versions of libtoolize will suggest that we add ACLOCAL_AMFLAGS
# = '-I m4'. This is already done in commence.am, which is included
# in Makefile.am. You can ignore this suggestion.
# LIBTOOLIZE
libtoolize_cmd="${HDF5_LIBTOOLIZE} --copy --force"
echo ${libtoolize_cmd}
if [ "$verbose" = true ] ; then
${HDF5_LIBTOOLIZE} --version
fi
${libtoolize_cmd} || exit 1
echo
echo "NOTE: You can ignore the warning about adding -I m4."
echo " We already do this in an included file."
echo
# ACLOCAL
if test -e "${LIBTOOL_DIR}/../share/aclocal" ; then
aclocal_include="-I ${LIBTOOL_DIR}/../share/aclocal"
fi
aclocal_cmd="${HDF5_ACLOCAL} --force -I m4 ${aclocal_include}"
echo ${aclocal_cmd}
if [ "$verbose" = true ] ; then
${HDF5_ACLOCAL} --version
fi
${aclocal_cmd} || exit 1
echo
# AUTOHEADER
autoheader_cmd="${HDF5_AUTOHEADER} --force"
echo ${autoheader_cmd}
if [ "$verbose" = true ] ; then
${HDF5_AUTOHEADER} --version
fi
${autoheader_cmd} || exit 1
echo
# AUTOMAKE
automake_cmd="${HDF5_AUTOMAKE} --copy --add-missing --force-missing"
echo ${automake_cmd}
if [ "$verbose" = true ] ; then
${HDF5_AUTOMAKE} --version
fi
${automake_cmd} || exit 1
echo
# AUTOCONF
autoconf_cmd="${HDF5_AUTOCONF} --force"
echo ${autoconf_cmd}
if [ "$verbose" = true ] ; then
${HDF5_AUTOCONF} --version
fi
${autoconf_cmd} || exit 1
echo
echo "*** SUCCESS ***"
echo
exit 0

View File

@@ -5,12 +5,9 @@
The files and subdirectories in this directory are part of HDF5.
The full HDF5 copyright notice, including terms governing use,
modification, and redistribution, is contained in the files COPYING
and Copyright.html. COPYING can be found at the root of the source
code distribution tree; Copyright.html can be found at the root
level of an installed copy of the electronic HDF5 document set and
is linked from the top-level documents page. It can also be found
at http://www.hdfgroup.org/HDF5/doc/Copyright.html. If you do not
have access to either file, you may request a copy from
modification, and redistribution, is contained in the COPYING file
which can be found at the root of the source code distribution tree
or in https://support.hdfgroup.org/ftp/HDF5/releases. If you do
not have access to either file, you may request a copy from
help@hdfgroup.org.

411
bin/bbrelease Executable file
View File

@@ -0,0 +1,411 @@
#!/bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Make a release of hdf5.
#
# Programmer: Robb Matzke
# Creation date: on or before 1998-01-29.
#
# Modifications
# Robb Matzke, 1999-07-16
# The SunOS 5.6 sed *must* have slashes as delimiters. I changed things like
# `sed s+/CVS++' to `sed 's/\/CVS//'
#
# Albert Cheng, 1999-10-26
# Moved the MANIFEST checking to a separate command file so that
# it can be invoked individually.
#
# Albert Cheng, 2004-08-14
# Added the --private option.
#
# James Laird, 2005-09-07
# Added the md5 method.
#
# Larry Knox, 2016-08-30
# Added the --revision option to create private releases with the
# code revision hash in the version strings. Currently the version
# of this script with the --revision option is named bbrelease. It
# can probably be merged into the original release script in the
# future.
# Commands to get the revision hash have now been converted to git
# to match the source repository change.
# Function definitions
#
# Print Usage page
USAGE()
{
cat << EOF
Usage: $0 -d <dir> [--docver BRANCHNAME] [-h] [--nocheck] [--private] <methods> ...
-d DIR The name of the directory where the releas(es) should be
placed.
--docver BRANCHNAME This is added for 1.8 and beyond to get the correct
version of documentation files from the hdf5docs
repository. BRANCHNAME for v1.8 should be hdf5_1_8.
-h print the help page.
--nocheck Ignore errors in MANIFEST file.
--private Make a private release with today's date in version information.
--revision Make a private release with the code revision number in version information.
This must be run at the top level of the source directory.
The other command-line options are the names of the programs to use
for compressing the resulting tar archive (if none are given then
"tar" is assumed):
tar -- use tar and don't do any compressing.
gzip -- use gzip with "-9" and append ".gz" to the output name.
bzip2 -- use bzip2 with "-9" and append ".bz2" to the output name.
zip -- convert all text files to DOS style and form a zip file for Windows use.
doc -- produce the latest doc tree in addition to the archive.
An md5 checksum is produced for each archive created and stored in the md5 file.
Examples:
$ bin/release -d /tmp
/tmp/hdf5-1.8.13-RELEASE.txt
/tmp/hdf5-1.8.13.md5
/tmp/hdf5-1.8.13.tar
$ bin/release -d /tmp gzip
/tmp/hdf5-1.8.13-RELEASE.txt
/tmp/hdf5-1.8.13.md5
/tmp/hdf5-1.8.13.tar.gz
$ bin/release -d /tmp tar gzip zip
/tmp/hdf5-1.8.13-RELEASE.txt
/tmp/hdf5-1.8.13.md5
/tmp/hdf5-1.8.13.tar
/tmp/hdf5-1.8.13.tar.gz
/tmp/hdf5-1.8.13.tar.zip
EOF
}
# Function name: tar2zip
# Convert the release tarball to a Windows zipball.
#
# Programmer: Albert Cheng
# Creation date: 2014-04-23
#
# Modifications
#
# Steps:
# 1. untar the tarball in a temporay directory;
# Note: do this in a temporary directory to avoid changing
# the original source directory which maybe around.
# 2. convert all its text files to DOS (LF-CR) style;
# 3. form a zip file which is usable by Windows users.
#
# Parameters:
# $1 version
# $2 release tarball
# $3 output zipball file name
#
# Returns 0 if successful; 1 otherwise
#
tar2zip()
{
if [ $# -ne 3 ]; then
echo "usage: tar2zip <tarfilename> <zipfilename>"
return 1
fi
ztmpdir=/tmp/tmpdir$$
mkdir -p $ztmpdir
version=$1
tarfile=$2
zipfile=$3
# step 1: untar tarball in ztmpdir
(cd $ztmpdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $ztmpdir/$version ]; then
echo "untar did not create $ztmpdir/$version source dir"
# cleanup
rm -rf $ztmpdir
return 1
fi
# step 2: convert text files
# There maybe a simpler way to do this.
# options used in unix2dos:
# -k Keep the date stamp
# -q quiet mode
# grep redirect output to /dev/null because -q or -s are not portable.
find $ztmpdir/$version | \
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
# step 3: make zipball
# -9 maximum compression
# -y Store symbolic links as such in the zip archive
# -r recursive
# -q quiet
(cd $ztmpdir; zip -9 -y -r -q $version.zip $version)
mv $ztmpdir/$version.zip $zipfile
# cleanup
rm -rf $ztmpdir
}
# This command must be run at the top level of the hdf5 source directory.
# Verify this requirement.
# Since we are running bbrelease to create an HDF5 source tarfile for buildbot
# testing with source that is not for release, there is not a file named
# "configure" but there will be one named "configure.ac". The "configure"
# file will be created when autogen.sh runs. There probably will always
# be a bin/release file, but just in case it is removed, we can check for
# this script, bbrelease, in the bin directory. The bin/release script should
# continue to check for "configure" because it should be present in release
# source.
if [ ! \( -f configure.ac -a -f bin/bbrelease \) ]; then
echo "$0 must be run at the top level of the hdf5 source directory"
exit 1
fi
# Defaults
DEST=releases
VERS=`perl bin/h5vers`
VERS_OLD=
test "$VERS" || exit 1
verbose=yes
check=yes
release_date=`date +%F`
today=`date +%Y%m%d`
pmode='no'
revmode='no'
tmpdir="../#release_tmp.$$" # tmp work directory
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git
CPPLUS_RM_NAME=cpplus_RM
# Restore previous Version information
RESTORE_VERSION()
{
if [ X-${VERS_OLD} != X- ]; then
echo restoring version information back to $VERS_OLD
rm -f config/lt_vers.am
cp $tmpdir/lt_vers.am config/lt_vers.am
bin/h5vers -s $VERS_OLD
VERS_OLD=
fi
}
# Command-line arguments
while [ -n "$1" ]; do
arg=$1
shift
case "$arg" in
-d)
DEST=$1
shift
;;
--nocheck)
check=no
;;
-h)
USAGE
exit 0
;;
--private)
pmode=yes
;;
--revision)
revmode=yes
;;
--docver)
DOCVERSION=$1
shift
;;
-*)
echo "Unknown switch: $arg" 1>&2
USAGE
exit 1
;;
*)
methods="$methods $arg"
;;
esac
done
# Default method is tar
if [ "X$methods" = "X" ]; then
methods="tar"
fi
# Create the temporay work directory.
if mkdir $tmpdir; then
echo "temporary work directory for release. "\
"Can be deleted after release completes." > $tmpdir/README
else
echo "Failed to mkdir tmpdir($tmpdir)"
exit 1
fi
# setup restoration in case of abort.
trap RESTORE_VERSION 0
if [ X$pmode = Xyes ]; then
VERS_OLD=$VERS
# Copy old version of config/lt_vers.am, since it's hard to
# "undo" changes to it.
cp config/lt_vers.am $tmpdir
# Set version information to m.n.r-of$today.
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-of$today
echo Private release of $VERS
bin/h5vers -s $VERS
fi
if [ X$revmode = Xyes ]; then
VERS_OLD=$VERS
echo "Save old version $VERS_OLD for restoration later."
# Copy old version of config/lt_vers.am, since it's hard to
# "undo" changes to it.
cp config/lt_vers.am $tmpdir
branch=`git branch | grep '*' | awk '{print $NF}'`
revision=`git rev-parse --short HEAD`
# Set version information to m.n.r-r$revision.
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-$revision
echo Private release of $VERS
bin/h5vers -s $VERS
HDF5_VERS=hdf5-$branch-$revision
# use a generic directory name for revision releases
HDF5_IN_VERS=hdfsrc
else
# Store hdf5-$VERS ("hdf5-1.7.51", e.g.) to a variable to avoid typos
HDF5_VERS=hdf5-$VERS
# directory name matches tar file name for non-revision releases
HDF5_IN_VERS=$HDF5_VERS
fi
test "$verbose" && echo "Releasing $HDF5_VERS to $DEST" 1>&2
if [ ! -d $DEST ]; then
echo " Destination directory $DEST does not exist" 1>&2
exit 1
fi
# Check the validity of the MANIFEST file.
bin/chkmanifest || fail=yes
if [ "X$fail" = "Xyes" ]; then
if [ $check = yes ]; then
exit 1
else
echo "Continuing anyway..."
fi
fi
# Create a manifest that contains only files for distribution.
MANIFEST=$tmpdir/H5_MANIFEST
grep '^\.' MANIFEST | grep -v _DO_NOT_DISTRIBUTE_ >$MANIFEST
# Prepare the source tree for a release.
#ln -s `pwd` $tmpdir/$HDF5_VERS || exit 1
ln -s `pwd` $tmpdir/$HDF5_IN_VERS || exit 1
# Save a backup copy of Makefile if exists.
test -f Makefile && mv Makefile $tmpdir/Makefile.x
cp -p Makefile.dist Makefile
# Update README.txt and release_docs/RELEASE.txt with release information in
# line 1.
for f in README.txt release_docs/RELEASE.txt; do
echo "HDF5 version $VERS released on $release_date" >$f.x
sed -e 1d $f >>$f.x
mv $f.x $f
# Make sure new files are of the right access mode
chmod 644 $f
done
# trunk is different than branches.
if [ "${DOCVERSION}" ]; then
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git -b ${DOCVERSION}
fi
# Create the tar file
test "$verbose" && echo " Running tar..." 1>&2
( \
cd $tmpdir; \
tar cf $HDF5_VERS.tar $HDF5_IN_VERS/Makefile \
`sed 's/^\.\//'$HDF5_IN_VERS'\//' $MANIFEST` || exit 1 \
)
# Compress
MD5file=$HDF5_VERS.md5
cp /dev/null $DEST/$MD5file
for comp in $methods; do
case $comp in
tar)
cp -p $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.tar
(cd $DEST; md5sum $HDF5_VERS.tar >> $MD5file)
;;
gzip)
test "$verbose" && echo " Running gzip..." 1>&2
gzip -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.gz
(cd $DEST; md5sum $HDF5_VERS.tar.gz >> $MD5file)
;;
bzip2)
test "$verbose" && echo " Running bzip2..." 1>&2
bzip2 -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.bz2
(cd $DEST; md5sum $HDF5_VERS.tar.bz2 >> $MD5file)
;;
zip)
test "$verbose" && echo " Creating zip ball..." 1>&2
tar2zip $HDF5_IN_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2
(cd $DEST; md5sum $HDF5_VERS.zip >> $MD5file)
;;
doc)
if [ "${DOCVERSION}" = "" ]; then
DOCVERSION=master
fi
test "$verbose" && echo " Creating docs..." 1>&2
# Check out docs from git repo
(cd $tmpdir; git clone $DOC_URL > /dev/null) || exit 1
# Create doxygen C++ RM
(cd c++/src && doxygen cpp_doc_config > /dev/null ) || exit 1
# Replace version of C++ RM with just-created version
rm -rf $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME
mv c++/src/$CPPLUS_RM_NAME $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME
# Compress the docs and move them to the release area
mv $tmpdir/$DOCVERSION $tmpdir/${HDF5_VERS}_docs
(cd $tmpdir && tar cf ${HDF5_VERS}_docs.tar ${HDF5_VERS}_docs)
mv $tmpdir/${HDF5_VERS}_docs.tar $DEST
;;
*)
echo "***Error*** Unknown method $comp"
exit 1
;;
esac
done
# Copy the RELEASE.txt to the release area.
cp release_docs/RELEASE.txt $DEST/$HDF5_VERS-RELEASE.txt
# Remove distributed Makefile and restore previous Makefile if existed.
rm -f Makefile
test -f $tmpdir/Makefile.x && mv $tmpdir/Makefile.x Makefile
# Restore OLD version information, then no need for trap.
if [ X$pmode = Xyes ] || [ X$revmode = Xyes ]; then
echo "Restore the original version $VERS_OLD"
RESTORE_VERSION
trap 0
fi
# Remove temporary things
rm -rf $tmpdir
exit 0

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Build HDF5 library by doing configure, make, and tests.
# Usage: See USAGE()
@@ -159,19 +157,6 @@ LOCATE_SZLIB()
HP-UX)
szlibpaths="/afs/ncsa/projects/hdf/packages/szip_new/HPUX-11.00"
;;
IRIX)
szlibpaths="/afs/ncsa/projects/hdf/packages/szip_new/IRIX64-6.5-32bit"
;;
IRIX64)
case "$CC" in
*-n32)
szlibpaths="/afs/ncsa/projects/hdf/packages/szip_new/IRIX64-6.5-32bit"
;;
*)
szlibpaths="/afs/ncsa/projects/hdf/packages/szip_new/IRIX64-6.5"
;;
esac
;;
Linux)
case `uname -m` in
i686)

View File

@@ -6,44 +6,60 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
require 5.003;
# Purpose: insures that API functions aren't called internally.
# Usage: checkapi H5*.c
my $comment = 0;
while (<>) {
my $filename = "";
my $lastname = "";
# Remove comments within the line.
s/\/\*.*?\*\///g;
if(<>) {
while (<>) {
if($ARGV =~ /\//) {
($filename) = ($ARGV =~ /^.*\/([A-Za-z0-9_]*)\.c$/);
} else {
($filename) = ($ARGV =~ /([A-Za-z0-9_]*)\.c$/);
}
# Process comment begin and end tokens on this line.
$comment-- if /\*\//; # count comment ends
next if $comment; # skip line if in comment
$comment++ if /\/\*/; # count comment starts
s/(.*)\/\*.*/$1/; # remove comments that begin on this line
if($filename =~ /H5FDmulti|H5FDstdio/) {
if($filename ne $lastname) {
print "$ARGV is exempt from checking\n";
$lastname = $filename;
}
} else {
# Get rid of comments by removing the inside part.
s|/\*.*?\*/||g;
if ($in_comment) {
if (/\*\//) {
s|.*?\*/||;
$in_comment = 0;
} else {
$_="\n";
}
} elsif (m|/\*|) {
s|/\*.*||;
$in_comment = 1;
}
# Remove character strings
s/\\.//g; # remove escaped characters
s/\".*?\"//g; # remove string constants
# Remove character strings
s/\\.//g; # remove escaped characters
s/\".*?\"//g; # remove string constants
# Disregard the following hits
next if /^H5/;
next if /^\#/;
next if /FUNC_ENTER(_NOINIT)*/;
# Disregard the following hits
next if /^H5/;
next if /^\#/;
next if /FUNC_ENTER(_NOINIT)*/;
next unless /(H5[A-Z]{1,2}[a-z]\w*)/;
print "$ARGV:$.: $1\n";
} continue {
if (eof) {
print "$ARGV:$.: bad comment nesting\n" if $comment;
$comment = 0;
close ARGV; # reset line number
}
next unless /(H5[A-Z]{1,2}[a-z]\w*)/;
print "$ARGV:$.: $1\n";
}
} continue {
close ARGV if eof; # reset line number
}
}

View File

@@ -1,4 +1,4 @@
#!/usr/local/bin/perl -w
#!/usr/bin/perl -w
require 5.003;
#
@@ -8,12 +8,10 @@ require 5.003;
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Robb Matzke, matzke@llnl.gov
# 30 Aug 1997
@@ -27,60 +25,89 @@ require 5.003;
# use `next-error' (usually bound to M-`) to find each name
# violation.
while (<>) {
if(<>) {
if($ARGV =~ /\//) {
($filename) = ($ARGV =~ /^.*\/([A-Za-z0-9_]*)\.c$/);
} else {
($filename) = ($ARGV =~ /([A-Za-z0-9_]*)\.c$/);
}
# Get rid of comments by removing the inside part.
s|/\*.*?\*/||g;
if ($in_comment) {
if (/\*\//) {
s|.*?\*/||;
$in_comment = 0;
} else {
$_="\n";
}
} elsif (m|/\*|) {
s|/\*.*||;
$in_comment = 1;
}
if($filename =~ /H5FDmulti|H5FDstdio/) {
print "$ARGV is exempt from using Standard library macro wrappers\n";
} else {
while (<>) {
# Get rid of string constants if they begin and end on this line.
s/([\'\"])([^\1]|\\\1)*?\1/$1$1/g;
# Get rid of comments by removing the inside part.
s|/\*.*?\*/||g;
if ($in_comment) {
if (/\*\//) {
s|.*?\*/||;
$in_comment = 0;
} else {
$_="\n";
}
} elsif (m|/\*|) {
s|/\*.*||;
$in_comment = 1;
}
# Get rid of preprocessor directives
s/^\#.*//;
# Get rid of string constants if they begin and end on this line.
s/([\'\"])([^\1]|\\\1)*?\1/$1$1/g;
# Now find all function calls on this line
while (($name)=/\b([a-gi-z_A-GI-Z]\w*)\s*\(/) {
$_ = $';
# Ignore C statements that look sort of like function
# calls.
next if $name =~ /^(if|for|return|sizeof|switch|while|void)$/;
# Get rid of preprocessor directives
s/^\#.*//;
# Ignore things that get misdetected because of the simplified
# parsing that takes place here.
next if $name =~ /^int$/;
# Skip callbacks invoked as methods in a struct
next if $_ =~ /\b(\)?->|\.)\(?([a-z_A-Z]\w*)\s*\(/;
# These are really HDF5 functions/macros even though they don't
# start with `h' or `H'.
next if $name =~ /^FUNC_(ENTER|LEAVE)(_INIT)?$/;
next if $name =~ /^U?INT(8|16|32|64)(ENCODE|DECODE)$/;
next if $name =~ /^(MIN3?|MAX3?|NELMTS|BOUND|CONSTR)$/;
next if $name =~ /^IS_H5FD_MPIO$/;
next if $name =~ /^addr_defined$/;
# Now find all function calls on this line which don't start with 'H'
while (($name)=/\b([a-z_A-GI-Z]\w*)\s*\(/) {
$_ = $';
# Ignore C statements that look sort of like function
# calls.
next if $name =~ /^(if|for|offsetof|return|sizeof|switch|while|void)$/;
# These functions/macros are exempt.
next if $name =~ /^(assert|main|[fs]?printf|va_(start|arg|end))$/;
# Ignore things that get misdetected because of the simplified
# parsing that takes place here.
next if $name =~ /^(int|herr_t|_term_interface)$/;
# These are MPI function calls. Ignore them.
next if $name =~ /^MPI_/;
# These are really HDF5 functions/macros even though they don't
# start with `h' or `H'.
next if $name =~ /^FUNC_(ENTER|LEAVE)(_(NO)?API|_PACKAGE|_STATIC)?(_NOFS|_NOCLEAR|_NOINIT)?(_NOFUNC|_TAG)?$/;
next if $name =~ /^(BEGIN|END)_FUNC$/;
next if $name =~ /^U?INT(8|16|32|64)(ENCODE|DECODE)(_VAR)?$/;
next if $name =~ /^CI_(PRINT_STATS|INC_SRC|INC_DST)$/;
next if $name =~ /^(ABS|ADDR_OVERFLOW|ALL_MEMBERS|BOUND|CONSTR|DETECT_[I|F|M]|DOWN)$/;
next if $name =~ /^(MIN3?|MAX3?|NELMTS|POWER_OF_TWO|REGION_OVERFLOW)$/;
next if $name =~ /^(UNIQUE_MEMBERS)$/;
next if $name =~ /^addr_defined$/;
# These are POSIX threads function calls. Ignore them.
next if $name =~ /^pthread_/;
# These functions/macros are exempt.
next if $name =~ /^(main|[fs]?printf|va_(start|arg|end))$/;
print "$ARGV:$.: $name\n";
}
# These are Windows system calls. Ignore them.
next if $name =~ /^(_get_osfhandle|GetFileInformationByHandle|SetFilePointer|GetLastError|SetEndOfFile)$/;
next if $name =~ /^(FindNextFile|FindClose|_tzset|Wgettimeofday|GetSystemTimeAsFileTime|Wgetlogin|GetUserName)$/;
} continue {
close ARGV if eof;
# These are MPI function calls. Ignore them.
next if $name =~ /^(MPI_|MPE_)/;
# These are POSIX threads function calls. Ignore them.
next if $name =~ /^pthread_/;
# These are Windows threads function calls. Ignore them.
next if $name =~ /^(_beginthread|(Initialize|Enter|Leave)CriticalSection|TlsAlloc)$/;
# These are zlib & szlib function calls. Ignore them.
next if $name =~ /^(inflate|SZ_)/;
next if $name =~ /^compress2$/;
print "$ARGV:$.: $name\n";
}
} continue {
close ARGV if eof; # reset line number
}
}
}

View File

@@ -5,25 +5,23 @@
##
## This file is part of HDF5. The full HDF5 copyright notice, including
## terms governing use, modification, and redistribution, is contained in
## the files COPYING and Copyright.html. COPYING can be found at the root
## of the source code distribution tree; Copyright.html can be found at the
## root level of an installed copy of the electronic HDF5 document set and
## is linked from the top-level documents page. It can also be found at
## http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
## access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
## the COPYING file, which can be found at the root of the source code
## distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
## If you do not have access to either file, you may request a copy from
## help@hdfgroup.org.
##
# Check that all the configure files are properly genernated.
# Check that all the configure files are properly generated.
#
# Programmer: Albert Cheng
# Created Date: 2004/12/07
#
# Configure: should be generated by autoconf version 2.68.
# autoconf: should be of version 2.68.
# Configure: should be generated by autoconf version 2.69.
# autoconf: should be of version 2.69.
# variable initialization
nerrors=0
AUTOCONFVERSION=2.68
AUTOCONFVERSION=2.69
AUTOCONFVERSIONLEAD='Generated by GNU Autoconf'
CONFIGUREFILES="configure"

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Check Copyright notice.
@@ -30,7 +28,7 @@ DIFF="diff"
INITFILE=.h5chkright.ini
EXCEPTIONS=/tmp/h5chkright.except.$$
tmpfile=/tmp/h5chkright_tmp.$$
EXCEPTIONDIRS="-name CVS -o -name .svn" # at least skip CVS directories.
EXCEPTIONDIRS="-name .git" # at least skip .git directories.
EXTRACTEDFILE=/tmp/h5chkright.extracted.$$
VERBOSE= # default no
FIXIT= # default no
@@ -56,8 +54,7 @@ HTM_COPYRIGHT=/tmp/h5chkright_HTM.$$ # HTML style copyright
SH_COPYRIGHT=/tmp/h5chkright_SH.$$ # SHELL style copyright
SH_COPYRIGHT2=/tmp/h5chkright_SH2.$$ # SHELL style copyright, 2nd style.
WINBAT_COPYRIGHT=/tmp/h5chkright_WINBAT.$$ # Windows Batch file Copyright notice
VMSCMD_COPYRIGHT=/tmp/h5chkright_VMSCMD.$$ # VMS command file Copyright notice
CONFIGURE_IN_COPYRIGHT=/tmp/h5chkright_CONFIGURE_IN.$$ # configure.in file Copyright notice
CONFIGURE_AC_COPYRIGHT=/tmp/h5chkright_CONFIGURE_AC.$$ # configure.ac file Copyright notice
tmpfixfile=/tmp/h5chkright_fix.$$ # Temporary fixed copy of file
@@ -207,8 +204,8 @@ EOF
@REM access to either file, you may request a copy from help@hdfgroup.org.
EOF
# configure.in file Copyright notice
cat > ${CONFIGURE_IN_COPYRIGHT} << \EOF
# configure.ac file Copyright notice
cat > ${CONFIGURE_AC_COPYRIGHT} << \EOF
dnl Copyright by The HDF Group.
dnl Copyright by the Board of Trustees of the University of Illinois.
dnl All rights reserved.
@@ -221,22 +218,6 @@ dnl root level of an installed copy of the electronic HDF5 document set and
dnl is linked from the top-level documents page. It can also be found at
dnl http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
dnl access to either file, you may request a copy from help@hdfgroup.org.
EOF
# VMS command file Copyright notice
cat > ${VMSCMD_COPYRIGHT} << \EOF
$!# Copyright by The HDF Group.
$!# Copyright by the Board of Trustees of the University of Illinois.
$!# All rights reserved.
$!#
$!# This file is part of HDF5. The full HDF5 copyright notice, including
$!# terms governing use, modification, and redistribution, is contained in
$!# the files COPYING and Copyright.html. COPYING can be found at the root
$!# of the source code distribution tree; Copyright.html can be found at the
$!# root level of an installed copy of the electronic HDF5 document set and
$!# is linked from the top-level documents page. It can also be found at
$!# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
$!# access to either file, you may request a copy from help@hdfgroup.org.
EOF
}
@@ -611,34 +592,12 @@ BATCH_FILE()
}
# Check Windows Batch files
#
VMSCMD_FILE()
{
f=$1
case `MATCH_COPYRIGHT $VMSCMD_COPYRIGHT $f` in
PASSED)
PASSED $f
return
;;
FAILED)
# show the difference
FAILED $f
$DIFF ${EXTRACTEDFILE} ${VMSCMD_COPYRIGHT}
if [ -n "$FIXIT" ]; then
FIX_COPYRIGHT $VMSCMD_COPYRIGHT $f
fi
;;
esac
}
# Check Configure.in type files
#
CONFIGURE_IN_FILE()
CONFIGURE_AC_FILE()
{
f=$1
case `MATCH_COPYRIGHT $CONFIGURE_IN_COPYRIGHT $f` in
case `MATCH_COPYRIGHT $CONFIGURE_AC_COPYRIGHT $f` in
PASSED)
PASSED $f
return
@@ -646,9 +605,9 @@ CONFIGURE_IN_FILE()
FAILED)
# show the difference
FAILED $f
$DIFF ${EXTRACTEDFILE} ${CONFIGURE_IN_COPYRIGHT}
$DIFF ${EXTRACTEDFILE} ${CONFIGURE_AC_COPYRIGHT}
if [ -n "$FIXIT" ]; then
FIX_COPYRIGHT $CONFIGURE_IN_COPYRIGHT $f
FIX_COPYRIGHT $CONFIGURE_AC_COPYRIGHT $f
fi
;;
esac
@@ -681,8 +640,8 @@ GUESS_File_Type()
# Put this after C_SOURCE which may have #define and such lines.
echo SHELL_FILE
elif grep '^dnl' < $tmpfile > /dev/null; then
# Some lines start with a "dnl". It may be a configure.in type file.
echo CONFIGURE_IN_FILE
# Some lines start with a "dnl". It may be a configure.ac type file.
echo CONFIGURE_AC_FILE
elif grep -i '^<html>' < $tmpfile > /dev/null || \
grep '^<!--' < $tmpfile > /dev/null ; then
# Some lines start with a "<html>" or having an html comment tag.
@@ -827,17 +786,13 @@ while read file; do
*Makefile | *Makefile.in | *Makefile.am | Makefile.dist )
MAKE_FILE ${file}
;;
configure.in )
CONFIGURE_IN_FILE ${file}
configure.ac )
CONFIGURE_AC_FILE ${file}
;;
*.bat | *.BAT )
# Windows Batch files
BATCH_FILE ${file}
;;
*.com )
# VMS Command files
VMSCMD_FILE ${file}
;;
*.h5 | *.hdf5 )
# Ignore HDF5 data files
continue

View File

@@ -6,89 +6,32 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Check that all the files in MANIFEST exist and that (if this is a
# SVN checkout) that all the SVN-managed files appear in the
# Check that all the files in MANIFEST exist and (if this is a
# GIT checkout) that all the GIT-managed files appear in the
# MANIFEST.
#
verbose=yes
MANIFEST=/tmp/HD_MANIFEST.$$
SVNENTRY=/tmp/HD_SVNENTRY.$$
# function definitions
GETSVNENTRIES_13 ()
# Purpose: Extract filenames from the svn v1.3.* entries file
# $1: directory name in which the svn entries is.
# steps:
# 1. remove all single line entries so that step 2 does not fail on them.
# 2. merge all multiple lines entries into single lines.
# 3. remove all non file entries.
# 4. insert a blank line because some entries files has no kind="file"
# entry and ed does not like to do g on an empty file.
# 5. remove everything except the file name.
# 6. remove all blank lines, including the inserted one.
{
cp $1/entries $SVNENTRY
chmod u+w $SVNENTRY # entries file is not writable.
ed - $SVNENTRY <<EOF
g/^<.*>$/d
g/^</.,/>$/j
v/kind="file"/d
a
.
g/.*name="/s///
g/".*/s///
g/^$/d
w
q
EOF
cat $SVNENTRY
rm $SVNENTRY
}
GETSVNENTRIES_14 ()
# Purpose: Extract filenames from the svn v1.4.* entries file
# $1: directory name in which the svn entries is.
# steps:
# 1. all valid files are followed by a line containing "file" only.
# 2. find them by looking for "file" first, then mark its preceding line as
# wanted.
# 3. remove all non-marked line.
# 4. insert a blank line because some entries files has no kind="file"
# entry and ed does not like to do g on an empty file.
# 5. remove the marks.
{
cp $1/entries $SVNENTRY
chmod u+w $SVNENTRY # entries file is not writable.
ed - $SVNENTRY <<EOF
g/^file$/-s/^/%WANTED%/
v/%WANTED%/d
a
.
g/^%WANTED%/s///
w
q
EOF
cat $SVNENTRY
rm $SVNENTRY
}
AUTOGEN=./autogen.sh
AUTOGEN_LOG=/tmp/autogen.log.$$
# Main
test "$verbose" && echo " Checking MANIFEST..." 1>&2
# clean up $MANIFEST file when exits
trap "rm -f $MANIFEST" 0
# Only split lines on newline, not whitespace
set -f
IFS='
'
# First make sure i am in the directory in which there is an MANIFEST file
# and then do the checking from there. Will try the following,
# current directory, parent directory, the directory this command resides.
@@ -107,6 +50,19 @@ else
fi
fi
# Do an autogen if generated files (e.g., configure) is not present
if [ ! -f configure ]; then
echo " running $AUTOGEN"
$AUTOGEN > $AUTOGEN_LOG 2>&1
if [ $? -ne 0 ]; then
echo $AUTOGEN encountered error. Abort.
echo output from $AUTOGEN:
cat $AUTOGEN_LOG
exit 1
fi
rm $AUTOGEN_LOG
fi
# Check for duplicate entries. This can be done at any time, but it may as
# well be sooner so that if something else fails the presence of duplicates
# will already be known.
@@ -132,40 +88,59 @@ for file in `cat $MANIFEST`; do
fi
done
# Get the list of files under version control and check that they are
# present.
#
# First get a list of all the pending files with git status and
# check those.
git_stat=`git status -s`
for file in $git_stat; do
# Inspect the .svn/entries to figure out what version of svn file entry is
# used.
# The following algorithm is formed via reverse engineering.
# I don't know what the official svn format is if such a specification exists.
# Algorithm:
# If the first line of the file has 'xml version="1.0"' in it, it is created
# by svn 1.3 or older; else if it has '^file$' in it, it is created by svn 1.4.
svn_entry_file=.svn/entries
if head -1 $svn_entry_file | grep 'xml version="1.0"' > /dev/null 2>&1;then
getsvnentries=GETSVNENTRIES_13
elif grep '^file$' $svn_entry_file > /dev/null 2>&1; then
getsvnentries=GETSVNENTRIES_14
else
echo "Unknown svn entries format. Aborted"
exit 1
fi
# Newly added files are not listed by git ls-files, which
# we check later.
for svn in `find . -type d -name .svn -print`; do
path=`echo $svn |sed 's/\/.svn//'`
for file in `$getsvnentries $svn`; do
if (grep ^$path/$file$ $MANIFEST >/dev/null); then
:
else
echo "+ $path/$file"
fail=yes
fi
done
# The line listing new files starts with 'A'.
letter=`echo $file | head -c 1`
if [ "$letter" = "A" ]; then
# Convert the git status columns to './' so it matches
# the manifest file name.
#
# There is a space between the status columns and file name, hence
# the '3'.
path=`echo $file | sed 's/^.\{3\}/\.\//g'`
# Ignore directories
if [ ! -d $path ]; then
if (grep ^$path$ $MANIFEST >/dev/null); then
:
else
echo "- $path"
fail=yes
fi
fi
fi
done
# Next check git ls-files, which gets a list of all files that are
# checked in.
git_ls=`git ls-files`
for file in $git_ls; do
path="./${file}"
# Ignore directories
if [ ! -d $path ]; then
if (grep ^$path$ $MANIFEST >/dev/null); then
:
else
echo "+ $path"
fail=yes
fi
fi
done
# Finish up
if [ "X$fail" = "Xyes" ]; then
cat 1>&2 <<EOF
The MANIFEST is out of date. Files marked with a minus sign (-) no
longer exist; files marked with a plus sign (+) are SVN-managed but do
longer exist; files marked with a plus sign (+) are GIT-managed but do
not appear in the MANIFEST. Please remedy the situation and try again.
EOF
exit 1

372
bin/cmakehdf5 Executable file
View File

@@ -0,0 +1,372 @@
#! /bin/sh
# Build and Test HDF5 using cmake.
# Author: Allen Byrne
# Albert Cheng
# Creation Date: Nov 2012
# Modified:
# Changed to use the quick steps described in INSTALL_CMake.txt. (AKC 2014/1/1)
# Copyright: The HDF Group, 2012-14
# Debug Print: remove the comment hash if you want DPRINT to do echo
DPRINT=:
#DPRINT=echo
# variable names
# The "extra" number is the step number and easier to see all logfiles in
# the sorted order of steps
progname=`basename $0` # program name
configlog="#${progname}_1config.log"
makelog="#${progname}_2build.log"
testlog="#${progname}_3test.log"
packlog="#${progname}_4pack.log"
installlog="#${progname}_5install.log"
vflag=1 # verbose flag default to on.
config_summary=libhdf5.settings
exit_code=0
# This command should be in the source directory's bin/
# and should have invoked as "$srcdir/bin/$progname" or
# "bin/$progname". So, by striping bin/$program from $0,
# we can find $srcdir.
if [ "$0" = "bin/${progname}" ]; then
srcdir="." # current directory
else
# $0 is $srdir/bin/$progname
srcdir=`echo $0 | sed -e s%/bin/$progname\$%%`
fi
# Sanity check
if [ ! -r $srcdir/bin/$progname ]; then
echo "encountered error while trying to find srcdir($srdir)"
exit 1
fi
# Cmake build options
cacheinit=$srcdir/config/cmake/cacheinit.cmake
build_cpp_lib=-DHDF5_BUILD_CPP_LIB:BOOL=OFF # C++ interface default off
build_fortran=-DHDF5_BUILD_FORTRAN:BOOL=OFF # Fortran interface default off
build_hl_lib=-DHDF5_BUILD_HL_LIB:BOOL=ON # High Level interface default on
build_threadsafe=-DHDF5_ENABLE_THREADSAFE:BOOL=OFF # Threadsafe feature default off
build_testing=-DBUILD_TESTING:BOOL=ON # Build tests default on
build_tools=-DHDF5_BUILD_TOOLS:BOOL=ON # Build tools default on
with_zlib=-DHDF5_ENABLE_Z_LIB_SUPPORT=ON # enable zlib filter default on
with_szlib=-DHDF5_ENABLE_SZIP_SUPPORT=OFF # enables szip filter default off
szlib_path="" # szip lib path default off
shared_lib=-DBUILD_SHARED_LIBS:BOOL=ON # enables shared lib; default on
njobs="" # number of jobs (commands) to
# run simultaneously; default is
# value from $MAKE if defined,
# otherwise none (1)
#=============
# Function definitions
#=============
# Show user brief help page
HELP_BRIEF()
{
cat << EOF
Usage: $progname [options]
--help: shows details help page
EOF
}
# Show user detail help page
HELP()
{
cat << EOF
Usage: $progname [<options>]
where options are:
--enable-fortran | --disable-fortran:
enable or disable fortran API. Default is off.
--enable-cxx | --disable-cxx:
enable or disable c++ API. Default is off.
--enable-hl | --disable-hl:
enable or disable high level API. Default is on.
--enable-threadsafe | --disable-threadsafe:
enable or disable threadsafe feature. Default is off
--enable-shared | --disable-shared:
enable or disable shared lib. Default is on.
--enable-tools | --disable-tools:
enable or disable building tools. Default is on.
--enable-testing | --disable-testing:
enable or disable building tests. Default is on.
--with-zlib | --with-zlib=<libpath> | --without-zlib:
Use zlib library for external deflate I/O filter. Default is on.
--with-szlib | --with-szlib=<libpath> | --without-szlib:
Use szlib library for external deflate I/O filter. Default is on.
--njobs=<-j N>:
number of jobs (commands) to run simultaneously; default is value from
$MAKE if defined, otherwise none
--enable-verbose | --disable-verbose:
enable or disable verbose output. Default is on.
--help: shows details help page
<libpath>: the file path to the library, expect <libpath>/lib and <libpath>/include.
EOF
}
# Display a time stamp
TIMESTAMP()
{
echo "=====" "`date`" "====="
}
# Do one step bracketed with time stamps
# The '< /dev/null' is needed to prevent some applications like MPI
# jobs blocked for reading when they read stdin unnecessary.
# $1 is banner message to be displayed.
# $2 is command to run
# $3 is logfile name for saving output from the command
STEP()
{
banner="$1"
command="$2"
logfile="$3"
echo "$banner" with output saved in $logfile
(TIMESTAMP; nerror=0 ;
echo "eval $command"
eval $command || nerror=1 ;
TIMESTAMP; exit $nerror) < /dev/null > "$logfile" 2>&1
if [ $? -ne 0 ]; then
echo "error in '$banner'. $progname aborted."
exit 1
fi
}
# Install the generated installation image file. Different platform uses
# different image files.
# Linux: HDF5-<version>-Linux.sh file
# Mac OS X: Not implemented yet
# Others: Not implemented yet
INSTALL_HDF5()
{
myos="`uname -s`"
case "$myos" in
Linux)
install_file=./HDF5-${version}-Linux.sh
$install_file --skip-license $*
;;
Darwin) # Mac OSX DMG file
# These steps were a kludge. Need proper support from Cmake engineering.
echo Darwin install step needs proper implementation. Quit.
return 1
#
install_file=HDF5-${version}-Darwin.dmg
test -d hdf5 || mkdir hdf5
basename=`basename $install_file .dmg`
# mount the DMG file as /Volumes/$basename
# echo 'Y' as yes for license.
echo Y | hdiutil mount $install_file
# copy the contents to the install location
cp -R "/Volumes/$basename/HDF_Group" hdf5
# unmount the DMG file
hdiutil unmount /Volumes/$basename
;;
*) # unknown/unsupported OS.
echo "INSTALL_HDF5: Error--unknown/unsupported OS($myos)"
return 1
;;
esac
}
# Print logfiles.
# $*: logfiles
DUMP_LOGFILE()
{
for x in $*; do
if [ -f $x ]; then
echo "=================================="
echo "Dumping $x"
echo "=================================="
cat $x
echo "==== END $x ====="
echo
fi
done
}
#==========
# main
#==========
# Show a start time stamp
TIMESTAMP
# Initialize njobs if $AMKE is defined
if [ -n "$MAKE" ]; then
# assume all arguments are for --jobs
njobs=`echo $MAKE | cut -s -d' ' -f2-`
fi
# Parse Cmake configure options
# --enable-XXX or --disable-XXX will enable or disable feature XXX.
# XXX can be:
# fortran Fortran interface
# cxx C++ interface
# hl Highlevel interface
# testing Build tests
# tools Build tools
while [ $# -gt 0 ]; do
case "$1" in
--enable-fortran)
build_fortran=-DHDF5_BUILD_FORTRAN:BOOL=ON
;;
--disable-fortran)
build_fortran=-DHDF5_BUILD_FORTRAN:BOOL=OFF
;;
--enable-cxx)
build_cpp_lib=-DHDF5_BUILD_CPP_LIB:BOOL=ON
;;
--disable-cxx)
build_cpp_lib=-DHDF5_BUILD_CPP_LIB:BOOL=OFF
;;
--enable-hl)
build_hl_lib=-DHDF5_BUILD_HL_LIB:BOOL=ON
;;
--disable-hl)
build_hl_lib=-DHDF5_BUILD_HL_LIB:BOOL=OFF
;;
--enable-threadsafe)
build_threadsafe=-DHDF5_ENABLE_THREADSAFE:BOOL=ON
;;
--disable-threadsafe)
build_threadsafe=-DHDF5_ENABLE_THREADSAFE:BOOL=OFF
;;
--enable-shared)
shared_lib=-DBUILD_SHARED_LIBS:BOOL=ON
;;
--disable-shared)
shared_lib=-DBUILD_SHARED_LIBS:BOOL=OFF
;;
--enable-tools)
build_tools=-DHDF5_BUILD_TOOLS:BOOL=ON
;;
--disable-tools)
build_tools=-DHDF5_BUILD_TOOLS:BOOL=OFF
;;
--enable-testing)
build_testing=-DBUILD_TESTING:BOOL=ON
;;
--disable-testing)
build_testing=-DBUILD_TESTING:BOOL=OFF
;;
--with-zlib)
with_zlib=-DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON
;;
--with-zlib=*)
xarg=`echo $1 | cut -d= -f2-`
with_zlib="-DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=ON -DZLIB_ROOT=$xarg"
;;
--without-zlib)
with_zlib=-DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF
;;
--with-szlib)
with_szlib=-DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ON
szlib_path="" # szlib is in default paths
;;
--with-szlib=*)
xarg=`echo $1 | cut -d= -f2-`
with_szlib="-DHDF5_ENABLE_SZIP_SUPPORT:BOOL=ON"
szlib_path="SZIP_INSTALL=$xarg"
;;
--without-szlib)
with_szlib=-DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF
szlib_path="" # reset the path
;;
--njobs=*)
njobs=`echo $1 | cut -d= -f2-`
;;
--enable-verbose)
vflag=1
;;
--disable-verbose)
vflag=0
;;
--help)
# print the detail help page and exit
HELP
exit 0
;;
*)
echo "Unknown options: $1"
HELP
exit 1
;;
esac
shift
done
$DPRINT after option parsing vflag=$vflag
# Always display the brief help page
HELP_BRIEF
# Verify there is a valid hdf5 source directory present
if [ ! -d $srcdir ]; then
echo $srcdir not found. Aborted.
exit 1
fi
# figure out version information
vers=bin/h5vers
if [ ! -x $srcdir/$vers ]; then
echo $srcdir/$vers not found or not executable. Aborted.
exit 1
fi
version=`cd $srcdir; $vers`
if [ $? != 0 ]; then
echo $vers failed. Aborted.
exit 1
fi
# setup output of all the log files if verbose is on upon exit
trap \
"if [ $vflag -ne 0 ]; then DUMP_LOGFILE \$configlog \$makelog \$testlog \$packlog \$installlog; fi" \
0
echo Running Cmake for HDF5-${version} ...
# 4. Configure the C library, tools and tests with this command:
# If successful, append the configure summary to the configure logfile.
STEP "Configure..." \
"env ${szlib_path} \
cmake \
-C $cacheinit \
$build_cpp_lib \
$build_fortran \
$build_hl_lib \
$build_threadsafe \
$shared_lib \
$build_testing \
$build_tools \
$with_zlib \
$with_szlib \
$srcdir" $configlog &&\
cat $config_summary >> $configlog
# 5. Build the C library, tools and tests with this command:
STEP "Build the library, tools and tests, ..." "cmake --build . --config Release -- $njobs" $makelog
# 6. Test the C library and tools with this command:
STEP "Test the library and tools..." "ctest . -C Release $njobs" $testlog
# 7. Create an install image with this command:
STEP "Create an install image..." "cpack -C Release CPackConfig.cmake" $packlog
# The implementation of installation is imcomplete (only works for linux).
# Screen it out for now till it is completed.
if false; then
# 8. Install with this command:
STEP "Install..." "INSTALL_HDF5" $installlog
fi
# save the last exit code
exit_code=$?
# Show a closing time stamp
TIMESTAMP
exit $exit_code

View File

@@ -1,113 +0,0 @@
#! /bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
# Wrapper for compilers which do not understand `-c -o'.
# Copyright 1999, 2000 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Usage:
# compile PROGRAM [ARGS]...
# `-o FOO.o' is removed from the args passed to the actual compile.
prog=$1
shift
ofile=
cfile=
args=
while test $# -gt 0; do
case "$1" in
-o)
# configure might choose to run compile as `compile cc -o foo foo.c'.
# So we do something ugly here.
ofile=$2
shift
case "$ofile" in
*.o | *.obj)
;;
*)
args="$args -o $ofile"
ofile=
;;
esac
;;
*.c)
cfile=$1
args="$args $1"
;;
*)
args="$args $1"
;;
esac
shift
done
if test -z "$ofile" || test -z "$cfile"; then
# If no `-o' option was seen then we might have been invoked from a
# pattern rule where we don't need one. That is ok -- this is a
# normal compilation that the losing compiler can handle. If no
# `.c' file was seen then we are probably linking. That is also
# ok.
exec "$prog" $args
fi
# Name of file we expect compiler to create.
cofile=`echo $cfile | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
# Create the lock directory.
# Note: use `[/.-]' here to ensure that we don't use the same name
# that we are using for the .o file. Also, base the name on the expected
# object file name, since that is what matters with a parallel build.
lockdir=`echo $cofile | sed -e 's|[/.-]|_|g'`.d
while true; do
if mkdir $lockdir > /dev/null 2>&1; then
break
fi
sleep 1
done
# FIXME: race condition here if user kills between mkdir and trap.
trap "rmdir $lockdir; exit 1" 1 2 15
# Run the compile.
"$prog" $args
status=$?
if test -f "$cofile"; then
mv "$cofile" "$ofile"
fi
rmdir $lockdir
exit $status

1526
bin/config.guess vendored

File diff suppressed because it is too large Load Diff

1658
bin/config.sub vendored

File diff suppressed because it is too large Load Diff

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
require 5.003;

View File

@@ -1,529 +0,0 @@
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-02-09.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
# Originally written by Alexandre Oliva <oliva@dcc.unicamp.br>.
case $1 in
'')
echo "$0: No command. Try \`$0 --help' for more information." 1>&2
exit 1;
;;
-h | --h*)
cat <<\EOF
Usage: depcomp [--help] [--version] PROGRAM [ARGS]
Run PROGRAMS ARGS to compile a file, generating dependencies
as side-effects.
Environment variables:
depmode Dependency tracking mode.
source Source file read by `PROGRAMS ARGS'.
object Object file output by `PROGRAMS ARGS'.
DEPDIR directory where to store dependencies.
depfile Dependency file to output.
tmpdepfile Temporary file to use when outputing dependencies.
libtool Whether libtool is used (yes/no).
Report bugs to <bug-automake@gnu.org>.
EOF
exit $?
;;
-v | --v*)
echo "depcomp $scriptversion"
exit $?
;;
esac
if test -z "$depmode" || test -z "$source" || test -z "$object"; then
echo "depcomp: Variables source, object and depmode must be set" 1>&2
exit 1
fi
# Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po.
depfile=${depfile-`echo "$object" |
sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
rm -f "$tmpdepfile"
# Some modes work just like other modes, but use different flags. We
# parameterize here, but still list the modes in the big case below,
# to make depend.m4 easier to write. Note that we *cannot* use a case
# here, because this file can only contain one case statement.
if test "$depmode" = hp; then
# HP compiler uses -M and no extra arg.
gccflag=-M
depmode=gcc
fi
if test "$depmode" = dashXmstdout; then
# This is just like dashmstdout with a different argument.
dashmflag=-xM
depmode=dashmstdout
fi
case "$depmode" in
gcc3)
## gcc 3 implements dependency tracking that does exactly what
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
## it if -MD -MP comes after the -MF stuff. Hmm.
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
mv "$tmpdepfile" "$depfile"
;;
gcc)
## There are various ways to get dependency output from gcc. Here's
## why we pick this rather obscure method:
## - Don't want to use -MD because we'd like the dependencies to end
## up in a subdir. Having to rename by hand is ugly.
## (We might end up doing this anyway to support other compilers.)
## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like
## -MM, not -M (despite what the docs say).
## - Using -M directly means running the compiler twice (even worse
## than renaming).
if test -z "$gccflag"; then
gccflag=-MD,
fi
"$@" -Wp,"$gccflag$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
echo "$object : \\" > "$depfile"
alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
## The second -e expression handles DOS-style file names with drive letters.
sed -e 's/^[^:]*: / /' \
-e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile"
## This next piece of magic avoids the `deleted header file' problem.
## The problem is that when a header file which appears in a .P file
## is deleted, the dependency causes make to die (because there is
## typically no way to rebuild the header). We avoid this by adding
## dummy dependencies for each header file. Too bad gcc doesn't do
## this for us directly.
tr ' ' '
' < "$tmpdepfile" |
## Some versions of gcc put a space before the `:'. On the theory
## that the space means something, we add a space to the output as
## well.
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
hp)
# This case exists only to let depend.m4 do its work. It works by
# looking at the text of this script. This case will never be run,
# since it is checked for above.
exit 1
;;
sgi)
if test "$libtool" = yes; then
"$@" "-Wp,-MDupdate,$tmpdepfile"
else
"$@" -MDupdate "$tmpdepfile"
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files
echo "$object : \\" > "$depfile"
# Clip off the initial element (the dependent). Don't try to be
# clever and replace this with sed code, as IRIX sed won't handle
# lines with more than a fixed number of characters (4096 in
# IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
# the IRIX cc adds comments like `#:fec' to the end of the
# dependency line.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
tr '
' ' ' >> $depfile
echo >> $depfile
# The second pass generates a dummy entry for each header file.
tr ' ' '
' < "$tmpdepfile" \
| sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
>> $depfile
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
aix)
# The C for AIX Compiler uses -M and outputs the dependencies
# in a .u file. In older versions, this file always lives in the
# current directory. Also, the AIX compiler puts `$object:' at the
# start of each line; $object doesn't have directory information.
# Version 6 uses the directory in both cases.
stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
tmpdepfile="$stripped.u"
if test "$libtool" = yes; then
"$@" -Wc,-M
else
"$@" -M
fi
stat=$?
if test -f "$tmpdepfile"; then :
else
stripped=`echo "$stripped" | sed 's,^.*/,,'`
tmpdepfile="$stripped.u"
fi
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
if test -f "$tmpdepfile"; then
outname="$stripped.o"
# Each line is of the form `foo.o: dependent.h'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
else
# The sourcefile does not contain any dependencies, so just
# store a dummy comment line, to avoid errors with the Makefile
# "include basename.Plo" scheme.
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
icc)
# Intel's C compiler understands `-MD -MF file'. However on
# icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c
# ICC 7.0 will fill foo.d with something like
# foo.o: sub/foo.c
# foo.o: sub/foo.h
# which is wrong. We want:
# sub/foo.o: sub/foo.c
# sub/foo.o: sub/foo.h
# sub/foo.c:
# sub/foo.h:
# ICC 7.1 will output
# foo.o: sub/foo.c sub/foo.h
# and will wrap long lines using \ :
# foo.o: sub/foo.c ... \
# sub/foo.h ... \
# ...
"$@" -MD -MF "$tmpdepfile"
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile"
exit $stat
fi
rm -f "$depfile"
# Each line is of the form `foo.o: dependent.h',
# or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'.
# Do two passes, one to just change these to
# `$object: dependent.h' and one to simply `dependent.h:'.
sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
# Some versions of the HPUX 10.20 sed can't process this invocation
# correctly. Breaking it into two sed invocations is a workaround.
sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" |
sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
tru64)
# The Tru64 compiler uses -MD to generate dependencies as a side
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
# At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put
# dependencies in `foo.d' instead, so we check for that too.
# Subdirectories are respected.
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
test "x$dir" = "x$object" && dir=
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
if test "$libtool" = yes; then
# With Tru64 cc, shared objects can also be used to make a
# static library. This mecanism is used in libtool 1.4 series to
# handle both shared and static libraries in a single compilation.
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
#
# With libtool 1.5 this exception was removed, and libtool now
# generates 2 separate objects for the 2 libraries. These two
# compilations output dependencies in in $dir.libs/$base.o.d and
# in $dir$base.o.d. We have to check for both files, because
# one of the two compilations can be disabled. We should prefer
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
# automatically cleaned when .libs/ is deleted, while ignoring
# the former would cause a distcleancheck panic.
tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4
tmpdepfile2=$dir$base.o.d # libtool 1.5
tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5
tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504
"$@" -Wc,-MD
else
tmpdepfile1=$dir$base.o.d
tmpdepfile2=$dir$base.d
tmpdepfile3=$dir$base.d
tmpdepfile4=$dir$base.d
"$@" -MD
fi
stat=$?
if test $stat -eq 0; then :
else
rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
exit $stat
fi
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4"
do
test -f "$tmpdepfile" && break
done
if test -f "$tmpdepfile"; then
sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile"
# That's a tab and a space in the [].
sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile"
else
echo "#dummy" > "$depfile"
fi
rm -f "$tmpdepfile"
;;
#nosideeffect)
# This comment above is used by automake to tell side-effect
# dependency tracking mechanisms from slower ones.
dashmstdout)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
test -z "$dashmflag" && dashmflag=-M
# Require at least two characters before searching for `:'
# in the target name. This is to cope with DOS-style filenames:
# a dependency such as `c:/foo/bar' could be seen as target `c' otherwise.
"$@" $dashmflag |
sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
tr ' ' '
' < "$tmpdepfile" | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
dashXmstdout)
# This case only exists to satisfy depend.m4. It is never actually
# run, as this mode is specially recognized in the preamble.
exit 1
;;
makedepend)
"$@" || exit $?
# Remove any Libtool call
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# X makedepend
shift
cleared=no
for arg in "$@"; do
case $cleared in
no)
set ""; shift
cleared=yes ;;
esac
case "$arg" in
-D*|-I*)
set fnord "$@" "$arg"; shift ;;
# Strip any option that makedepend may not understand. Remove
# the object too, otherwise makedepend will parse it as a source file.
-*|$object)
;;
*)
set fnord "$@" "$arg"; shift ;;
esac
done
obj_suffix="`echo $object | sed 's/^.*\././'`"
touch "$tmpdepfile"
${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
rm -f "$depfile"
cat < "$tmpdepfile" > "$depfile"
sed '1,2d' "$tmpdepfile" | tr ' ' '
' | \
## Some versions of the HPUX 10.20 sed can't process this invocation
## correctly. Breaking it into two sed invocations is a workaround.
sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
rm -f "$tmpdepfile" "$tmpdepfile".bak
;;
cpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout.
"$@" || exit $?
# Remove the call to Libtool.
if test "$libtool" = yes; then
while test $1 != '--mode=compile'; do
shift
done
shift
fi
# Remove `-o $object'.
IFS=" "
for arg
do
case $arg in
-o)
shift
;;
$object)
shift
;;
*)
set fnord "$@" "$arg"
shift # fnord
shift # $arg
;;
esac
done
"$@" -E |
sed -n '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' |
sed '$ s: \\$::' > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
cat < "$tmpdepfile" >> "$depfile"
sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
rm -f "$tmpdepfile"
;;
msvisualcpp)
# Important note: in order to support this mode, a compiler *must*
# always write the preprocessed file to stdout, regardless of -o,
# because we must use -o when running libtool.
"$@" || exit $?
IFS=" "
for arg
do
case "$arg" in
"-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
set fnord "$@"
shift
shift
;;
*)
set fnord "$@" "$arg"
shift
shift
;;
esac
done
"$@" -E |
sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
rm -f "$depfile"
echo "$object : \\" > "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
echo " " >> "$depfile"
. "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
rm -f "$tmpdepfile"
;;
none)
exec "$@"
;;
*)
echo "Unknown depmode $depmode" 1>&2
exit 1
;;
esac
exit 0
# Local Variables:
# mode: shell-script
# sh-indentation: 2
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
my $depend_file;
my $new_depend_file;

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Deploy the HDF5 binary.
#

10
bin/distdep Normal file → Executable file
View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Usage: $0 [<].depend

View File

@@ -11,12 +11,10 @@ use Text::Tabs;
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Robb Matzke, matzke@llnl.gov
# 30 Aug 1997

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
# A script to generate coverage files for HDF5 using gcov.
# Configures, builds, and runs tests in-place; the output files will be placed

250
bin/genparser Executable file
View File

@@ -0,0 +1,250 @@
#! /bin/bash
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This script runs flex/lex and bison/yacc to generate parser code for
# the high-level library. It used to be a part of autogen.sh, but many
# people encountered problems with installing flex and bison on their
# system and the parser code rarely changes, so those parts of the
# script were moved to their own file.
#
# NOTE CAREFULLY!
#
# There is NO dependency in either the autotools or CMake to regenerate
# the parser code. If you modify H5LT analyze.l or H5LTparse.y, you
# will need to run this scrpit manually on a system with a suitable
# lexer and parser generator.
#
# IMPORTANT OS X NOTE
#
# If you are using OS X, you will probably not have flex or bison
# installed. In addtion, even if you do have bison installed, the bison
# version you have installed may also have a bug that makes it unable to
# process our input files.
#
# The easiest way to fix this is to install everything via Homebrew:
#
# http://brew.sh/
#
# After you install the base packages, install flex/bison.
#
# brew install flex
# brew install bison
#
# END IMPORTANT OS X NOTE
#
# If you want to use a particular version of flex or bison, the paths
# to each tool can be overridden using the following environment
# variables:
#
# HDF5_FLEX
# HDF5_BISON
#
# This script takes two potential options:
#
# -p
#
# When this is selected, the flex/bison versions are set to the paths
# and versions used by The HDF Group to produce the released versions
# of the library.
#
# NOTE: This is probably temporary. Once we update our dev machines
# to have recent versions of the autotools this option will probably
# be removed.
#
# -v
#
# This emits some extra information, mainly tool versions.
echo
echo "*******************************************"
echo "* HDF5 high-level parser generator script *"
echo "*******************************************"
echo
# Default is not verbose output
verbose=false
optspec=":hpv-"
while getopts "$optspec" optchar; do
case "${optchar}" in
h)
echo "usage: $0 [OPTIONS] /path/to/hl/src/directory"
echo
echo " -h Print this help message."
echo
echo " -p Used by THG to use hard-codes flex/bison"
echo " paths on THG machines. Not for non-HDF-Group"
echo " users!"
echo
echo " -v Show more verbose output."
echo
echo " NOTE: Each tool can be set via an environment variable."
echo " These are documented inside this script."
echo
exit 0
;;
p)
echo "Setting THG production mode..."
echo
production=true
;;
v)
echo "Setting verbosity: high"
echo
verbose=true
;;
*)
if [ "$OPTERR" != 1 ] || [ "${optspec:0:1}" = ":" ]; then
echo "Non-option argument: '-${OPTARG}'" >&2
fi
;;
esac
done
# Get the path to the hl src directory
shift $(($OPTIND - 1))
path_to_hl_src=$1
if test -z ${path_to_hl_src}; then
echo "*** ERROR *** - Path to hl/src not set"
echo "Please add the path to the hl/src directory as a parameter"
echo "See $0 -h for more help."
echo
exit -1
fi
if [ "$production" = true ] ; then
# Production mode
#
# Hard-code canonical HDF Group tool locations.
# If paths to tools are not specified, assume they are
# located in /usr/hdf/bin/AUTOTOOLS and set paths accordingly.
if test -z ${HDF5_BISON}; then
HDF5_BISON=/usr/hdf/bin/AUTOTOOLS/bison
fi
if test -z ${HDF5_FLEX}; then
HDF5_FLEX=/usr/hdf/bin/AUTOTOOLS/flex
fi
else
# Not in production mode
#
# If paths to autotools are not specified, use whatever the system
# has installed as the default. We use 'which <tool>' to
# show exactly what's being used.
if test -z ${HDF5_BISON}; then
HDF5_BISON=$(which bison)
fi
if test -z ${HDF5_FLEX}; then
HDF5_FLEX=$(which flex)
fi
fi # production
# Make sure that these versions of the tools are in the path
BISON_DIR=`dirname ${HDF5_BISON}`
FLEX_DIR=`dirname ${HDF5_FLEX}`
PATH=${FLEX_DIR}:${BISON_DIR}:$PATH
# Run flex and bison
# automatically generates hl/src/H5LTanalyze.c and hl/src/H5LTparse.c
# Note that, as of Xcode 6.1 (2015), the default bison version on OS X
# is old enough to have the circular dependency bug. You'll have
# to install a later version of bison. See the OS X note at the top
# of this script.
echo
echo "Generating H5LT parser code (requires yacc/bison):"
echo "Generate hl/src/H5LTparse.c from hl/src/H5LTparse.y"
# HDF5_BISON is set via the environment or 'which bison', above
if test -z ${HDF5_BISON}; then
echo
echo "*************************"
echo " ERROR - bison not found"
echo "*************************"
echo "bison is required to generate parser code in H5LT"
echo
exit 127
fi
if [ "$verbose" = true ] ; then
${HDF5_BISON} --version
fi
${HDF5_BISON} -pH5LTyy -o ${path_to_hl_src}/H5LTparse.c -d ${path_to_hl_src}/H5LTparse.y
echo
echo "Generating H5LT lexer code (requires lex/flex):"
echo "Generate hl/src/H5LTanalyze.c from hl/src/H5LTanalyze.l"
# HDF5_FLEX is set via the environment or 'which flex', above
if test -z ${HDF5_FLEX}; then
echo
echo "************************"
echo " ERROR - flex not found"
echo "************************"
echo "flex is required to generate lexer code in H5LT"
echo
exit 127
fi
if [ "$verbose" = true ] ; then
${HDF5_FLEX} --version
fi
${HDF5_FLEX} --nounistd -PH5LTyy -o ${path_to_hl_src}/H5LTanalyze.c ${path_to_hl_src}/H5LTanalyze.l
# fix H5LTparse.c to declare H5LTyyparse return type as an hid_t
# instead of int. Currently the generated function H5LTyyparse is
# generated with a return value of type int, which is a mapping to the
# flex yyparse function. The return value in the HL library should be
# an hid_t.
# I propose to not use flex to generate this function, but for now I am
# adding a perl command to find and replace this function declaration in
# H5LTparse.c.
perl -0777 -pi -e 's/int yyparse/hid_t yyparse/igs' ${path_to_hl_src}/H5LTparse.c
perl -0777 -pi -e 's/int\nyyparse/hid_t\nyyparse/igs' ${path_to_hl_src}/H5LTparse.c
perl -0777 -pi -e 's/int H5LTyyparse/hid_t H5LTyyparse/igs' ${path_to_hl_src}/H5LTparse.c
# Add code that disables warnings in the flex/bison-generated code.
#
# Note that the GCC pragmas did not exist until gcc 4.2. Earlier versions
# will simply ignore them, but we want to avoid those warnings.
for f in ${path_to_hl_src}/H5LTparse.c ${path_to_hl_src}/H5LTanalyze.c
do
echo '#if __GNUC__ >= 4 && __GNUC_MINOR__ >=2 ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wconversion" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wimplicit-function-declaration" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wlarger-than=" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wmissing-prototypes" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wnested-externs" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wold-style-definition" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wredundant-decls" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsign-compare" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsign-conversion" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wstrict-overflow" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wstrict-prototypes" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wsuggest-attribute=pure" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wswitch-default" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-function" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-macros" ' >> tmp.out
echo '#pragma GCC diagnostic ignored "-Wunused-parameter" ' >> tmp.out
echo '#elif defined __SUNPRO_CC ' >> tmp.out
echo '#pragma disable_warn ' >> tmp.out
echo '#elif defined _MSC_VER ' >> tmp.out
echo '#pragma warning(push, 1) ' >> tmp.out
echo '#endif ' >> tmp.out
cat $f >> tmp.out
mv tmp.out $f
done
echo
exit 0

View File

@@ -12,12 +12,10 @@ use strict;
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Robb Matzke <matzke@llnl.gov>
# 17 July 1998
@@ -71,7 +69,7 @@ use strict;
# the command line) then the first line of the README.txt and RELEASE.txt files
# one directory above the H5public.h file is also modified so it looks
# something like: This is hdf5-1.2.3-pre1 currently under development.
# The AC_INIT macro in configure.in will also change in this case to be
# The AC_INIT macro in configure.ac will also change in this case to be
# something like: AC_INIT([HDF5], [hdf5-1.2.3-pre1], [help@hdfgroup.org])
# Version changes are also reflected in the Windows-maintained H5pubconf.h
# file.
@@ -127,7 +125,7 @@ EOF
exit 1;
}
# Parse arguments
my ($verbose, $set, $inc, $file, $rc);
my (@files) = ("H5public.h", "src/H5public.h", "../src/H5public.h");
while ($_ = shift) {
@@ -159,10 +157,11 @@ while ($_ = shift) {
die "mutually exclusive options given\n" if $set && $inc;
# Determine file to use as H5public.h, README.txt,
# release_docs/RELEASE.txt, configure.in, windows/src/H5pubconf.h,
# vms/src/h5pubcof.h and config/lt_vers.am.
# The README.txt, release_docs/RELEASE.txt, configure.in,
# windows/src/H5pubconf.h, vms/src/h5pubconf.h and config/lt_vers.am
# release_docs/RELEASE.txt, configure.ac, windows/src/H5pubconf.h
# config/lt_vers.am and config/cmake/scripts/HDF5config.cmake.
# The README.txt, release_docs/RELEASE.txt, configure.ac,
# windows/src/H5pubconf.h, config/lt_vers.am and
# config/cmake/scripts/HDF5config.cmake
# files are always in the directory above H5public.h
unless ($file) {
for (@files) {
@@ -175,6 +174,10 @@ die "unable to read file: $file\n" unless -r $file;
my $LT_VERS = $file;
$LT_VERS =~ s/[^\/]*$/..\/config\/lt_vers.am/;
die "unable to read file: $LT_VERS\n" unless -r $file;
# config/cmake/scripts/HDF5config.cmake
my $HDF5CONFIGCMAKE = $file;
$HDF5CONFIGCMAKE =~ s/[^\/]*$/..\/config\/cmake\/scripts\/HDF5config.cmake/;
die "unable to read file: $HDF5CONFIGCMAKE\n" unless -r $file;
# README.txt
my $README = $file;
$README =~ s/[^\/]*$/..\/README.txt/;
@@ -183,18 +186,23 @@ die "unable to read file: $README\n" unless -r $file;
my $RELEASE = $file;
$RELEASE =~ s/[^\/]*$/..\/release_docs\/RELEASE.txt/;
die "unable to read file: $RELEASE\n" unless -r $file;
# configure.in
# configure.ac
my $CONFIGURE = $file;
$CONFIGURE =~ s/[^\/]*$/..\/configure.in/;
$CONFIGURE =~ s/[^\/]*$/..\/configure.ac/;
die "unable to read file: $CONFIGURE\n" unless -r $file;
# windows/src/H5pubconf.h
my $H5PUBCONF = $file;
$H5PUBCONF =~ s/[^\/]*$/..\/windows\/src\/H5pubconf.h/;
die "unable to read file: $H5PUBCONF\n" unless -r $file;
# vms/src/h5pubconf.h
my $H5VMSPUBCONF = $file;
$H5VMSPUBCONF =~ s/[^\/]*$/..\/vms\/src\/h5pubconf.h/;
die "unable to read file: $H5VMSPUBCONF\n" unless -r $file;
# cpp_doc_config
my $CPP_DOC_CONFIG = $file;
$CPP_DOC_CONFIG =~ s/[^\/]*$/..\/c++\/src\/cpp_doc_config/;
die "unable to read file: $CPP_DOC_CONFIG\n" unless -r $file;
my $H5_JAVA = $file;
$H5_JAVA =~ s/[^\/]*$/..\/java\/src\/hdf\/hdf5lib\/H5.java/;
die "unable to read file: $H5_JAVA\n" unless -r $file;
my $TESTH5_JAVA = $file;
$TESTH5_JAVA =~ s/[^\/]*$/..\/java\/test\/TestH5.java/;
die "unable to read file: $TESTH5_JAVA\n" unless -r $file;
my $REPACK_LAYOUT_PLUGIN_VERSION = $file;
$REPACK_LAYOUT_PLUGIN_VERSION =~ s/[^\/]*$/..\/tools\/test\/h5repack\/testfiles\/h5repack_layout.h5-plugin_version_test.ddl/;
die "unable to read file: $REPACK_LAYOUT_PLUGIN_VERSION\n" unless -r $file;
# Get the current version number.
open FILE, $file or die "unable to open $file: $!\n";
@@ -242,9 +250,9 @@ if ($set) {
$README = "";
$RELEASE = "";
$CONFIGURE = "";
$H5PUBCONF = "";
$H5VMSPUBCONF = "";
$LT_VERS = "";
$CPP_DOC_CONFIG = "";
$LT_VERS = "";
$HDF5CONFIGCMAKE = "";
@newver = @curver;
}
@@ -282,13 +290,17 @@ if ($LT_VERS && $version_increased) {
local($_) = $contentsy;
my ($lt_revision) = /^LT_VERS_REVISION\s*=\s*(\d+)/m;
my $new_lt_revision = $lt_revision+1;
($contentsy) =~ s/^(LT_VERS_REVISION\s*=\s*)\d+/$1$new_lt_revision/m;
# As of the HDF5 v1.8.16 release, h5vers should not increment
# the LT_VERS numbers, so the next 6 lines are commented out.
# A future version may copy the numbers to H5public.h, so this
# section is retained for future reference.
# my ($lt_revision) = /^LT_VERS_REVISION\s*=\s*(\d+)/m;
# my $new_lt_revision = $lt_revision+1;
# ($contentsy) =~ s/^(LT_VERS_REVISION\s*=\s*)\d+/$1$new_lt_revision/m;
open FILE, ">$LT_VERS" or die "$LT_VERS: $!\n";
print FILE $contentsy;
close FILE;
# open FILE, ">$LT_VERS" or die "$LT_VERS: $!\n";
# print FILE $contentsy;
# close FILE;
}
# Update the README.txt file
@@ -319,6 +331,115 @@ if ($RELEASE) {
close FILE;
}
# Update the c++/src/cpp_doc_config file
if ($CPP_DOC_CONFIG) {
my $data = read_file($CPP_DOC_CONFIG);
my $sub_rel_ver_str = (
$newver[3] eq ""
? sprintf("%s", "")
: sprintf("%s", "-".$newver[3].", currently under development")
);
my $version_string = sprintf("\"%d.%d.%d%s%s\"",
@newver[0,1,2],
$sub_rel_ver_str);
$data =~ s/PROJECT_NUMBER\s*=.*/PROJECT_NUMBER = $version_string/;
write_file($CPP_DOC_CONFIG, $data);
}
# Update the config/cmake/scripts/HDF5config.cmake file
if ($HDF5CONFIGCMAKE) {
my $data = read_file($HDF5CONFIGCMAKE);
# my $sub_rel_ver_str = "";
my $sub_rel_ver_str = (
$newver[3] eq ""
? sprintf("\"%s\"", "")
: sprintf("\"%s\"", "-".$newver[3])
);
my $version_string = sprintf("\"%d.%d.%d\"", @newver[0,1,2]);
$data =~ s/set \(CTEST_SOURCE_VERSION .*\)/set \(CTEST_SOURCE_VERSION $version_string\)/;
$data =~ s/set \(CTEST_SOURCE_VERSEXT .*\)/set \(CTEST_SOURCE_VERSEXT $sub_rel_ver_str\)/;
write_file($HDF5CONFIGCMAKE, $data);
}
# Update the java/src/hdf/hdf5lib/H5.java file
if ($H5_JAVA) {
my $data = read_file($H5_JAVA);
# my $sub_rel_ver_str = "";
my $sub_rel_ver_str = (
$newver[3] eq ""
? sprintf("\"%s\"", "")
: sprintf("\"%s\"", "-".$newver[3].", currently under development")
);
my $version_string1 = sprintf("%d.%d.%d", @newver[0,1,2]);
my $version_string2 = sprintf("%d, %d, %d", @newver[0,1,2]);
$data =~ s/\@version HDF5 .* <BR>/\@version HDF5 $version_string1 <BR>/;
$data =~ s/ public final static int LIB_VERSION\[\] = { \d*, \d*, \d* };/ public final static int LIB_VERSION[] = { $version_string2 };/;
write_file($H5_JAVA, $data);
}
# Update the java/test/TestH5.java file
if ($TESTH5_JAVA) {
my $data = read_file($TESTH5_JAVA);
# my $sub_rel_ver_str = "";
my $sub_rel_ver_str = (
$newver[3] eq ""
? sprintf("\"%s\"", "")
: sprintf("\"%s\"", "-".$newver[3].", currently under development")
);
my $version_string1 = sprintf("%d, %d, %d", @newver[0,1,2]);
my $version_string2 = sprintf("int majnum = %d, minnum = %d, relnum = %d", @newver[0,1,2]);
$data =~ s/ int libversion\[\] = { .* };/ int libversion\[\] = { $version_string1 };/;
$data =~ s/ int majnum = \d*, minnum = \d*, relnum = \d*;/ $version_string2;/;
write_file($TESTH5_JAVA, $data);
}
# Update the tools/test/h5repack/testfiles/h5repack_layout.h5-plugin_version_test.ddl file
if ($REPACK_LAYOUT_PLUGIN_VERSION) {
my $data = read_file($REPACK_LAYOUT_PLUGIN_VERSION);
my $version_string = sprintf("%d %d %d", @newver[0,1,2]);
$data =~ s/ PARAMS { 9 \d* \d* \d* }/ PARAMS { 9 $version_string }/g;
write_file($REPACK_LAYOUT_PLUGIN_VERSION, $data);
}
# helper function to read the file for updating c++/src/cpp_doc_config,
# config/cmake/scripts/HDF5Config.cmake, and java files.
# The version string in that file is not at the top, so the string replacement
# is not for the first line, and reading/writing the entire file as one string
# facilitates the substring replacement.
#Presumably these will also work for resetting the version in HDF5config.cmake.
sub read_file {
my ($filename) = @_;
open my $in, $filename or die "Could not open '$filename' for reading $!";
local $/ = undef;
my $all = <$in>;
close $in;
return $all;
}
# helper function to write the file for updating c++/src/cpp_doc_config,
# config/cmake/scripts/HDF5config.cmake and java files.
sub write_file {
my ($filename, $content) = @_;
open my $out, ">$filename" or die "Could not open '$filename' for writing $!";;
print $out $content;
close $out;
return;
}
sub gen_configure {
my ($name, $conf) = @_;
@@ -339,20 +460,20 @@ sub gen_configure {
print FILE @contents;
close FILE;
$conf =~ /^(.*?)\/?configure.in$/;
$conf =~ /^(.*?)\/?configure.ac$/;
if ($1) {
$rc = system("cd $1 && bin/reconfigure >/dev/null 2>/dev/null && rm -rf autom4te.cache");
$rc = system("cd $1 && ./autogen.sh >/dev/null 2>/dev/null && rm -rf autom4te.cache");
} else {
$rc = system("bin/reconfigure >/dev/null 2>/dev/null && rm -rf autom4te.cache");
$rc = system("./autogen.sh >/dev/null 2>/dev/null && rm -rf autom4te.cache");
}
if ($rc) {
printf("bin/reconfigure failed with exit code %d. Aborted.\n", $rc);
printf("./autogen.sh failed with exit code %d. Aborted.\n", $rc);
exit 1;
}
}
# Update the configure.in files and regenerate them
# Update the configure.ac files and regenerate them
gen_configure("HDF5", $CONFIGURE) if $CONFIGURE;
sub gen_h5pubconf {
@@ -392,12 +513,6 @@ sub gen_h5pubconf {
close FILE;
}
# Update the Windows-maintained H5pubconf.h file
gen_h5pubconf("HDF5", $H5PUBCONF, @newver) if $H5PUBCONF;
# Update the VMS-maintained h5pubconf.h file
gen_h5pubconf("HDF5", $H5VMSPUBCONF, @newver) if $H5VMSPUBCONF;
# Print the new version number
if ($verbose) {
printf("version %d.%d release %d%s\n", @newver[0,1,2],

View File

@@ -1,520 +0,0 @@
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2009-04-28.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#
# Except as contained in this notice, the name of the X Consortium shall not
# be used in advertising or otherwise to promote the sale, use or other deal-
# ings in this Software without prior written authorization from the X Consor-
# tium.
#
#
# FSF changes to this file are in the public domain.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
# from scratch.
nl='
'
IFS=" "" $nl"
# set DOITPROG to echo to test this script
# Don't use :- since 4.3BSD and earlier shells don't like it.
doit=${DOITPROG-}
if test -z "$doit"; then
doit_exec=exec
else
doit_exec=$doit
fi
# Put in absolute file names if you don't have them in your path;
# or use environment vars.
chgrpprog=${CHGRPPROG-chgrp}
chmodprog=${CHMODPROG-chmod}
chownprog=${CHOWNPROG-chown}
cmpprog=${CMPPROG-cmp}
cpprog=${CPPROG-cp}
mkdirprog=${MKDIRPROG-mkdir}
mvprog=${MVPROG-mv}
rmprog=${RMPROG-rm}
stripprog=${STRIPPROG-strip}
posix_glob='?'
initialize_posix_glob='
test "$posix_glob" != "?" || {
if (set -f) 2>/dev/null; then
posix_glob=
else
posix_glob=:
fi
}
'
posix_mkdir=
# Desired mode of installed file.
mode=0755
chgrpcmd=
chmodcmd=$chmodprog
chowncmd=
mvcmd=$mvprog
rmcmd="$rmprog -f"
stripcmd=
src=
dst=
dir_arg=
dst_arg=
copy_on_change=false
no_target_directory=
usage="\
Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
or: $0 [OPTION]... SRCFILES... DIRECTORY
or: $0 [OPTION]... -t DIRECTORY SRCFILES...
or: $0 [OPTION]... -d DIRECTORIES...
In the 1st form, copy SRCFILE to DSTFILE.
In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
In the 4th, create DIRECTORIES.
Options:
--help display this help and exit.
--version display version info and exit.
-c (ignored)
-C install only if different (preserve the last data modification time)
-d create directories instead of installing files.
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-s $stripprog installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
Environment variables override the default commands:
CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG
RMPROG STRIPPROG
"
while test $# -ne 0; do
case $1 in
-c) ;;
-C) copy_on_change=true;;
-d) dir_arg=true;;
-g) chgrpcmd="$chgrpprog $2"
shift;;
--help) echo "$usage"; exit $?;;
-m) mode=$2
case $mode in
*' '* | *' '* | *'
'* | *'*'* | *'?'* | *'['*)
echo "$0: invalid mode: $mode" >&2
exit 1;;
esac
shift;;
-o) chowncmd="$chownprog $2"
shift;;
-s) stripcmd=$stripprog;;
-t) dst_arg=$2
shift;;
-T) no_target_directory=true;;
--version) echo "$0 $scriptversion"; exit $?;;
--) shift
break;;
-*) echo "$0: invalid option: $1" >&2
exit 1;;
*) break;;
esac
shift
done
if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then
# When -d is used, all remaining arguments are directories to create.
# When -t is used, the destination is already specified.
# Otherwise, the last argument is the destination. Remove it from $@.
for arg
do
if test -n "$dst_arg"; then
# $@ is not empty: it contains at least $arg.
set fnord "$@" "$dst_arg"
shift # fnord
fi
shift # arg
dst_arg=$arg
done
fi
if test $# -eq 0; then
if test -z "$dir_arg"; then
echo "$0: no input file specified." >&2
exit 1
fi
# It's OK to call `install-sh -d' without argument.
# This can happen when creating conditional directories.
exit 0
fi
if test -z "$dir_arg"; then
trap '(exit $?); exit' 1 2 13 15
# Set umask so as not to create temps with too-generous modes.
# However, 'strip' requires both read and write access to temps.
case $mode in
# Optimize common cases.
*644) cp_umask=133;;
*755) cp_umask=22;;
*[0-7])
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw='% 200'
fi
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
*)
if test -z "$stripcmd"; then
u_plus_rw=
else
u_plus_rw=,u+rw
fi
cp_umask=$mode$u_plus_rw;;
esac
fi
for src
do
# Protect names starting with `-'.
case $src in
-*) src=./$src;;
esac
if test -n "$dir_arg"; then
dst=$src
dstdir=$dst
test -d "$dstdir"
dstdir_status=$?
else
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
# might cause directories to be created, which would be especially bad
# if $src (and thus $dsttmp) contains '*'.
if test ! -f "$src" && test ! -d "$src"; then
echo "$0: $src does not exist." >&2
exit 1
fi
if test -z "$dst_arg"; then
echo "$0: no destination specified." >&2
exit 1
fi
dst=$dst_arg
# Protect names starting with `-'.
case $dst in
-*) dst=./$dst;;
esac
# If destination is a directory, append the input filename; won't work
# if double slashes aren't ignored.
if test -d "$dst"; then
if test -n "$no_target_directory"; then
echo "$0: $dst_arg: Is a directory" >&2
exit 1
fi
dstdir=$dst
dst=$dstdir/`basename "$src"`
dstdir_status=0
else
# Prefer dirname, but fall back on a substitute if dirname fails.
dstdir=`
(dirname "$dst") 2>/dev/null ||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
X"$dst" : 'X\(//\)[^/]' \| \
X"$dst" : 'X\(//\)$' \| \
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
echo X"$dst" |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
s//\1/
q
}
/^X\(\/\/\)[^/].*/{
s//\1/
q
}
/^X\(\/\/\)$/{
s//\1/
q
}
/^X\(\/\).*/{
s//\1/
q
}
s/.*/./; q'
`
test -d "$dstdir"
dstdir_status=$?
fi
fi
obsolete_mkdir_used=false
if test $dstdir_status != 0; then
case $posix_mkdir in
'')
# Create intermediate dirs using mode 755 as modified by the umask.
# This is like FreeBSD 'install' as of 1997-10-28.
umask=`umask`
case $stripcmd.$umask in
# Optimize common cases.
*[2367][2367]) mkdir_umask=$umask;;
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
*[0-7])
mkdir_umask=`expr $umask + 22 \
- $umask % 100 % 40 + $umask % 20 \
- $umask % 10 % 4 + $umask % 2
`;;
*) mkdir_umask=$umask,go-w;;
esac
# With -d, create the new directory with the user-specified mode.
# Otherwise, rely on $mkdir_umask.
if test -n "$dir_arg"; then
mkdir_mode=-m$mode
else
mkdir_mode=
fi
posix_mkdir=false
case $umask in
*[123567][0-7][0-7])
# POSIX mkdir -p sets u+wx bits regardless of umask, which
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
;;
*)
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
if (umask $mkdir_umask &&
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
then
if test -z "$dir_arg" || {
# Check for POSIX incompatibilities with -m.
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
# other-writeable bit of parent directory when it shouldn't.
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
ls_ld_tmpdir=`ls -ld "$tmpdir"`
case $ls_ld_tmpdir in
d????-?r-*) different_mode=700;;
d????-?--*) different_mode=755;;
*) false;;
esac &&
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
}
}
then posix_mkdir=:
fi
rmdir "$tmpdir/d" "$tmpdir"
else
# Remove any dirs left behind by ancient mkdir implementations.
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
fi
trap '' 0;;
esac;;
esac
if
$posix_mkdir && (
umask $mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
)
then :
else
# The umask is ridiculous, or mkdir does not conform to POSIX,
# or it failed possibly due to a race condition. Create the
# directory the slow way, step by step, checking for races as we go.
case $dstdir in
/*) prefix='/';;
-*) prefix='./';;
*) prefix='';;
esac
eval "$initialize_posix_glob"
oIFS=$IFS
IFS=/
$posix_glob set -f
set fnord $dstdir
shift
$posix_glob set +f
IFS=$oIFS
prefixes=
for d
do
test -z "$d" && continue
prefix=$prefix$d
if test -d "$prefix"; then
prefixes=
else
if $posix_mkdir; then
(umask=$mkdir_umask &&
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
# Don't fail if two instances are running concurrently.
test -d "$prefix" || exit 1
else
case $prefix in
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
*) qprefix=$prefix;;
esac
prefixes="$prefixes '$qprefix'"
fi
fi
prefix=$prefix/
done
if test -n "$prefixes"; then
# Don't fail if two instances are running concurrently.
(umask $mkdir_umask &&
eval "\$doit_exec \$mkdirprog $prefixes") ||
test -d "$dstdir" || exit 1
obsolete_mkdir_used=true
fi
fi
fi
if test -n "$dir_arg"; then
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
else
# Make a couple of temp file names in the proper directory.
dsttmp=$dstdir/_inst.$$_
rmtmp=$dstdir/_rm.$$_
# Trap to clean up those temp files at exit.
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
# Copy the file name to the temp name.
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
# and set any options; do chmod last to preserve setuid bits.
#
# If any of these fail, we abort the whole thing. If we want to
# ignore errors from any of these, just make sure not to ignore
# errors from the above "$doit $cpprog $src $dsttmp" command.
#
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } &&
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } &&
{ test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } &&
{ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
# If -C, don't bother to copy if it wouldn't change the file.
if $copy_on_change &&
old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` &&
new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` &&
eval "$initialize_posix_glob" &&
$posix_glob set -f &&
set X $old && old=:$2:$4:$5:$6 &&
set X $new && new=:$2:$4:$5:$6 &&
$posix_glob set +f &&
test "$old" = "$new" &&
$cmpprog "$dst" "$dsttmp" >/dev/null 2>&1
then
rm -f "$dsttmp"
else
# Rename the file to the real destination.
$doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null ||
# The rename failed, perhaps because mv can't rename something else
# to itself, or perhaps because mv is so ancient that it does not
# support -f.
{
# Now remove or move aside any old file at destination location.
# We try this two ways since rm can't unlink itself on some
# systems and the destination file might be busy for other
# reasons. In this case, the final cleanup might fail but the new
# file should still install successfully.
{
test ! -f "$dst" ||
$doit $rmcmd -f "$dst" 2>/dev/null ||
{ $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null &&
{ $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }
} ||
{ echo "$0: cannot unlink or rename $dst" >&2
(exit 1); exit 1
}
} &&
# Now rename the file to the real destination.
$doit $mvcmd "$dsttmp" "$dst"
}
fi || exit 1
trap '' 0
fi
done
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-time-zone: "UTC"
# time-stamp-end: "; # UTC"
# End:

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Usage: pipe the output of Linux's `strace' program into the stdin of

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Try to locate the software as named in argument.
@@ -67,33 +65,6 @@ case "$OSname" in
;;
esac
;;
IRIX)
swpaths="/afs/ncsa/packages/hdf/IRIX_6.5"
;;
IRIX64)
case "$CC" in
cc|"") #default cc
abi=`cc -show_defaults 2>&1 | grep 'default abi'`
case $abi in
*-n32)
swpaths="/afs/ncsa/packages/hdf/IRIX64-n32_6.5"
;;
*-64)
swpaths="/afs/ncsa/packages/hdf/IRIX64_6.5"
;;
*)
swpaths="/afs/ncsa/packages/hdf/IRIX64_6.5"
;;
esac # $abi
;;
*-n32)
swpaths="/afs/ncsa/packages/hdf/IRIX64-n32_6.5"
;;
*)
swpaths="/afs/ncsa/packages/hdf/IRIX64_6.5"
;;
esac
;;
Linux)
swpaths="/afs/ncsa/packages/hdf/Linux"
;;
@@ -150,36 +121,6 @@ case "$OSname" in
;;
esac
;;
IRIX)
swpaths="/afs/ncsa/packages/hdf5/IRIX_6.5"
;;
IRIX64)
case "$CC" in
cc|"") #default cc
abi=`cc -show_defaults 2>&1 | grep 'default abi'`
case $abi in
*-n32)
swpaths="/afs/ncsa/packages/hdf5/IRIX64-n32_6.5"
;;
*-64)
#swpaths="/afs/ncsa/packages/hdf5/IRIX64_6.5"
swpaths="/afs/ncsa/packages/hdf5/5-1.4.3-irix64"
;;
*)
#swpaths="/afs/ncsa/packages/hdf5/IRIX64_6.5"
swpaths="/afs/ncsa/packages/hdf5/5-1.4.3-irix64"
;;
esac # $abi
;;
*-n32)
swpaths="/afs/ncsa/packages/hdf5/IRIX64-n32_6.5"
;;
*)
#swpaths="/afs/ncsa/packages/hdf5/IRIX64_6.5"
swpaths="/afs/ncsa/packages/hdf5/5-1.4.3-irix64"
;;
esac
;;
Linux)
swpaths="/afs/ncsa/packages/hdf5/Linux"
;;

File diff suppressed because it is too large Load Diff

View File

@@ -9,12 +9,10 @@ $indent=4;
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Create error headers
@@ -38,12 +36,10 @@ sub print_copyright ($) {
print $fh " * *\n";
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
print $fh " * terms governing use, modification, and redistribution, is contained in *\n";
print $fh " * the files COPYING and Copyright.html. COPYING can be found at the root *\n";
print $fh " * of the source code distribution tree; Copyright.html can be found at the *\n";
print $fh " * root level of an installed copy of the electronic HDF5 document set and *\n";
print $fh " * is linked from the top-level documents page. It can also be found at *\n";
print $fh " * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *\n";
print $fh " * access to either file, you may request a copy from help\@hdfgroup.org. *\n";
print $fh " * the COPYING file, which can be found at the root of the source code *\n";
print $fh " * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *\n";
print $fh " * If you do not have access to either file, you may request a copy from *\n";
print $fh " * help\@hdfgroup.org. *\n";
print $fh " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n";
}
@@ -175,6 +171,12 @@ sub create_public ($) {
print_warning(*HEADER);
print_startprotect(*HEADER, $file);
# Begin extern C block
print HEADER "\n";
print HEADER "#ifdef __cplusplus\n";
print HEADER "extern \"C\" {\n";
print HEADER "#endif\n";
# Iterate over all the major errors
print HEADER "\n/*********************/\n";
print HEADER "/* Major error codes */\n";
@@ -202,6 +204,12 @@ sub create_public ($) {
}
}
# End extern C block
print HEADER "\n";
print HEADER "#ifdef __cplusplus\n";
print HEADER "}\n";
print HEADER "#endif\n";
print_endprotect(*HEADER, $file);
# Close header file

View File

@@ -14,12 +14,10 @@ my @ctypes = ( () );
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Create assignment overflow #ifdefs
@@ -67,12 +65,10 @@ sub print_copyright ($) {
print $fh " * *\n";
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
print $fh " * terms governing use, modification, and redistribution, is contained in *\n";
print $fh " * the files COPYING and Copyright.html. COPYING can be found at the root *\n";
print $fh " * of the source code distribution tree; Copyright.html can be found at the *\n";
print $fh " * root level of an installed copy of the electronic HDF5 document set and *\n";
print $fh " * is linked from the top-level documents page. It can also be found at *\n";
print $fh " * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *\n";
print $fh " * access to either file, you may request a copy from help\@hdfgroup.org. *\n";
print $fh " * the COPYING file, which can be found at the root of the source code *\n";
print $fh " * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *\n";
print $fh " * If you do not have access to either file, you may request a copy from *\n";
print $fh " * help\@hdfgroup.org. *\n";
print $fh " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n";
}

View File

@@ -23,12 +23,10 @@ $indent = 2;
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Create public symbol version headers
@@ -52,12 +50,10 @@ sub print_copyright ($) {
print $fh " * *\n";
print $fh " * This file is part of HDF5. The full HDF5 copyright notice, including *\n";
print $fh " * terms governing use, modification, and redistribution, is contained in *\n";
print $fh " * the files COPYING and Copyright.html. COPYING can be found at the root *\n";
print $fh " * of the source code distribution tree; Copyright.html can be found at the *\n";
print $fh " * root level of an installed copy of the electronic HDF5 document set and *\n";
print $fh " * is linked from the top-level documents page. It can also be found at *\n";
print $fh " * http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *\n";
print $fh " * access to either file, you may request a copy from help\@hdfgroup.org. *\n";
print $fh " * the COPYING file, which can be found at the root of the source code *\n";
print $fh " * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *\n";
print $fh " * If you do not have access to either file, you may request a copy from *\n";
print $fh " * help\@hdfgroup.org. *\n";
print $fh " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n";
}

View File

@@ -1,357 +0,0 @@
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-02-08.22
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
# 02111-1307, USA.
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
if test $# -eq 0; then
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
fi
run=:
# In the cases where this matters, `missing' is being run in the
# srcdir already.
if test -f configure.ac; then
configure_ac=configure.ac
else
configure_ac=configure.in
fi
msg="missing on your system"
case "$1" in
--run)
# Try to run requested program, and just exit if it succeeds.
run=
shift
"$@" && exit 0
# Exit code 63 means version mismatch. This often happens
# when the user try to use an ancient version of a tool on
# a file that requires a minimum version. In this case we
# we should proceed has if the program had been absent, or
# if --run hadn't been passed.
if test $? = 63; then
run=:
msg="probably too old"
fi
;;
-h|--h|--he|--hel|--help)
echo "\
$0 [OPTION]... PROGRAM [ARGUMENT]...
Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
error status if there is no known handling for PROGRAM.
Options:
-h, --help display this help and exit
-v, --version output version information and exit
--run try to run the given command, and emulate it if it fails
Supported PROGRAM values:
aclocal touch file \`aclocal.m4'
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
bison create \`y.tab.[ch]', if possible, from existing .[ch]
flex create \`lex.yy.c', if possible, from existing .c
help2man touch the output file
lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
tar try tar, gnutar, gtar, then tar without non-portable flags
yacc create \`y.tab.[ch]', if possible, from existing .[ch]
Send bug reports to <bug-automake@gnu.org>."
exit $?
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
echo "missing $scriptversion (GNU Automake)"
exit $?
;;
-*)
echo 1>&2 "$0: Unknown \`$1' option"
echo 1>&2 "Try \`$0 --help' for more information"
exit 1
;;
esac
# Now exit if we have it, but it failed. Also exit now if we
# don't have it and --version was passed (most likely to detect
# the program).
case "$1" in
lex|yacc)
# Not GNU programs, they don't have --version.
;;
tar)
if test -n "$run"; then
echo 1>&2 "ERROR: \`tar' requires --run"
exit 1
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
exit 1
fi
;;
*)
if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
# We have it, but it failed.
exit 1
elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
# Could not run --version or --help. This is probably someone
# running `$TOOL --version' or `$TOOL --help' to check whether
# $TOOL exists and not knowing $TOOL uses missing.
exit 1
fi
;;
esac
# If it does not exist, or fails to run (possibly an outdated version),
# try to emulate it.
case "$1" in
aclocal*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acinclude.m4' or \`${configure_ac}'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
touch aclocal.m4
;;
autoconf)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`${configure_ac}'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
touch configure
;;
autoheader)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`acconfig.h' or \`${configure_ac}'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
test -z "$files" && files="config.h"
touch_files=
for f in $files; do
case "$f" in
*:*) touch_files="$touch_files "`echo "$f" |
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
*) touch_files="$touch_files $f.in";;
esac
done
touch $touch_files
;;
automake*)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
find . -type f -name Makefile.am -print |
sed 's/\.am$/.in/' |
while read f; do touch "$f"; done
;;
autom4te)
echo 1>&2 "\
WARNING: \`$1' is needed, but is $msg.
You might have modified some files without having the
proper tools for further handling them.
You can get \`$1' as part of \`Autoconf' from any GNU
archive site."
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
if test -f "$file"; then
touch $file
else
test -z "$file" || exec >$file
echo "#! /bin/sh"
echo "# Created by GNU Automake missing as a replacement of"
echo "# $ $@"
echo "exit 0"
chmod +x $file
exit 1
fi
;;
bison|yacc)
echo 1>&2 "\
WARNING: \`$1' $msg. You should only need it if
you modified a \`.y' file. You may need the \`Bison' package
in order for those modifications to take effect. You can get
\`Bison' from any GNU archive site."
rm -f y.tab.c y.tab.h
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.y)
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.c
fi
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" y.tab.h
fi
;;
esac
fi
if [ ! -f y.tab.h ]; then
echo >y.tab.h
fi
if [ ! -f y.tab.c ]; then
echo 'main() { return 0; }' >y.tab.c
fi
;;
lex|flex)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.l' file. You may need the \`Flex' package
in order for those modifications to take effect. You can get
\`Flex' from any GNU archive site."
rm -f lex.yy.c
if [ $# -ne 1 ]; then
eval LASTARG="\${$#}"
case "$LASTARG" in
*.l)
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
if [ -f "$SRCFILE" ]; then
cp "$SRCFILE" lex.yy.c
fi
;;
esac
fi
if [ ! -f lex.yy.c ]; then
echo 'main() { return 0; }' >lex.yy.c
fi
;;
help2man)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a dependency of a manual page. You may need the
\`Help2man' package in order for those modifications to take
effect. You can get \`Help2man' from any GNU archive site."
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
fi
if [ -f "$file" ]; then
touch $file
else
test -z "$file" || exec >$file
echo ".ab help2man is required to generate this page"
exit 1
fi
;;
makeinfo)
echo 1>&2 "\
WARNING: \`$1' is $msg. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
DU, IRIX). You might want to install the \`Texinfo' package or
the \`GNU make' package. Grab either from any GNU archive site."
# The file to touch is that specified with -o ...
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
if test -z "$file"; then
# ... or it is the one specified with @setfilename ...
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
# ... or it is derived from the source name (dir/f.texi becomes f.info)
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
fi
touch $file
;;
tar)
shift
# We have already tried tar in the generic part.
# Look for gnutar/gtar before invocation to avoid ugly error
# messages.
if (gnutar --version > /dev/null 2>&1); then
gnutar "$@" && exit 0
fi
if (gtar --version > /dev/null 2>&1); then
gtar "$@" && exit 0
fi
firstarg="$1"
if shift; then
case "$firstarg" in
*o*)
firstarg=`echo "$firstarg" | sed s/o//`
tar "$firstarg" "$@" && exit 0
;;
esac
case "$firstarg" in
*h*)
firstarg=`echo "$firstarg" | sed s/h//`
tar "$firstarg" "$@" && exit 0
;;
esac
fi
echo 1>&2 "\
WARNING: I can't seem to be able to run \`tar' with the given arguments.
You may want to install GNU tar or Free paxutils, or check the
command line arguments."
exit 1
;;
*)
echo 1>&2 "\
WARNING: \`$1' is needed, and is $msg.
You might have modified some files without having the
proper tools for further handling them. Check the \`README' file,
it often tells you about the needed prerequisites for installing
this package. You may also peek at any GNU archive site, in case
some other package would contain this missing \`$1' program."
exit 1
;;
esac
exit 0
# Local variables:
# eval: (add-hook 'write-file-hooks 'time-stamp)
# time-stamp-start: "scriptversion="
# time-stamp-format: "%:y-%02m-%02d.%02H"
# time-stamp-end: "$"
# End:

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This is a small program which will create directories n-levels deep.
# You just call it with something like:

View File

@@ -1,101 +0,0 @@
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
# $Id$
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case "${1}" in
-h | --help | --h* ) # -h for help
echo "${usage}" 1>&2; exit 0 ;;
-m ) # -m PERM arg
shift
test $# -eq 0 && { echo "${usage}" 1>&2; exit 1; }
dirmode="${1}"
shift ;;
-- ) shift; break ;; # stop option processing
-* ) echo "${usage}" 1>&2; exit 1 ;; # unknown option
* ) break ;; # first non-opt arg
esac
done
for file
do
if test -d "$file"; then
shift
else
break
fi
done
case $# in
0) exit 0 ;;
esac
case $dirmode in
'')
if mkdir -p -- . 2>/dev/null; then
echo "mkdir -p -- $*"
exec mkdir -p -- "$@"
fi ;;
*)
if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
echo "mkdir -m $dirmode -p -- $*"
exec mkdir -m "$dirmode" -p -- "$@"
fi ;;
esac
for file
do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
for d
do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
esac
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp"
mkdir "$pathcomp" || lasterr=$?
if test ! -d "$pathcomp"; then
errstatus=$lasterr
else
if test ! -z "$dirmode"; then
echo "chmod $dirmode $pathcomp"
lasterr=""
chmod "$dirmode" "$pathcomp" || lasterr=$?
if test ! -z "$lasterr"; then
errstatus=$lasterr
fi
fi
fi
fi
pathcomp="$pathcomp/"
done
done
exit $errstatus
# Local Variables:
# mode: shell-script
# sh-indentation: 3
# End:
# mkinstalldirs ends here

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Compare the modification time of file argument 1 against other file arguments.
# Return true (0) if argument 1 is newer than all others, otherwise return

View File

@@ -3,12 +3,10 @@
##
## This file is part of HDF5. The full HDF5 copyright notice, including
## terms governing use, modification, and redistribution, is contained in
## the files COPYING and Copyright.html. COPYING can be found at the root
## of the source code distribution tree; Copyright.html can be found at the
## root level of an installed copy of the electronic HDF5 document set and
## is linked from the top-level documents page. It can also be found at
## http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
## access to either file, you may request a copy from help@hdfgroup.org.
## the COPYING file, which can be found at the root of the source code
## distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
## If you do not have access to either file, you may request a copy from
## help@hdfgroup.org.
# This contains function definitions of output filtering.
# This file should only be sourced in by another shell script.
@@ -17,6 +15,21 @@
# Created Date: 2011/5/3
# Comment added to address HDFFV-8270:
# As I understand it, the purpose of this file is to remove extraneous messages
# that appear in stdout and stderr on some machines that have been tested outside
# of the HDF Group realm. The purpose of this script is to filter those
# extraneous messages from stdout and stderr so that when the output files are
# compared to the expected output, the extra messages will not cause failures in
# the tests. The system messages in the comments below are out of date, meaning
# I suppose that while the script code to filter messages on the system was
# correct correct when last used, the output in the comments doesn't match the
# script code that follows. I don't currently have access to any of these
# systems to see the current output and the effect of the script code. If using
# this file in the future, please update the comments to match the scripts in use.
# Larry Knox 2017/3/15
# Some systems will dump some messages to stdout for various reasons.
# Remove them from the stdout result file.
# $1 is the file name of the file to be filtered.

165
bin/pkgscrpts/h5rmflags Executable file
View File

@@ -0,0 +1,165 @@
#! /bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
## Remove paths to libraries used to build HDF5 when packaging HDF5
## binaries.
## For help page, use "h5rmflags -help"
# Constants definitions
EXIT_SUCCESS=0
EXIT_FAILURE=1
# Function definitions
# show help page
usage() {
# A wonderfully informative "usage" message.
echo "usage: $prog_name [OPTIONS]"
echo " OPTIONS:"
echo " -help|help This help message"
echo " -echo Show all the shell commands executed"
echo " -force No prompt, just do it"
echo " -prefix=DIR New directory to find HDF5 lib/ and include/"
echo " subdirectories [default: current directory]"
echo " -tool=TOOL Tool to update. TOOL must be in the current"
echo " directory and writable. [default: $h5tools]"
echo " -show Show the commands without executing them"
echo " "
exit $EXIT_FAILURE
}
# display variable values
dump_vars(){
echo "====Showing all variable values====="
echo prefix=$prefix
echo h5tools=$h5tools
echo "====End Showing====="
}
# show actions to be taken
show_action()
{
echo "Update the following tools because they are now installed at a new directory"
for t in $foundtools; do
echo "${t}:"
echo " current setting=`sed -e '/^prefix=/s/prefix=//p' -e d $t`"
echo " new setting="\""$prefix"\"
done
}
# Report Error message
ERROR()
{
echo "***ERROR***"
echo "$1"
}
# Main
#
# Initialization
h5tools="h5cc h5pcc h5fc h5pfc h5c++" # possible hdf5 tools
foundtools= # tools found and will be modified
fmode= # force mode, default is off
prefix=`(cd ..;pwd)`
# Parse options
for arg in $@ ; do
case "$arg" in
-prefix=*)
prefix="`expr "$arg" : '-prefix=\(.*\)'`"
;;
-echo)
set -x
;;
-show)
SHOW="echo"
;;
-tool=*)
h5tools="`expr "$arg" : '-tool=\(.*\)'`"
;;
-help|help)
usage
;;
-force)
fmode=yes
;;
*)
ERROR "Unknown Option($arg)"
usage
exit $EXIT_FAILURE
;;
esac
done
# Sanity checks
#if [ ! -d $prefix ]; then
# ERROR "prefix($prefix) is not an existing directory"
# exit $EXIT_FAILURE
#fi
for x in $h5tools; do
if [ -f $x ]; then
foundtools="$foundtools $x"
if [ ! -w $x ]; then
ERROR "h5tool($x) is not writable"
exit $EXIT_FAILURE
fi
fi
done
if [ -z "$foundtools" ]; then
ERROR "found no tools to modify"
exit $EXIT_FAILURE
fi
# Show actions to be taken and get consent
show_action
# Update them
if [ "$SHOW" = "echo" ]; then
echo "===Update commands are:===="
# cat $CMDFILE
echo "===End Update commands====="
fi
for t in $foundtools; do
echo Update $t ...
# COMMAND="ed - $t"
# if [ "$SHOW" = "echo" ]; then
# echo $COMMAND
# else
# $COMMAND < $CMDFILE
ed - $t << end
g/^H5BLD_CPPFLAGS/s/-I\/.*include //g
g/^H5BLD_LDFLAGS/s/-L\/.*lib //g
g/^H5BLD_LDFLAGS/s/-L\/.*lib64 //g
.
w
end
# fi
done
# Cleanup
#rm -f $CMDFILE
exit $EXIT_SUCCESS
# Some possible future features to add
# CCBASE - Name of the alternative C compiler
# CLINKERBASE - Name of the alternative linker
# LDFLAGS - Path to different libraries your application will link with
# (this path should include the path to the zlib library)
# LIBS - Libraries your application will link with

View File

@@ -0,0 +1,366 @@
#!/usr/bin/perl
# makeTarFiles.pl
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
#
#
use warnings;
use strict;
use Cwd;
use File::Basename;
my %destsubdir = ('emu' => 'sunos-5.11-sparc-32-sunc512',
'emu64' => 'sunos-5.11-sparc-64-sunc512',
'ostrich' => 'linux-el6-ppc64-gcc447',
'ostrichxl' => 'linux-el6-ppc64-xl13.1',
'platypus' => 'linux-centos6-x86_64-gcc447',
'platypus32' => 'linux-centos6-x86_64-32-gcc447',
'moohan' => 'linux-centos7-x86_64-gcc485',
'moohan32' => 'linux-centos7-x86_64-32-gcc485',
'kite' => 'osx-10.8-x86_64-clang5.1',
'quail' => 'osx-10.9-x86_64-clang6.0',
'osx1010test' => 'osx-10.10-x86_64-clang6.0');
my %szipdir = ('emu' => '/mnt/hdf/packages/szip/shared/encoder/SunOS-5.10',
'emu-static' => '/mnt/hdf/packages/szip/static/encoder/SunOS-5.10',
'emu64' => '/mnt/hdf/packages/szip-PIC/shared/encoder/SunOS-5.11-64',
'emu64-static' => '/mnt/hdf/packages/szip-PIC/shared/encoder/SunOS-5.11-64',
'kite' => '/mnt/hdf/packages/szip/shared/encoder/MacOS-10.8',
'kite-static' => '/mnt/hdf/packages/szip-PIC/static/encoder/MacOS-10.8',
'ostrich32' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-ppc64-gcc',
'ostrich32-static' => '/mnt/hdf/packages/szip/static/encoder/Linux2.6-ibmppc64-gcc-32',
'ostrich' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-ppc64-gcc-64',
'ostrich-static' => '/mnt/hdf/packages/szip/static/encoder/Linux2.6-ibmppc64-gcc',
'ostrichxl' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-ppc64-gcc-64',
'ostrichxl-static' => '/mnt/hdf/packages/szip/static/encoder/Linux2.6-ibmppc64-gcc',
'osx1010test' => '/mnt/hdf/packages/szip/shared/encoder/MacOS-10.8',
'osx1010test-static' => '/mnt/hdf/packages/szip-PIC/static/encoder/MacOS-10.8',
'moohan' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-x86_64-gcc',
'moohan-static' => '/mnt/hdf/packages/szip/static/encoder/Linux2.6-x86_64-gcc',
'moohan32' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-x86_64-gcc-m32',
'moohan32-static' => '/mnt/hdf/packages/szip-PIC/static/encoder/Linux2.6-x86_64-gcc-m32',
'platypus32' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-x86_64-gcc-m32',
'platypus32-static' => '/mnt/hdf/packages/szip-PIC/static/encoder/Linux2.6-x86_64-gcc-m32',
'platypus' => '/mnt/hdf/packages/szip/shared/encoder/Linux2.6-x86_64-gcc',
'platypus-static' => '/mnt/hdf/packages/szip/static/encoder/Linux2.6-x86_64-gcc',
'quail' => '/mnt/hdf/packages/szip/shared/encoder/MacOS-10.8',
'quail-static' => '/mnt/hdf/packages/szip-PIC/static/encoder/MacOS-10.8');
my %zlibdir = ('emu' => '/mnt/hdf/packages/zlib-125/shared/SunOS-5.10',
'emu-static' => '/mnt/hdf/packages/zlib-125/static/SunOS-5.10',
'emu64' => '/mnt/hdf/packages/zlib-123-PIC/SunOS-5.11-64',
'emu64-static' => '/mnt/hdf/packages/zlib-123-PIC/SunOS-5.11-64',
'kite' => ' /mnt/hdf/packages/zlib-125/shared/mac-intel-x86_64',
'kite-static' => ' /mnt/hdf/packages/zlib-125/static/mac-intel-x86_64',
'ostrich32' => '/mnt/hdf/packages/zlib-125/PIC/Linux2.6-ppc64-gcc',
'ostrich32-static' => '/mnt/hdf/packages/zlib-125/PIC/Linux2.6-ppc64-gcc',
'ostrich' => '/mnt/hdf/packages/zlib-125/PIC/Linux2.6-ppc64-gcc-64',
'ostrich-static' => '/mnt/hdf/packages/zlib-125/PIC/Linux2.6-ppc64-gcc-64',
'ostrichxl' => '/mnt/hdf/packages/zlib-125/PIC/Linux2.6-ppc64-gcc-64',
'ostrichxl-static' => '/mnt/hdf/packages/zlib-125/PIC/Linux2.6-ppc64-gcc-64',
'osx1010test' => ' /mnt/hdf/packages/zlib-125/shared/mac-intel-x86_64',
'osx1010test-static' => ' /mnt/hdf/packages/zlib-125/static/mac-intel-x86_64',
'moohan' => '/mnt/hdf/packages/zlib-125/shared/Linux2.6-x86_64-gcc',
'moohan-static' => '/mnt/hdf/packages/zlib-125/static/Linux2.6-x86_64-gcc',
'moohan32' => '/mnt/hdf/packages/zlib-128/Linux2.6-x86_64-gcc-m32',
'moohan32-static' => '/mnt/hdf/packages/zlib-128/Linux2.6-x86_64-gcc-m32',
'platypus32' => '/mnt/hdf/packages/zlib-128/Linux2.6-x86_64-gcc-m32',
'platypus32-static' => '/mnt/hdf/packages/zlib-128/Linux2.6-x86_64-gcc-m32',
'platypus' => '/mnt/hdf/packages/zlib-125/shared/Linux2.6-x86_64-gcc',
'platypus-static' => '/mnt/hdf/packages/zlib-125/static/Linux2.6-x86_64-gcc',
'quail' => ' /mnt/hdf/packages/zlib-125/shared/mac-intel-x86_64',
'quail-static' => ' /mnt/hdf/packages/zlib-125/static/mac-intel-x86_64');
my $indirectory = ".";
$indirectory = shift;
my $outdirectory = ".";
$outdirectory = shift;
my $key = ".";
#$key = shift;
my $scriptdirname = dirname(__FILE__);
unless (-d $outdirectory) {
print "$outdirectory not found. Create it or choose another one and try again.\n";
exit 1;
}
print "Subdirectories of $indirectory will be tarred and stored in $outdirectory.\n";
my $tarfilename;
my $tardirname;
my $output;
my $cmd;
# I'm currently copying system zlibs for at least solaris and FreeBSD machines. Since this script runs on jam it may require scp to get the libs.
#For future reference
# command for getting szlib files and links for shared binaries:
# tar cvf - -C <szipDir>/lib . | tar xvf - -C <libdir> .
# libz.so.1.2.3 and the static files should just be copied because they're in directories
# with other files. Then create the libz.so.1 and libz.so symbolic links.
sub addzandszlibs {
my $dir = shift;
my $indirectory = shift;
my $currentdir = getcwd();
if (-d "$indirectory/$dir" ) {
my $szdir = $szipdir{$dir};
my $zldir = $zlibdir{$dir};
if ($dir =~ /static/ || $dir =~ /ostrich/) {
$cmd = "cp $szdir/lib/libsz.a $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
$cmd = "cp $zldir/lib/libz.a $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
} elsif ($dir eq "freedom" || $dir eq "loyalty") {
$cmd = "cp $szdir/lib/libsz.so.2 $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
$cmd = "cp $zldir/lib/libz.so.5 $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
chdir "$indirectory/$dir/lib" or die "Couldn't change directory to $indirectory/$dir/lib, $!";
$cmd = "ln -s libsz.so.2 libsz.so";
$output = `$cmd`;
print $output;
$cmd = "ln -s libz.so.5 libz.so";
$output = `$cmd`;
print $output;
chdir $currentdir or die "Couldn't change directory back to $currentdir, $!";
} elsif ($dir eq "quail" || $dir eq "kite" || $dir eq "osx1010test") {
#we've been using the static libraries for the macs - built with -fPIC
# $cmd = "cp $szdir/lib/libsz.a $indirectory/$dir/lib";
# $output = `$cmd`;
# print $output;
# $cmd = "cp $zldir/lib/libz.a $indirectory/$dir/lib";
# $output = `$cmd`;
# print $output;
$cmd = "cp $szdir/lib/libsz.2.0.0.dylib $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
$cmd = "cp $zldir/lib/libz.1.2.5.dylib $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
chdir "$indirectory/$dir/lib" or die "Couldn't change directory to $indirectory/$dir/lib, $!";
$cmd = "ln -s libsz.2.0.0.dylib libsz.2.dylib";
$output = `$cmd`;
print $output;
$cmd = "ln -s libsz.2.0.0.dylib libsz.dylib";
$output = `$cmd`;
print $output;
$cmd = "ln -s libz.1.2.5.dylib libz.1.dylib";
$output = `$cmd`;
print $output;
$cmd = "ln -s libz.1.2.5.dylib libz.dylib";
$output = `$cmd`;
print $output;
chdir $currentdir or die "Couldn't change directory back to $currentdir, $!";
} elsif ($dir eq "emu64") {
$cmd = "cp $szdir/lib/libsz.so.2.0.0 $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
$cmd = "cp $zldir/lib/libz.a $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
chdir "$indirectory/$dir/lib" or die "Couldn't change directory to $indirectory/$dir/lib, $!";
$cmd = "ln -s libsz.so.2.0.0 libsz.so.2";
$output = `$cmd`;
print $output;
$cmd = "ln -s libsz.so.2.0.0 libsz.so";
$output = `$cmd`;
print $output;
chdir $currentdir or die "Couldn't change directory back to $currentdir, $!";
} elsif ($dir eq "platypus32" || $dir eq "moohan32") {
$cmd = "cp $szdir/lib/libsz.so.2.0.0 $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
# $cmd = "cp $zldir/lib/libz.a $indirectory/$dir/lib";
# $output = `$cmd`;
# print $output;
chdir "$indirectory/$dir/lib" or die "Couldn't change directory to $indirectory/$dir/lib, $!";
$cmd = "ln -s libsz.so.2.0.0 libsz.so.2";
$output = `$cmd`;
print $output;
$cmd = "ln -s libsz.so.2.0.0 libsz.so";
$output = `$cmd`;
print $output;
# $cmd = "ln -s libz.so.1.2.8 libz.so.1";
# $output = `$cmd`;
# print $output;
# $cmd = "ln -s libz.so.1.2.8 libz.so";
# $output = `$cmd`;
# print $output;
chdir $currentdir or die "Couldn't change directory back to $currentdir, $!";
} else {
$cmd = "cp $szdir/lib/libsz.so.2.0.0 $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
$cmd = "cp $zldir/lib/libz.so.1.2.5 $indirectory/$dir/lib";
$output = `$cmd`;
print $output;
chdir "$indirectory/$dir/lib" or die "Couldn't change directory to $indirectory/$dir/lib, $!";
$cmd = "ln -s libsz.so.2.0.0 libsz.so.2";
$output = `$cmd`;
print $output;
$cmd = "ln -s libsz.so.2.0.0 libsz.so";
$output = `$cmd`;
print $output;
$cmd = "ln -s libz.so.1.2.5 libz.so.1";
$output = `$cmd`;
print $output;
$cmd = "ln -s libz.so.1.2.5 libz.so";
$output = `$cmd`;
print $output;
chdir $currentdir or die "Couldn't change directory back to $currentdir, $!";
}
}
}
sub makeTarFile {
my $directoryname = shift;
my $origdirname = shift;
my $tarfilename = shift;
my $tardirname = shift;
$cmd = "mv $indirectory/$origdirname $indirectory/$tardirname";
$output = `$cmd`;
print $output;
if (-d $indirectory."/".$tardirname."/doc/hdf5/examples") {
$cmd = "mv $indirectory/$tardirname/doc/hdf5/examples $indirectory/$tardirname/examples";
$output = `$cmd`;
print $output;
$cmd = "rm -rf $indirectory/$tardirname/doc";
$output = `$cmd`;
print $output;
}
$cmd = "tar zcvf $outdirectory/$directoryname/$tarfilename -C $indirectory $tardirname";
print "Need to run $cmd.\n";
$output = `$cmd`;
sleep 10;
print "Create $tarfilename: $output\n";
$cmd = "mv $indirectory/$tardirname $indirectory/$origdirname";
$output = `$cmd`;
print $output;
}
foreach $key (keys %destsubdir) {
print "Process ".$key."\n\n";
#skip unless there's a directory by the name of $key or $key-static
next unless -d $indirectory.'/'.$key || -d $indirectory.'/'.$key."-static";
my $version;
# This assumes a static directory. Probably the others should be checked if this
# doesn't exist.
$cmd = "grep \"HDF5 Version\" $indirectory/$key/lib/libhdf5.settings";
$_ = `$cmd`;
print $_, "\n";
s/HDF5 Version://;
s/^\s+//;
chomp;
$version = $_;
#my $directoryname = substr $destsubdir{$key}, 0, rindex($destsubdir{$key}, '-');
my $directoryname = $destsubdir{$key};
mkdir $outdirectory."/".$directoryname, 0755 unless -d $outdirectory."/".$directoryname;
my $staticdir = $key."-static";
print $indirectory."/$key tarfile will be put in " . $outdirectory."/".$directoryname."\n";
if (-e $outdirectory."/".$destsubdir{$key}."/README") {
print $outdirectory."/".$destsubdir{$key}."/README" . " has already been created.\n";
}
else {
print "Make the Outer README file: ";
$cmd = "perl ./makeOuterREADME.pl $indirectory/$key $outdirectory $directoryname";
print $cmd, "\n";
my $output = `$cmd`;
print $output;
}
my $file = "";
my @dirnames = "";
opendir(DIR, $indirectory) or die "can't open .: $!";
while (defined($file = readdir(DIR))) {
next unless ($file eq $key || $file eq "$key-static") && -d $indirectory."/".$file;
push @dirnames, $file;
}
foreach my $dir (@dirnames) {
next if $dir eq "";
print "Make the Inner README files.\n";
$cmd = "perl ./makeInternalREADME.pl $indirectory/$dir";
print $cmd, "\n";
$output = `$cmd`;
print $output;
print "Add the zlib and szip files for $dir.\n";
&addzandszlibs($dir, $indirectory);
my $currentdir = getcwd();
print "Remove all lib*.la files from $dir/lib*.\n";
$cmd = "rm $indirectory/$dir/lib*/lib*.la";
print $cmd, "\n";
$output = `$cmd`;
print $output;
chdir "$indirectory/$dir/bin" or die "Couldn't change directory to $indirectory/$dir/bin, $!";
$cmd = "$scriptdirname/h5rmflags -force";
$output = `$cmd`;
print $output;
chdir $currentdir or die "Couldn't change directory back to $currentdir, $!";
print "Tar up the files into the output directory.\n";
if (-d $indirectory."/".$dir) {
if ($dir =~ /static/) {
$tarfilename = "hdf5-$version-$destsubdir{$key}-static.tar.gz";
$tardirname = "hdf5-$version-$destsubdir{$key}-static";
} else {
$tarfilename = "hdf5-$version-$destsubdir{$key}-shared.tar.gz";
$tardirname = "hdf5-$version-$destsubdir{$key}-shared";
}
&makeTarFile($directoryname, $dir, $tarfilename, $tardirname);
}
}
# If this copy is done after h5rmflags is run on all the directories the compile scripts
# in the utilities directory will already have the paths removed.
if (-d $indirectory."/".$staticdir) {
$cmd = "cp -prv $indirectory/$staticdir/bin $outdirectory/$directoryname/utilities";
$output = `$cmd`;
print $output;
}
}

View File

@@ -0,0 +1,215 @@
#!/usr/bin/perl
# makeInternalREADME.pl
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF4. The full HDF4 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF4 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
use warnings;
use strict;
my $section2="For information on compilers and settings used to build these HDF5
libraries, please refer to:
./lib/libhdf5.settings
The contents of this directory are:
COPYING - Copyright notice
README - This file
RELEASE.txt - Detailed information regarding this release
bin/ - Directory containing HDF5 pre-compiled utilities
include/ - Directory containing HDF5 include files
lib/ - Directory containing HDF5 libraries and settings
share/ - Directory containing example code in C, C++, and
Fortran using HDF5 and HDF5 HL library APIs. The
shell scripts provided with these examples will
compile and run them, and will also test the
h5cc, h5c++, and h5fc compile scripts found
in the installed bin directory.
These binaries were built with the ZLIB and SZIP (version 2.1, Encoder
ENABLED) external libraries which are included in the lib directory for
convenience.
We also provide the ZLIB and SZIP source code on our ftp server at:
ftp://ftp.hdfgroup.org/lib-external/
The official ZLIB and SZIP pages are at:
ZLIB: http://www.zlib.net/
SZIP: http://hdfgroup.org/doc_resource/SZIP/
";
my $section3 = "If using the shared libraries, you must add the HDF5 library path
to the LD_LIBRARY_PATH variable.
";
my $section4 = "We provide scripts for compiling applications with the HDF5 libraries:
bin/h5cc - for C
bin/h5fc - for F90 (if Fortran 90 library is included with the binaries)
bin/h5c++ - for C++ (if C++ library is included with the binaries)
After you have installed the binaries to their final destination, you can use
these scripts (h5cc, h5fc, h5c++) to compile. However, you must first run
./h5redeploy in the bin directory to change site specific paths in the scripts.
You may also need to change other variables in the scripts, depending
on how things are set up on your system. Here are some of the variables
to check:
prefix - Path to the HDF5 top level installation directory
CCBASE - Name of the C compiler
CLINKERBASE - Name of the linker
LIBS - Libraries your application will link with
For further details refer to the INSTALL files in
ftp://ftp.hdfgroup.org/HDF5/current/src/unpacked/release_docs/
or in the ./release_docs/ directory of the HDF5 source code, which can be found
on the HDF Group ftp server at ftp://ftp.hdfgroup.org/HDF5/current/src/.
Please send questions, comments, and suggestions to the appropriate
contact address from http://www.hdfgroup.org/about/contact.html
";
my $indirectory = ".";
$indirectory = shift;
my $linktype = "shared";
if ($indirectory =~ /static/) {
$linktype = "static";
}
my $modestring="";
if ($indirectory =~ /32/) {
$modestring = "in 32 bit mode ";
}
my $version;
my $outfile = "$indirectory/README";
open OUTFILE, ">$outfile" or die "$!Couldn't open $outfile - check permissions for $indirectory\n";
my $hostname;
my $cmd = "grep \"HDF5 Version\" $indirectory/lib/libhdf5.settings";
$_ = `$cmd`;
#print OUTFILE $_, "\n";
s/HDF5 Version://;
s/^\s+//;
chomp;
$version = $_;
#print OUTFILE $_, "\n";
my $versionstring= "This directory contains the $linktype binary distribution of HDF5-".$version;
$cmd = "grep \"Uname information:\" $indirectory/lib/libhdf5.settings";
$_ = `$cmd`;
s/Uname information://;
s/^\s+//;
#print OUTFILE $_;
chomp;
#s/(^\w+)(\s)(\S+)/$1/;
#s/(^.*)(-)(.*)(200[7-8])(.*)(\s)(\S+)/$1 $5/;
#my $platformstring = "\nthat was compiled on:" . $_ . " ";
my $platformstring = "";
my $hostnamestring = $_;
my @hostnamestring = split / /, $hostnamestring;
#print OUTFILE "Size of hostnamestring is ", scalar @hostnamestring, "\n";
#print OUTFILE $hostnamestring[0] . "\t" . $hostnamestring[2]."\t".$hostnamestring[19]."\n";
$hostname = $hostnamestring[1];
#my $size = scalar @hostnamestring;
if ($hostname =~ /loyalty/) {
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2]." " . $hostnamestring[-1] . " ";
}
elsif ($hostname =~ /freedom/) {
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2]." " . $hostnamestring[-1] . " ";
} elsif ($hostname =~ /emu/) {
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2] . " " . $hostnamestring[-2] . " ";
} elsif ($hostname =~ /fred/) {
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0]." " . $hostnamestring[2] . " " . $hostnamestring[-1] . " ";
} else {
$_ = $hostnamestring[2];
my $pos = index $_, '-';
my $os = substr $_, 0, $pos;
$platformstring = "\nthat was compiled " . $modestring . "on: " . $hostnamestring[0] . " " . $os . " " . $hostnamestring[-2] . " ";
}
my $mappingstring = "";
#no mappingstring for 1.6. Put it back for 1.8.
#$cmd = "grep \"Default API Mapping:\" $indirectory/lib/libhdf5.settings";
#$_ = `$cmd`;
#s/Default API Mapping://;
#s/^\s+//;
#chomp;
#if (/v\d+/) {
# s/v//;
# s/(\d)(\d)/$1\.$2/g;
# $mappingstring = "using the default\nAPI mapping for VERSION ".$_.".";
#
#}
print OUTFILE $versionstring;
print OUTFILE $platformstring."\n\n";
#print OUTFILE $mappingstring;
#if ($hostname eq "loyalty.hdfgroup.uiuc.edu" || $hostname eq "freedom.hdfgroup.uiuc.edu") {
# print OUTFILE " It includes the C APIs,\nbuilt using the following ";
# print OUTFILE "compilers:\n\n";
#}
#else {
if ($linktype eq "shared" && !($hostname =~ /32/)) {
print OUTFILE "\n\nIt includes the C, C++, F90 and Java APIs, built using the following\n";
} else {
print OUTFILE "\n\nIt includes the C, C++, and F90 APIs, built using the following\n";
}
print OUTFILE "compilers:\n\n";
#}
# Only the gcc compiler version is in libhdf5.settings, so for now I looked
# up the versions and hardcoded them here. We will put them in libhdf5.settings
# for the next release.
if ($indirectory =~ /gnu484/) {
print OUTFILE "\tgcc, g++, and gfortran 4.8.4\n\n";
} elsif ($hostname =~ /jam/ || $hostname =~ /koala/) {
print OUTFILE "\tgcc, g++, and gfortran 4.1.2\n\n";
} elsif ($hostname =~ /platypus/) {
print OUTFILE "\tgcc, g++, and gfortran 4.4.7\n\n";
if ($linktype eq "shared" && !($hostname =~ /32/)) {
print OUTFILE "\tjava 1.8.0_51\n\n";
}
} elsif ($hostname =~ /moohan/) {
print OUTFILE "\tgcc, g++, and gfortran 4.8.5\n\n";
if ($linktype eq "shared" && !($hostname =~ /32/)) {
print OUTFILE "\tjava 1.8.0_51\n\n";
}
} elsif ($hostname =~ /emu/) {
print OUTFILE "\tSun C and C++ 5.12, Sun Fortran 95 8.6\n\n";
} elsif ($hostname =~ /loyalty/ || $hostname =~ /freedom/) {
print OUTFILE "\tgcc, g++, and gfortran 4.6.1\n\n";
} elsif ($hostname =~ /duck/) {
print OUTFILE "\tApple clang/clang++ 3.0 from Xcode 4.6.1 and gfortran 4.8.2\n\n";
} elsif ($hostname =~ /kite/) {
print OUTFILE "\tApple clang/clang++ 5.1 from Xcode 5.0.2 and gfortran 4.8.2\n\n";
} elsif ($hostname =~ /quail/) {
print OUTFILE "\tgcc, g++ 5.1 from Xcode 5.1 and gfortran 4.8.2\n\n";
} elsif ($hostname =~ /osx1010test/) {
print OUTFILE "\tgcc, g++ 5.1 from Xcode 5.1 and gfortran 4.8.2\n\n";
}
print OUTFILE $section2;
print OUTFILE $section3;
print OUTFILE $section4;

182
bin/pkgscrpts/makeOuterREADME.pl Executable file
View File

@@ -0,0 +1,182 @@
#!/usr/bin/perl
# makeOuterREADME.pl
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF4. The full HDF4 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF4 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF4/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
use warnings;
use strict;
my $indirectory = ".";
$indirectory = shift;
my $outdirectory = ".";
$outdirectory = shift;
my $outsubdir = shift;
my $version;
my $outfile = "$outdirectory/$outsubdir/README";
open OUTFILE, ">$outfile";
my $hostname="";
my $cmd = "grep \"HDF5 Version\" $indirectory-static/lib/libhdf5.settings";
$_ = `$cmd`;
print OUTFILE $_, "\n";
s/HDF5 Version://;
s/^\s+//;
chomp;
$version = $_;
#print OUTFILE $_, "\n";
my $versionstring= "This directory contains the precompiled HDF5 $version binary distribution\n(include files, libraries, utilities) for";
$cmd = "grep \"Uname information:\" $indirectory-static/lib/libhdf5.settings";
$_ = `$cmd`;
s/Uname information://;
s/^\s+//;
chomp;
print "String to work with is $_\n";
my $platformstring = "";
my $hostnamestring = $_;
my @hostnamestring = split / /, $hostnamestring;
$platformstring = "$hostnamestring[0] ";
if ($indirectory =~ /jam/ || $indirectory =~ /koala/) {
$hostnamestring = $hostnamestring[2];
my $pos = index $hostnamestring, "-";
if ($pos > 0) {
$platformstring .= substr $hostnamestring, 0, $pos;
} else {
$platformstring .= $hostnamestring[2];
}
$platformstring .= " ".$hostnamestring[-3];
} elsif ($indirectory =~ /linew/) {
$platformstring .= "$hostnamestring[2] $hostnamestring[-2]";
} else {
$platformstring .= "$hostnamestring[2] $hostnamestring[-1]";
}
print OUTFILE $versionstring." ".$platformstring.":\n\n";
my $line1;
my $line3;
my $line5;
my $compilerstring="";
my $compilerstring1="";
my $compilerstring2="";
print $indirectory, "\n";
if ($indirectory =~ /ostrich/) {
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " gcc, g++, and gfortran 4.4.7)";
}
elsif ($indirectory =~ /platypus/) {
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring1 = " gcc, g++, and gfortran 4.4.7)\n";
if ($indirectory =~ /32/) {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n";
} else {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.4.7 and java 1.8.0_51)\n";
}
}
elsif ($indirectory =~ /moohan/) {
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring1 = " gcc, g++, and gfortran 4.8.5)\n";
if ($indirectory =~ /32/) {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.4.7)\n";
} else {
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 and Java APIs (using";
$compilerstring2 = " gcc, g++, and gfortran 4.8.5 and java 1.8.0_51)\n";
}
}
elsif ($indirectory =~ /emu/) {
# $line1 = " hdf5-$version-$outsubdir-16API.tar.gz - Includes C, C++, F90 APIs (using\n";
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Sun C and C++ 5.12, Sun Fortran 95 8.6)\n";
}
elsif ($indirectory =~ /kite/) {
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 5.1 from Xcode 5.0.2,
gfortran 4.8.2)\n";
}
elsif ($indirectory =~ /quail/) {
$line3 = " hfd5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hfd5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 6.0 from Xcode 5.1,
gfortran 4.9.2)\n";
}
elsif ($indirectory =~ /osx1010test/) {
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 6.1 from Xcode 6.1,
gfortran 4.9.2)\n";
}
elsif ($indirectory =~ /osx1011test/) {
$line3 = " hdf5-$version-$outsubdir-static.tar.gz - Includes C, C++, F90 APIs (using";
$line5 = " hdf5-$version-$outsubdir-shared.tar.gz - Includes C, C++, F90 APIs (using";
$compilerstring = " Apple clang/clang++ 7.0.2 from Xcode 7.0,
gfortran 5.2.0)\n";
}
print OUTFILE $line3;
print OUTFILE $compilerstring1."\n";
if ($line5 ne "") {
print OUTFILE $line5;
print OUTFILE $compilerstring2."\n";
}
#elsif ($indirectory =~ /-16API/) {
# print OUTFILE $line1;
# print OUTFILE $compilerstring;
# print OUTFILE " USES THE VERSION 1.6 DEFAULT API\n";
# print OUTFILE " MAPPING.\n\n";
#}
print OUTFILE " utilities/ - Directory containing the compiled HDF5 utilities.\n";
print OUTFILE " These utilities are STATICALLY linked and will run as is.\n\n";
#print OUTFILE " The tools can be downloaded separately, or ALL in one\n";
#print OUTFILE " compressed file (5-$version-$outsubdir-static-util.tar.gz).\n\n";
print OUTFILE "\n";
print OUTFILE "To obtain the HDF5 distribution, 'unzip' and 'untar' the distribution\n";
print OUTFILE "file:\n\n";
print OUTFILE " gzip -cd <gz file from above> | tar xvf -\n";
#$cmd = "grep \"Configured by:\" $indirectory/$key-static/lib/libhdf5.settings";
#$_ = `$cmd`;
#s/Configured by://;
#s/^\s+//;
#print OUTFILE $_;
#chomp;
#my $hostnamestring = $_;
#s/(^\w+)(\s)(\S+)/$1/;
#s/(^.*)(-)(.*)(200[7-8])(.*)(\s)(\S+)/$1 $5/;
#my $platformstring = $_ . ":\n\n";
#my @hostnamestring = split /@/, $hostnamestring;
#print "Size of hostnamestring is ", scalar @hostnamestring, "\n";
#print $hostnamestring[0] . "\t" . $hostnamestring[2]."\t".$hostnamestring[19]."\n";
#my $platformstring = $hostnamestring[1].":\n\n";
#$hostnamestring = $hostnamestring[1];
#my $pos = index $hostnamestring, ".";
#if ($pos > 0) {
# @hostnamestring = split /\./, $hostnamestring;
# $platformstring = $hostnamestring[0].":\n\n";
#}

View File

@@ -1,135 +0,0 @@
#! /bin/sh
#
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
# A script to reconfigure autotools for HDF5, and to recreate other
# generated files specifc to HDF5.
# If the paths of the autotools are not specified by the user, they
# are hardcoded to point to their locations on HDF5 Linux machines.
# Users can specify the locations of the autotools with the following
# variables:
# AUTOCONF, AUTOMAKE, ACLOCAL, AUTOHEADER should be the path to the
# corresponding tools.
# LIBTOOL_DIR should be the path to the base libtool directory;
# $LIBTOOL_DIR/bin/libtool should invoke libtool, while
# $LIBTOOL_DIR/share/aclocal needs to be included by aclocal.
# Be very careful when specifying these tools manually! There are a lot
# of versions that can get confused (not even counting the m4 utility)!
# HDF5 currently uses the following versions of the autotools:
AUTOCONF_VERSION="autoconf (GNU Autoconf) 2.68"
AUTOMAKE_VERSION="automake (GNU automake) 1.11.1"
AUTOHEADER_VERSION="autoheader (GNU Autoconf) 2.68"
ACLOCAL_VERSION="aclocal (GNU automake) 1.11.1"
LIBTOOL_VERSION="(GNU libtool) 2.4"
#
# When upgrading automake's version, don't forget to also update its
# helper utilities, especially depcomp.
# If paths to autotools are not specified by the user, assume tools are
# running on jam in /mnt/hdf/packages and set paths accordingly.
if test -z ${AUTOCONF}; then
AUTOCONF=/mnt/hdf/packages/autoconf/autoconf-2.68/bin/autoconf
fi
if test -z ${AUTOMAKE}; then
AUTOMAKE=/mnt/hdf/packages/automake/automake-1.11.1/bin/automake-1.11
fi
if test -z ${AUTOHEADER}; then
AUTOHEADER=/mnt/hdf/packages/autoconf/autoconf-2.68/bin/autoheader
fi
if test -z ${ACLOCAL}; then
ACLOCAL=/mnt/hdf/packages/automake/automake-1.11.1/bin/aclocal-1.11
fi
if test -z ${LIBTOOL}; then
LIBTOOL=/mnt/hdf/packages/libtool/libtool-2.4/bin/libtool
fi
# Check version numbers of all autotools against the "correct" versions
AC_VERS=`${AUTOCONF} --version 2>&1 | grep "^${AUTOCONF_VERSION}"`
if test -z "${AC_VERS}"; then
echo "${AUTOCONF} version is not ${AUTOCONF_VERSION}"
exit 1
fi
AM_VERS=`${AUTOMAKE} --version 2>&1 | grep "^${AUTOMAKE_VERSION}"`
if test -z "${AM_VERS}"; then
echo "${AUTOMAKE} version is not ${AUTOMAKE_VERSION}"
exit 1
fi
AH_VERS=`${AUTOHEADER} --version 2>&1 | grep "^${AUTOHEADER_VERSION}"`
if test -z "${AH_VERS}"; then
echo "${AUTOHEADER} version is not ${AUTOHEADER_VERSION}"
exit 1
fi
AL_VERS=`${ACLOCAL} --version 2>&1 | grep "^${ACLOCAL_VERSION}"`
if test -z "${AL_VERS}"; then
echo "${ACLOCAL} version is not ${ACLOCAL_VERSION}"
exit 1
fi
LT_VERS=`${LIBTOOL} --version 2>&1 | grep "${LIBTOOL_VERSION}"`
if test -z "${LT_VERS}"; then
echo "${LIBTOOL} version is not ${LIBTOOL_VERSION}"
exit 1
fi
# Use the latest version of M4
PATH=/mnt/hdf/packages/m4/m4-1.4.15/bin:/mnt/hdf/packages/m4/m4-1.4.15/share:$PATH
# Make sure that the tools are in the path.
AUTOCONF_DIR=`dirname ${AUTOCONF}`
LIBTOOL_DIR=`dirname ${LIBTOOL}`
PATH=${AUTOCONF_DIR}:$PATH
# Run autoconf/automake commands in order
echo ${ACLOCAL} -I ${LIBTOOL_DIR}/../share/aclocal
${ACLOCAL} -I ${LIBTOOL_DIR}/../share/aclocal || exit 1
echo ${AUTOHEADER}
${AUTOHEADER} || exit 1
echo ${AUTOMAKE} --add-missing
${AUTOMAKE} --add-missing || exit 1
echo ${AUTOCONF}
${AUTOCONF} || exit 1
# Clean up top-level Makefile.in
# pmake wants an argument to be the first non-comment line it encounters
# in the Makefile. Automake wants to reorganize the Makefile.
# To work around this, we post-process the top-level Makefile.in.
sed "s/^#xxx//" Makefile.in > Makefile.in.new
mv Makefile.in.new Makefile.in
# Run trace script
# The trace script adds H5TRACE macros to library source files. It should
# have no effect on files that don't have HDF5 API macros in them.
echo
echo " Running trace script:"
bin/trace src/H5*.c || exit 1
# Run make_err
# make_err automatically generates the H5E headers that create error message
# types for HDF5.
echo
echo " Running error generation script:"
bin/make_err src/H5err.txt || exit 1
# Run make_vers
# make_vers automatically generates the public headers that define the API version
# macros for HDF5.
echo
echo " Running API version generation script:"
bin/make_vers src/H5vers.txt || exit 1
exit 0

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Make a release of hdf5.
@@ -40,48 +38,296 @@
USAGE()
{
cat << EOF
Usage: $0 [--nocheck] [-d <dir>] [-h] <methods> ...
Usage: $0 -d <dir> [--docver BRANCHNAME] [-h] [--nocheck] [--private] <methods> ...
-d DIR The name of the directory where the releas(es) should be
placed. By default, the directory is ./releases
placed.
--docver BRANCHNAME This is added for 1.8 and beyond to get the correct
version of documentation files from the hdf5docs
repository. BRANCHNAME for v1.8 should be hdf5_1_8.
-h print the help page.
--nocheck Ignore errors in MANIFEST file.
--private Make a private release with today's date in version information.
This must be run at the top level of the source directory.
The other command-line options are the names of the programs to use
for compressing the resulting tar archive (if none are given then
"tar md5" is assumed):
"tar" is assumed):
tar -- use tar and don't do any compressing.
compress -- use compress and append ".Z" to the output name.
gzip -- use gzip with "-9" and append ".gz" to the output name.
cmake-tgz -- create a tar file using the gzip default level with a build-unix.sh
command file and all other CMake files needed to build HDF5 source
using CMake on unix machines.
bzip2 -- use bzip2 with "-9" and append ".bz2" to the output name.
md5 -- produce a md5 checksum in addition to the archive.
zip -- convert all text files to DOS style and form a zip file for Windows use.
cmake-zip -- convert all text files to DOS style and create a zip file inluding cmake
scripts and .bat files to build HDF5 source using CMake on Windows.
doc -- produce the latest doc tree in addition to the archive.
An md5 checksum is produced for each archive created and stored in the md5 file.
Examples:
$ release
releases/hdf5-1.0.38.tar
releases/hdf5-1.0.38.tar.md5
$ bin/release -d /tmp
/tmp/hdf5-1.8.13-RELEASE.txt
/tmp/hdf5-1.8.13.md5
/tmp/hdf5-1.8.13.tar
$ release gzip
releases/hdf5-1.0.38.tar.gz
$ bin/release -d /tmp gzip
/tmp/hdf5-1.8.13-RELEASE.txt
/tmp/hdf5-1.8.13.md5
/tmp/hdf5-1.8.13.tar.gz
$ release -d /tmp tar compress gzip bzip2 md5
/tmp/hdf5-1.0.38.tar
/tmp/hdf5-1.0.38.tar.Z
/tmp/hdf5-1.0.38.tar.gz
/tmp/hdf5-1.0.38.tar.bz2
/tmp/hdf5-1.0.38.tar.md5
$ bin/release -d /tmp tar gzip zip
/tmp/hdf5-1.8.13-RELEASE.txt
/tmp/hdf5-1.8.13.md5
/tmp/hdf5-1.8.13.tar
/tmp/hdf5-1.8.13.tar.gz
/tmp/hdf5-1.8.13.tar.zip
EOF
}
# Function name: tar2zip
# Convert the release tarball to a Windows zipball.
#
# Programmer: Albert Cheng
# Creation date: 2014-04-23
#
# Modifications
#
# Steps:
# 1. untar the tarball in a temporary directory;
# Note: do this in a temporary directory to avoid changing
# the original source directory which may be around.
# 2. convert all its text files to DOS (LF-CR) style;
# 3. form a zip file which is usable by Windows users.
#
# Parameters:
# $1 version
# $2 release tarball
# $3 output zipball file name
#
# Returns 0 if successful; 1 otherwise
#
tar2zip()
{
if [ $# -ne 3 ]; then
echo "usage: tar2zip <tarfilename> <zipfilename>"
return 1
fi
ztmpdir=/tmp/ztmpdir$$
mkdir -p $ztmpdir
version=$1
tarfile=$2
zipfile=$3
# step 1: untar tarball in ztmpdir
(cd $ztmpdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $ztmpdir/$version ]; then
echo "untar did not create $ztmpdir/$version source dir"
# cleanup
rm -rf $ztmpdir
return 1
fi
# step 2: convert text files
# There maybe a simpler way to do this.
# options used in unix2dos:
# -k Keep the date stamp
# -q quiet mode
# grep redirect output to /dev/null because -q or -s are not portable.
find $ztmpdir/$version | \
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
# step 3: make zipball
# -9 maximum compression
# -y Store symbolic links as such in the zip archive
# -r recursive
# -q quiet
(cd $ztmpdir; zip -9 -y -r -q $version.zip $version)
mv $ztmpdir/$version.zip $zipfile
# cleanup
rm -rf $ztmpdir
}
# Function name: tar2cmakezip
# Convert the release tarball to a Windows zipball with files to run CMake build.
#
# Programmer: Larry Knox
# Creation date: 2017-02-20
#
# Modifications
#
# Steps:
# 1. untar the tarball in a temporary directory;
# Note: do this in a temporary directory to avoid changing
# the original source directory which may be around.
# 2. add build-unix.sh script.
# 3. add SZIP.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 4. create gzipped tar file with these contents:
# build-unix.sh script
# hdf5-<version> source code directory extracted from tar file
# CTestScript.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5config.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5options.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# SZip.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# ZLib.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# Parameters:
# $1 version
# $2 release tarball
# $3 output zipball file name
#
# Returns 0 if successful; 1 otherwise
#
# need function to create another temporary directory, extract the
# $tmpdir/$HDF5_VERS.tar into it, add (create) build-unix.sh,
# CTestScript.cmake, HDF5config.cmake, SZIP.tar.gz and ZLib.tar.gz,
# and then tar.gz it.
tar2cmakezip()
{
if [ $# -ne 3 ]; then
echo "usage: tar2cmakezip <tarfilename> <tgzfilename>"
return 1
fi
cmziptmpdir=/tmp/cmziptmpdir$$
mkdir -p $cmziptmpdir
version=$1
tarfile=$2
zipfile=$3
# step 1: untar tarball in cmgztmpdir
(cd $cmziptmpdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $cmziptmpdir/$version ]; then
echo "untar did not create $cmziptmpdir/$version source dir"
# cleanup
rm -rf $cmziptmpdir
return 1
fi
# step 2: add batch file for building CMake on window
cp /mnt/scr1/pre-release/hdf5/CMake/build-VS2013-32.bat $cmziptmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/build-VS2013-64.bat $cmziptmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/build-VS2015-32.bat $cmziptmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/build-VS2015-64.bat $cmziptmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/build-VS2017-32.bat $cmziptmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/build-VS2017-64.bat $cmziptmpdir
# step 3: add SZIP.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/SZip.tar.gz $cmziptmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmziptmpdir
cp $cmziptmpdir/$version/config/cmake/scripts/CTestScript.cmake $cmziptmpdir
cp $cmziptmpdir/$version/config/cmake/scripts/HDF5config.cmake $cmziptmpdir
cp $cmziptmpdir/$version/config/cmake/scripts/HDF5options.cmake $cmziptmpdir
# step 4: convert text files
# There maybe a simpler way to do this.
# options used in unix2dos:
# -k Keep the date stamp
# -q quiet mode
# grep redirect output to /dev/null because -q or -s are not portable.
find $cmziptmpdir/$version | \
while read inf; do \
if file $inf | grep "$inf\: .*text" > /dev/null 2>&1 ; then \
unix2dos -q -k $inf; \
fi\
done
# step 3: make zipball
# -9 maximum compression
# -y Store symbolic links as such in the zip archive
# -r recursive
# -q quiet
(cd $cmziptmpdir; zip -9 -y -r -q CMake-$version.zip *)
mv $cmziptmpdir/CMake-$version.zip $zipfile
# cleanup
rm -rf $cmziptmpdir
}
# Function name: tar2cmaketgz
# Convert the release tarball to a Windows zipball with files to run CMake build.
#
# Programmer: Larry Knox
# Creation date: 2017-02-20
#
# Modifications
#
# Steps:
# 1. untar the tarball in a temporary directory;
# Note: do this in a temporary directory to avoid changing
# the original source directory which may be around.
# 2. add build-unix.sh script.
# 3. add SZIP.tar.gz, ZLib.tar.gz and cmake files to top level directory.
# 4. create gzipped tar file with these contents:
# build-unix.sh script
# hdf5-<version> source code directory extracted from tar file
# CTestScript.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5config.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# HDF5options.cmake cmake file copied from <hdf5 source code>/config/cmake/scripts
# SZip.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# ZLib.tar.gz copied from /mnt/scr1/pre-release/hdf5/CMake
# Parameters:
# $1 version
# $2 release tarball
# $3 output zipball file name
#
# Returns 0 if successful; 1 otherwise
#
# need function to create another temporary directory, extract the
# $tmpdir/$HDF5_VERS.tar into it, add (create) build-unix.sh,
# CTestScript.cmake, HDF5config.cmake, SZIP.tar.gz and ZLib.tar.gz,
# and then tar.gz it.
tar2cmaketgz()
{
if [ $# -ne 3 ]; then
echo "usage: tar2cmaketgz <tarfilename> <tgzfilename>"
return 1
fi
cmgztmpdir=/tmp/cmgztmpdir$$
mkdir -p $cmgztmpdir
version=$1
tarfile=$2
tgzfile=$3
# step 1: untar tarball in cmgztmpdir
(cd $cmgztmpdir; tar xf -) < $tarfile
# sanity check
if [ ! -d $cmgztmpdir/$version ]; then
echo "untar did not create $cmgztmpdir/$version source dir"
# cleanup
rm -rf $cmgztmpdir
return 1
fi
# step 2: add build-unix.sh script
(cd $cmgztmpdir; echo "ctest -S HDF5config.cmake,BUILD_GENERATOR=Unix -C Release -V -O hdf5.log" > build-unix.sh; chmod 755 build-unix.sh)
# step 3: add SZIP.tar.gz, ZLib.tar.gz and cmake files
cp /mnt/scr1/pre-release/hdf5/CMake/SZip.tar.gz $cmgztmpdir
cp /mnt/scr1/pre-release/hdf5/CMake/ZLib.tar.gz $cmgztmpdir
cp $cmgztmpdir/$version/config/cmake/scripts/CTestScript.cmake $cmgztmpdir
cp $cmgztmpdir/$version/config/cmake/scripts/HDF5config.cmake $cmgztmpdir
cp $cmgztmpdir/$version/config/cmake/scripts/HDF5options.cmake $cmgztmpdir
tar czf $DEST/CMake-$HDF5_VERS.tar.gz -C $cmgztmpdir . || exit 1
# cleanup
rm -rf $cmgztmpdir
}
# This command must be run at the top level of the hdf5 source directory.
# Verify this requirement.
if [ ! \( -f configure -a -f bin/release \) ]; then
if [ ! \( -f configure.ac -a -f bin/release \) ]; then
echo "$0 must be run at the top level of the hdf5 source directory"
exit 1
fi
@@ -97,8 +343,17 @@ release_date=`date +%F`
today=`date +%Y%m%d`
pmode='no'
tmpdir="../#release_tmp.$$" # tmp work directory
DOC_URL=http://svn.hdfgroup.uiuc.edu/hdf5doc/trunk
DOC_URL=https://git@bitbucket.hdfgroup.org/scm/hdffv/hdf5doc.git
CPPLUS_RM_NAME=cpplus_RM
MAINT_MODE_ENABLED=""
# If maintainer mode is enabled in configure, it should be disabled for release,
# and enabled again after release files have been created. If already disabled
# there's no need to do either.
MAINT_MODE_ENABLED=`grep ^AM_MAINTAINER_MODE ./configure.ac | grep enable`
if [ "${MAINT_MODE_ENABLED}" != "" ]; then
bin/switch_maint_mode -disable ./configure.ac
fi
# Restore previous Version information
RESTORE_VERSION()
@@ -132,6 +387,10 @@ while [ -n "$1" ]; do
--private)
pmode=yes
;;
--docver)
DOCVERSION=$1
shift
;;
-*)
echo "Unknown switch: $arg" 1>&2
USAGE
@@ -143,9 +402,9 @@ while [ -n "$1" ]; do
esac
done
# Default methods are tar and md5
# Default method is tar
if [ "X$methods" = "X" ]; then
methods="tar md5"
methods="tar"
fi
# Create the temporay work directory.
@@ -169,6 +428,7 @@ if [ X$pmode = Xyes ]; then
# (h5vers does not correctly handle just m.n.r-$today.)
VERS=`echo $VERS | sed -e s/-.*//`-of$today
echo Private release of $VERS
else
bin/h5vers -s $VERS
fi
@@ -185,6 +445,12 @@ fi
bin/chkmanifest || fail=yes
if [ "X$fail" = "Xyes" ]; then
if [ $check = yes ]; then
echo ""
echo "Note! If you are running bin/release in a development branch"
echo "later than v 1.8 the MANIFEST check is expected to fail when"
echo "autogen.sh has not been run successfully. Either run autogen.sh "
echo "with /usr/hdf/bin/AUTOTOOLS at the beginning of PATH or add the"
echo "--nocheck argument to the bin/release command."
exit 1
else
echo "Continuing anyway..."
@@ -211,6 +477,11 @@ for f in README.txt release_docs/RELEASE.txt; do
chmod 644 $f
done
# trunk is different than branches.
if [ "${DOCVERSION}" ]; then
DOC_URL="$DOC_URL -b ${DOCVERSION}"
fi
# Create the tar file
test "$verbose" && echo " Running tar..." 1>&2
( \
@@ -220,44 +491,69 @@ test "$verbose" && echo " Running tar..." 1>&2
)
# Compress
MD5file=$HDF5_VERS.md5
cp /dev/null $DEST/$MD5file
for comp in $methods; do
case $comp in
tar)
cp -p $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.tar
;;
compress)
test "$verbose" && echo " Running compress..." 1>&2
compress -c <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.Z
(cd $DEST; md5sum $HDF5_VERS.tar >> $MD5file)
;;
gzip)
test "$verbose" && echo " Running gzip..." 1>&2
gzip -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.gz
(cd $DEST; md5sum $HDF5_VERS.tar.gz >> $MD5file)
;;
cmake-tgz)
test "$verbose" && echo " Creating CMake tar.gz file..." 1>&2
tar2cmaketgz $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.tar.gz 1>&2
(cd $DEST; md5sum CMake-$HDF5_VERS.tar.gz >> $MD5file)
;;
bzip2)
test "$verbose" && echo " Running bzip2..." 1>&2
bzip2 -9 <$tmpdir/$HDF5_VERS.tar >$DEST/$HDF5_VERS.tar.bz2
(cd $DEST; md5sum $HDF5_VERS.tar.bz2 >> $MD5file)
;;
md5)
test "$verbose" && echo " Creating checksum..." 1>&2
(cd $tmpdir; md5sum $HDF5_VERS.tar ) > $DEST/$HDF5_VERS.tar.md5
zip)
test "$verbose" && echo " Creating zip ball..." 1>&2
tar2zip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/$HDF5_VERS.zip 1>&2
(cd $DEST; md5sum $HDF5_VERS.zip >> $MD5file)
;;
cmake-zip)
test "$verbose" && echo " Creating CMake-zip ball..." 1>&2
tar2cmakezip $HDF5_VERS $tmpdir/$HDF5_VERS.tar $DEST/CMake-$HDF5_VERS.zip 1>&2
(cd $DEST; md5sum CMake-$HDF5_VERS.zip >> $MD5file)
;;
doc)
if [ "${DOCVERSION}" = "" ]; then
DOCVERSION=master
fi
test "$verbose" && echo " Creating docs..." 1>&2
# Check out docs from svn repo
(cd $tmpdir; svn co $DOC_URL > /dev/null) || exit 1
# Create doxygen C++ RM
# Check out docs from git repo
(cd $tmpdir; git clone -q $DOC_URL ${DOCVERSION} > /dev/null) || exit 1
# Create doxygen C++ RM
(cd c++/src && doxygen cpp_doc_config > /dev/null ) || exit 1
# Replace version of C++ RM with just-created version
rm -rf $tmpdir/trunk/html/$CPPLUS_RM_NAME
mv c++/src/$CPPLUS_RM_NAME $tmpdir/trunk/html/$CPPLUS_RM_NAME
# Compress the docs and move them to the release area
mv $tmpdir/trunk $tmpdir/${HDF5_VERS}_docs
(cd $tmpdir && tar cf ${HDF5_VERS}_docs.tar ${HDF5_VERS}_docs)
mv $tmpdir/${HDF5_VERS}_docs.tar $DEST
rm -rf $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME || exit 1
mv c++/src/$CPPLUS_RM_NAME $tmpdir/${DOCVERSION}/html/$CPPLUS_RM_NAME || exit 1
# Compress the docs and move them to the release area
mv $tmpdir/${DOCVERSION} $tmpdir/${HDF5_VERS}_docs || exit 1
(cd $tmpdir && tar cf ${HDF5_VERS}_docs.tar ${HDF5_VERS}_docs) || exit 1
mv $tmpdir/${HDF5_VERS}_docs.tar $DEST || exit 1
;;
*)
echo "***Error*** Unknown method $comp"
exit 1
;;
esac
done
# If AM_MAINTAINER_MODE was enabled before running this script
# restore it to "enabled".
if [ "${MAINT_MODE_ENABLED}" != "" ]; then
bin/switch_maint_mode -enable ./configure.ac
fi
# Copy the RELEASE.txt to the release area.
cp release_docs/RELEASE.txt $DEST/$HDF5_VERS-RELEASE.txt

65
bin/restore.sh Executable file
View File

@@ -0,0 +1,65 @@
#!/bin/sh
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# A script to clean up the action of autogen.sh
#
# If this script fails to clean up generated files on a particular
# platform, please contact help@hdfgroup.org or comment on the forum.
echo
echo "*******************************"
echo "* HDF5 autogen.sh undo script *"
echo "*******************************"
echo
echo "Remove autom4te.cache directory"
rm -rf autom4te.cache
echo "Remove configure script"
rm -f configure
echo "Remove Makefile.in files"
find . -type f -name 'Makefile.in' -exec rm {} \;
echo "Remove files generated by libtoolize"
rm -f bin/ltmain.sh
rm -f m4/libtool.m4
rm -f m4/ltoptions.m4
rm -f m4/ltsugar.m4
rm -f m4/ltversion.m4
rm -f m4/lt~obsolete.m4
echo "Remove files generated by automake"
rm -f bin/compile
rm -f bin/config.guess
rm -f bin/config.sub
rm -f bin/install-sh
rm -f bin/missing
rm -f bin/test-driver
rm -f bin/depcomp
echo "Remove files generated by bin/make_err"
rm -f src/H5Epubgen.h
rm -f src/H5Einit.h
rm -f src/H5Eterm.h
rm -f src/H5Edefin.h
echo "Remove files generated by bin/make_vers"
rm -f src/H5version.h
echo "Remove files generated by bin/make_overflow"
rm -f src/H5overflow.h
echo "Remove remaining generated files"
rm -f aclocal.m4

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# run the hdf5/bin/snapshot

View File

@@ -6,20 +6,19 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
# This script should be run nightly from cron. It checks out hdf5
# This script should be run nightly from cron. It checks out the source
# from the source repository and compares it against the previous
# snapshot. If anything significant changed then a new snapshot is
# created, the minor version number is incremented, and the change is
# checked back into the source repository.
#
# function definitions
TIMESTAMP()
{
@@ -28,7 +27,7 @@ TIMESTAMP()
EXIT_BANNER()
{
TIMESTAMP "Exit $PROGNAME with status=$?"
TIMESTAMP "Exit $PROGNAME with status=$?"
}
# Show current total disk usage.
@@ -38,11 +37,178 @@ DISKUSAGE()
( read x y; echo "Disk Usage=$x KB" )
}
# function provided for testing software downloaded as tar files. A version of
# this function that properly extracts the downloaded files can be provided in
# the snapshots-${sw}-overrides file.
EXTRACT()
{
echo "Error: ${SWVERSION} is in source repository - does not need extraction."
}
# Standard procedure for checking out or updating source code from an hdfgroup
# git repository. Override the function for other repositories or procedures.
SOURCE_CHECKOUT()
{
if test -n $GIT_URL; then
if [ -n "$AUTOGEN" ]; then
echo "Creating fresh clone of $GIT_URL in $BASEDIR/current_src"
# Check out the current version from source repository.
(cd $BASEDIR; rm -rf current_src
if test -z $GIT_BRANCH; then
echo "Testing empty branch $GIT_BRANCH."
git clone $GIT_URL current_src
else
echo "Testing branch $GIT_BRANCH."
git clone $GIT_URL -b $GIT_BRANCH current_src
fi
) || exit 1
else
echo "Creating fresh clone of $GIT_URL in $BASEDIR/current"
# Check out the current version from source repository.
(cd $BASEDIR; rm -rf current
if test -n $GIT_BRANCH; then
git clone $GIT_URL -b $GIT_BRANCH current
else
git clone $GIT_URL current
fi ) || exit 1
fi
else
echo "Warning! Source directory ("current") is not checked out from git."
fi
}
# Standard procedure for running the configure command in a build (test)
# directory
RUNCONFIGURE()
{
if [ "${CURRENT}" != "${TESTDIR}" -a "$CPSRC" = "yes" ]; then
echo "Copying source files to ${TESTDIR}."
cp -pr ${CURRENT}/* ${TESTDIR}
cd ${TESTDIR}
./${CONFIGURE}
elif [ -n "${AUTOGEN}" ]; then
${CURRENTSRC}/${CONFIGURE}
else
${CURRENT}/${CONFIGURE}
fi
}
# Sometimes "make distclean" doesn't adequately remove files from the previous
# build. If a build (test) directory was used, its contents can be entirely
# deleted to provide a clean start. If the test is building in the source
# directory, the contents can't be deleted, so run "make distclean".
DISTCLEAN()
{
if [ "${srcdir}" = "yes" -a -n "${SRCDIRNAME}" -a -d ${BASEDIR}/TestDir/${SRCDIRNAME} ]; then
echo "Remove contents of $SRCDIRNAME.\n"
rm -rf ${BASEDIR}/TestDir/${SRCDIRNAME}/*
else
echo "$MAKE distclean"
(cd ${TESTDIR} && ${MAKE} distclean)
fi
}
# Several of the software packages tested do not support make check-install.
# Those that support it should have a version of this function in their
# override with the following lines:
# TIMESTAMP "check-install $1"
# ${MAKE} check-install $1
CHECKINSTALL()
{
echo "check-install is not supported for ${SWVERSION}"
}
# Function for hdf4 and hdf5 to override to check in changes after snapshot.
# Safety measure to avoid unintended checkins to other repositories.
COMMITSNAPSHOT()
{
echo "original hdf5 script committed code changes back into git."
}
DISPLAYUSAGE()
{
set -
cat <<EOF
Usage: $PROGNAME [all] [checkout] [ftp <URL> [diff] [test] [srcdir] [release] [help]
[clean] [distclean] [echo] [deploy <dir>] [deploydir <dir>]
[zlib <zlib_path>] [releasedir <dir>] [srcdirname <dir>] [check-vfd]
[exec <command>] [module-load <module-list>] [op-configure <option>]
[--<option>]
all: Run all commands (checkout, test & release)
[Default is all]
checkout: Run source checkout
diff: Run diff on current and previous versions. Exit 0 if
no significant differences are found. Otherwise, non-zero.
deploy: deploy binary to directory <dir>
deploydir: use <dir> as the default directory for deployment
test: Run test
release: Run release
clean: Run make clean
distclean:Run make distclean
echo: Turn on echo mode (set -x)
setenv <name> <value>:
Set environment variable <name> to <value>.
setenvN <N> <name> <value> ...:
Set environment variable with <N> values.
E.g., setenvN 3 x a b c is same as setenv x="a b c".
srcdir: Use srcdir option (does not imply other commands)
"snapshot srcdir" is equivalent to "snapshot srcdir all"
"snapshot srcdir checkout" is equivalent to "snapshot checkout"
srcdirname <dir>:
Use <dir> as the srcdir testing directory if srcdir is choosen.
If <dir> starts with '-', it is append to the default name
E.g., "snapshot srcdir srcdirname -xx" uses hostname-xx
[Default is hostname]
help: Print this message
echo: Turn on shell echo
zlib <zlib_path>:
Use <zlib_path> as the ZLIB locations
[Default is $ZLIB_default]
releasedir <dir>:
Use <dir> as the release directory
[Default is $ReleaseDir_default]
check-vfd:
Run make check-vfd instead of just make check.
exttest <testscript>;
Run testscript;
exec <command>:
Run <command>;
module-load <module-list>:
Load modules in comma-separated <module-list>;
op-configure <option>:
Pass <option> to the configure command
E.g., "snapshot op-configure --enable-parallel"
configures for parallel mode
--<option>:
Pass --<option> to the configure command
E.g., "snapshot --enable-parallel"
configures for parallel mode
EOF
exit $errcode
}
# MAIN
# SGI /bin/sh replaces $0 as function name if used in a function.
# Set the name here to avoid that ambiguity and better style too.
PROGNAME=$0
SNAPSHOTNAME=
HDFREPOS=
DOCVERSION=""
MODULELIST=""
if [ -f bin/snapshot_params ]; then
. bin/snapshot_params
echo "Added snapshot_params."
fi
if [ -z "$SWVER" -a -f bin/snapshot_version ]
then
. bin/snapshot_version
echo "Added snapshot_version."
fi
if [ -n ${HDFREPOS} -a -f bin/snapshot-${HDFREPOS}-overrides ]; then
. bin/snapshot-${HDFREPOS}-overrides
echo "Added snapshot-${HDFREPOS}-overrides."
fi
echo "====================================="
echo "$PROGNAME $*"
@@ -51,7 +217,7 @@ TIMESTAMP MAIN
uname -a
# setup exit banner message
trap EXIT_BANNER 0
trap EXIT_BANNER 0 1 2 9 15
# Dump environment variables before option parsing
echo ===Dumping environment variables before option parsing ===
@@ -67,8 +233,14 @@ ReleaseDir_default=release_dir
ZLIB_default=
ZLIB=$ZLIB_default
# What compression methods to use? (md5 does checksum).
METHODS="gzip bzip2 md5 doc"
# What compression methods to use? (md5 does checksum). Doc was apparently
# added as a compression method to create a separate tarfile containing the
# documentation files for v 1.8 and above.
if [ "${SWVERSION}" = "hdf5_1_6" ]; then
METHODS="gzip bzip2 md5"
else
METHODS="gzip bzip2 doc"
fi
# Use User's MAKE if set. Else use generic make.
MAKE=${MAKE:-make}
@@ -81,15 +253,38 @@ CHECKVAL=check
cmd="all"
test_opt=""
errcode=0
AUTOGEN=""
EXTTEST=""
EXEC_CMD_ARG=""
while [ $# -gt 0 ] ; do
case "$1" in
all)
cmd="all"
;;
checkout-autogen)
cmdcheckout="checkout"
AUTOGEN="autogen"
cmd=""
;;
checkout)
cmdcheckout="checkout"
cmd=""
;;
ftp)
echo "Setting ftp flags in snapshot script"
cmdcheckout="checkout"
cmdftp="ftp"
cmd=""
shift
if [ $# -lt 1 ]; then
echo "URL missing"
errcode=1
cmd="help"
break
fi
ftp_url="$1"
echo "ftp_url is $ftp_url"
;;
diff)
cmddiff="diff"
cmd=""
@@ -164,6 +359,10 @@ while [ $# -gt 0 ] ; do
cmdrel="release"
cmd=""
;;
autogen-release)
cmdrel="autogen-release"
cmd=""
;;
clean | distclean)
cmdclean="$1"
cmd=""
@@ -196,12 +395,43 @@ while [ $# -gt 0 ] ; do
fi
ReleaseDir="$1"
;;
exttest)
shift
if [ $# -lt 1 ]; then
echo "exttest script name missing"
errcode=1
cmd="help"
break
fi
cmd=""
EXTTEST="$1"
;;
exec)
shift
if [ $# -lt 1 ]; then
echo "exec command name missing"
errcode=1
cmd="help"
break
fi
cmd=""
EXEC_CMD_ARG="$@"
# exit the parsing while loop since all arguments have been consummed.
break
;;
check-vfd)
CHECKVAL=check-vfd
;;
yodconfigure)
YODCONFIGURE=yes
;;
module-load)
shift
if [ $# -lt 1 ]; then
echo "missing module list to load"
errcode=1
cmd="help"
break
fi
MODULELIST="$1"
;;
--*)
OP_CONFIGURE="$OP_CONFIGURE $1"
;;
@@ -225,87 +455,39 @@ while [ $# -gt 0 ] ; do
shift
done
if [ -n "$MODULELIST" ]; then
. ~/.bashrc
module use /opt/pkgs/modules/all
# load module command will take a space separated list of modules.
# If we have a comma separated list, convert ',' to ' '.
MODULELIST="$( echo -e "$MODULELIST" | tr ',' ' ' )"
module load $MODULELIST
fi
# Dump environment variables after option parsing
echo ===Dumping environment variables after option parsing ===
printenv | sort
echo ===Done Dumping environment variables after option parsing ===
if [ "$cmd" = help ]; then
set -
cat <<EOF
Usage: $PROGNAME [all] [checkout] [diff] [test] [srcdir] [release] [help]
[clean] [distclean] [echo] [deploy <dir>] [deploydir <dir>]
[zlib <zlib_path>] [releasedir <dir>] [srcdirname <dir>] [check-vfd]
[op-configure <option>] [--<option>]
all: Run all commands (checkout, test & release)
[Default is all]
checkout: Run source checkout
diff: Run diff on current and previous versions. Exit 0 if
no significant differences are found. Otherwise, non-zero.
deploy: deploy binary to directory <dir>
deploydir: use <dir> as the default directory for deployment
test: Run test
release: Run release
clean: Run make clean
distclean:Run make distclean
echo: Turn on echo mode (set -x)
setenv <name> <value>:
Set environment variable <name> to <value>.
setenvN <N> <name> <value> ...:
Set environment variable with <N> values.
E.g., setenvN 3 x a b c is same as setenv x="a b c".
srcdir: Use srcdir option (does not imply other commands)
"snapshot srcdir" is equivalent to "snapshot srcdir all"
"snapshot srcdir checkout" is equivalent to "snapshot checkout"
srcdirname <dir>:
Use <dir> as the srcdir testing directory if srcdir is choosen.
If <dir> starts with '-', it is append to the default name
E.g., "snapshot srcdir srcdirname -xx" uses hostname-xx
[Default is hostname]
help: Print this message
echo: Turn on shell echo
zlib <zlib_path>:
Use <zlib_path> as the ZLIB locations
[Default is $ZLIB_default]
releasedir <dir>:
Use <dir> as the release directory
[Default is $ReleaseDir_default]
check-vfd:
Run make check-vfd instead of just make check.
op-configure <option>:
Pass <option> to the configure command
E.g., "snapshot op-configure --enable-parallel"
configures for parallel mode
--<option>:
Pass --<option> to the configure command
E.g., "snapshot --enable-parallel"
configures for parallel mode
EOF
exit $errcode
DISPLAYUSAGE
fi
# Setup the proper configure option (--with-zlib) to use zlib library
# provide ZLIB is non-empty.
ZLIB=${ZLIB:+"--with-zlib="$ZLIB}
if [ -n "$YODCONFIGURE" ]; then
cp configure configure.yod
bin/yodconfigure configure.yod
CONFIGURE="./configure.yod"
else
CONFIGURE="./configure"
# Adding --prefix as a configure option will put the path to the deploy
# directory in the initial libhdf5*.la files
if [ -n "$DEPLOYDIRNAME" ]; then
OP_CONFIGURE="$OP_CONFIGURE --prefix=${deploydir}/${DEPLOYDIRNAME}"
fi
CONFIGURE="$CONFIGURE $ZLIB $OP_CONFIGURE"
CONFIGURE="configure $OP_CONFIGURE"
# echo "Configure command is $CONFIGURE"
# Execute the requests
snapshot=yes
if [ -f bin/snapshot_version ]; then
. bin/snapshot_version
else
H5VERSION=hdf5
fi
BASEDIR=${HOME}/snapshots-${H5VERSION}
BASEDIR=${HOME}/snapshots-${SNAPSHOTNAME}
if [ ! -d ${BASEDIR} ]; then
echo "BASEDIR ($BASEDIR) does not exist"
exit 1
@@ -315,11 +497,6 @@ CURRENT=${BASEDIR}/current
PREVIOUS=${BASEDIR}/previous
ReleaseDir=${ReleaseDir:=${BASEDIR}/${ReleaseDir_default}}
HOSTNAME=`hostname | cut -f1 -d.` # no domain part
if [ $H5VERSION != hdf5 ]; then
SVNVERSION="hdf5/branches/$H5VERSION"
else
SVNVERSION=hdf5/trunk # use the default (trunk) version
fi
# Try finding a version of diff that supports the -I option too.
DIFF=diff
@@ -333,19 +510,48 @@ done
#=============================
if [ "$cmd" = "all" -o -n "$cmdcheckout" ]; then
TIMESTAMP "checkout"
# If there is a Makefile in ${CURRENT}, the last test done in it
# has not been distclean'ed. They would interfere with other
# --srcdir build since make considers the files in ${CURRENT}
# take precedence over files in its own build-directory. Run
# a "make distclean" to clean them all out. This is not really
# part of the "checkout" functions but this is the most convenient
# spot to do the distclean. We will also continue the checkout process
# regardless of the return code of distclean.
( cd ${CURRENT}; test -f Makefile && ${MAKE} distclean)
# ${BASEDIR}/bin is now updated from git by EveningMaint or DailyMaint
# to avoid updating the scripts in ${BASEDIR}/bin while they are running.
SVNROOT=http://svn.hdfgroup.uiuc.edu
# Check out the current version from source repository.
(cd $BASEDIR; svn -q co ${SVNROOT}/${SVNVERSION} current ) || exit 1
if [ -z "$AUTOGEN" ]; then
# If there is a Makefile in ${CURRENT}, the last test done in it
# has not been distclean'ed. They would interfere with other
# --srcdir build since make considers the files in ${CURRENT}
# take precedence over files in its own build-directory. Run
# a "make distclean" to clean them all out. This is not really
# part of the "checkout" functions but this is the most convenient
# spot to do the distclean. We will also continue the checkout process
# regardless of the return code of distclean.
( cd ${CURRENT}; test -f Makefile && ${MAKE} distclean)
fi
# echo "cmdftp is $cmdftp; ftp_url is $ftp_url"
if [ -n "$cmdftp" ]; then
echo "Get the NetCDF4 source from their ftp server."
echo "Command executed is: 2>&1 wget -N $ftp_url"
cd ${BASEDIR};
WGET_OUTPUT="`2>&1 wget -N $ftp_url`"
errcode=$?
if [[ $errcode -ne 0 ]]; then
exit $errcode
fi
if [ $? -ne 0 ];then
echo $0: "$WGET_OUTPUT" Exiting.
exit 1
fi
# echo "Wget output was $WGET_OUTPUT"
if echo "$WGET_OUTPUT" | fgrep 'not retrieving' &> /dev/null
then
echo "Snapshot unchanged"
else
echo "New snapshot downloaded"
EXTRACT
fi
else
SOURCE_CHECKOUT
fi
fi # Do source checkout
@@ -353,7 +559,7 @@ fi # Do source checkout
# Run Test the HDF5 library
#=============================
if [ "$cmd" = "all" -o -n "$cmdtest" -o -n "$cmddiff" ]; then
TIMESTAMP "diff"
TIMESTAMP "Run Tests"
# setup if srcdir is used.
if [ -z "$srcdir" ]; then
TESTDIR=${CURRENT}
@@ -369,10 +575,15 @@ if [ "$cmd" = "all" -o -n "$cmdtest" -o -n "$cmddiff" ]; then
esac
TESTDIR=${BASEDIR}/TestDir/${SRCDIRNAME}
test -d ${TESTDIR} || mkdir ${TESTDIR}
# set TESTDIR to use the direct path to the local test directory
# rather than the path through ${BASEDIR}.
cd ${TESTDIR}
TESTDIR=`pwd -P`
cd ${CURRENT}
fi
# Make sure current version exists and is clean
if [ -d ${TESTDIR} ]; then
(cd ${TESTDIR} && ${MAKE} distclean)
DISTCLEAN
else
errcode=$?
snapshot=no
@@ -382,12 +593,17 @@ if [ "$cmd" = "all" -o -n "$cmdtest" -o -n "$cmddiff" ]; then
# Compare it with the previous version. Compare only files listed in
# the MANIFEST plus the MANIFEST itself.
if [ -d ${PREVIOUS} ]; then
if (${DIFF} -c ${PREVIOUS}/MANIFEST ${CURRENT}/MANIFEST); then
if [ -z "${AUTOGEN}" ]; then
CURRENTSRC=${CURRENT}
else
CURRENTSRC=${BASEDIR}/current_src
fi
if (${DIFF} -c ${PREVIOUS}/MANIFEST ${CURRENTSRC}/MANIFEST); then
snapshot=no
for src in `grep '^\.' ${CURRENT}/MANIFEST|expand|cut -f1 -d' '`; do
for src in `grep '^\.' ${CURRENTSRC}/MANIFEST|expand|cut -f1 -d' '`; do
if ${DIFF} -I H5_VERS_RELEASE -I " released on " \
-I " currently under development" \
${PREVIOUS}/$src ${CURRENT}/$src
${PREVIOUS}/$src ${CURRENTSRC}/$src
then
: #continue
else
@@ -408,44 +624,123 @@ if [ "$cmd" = "all" -o -n "$cmdtest" -o -n "$cmddiff" ]; then
fi
fi
#=============================
# Execute command if defined
#=============================
#echo BEFORE EXEC command
#echo EXEC_CMD_ARG=${EXEC_CMD_ARG}
if [ -n "$EXEC_CMD_ARG" ]; then
TIMESTAMP ${EXEC_CMD_ARG}
TESTDIR=${BASEDIR}/TestDir/${SRCDIRNAME}
test -d ${TESTDIR} || mkdir ${TESTDIR}
if cd ${TESTDIR}; then
# clean up the directory before executing the command
# Do we need to clean first?
# rm -rf *
#
# If EXEC_CMD_ARG starts with a '/', it has an absolute path, else it is
# relative to the BASEDIR.
case "$EXEC_CMD_ARG" in
/*)
${EXEC_CMD_ARG}
;;
*)
${BASEDIR}/${EXEC_CMD_ARG}
;;
esac
errcode=$?
else
echo "${TESTDIR} not accessible"
errcode=1
fi
# exit snapshot since nothing else to do, for now.
exit $errcode
fi
# Build, run tests and install procedures
if [ "$snapshot" = "yes" ]; then
if [ "$snapshot" = "yes" ] && [ "$NOMAKE" != "yes" ]; then
FAIL_SECTION=""
if [ -f ${TESTDIR}/failsection ]; then
rm ${TESTDIR}/failsection
fi
if (cd ${TESTDIR} && \
TIMESTAMP "configure" && \
${srcdir:+${CURRENT}/}${CONFIGURE} && \
TIMESTAMP "make" && \
TIMESTAMP "configure" && echo "configure" > ${TESTDIR}/failsection && \
RUNCONFIGURE && \
sleep 2 && \
TIMESTAMP "make" && echo "make" > ${TESTDIR}/failsection && \
${MAKE} && DISKUSAGE \
TIMESTAMP ${CHECKVAL} && \
TIMESTAMP ${CHECKVAL} && echo "make check" > ${TESTDIR}/failsection && \
${MAKE} ${CHECKVAL} && DISKUSAGE \
TIMESTAMP "install" && \
${MAKE} install-all && DISKUSAGE \
TIMESTAMP "check-install" && \
${MAKE} check-install && DISKUSAGE \
TIMESTAMP "uninstall" && \
${MAKE} uninstall-all && DISKUSAGE); then
TIMESTAMP "install" && echo "make install" > ${TESTDIR}/failsection && \
${MAKE} install && DISKUSAGE \
TIMESTAMP "check-install" && echo "make check-install" > ${TESTDIR}/failsection && \
CHECKINSTALL && DISKUSAGE \
TIMESTAMP "uninstall" && echo "make uninstall" > ${TESTDIR}/failsection && \
${MAKE} uninstall && DISKUSAGE); then
:
else
errcode=$?
FAIL_SECTION=`cat ${TESTDIR}/failsection`
echo "Failed running ${FAIL_SECTION}"
snapshot=no
exit $errcode
fi
elif [ $CPSRC ]; then
cp -pr ${CURRENT}/* ${TESTDIR}
else
cmdclean=""
fi
fi # Test the HDF5 library
# Run external test if configured
#=============================
#=============================
#if [ -d "$CURRENT" ]; then
if [ "$EXTTEST" != "" ]; then
TIMESTAMP ${EXTTEST}
TESTDIR=${BASEDIR}/TestDir/${SRCDIRNAME}
test -d ${TESTDIR} || mkdir ${TESTDIR}
cd ${TESTDIR}
sleep 1
TIMESTAMP $pwd
ls
${BASEDIR}/${EXTTEST}
errcode=$?
exit $errcode
fi
#=============================
# Run deployment if requested.
#=============================
if [ -n "$DEPLOYDIRNAME" ]; then
# The daily tests deploy to .../hdf5/... or .../hdf4/... except on cobalt where the
# deploy directory is in .../HDF5/... lc will take care of this. If hdf4 or hdf5
# either upper or lower case isn't in the path, RELEASE.txt won't be found unless
# it is in $CURRENT.
POS4=`perl -e "print index(lc(\"${deploydir}/${DEPLOYDIRNAME}\"), 'hdf4')"`
POS5=`perl -e "print index(lc(\"${deploydir}/${DEPLOYDIRNAME}\"), 'hdf5')"`
if [ "${POS4}" -ge "0" ]; then
RELEASE_TXT_LOC="release_notes"
elif [ "${POS5}" -ge "0" ]; then
RELEASE_TXT_LOC="release_docs"
else
RELEASE_TXT_LOC=""
fi
if [ "$snapshot" = "yes" ]; then
TIMESTAMP "deploy"
if (cd ${TESTDIR} &&
${CURRENT}/bin/deploy ${deploydir}/${DEPLOYDIRNAME} && \
${BASEDIR}/bin/deploy ${deploydir}/${DEPLOYDIRNAME} && \
TIMESTAMP "clean" && \
${MAKE} clean && \
TIMESTAMP "check-install prefix=${deploydir}/${DEPLOYDIRNAME}" && \
${MAKE} check-install prefix=${deploydir}/${DEPLOYDIRNAME}); then
: #continue
CHECKINSTALL prefix=${deploydir}/${DEPLOYDIRNAME}); then
cd ${CURRENT}
cp ${RELEASE_TXT_LOC}/RELEASE.txt ${deploydir}/${DEPLOYDIRNAME}
cp COPYING ${deploydir}/${DEPLOYDIRNAME}
#: #continue
else
errcode=$?
exit $errcode
@@ -460,24 +755,41 @@ fi # Deploy
if [ "$cmd" = "all" -o -n "$cmdrel" ]; then
if [ "$snapshot" = "yes" ]; then
TIMESTAMP "release"
(cd ${CURRENT} && ${MAKE} distclean)
DISTCLEAN
(
# Turn on exit on error in the sub-shell so that it does not
# commit source if errors encounter here.
set -e
cd ${CURRENT}
RELEASE_VERSION="`perl bin/h5vers -v`"
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
bin/release -d $ReleaseDir $METHODS
perl bin/h5vers -i
svn -q commit -m "Snapshot $RELEASE_VERSION"
if [ "$cmdrel" = "autogen-release" ]; then
cd ${BASEDIR}/current_src
else
cd ${CURRENT}
fi
if [ "$HDFREPOS" = "hdf4" ]; then
RELEASE_VERSION="`perl bin/h4vers -v`"
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
bin/release -d $ReleaseDir $METHODS
perl bin/h4vers -i
elif [ "$HDFREPOS" = "hdf5" ]; then
RELEASE_VERSION="`perl bin/h5vers -v`"
echo "Making snapshot release ($RELEASE_VERSION) to ${ReleaseDir}..."
if [ "${DOCVERSION}" ]; then
bin/release -d $ReleaseDir --docver ${DOCVERSION} $METHODS
else
bin/release -d $ReleaseDir $METHODS
fi
perl bin/h5vers -i
else
echo "need real release steps. For now, only move current version to previous"
fi
COMMITSNAPSHOT
)
errcode=$?
fi
# Replace the previous version with the current version.
# Should check if the errcode of the release process but there
# are other failures after release was done (e.g. h5vers or svn failures)
# are other failures after release was done (e.g. h5vers or git failures)
# that should allow the replacement to occure.
rm -rf ${PREVIOUS}
mv ${CURRENT} ${PREVIOUS}
@@ -487,7 +799,7 @@ fi #Release snapshot
#=============================
# Clean the test area. Default is no clean.
#=============================
if [ -n "$cmdclean" ]; then
if [ -n "$cmdclean" ] && [ "$NOMAKE" != "yes" ]; then
TIMESTAMP "clean"
# setup if srcdir is used.
if [ -z "$srcdir" ]; then

View File

@@ -5,12 +5,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# default version for snapshot test

81
bin/switch_maint_mode Executable file
View File

@@ -0,0 +1,81 @@
#!/bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Switch AM_MAINTAINER_MODE value in configure.ac
# Usage: See USAGE()
# Programmer: Dana Robinson
# Creation date: January 2016
USAGE()
{
cat <<EOF
switch_maint_mode reverses the status of AM_MAINTAINER_MODE in
configure.ac from enable to disable or vice-versa. When enabled,
this feature forces the autotools to run when the input files are
older than the output files. This is the default for development
branches. When disabled, the autotools will NOT be re-run regardless
of their timestamps or any modifications. This is the default for
tarballs and release branches since it avoids having end-users
requiring the autotools.
Command Syntax
==============
switch_maint_mode [-help] [-enable|disable] <path-to-configure.ac>
EOF
}
MODE="notset"
CONFIG_AC_PATH=
# Display help/usage if any options were passed in
while [ $# -gt 0 ]; do
case "$1" in
-enable)
MODE="enable"
;;
-disable)
MODE="disable"
;;
-help)
USAGE
exit 0
;;
*)
CONFIG_AC_PATH="$1"
;;
esac
shift
done
# Did we get a file path?
if test -z $CONFIG_AC_PATH ; then
USAGE
exit 1
fi
# Did we get a mode?
if test -z $MODE ; then
USAGE
exit 1
fi
# Run perl over configure.ac
if test "X-$MODE" = "X-enable" ; then
perl -pi -e 's/^(AM_MAINTAINER_MODE\(\[)([a-z]+)(\]\))/$1enable$3/g' $CONFIG_AC_PATH
fi
if test "X-$MODE" = "X-disable" ; then
perl -pi -e 's/^(AM_MAINTAINER_MODE\(\[)([a-z]+)(\]\))/$1disable$3/g' $CONFIG_AC_PATH
fi

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
# As a time keeper of the remote daily test process launched by runtest.
# It sleeps for a certain time and then wakes up to hangup those processes

156
bin/trace
View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
require 5.003;
$Source = "";
@@ -32,29 +30,34 @@ $Source = "";
"hbool_t" => "b",
"double" => "d",
"H5D_alloc_time_t" => "Da",
"H5FD_mpio_collective_opt_t" => "Dc",
"H5FD_mpio_collective_opt_t" => "Dc",
"H5D_fill_time_t" => "Df",
"H5D_fill_value_t" => "DF",
"H5FD_mpio_chunk_opt_t" => "Dh",
"H5FD_mpio_chunk_opt_t" => "Dh",
"H5D_mpio_actual_io_mode_t" => "Di",
"H5D_chunk_index_t" => "Dk",
"H5D_layout_t" => "Dl",
"H5D_mpio_no_collective_cause_t" => "Dn",
"H5D_mpio_actual_chunk_opt_mode_t" => "Do",
"H5D_space_status_t" => "Ds",
"H5D_vds_view_t" => "Dv",
"H5FD_mpio_xfer_t" => "Dt",
"herr_t" => "e",
"H5E_direction_t" => "Ed",
"H5E_error_t" => "Ee",
"H5E_type_t" => "Et",
"H5F_close_degree_t" => "Fd",
"H5F_file_space_type_t" => "Ff",
"H5F_mem_t" => "Fm",
"H5E_type_t" => "Et",
"H5F_close_degree_t" => "Fd",
"H5F_fspace_strategy_t" => "Ff",
"H5F_file_space_type_t" => "Ff",
"H5F_mem_t" => "Fm",
"H5F_scope_t" => "Fs",
"H5F_libver_t" => "Fv",
"H5F_fspace_type_t" => "Ft",
"H5F_libver_t" => "Fv",
"H5G_obj_t" => "Go",
"H5G_stat_t" => "Gs",
"hsize_t" => "h",
"hsize_t" => "h",
"hssize_t" => "Hs",
"H5E_major_t" => "i",
"H5E_major_t" => "i",
"H5E_minor_t" => "i",
"H5_iter_order_t" => "Io",
"H5_index_t" => "Ii",
@@ -63,18 +66,20 @@ $Source = "";
"int32_t" => "Is",
"unsigned" => "Iu",
"unsigned int" => "Iu",
"uint32_t" => "Iu",
"H5I_type_t" => "It",
"H5G_link_t" => "Ll", #Same as H5L_type_t now
"H5L_type_t" => "Ll",
"H5G_link_t" => "Ll", #Same as H5L_type_t now
"H5L_type_t" => "Ll",
"MPI_Comm" => "Mc",
"MPI_Info" => "Mi",
"H5FD_mem_t" => "Mt",
"off_t" => "o",
"H5O_type_t" => "Ot",
"H5P_class_t" => "p",
"hobj_ref_t" => "r",
"hobj_ref_t" => "r",
"H5R_type_t" => "Rt",
"char" => "s",
"unsigned char" => "s",
"H5S_class_t" => "Sc",
"H5S_seloper_t" => "Ss",
"H5S_sel_type" => "St",
@@ -93,32 +98,39 @@ $Source = "";
"void" => "x",
"FILE" => "x",
"H5A_operator_t" => "x",
"H5A_operator1_t" => "x",
"H5A_operator2_t" => "x",
"H5A_info_t" => "x",
"H5A_operator1_t" => "x",
"H5A_operator2_t" => "x",
"H5A_info_t" => "x",
"H5AC_cache_config_t" => "x",
"H5AC_cache_image_config_t" => "x",
"H5D_append_cb_t" => "x",
"H5D_gather_func_t" => "x",
"H5D_operator_t" => "x",
"H5D_scatter_func_t" => "x",
"H5E_auto_t" => "x",
"H5E_auto1_t" => "x",
"H5E_auto2_t" => "x",
"H5E_walk_t" => "x",
"H5E_walk1_t" => "x",
"H5E_walk2_t" => "x",
"H5F_info1_t" => "x",
"H5F_info2_t" => "x",
"H5F_flush_cb_t" => "x",
"H5F_info1_t" => "x",
"H5F_info2_t" => "x",
"H5F_retry_info_t" => "x",
"H5FD_t" => "x",
"H5FD_class_t" => "x",
"H5FD_stream_fapl_t" => "x",
"H5FD_file_image_callbacks_t" => "x",
"H5G_iterate_t" => "x",
"H5G_info_t" => "x",
"H5I_free_t" => "x",
"H5G_info_t" => "x",
"H5I_free_t" => "x",
"H5I_search_func_t" => "x",
"H5L_class_t" => "x",
"H5L_elink_traverse_t" => "x",
"H5L_iterate_t" => "x",
"H5MM_allocate_t" => "x",
"H5MM_free_t" => "x",
"H5O_info_t" => "x",
"H5O_info_t" => "x",
"H5O_iterate_t" => "x",
"H5O_mcdt_search_cb_t" => "x",
"H5P_cls_create_func_t" => "x",
@@ -137,6 +149,7 @@ $Source = "";
"H5T_conv_except_func_t" => "x",
"H5Z_func_t" => "x",
"H5Z_filter_func_t" => "x",
"va_list" => "x",
"size_t" => "z",
"H5Z_SO_scale_type_t" => "Za",
"H5Z_class_t" => "Zc",
@@ -148,6 +161,8 @@ $Source = "";
##############################################################################
# Print an error message.
#
my $found_errors = 0;
sub errmesg ($$@) {
my ($file, $func, @mesg) = @_;
my ($mesg) = join "", @mesg;
@@ -157,6 +172,8 @@ sub errmesg ($$@) {
$lineno = tr/\n/\n/;
}
$found_errors = 1;
print "$file: in function \`$func\':\n";
print "$file:$lineno: $mesg\n";
}
@@ -172,7 +189,7 @@ sub argstring ($$$) {
# Normalize the data type by removing redundant white space,
# certain type qualifiers, and indirection.
$atype =~ s/^\bconst\b//;
$atype =~ s/\bUNUSED\b//g;
$atype =~ s/\bH5_ATTR_UNUSED\b//g;
$atype =~ s/\s+/ /g;
$ptr = length $1 if $atype =~ s/(\*+)//;
$atype =~ s/^\s+//;
@@ -227,34 +244,34 @@ sub rewrite_func ($$$$$) {
next;
}
unless ($arg=~/^(([a-z_A-Z]\w*\s+)+\**)
([a-z_A-Z]\w*)(\[.*?\])?
(\s*\/\*\s*(in|out|in_out)\s*\*\/)?\s*$/x) {
errmesg $file, $name, "unable to parse \`$arg\'";
goto error;
([a-z_A-Z]\w*)(\[.*?\])?
(\s*\/\*\s*(in|out|in_out)\s*\*\/)?\s*$/x) {
errmesg $file, $name, "unable to parse \`$arg\'";
goto error;
} else {
my ($atype, $aname, $array, $adir) = ($1, $3, $4, $6);
$names{$aname} = $argno++;
$adir ||= "in";
$atype =~ s/\s+$//;
push @arg_name, $aname;
my ($atype, $aname, $array, $adir) = ($1, $3, $4, $6);
$names{$aname} = $argno++;
$adir ||= "in";
$atype =~ s/\s+$//;
push @arg_name, $aname;
if ($adir eq "out") {
push @arg_str, "x";
} else {
if (defined $array) {
$atype .= "*";
if ($array =~ /^\[\/\*([a-z_A-Z]\w*)\*\/\]$/) {
my $asize = $1;
if (exists $names{$asize}) {
$atype .= '[a' . $names{$asize} . ']';
} else {
warn "bad array size: $asize";
$atype .= "*";
}
}
}
push @arg_str, argstring $file, $name, $atype;
}
if ($adir eq "out") {
push @arg_str, "x";
} else {
if (defined $array) {
$atype .= "*";
if ($array =~ /^\[\/\*([a-z_A-Z]\w*)\*\/\]$/) {
my $asize = $1;
if (exists $names{$asize}) {
$atype .= '[a' . $names{$asize} . ']';
} else {
warn "bad array size: $asize";
$atype .= "*";
}
}
}
push @arg_str, argstring $file, $name, $atype;
}
}
}
$trace = "H5TRACE" . scalar(@arg_str) . "(\"$rettype\", \"";
@@ -262,11 +279,11 @@ sub rewrite_func ($$$$$) {
my $len = 4 + length $trace;
for (@arg_name) {
if ($len + length >= 77) {
$trace .= ",\n $_";
$len = 13 + length;
$trace .= ",\n $_";
$len = 13 + length;
} else {
$trace .= ", $_";
$len += 1 + length;
$trace .= ", $_";
$len += 1 + length;
}
}
$trace .= ");\n";
@@ -275,14 +292,10 @@ sub rewrite_func ($$$$$) {
# The H5TRACE() statement
if ($body =~ /\/\*[ \t]*NO[ \t]*TRACE[ \t]*\*\//) {
if ($body =~ /\s*H5TRACE\d+\s*\(/) {
errmesg $file, $name, "warning: trace info was not updated because of NO TRACE comment";
} else {
errmesg $file, $name, "warning: trace info was not inserted because of NO TRACE comment";
}
# Ignored due to NO TRACE comment.
} elsif ($body =~ s/((\n[ \t]*)H5TRACE\d+\s*\(.*?\);)\n/"$2$trace"/es) {
# Replaced an H5TRACE macro
} elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*\(.*?\);??)\n/"$1$2$trace"/es) {
# Replaced an H5TRACE macro.
} elsif ($body=~s/((\n[ \t]*)FUNC_ENTER\w*\s*(\(.*?\))?;??)\n/"$1$2$trace"/es) {
# Added an H5TRACE macro after a FUNC_ENTER macro.
} else {
errmesg $file, $name, "unable to insert tracing information";
@@ -311,14 +324,14 @@ for $file (@ARGV) {
# Make modifications
my $original = $Source;
my $napi = $Source =~ s/\n([A-Za-z]\w*(\s+[a-z]\w*)*)\s*\n #type
my $napi = $Source =~ s/\n([A-Za-z]\w*(\s+[A-Za-z]\w*)*\s*\**)\n #type
(H5[A-Z]{0,2}[^_A-Z0-9]\w*) #name
\s*\((.*?)\)\s* #args
(\{.*?\n\}[^\n]*) #body
/rewrite_func($file,$1,$3,$4,$5)/segx;
$total_api += $napi;
# If the source changed then print out the new version
# If the source changed then print out the new version
if ($original ne $Source) {
printf "%s: instrumented %d API function%s\n",
$file, $napi, 1==$napi?"":"s";
@@ -329,3 +342,14 @@ for $file (@ARGV) {
}
}
}
if ($found_errors eq 1) {
printf "\n";
printf "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
printf "*** ERRORS FOUND *** ERRORS FOUND *** ERRORS FOUND ****\n";
printf "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
exit 1;
} else {
printf "Finished processing HDF5 API calls\n";
}

View File

@@ -1,16 +1,15 @@
#!/bin/sh
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Fix configure file so that it can launch configure testing executable
# via the proper launching command, e.g., yod. (Thus the name yodconfigure

View File

@@ -1,19 +1,15 @@
cmake_minimum_required (VERSION 2.8.6)
cmake_minimum_required (VERSION 3.2.2)
PROJECT (HDF5_CPP)
#-----------------------------------------------------------------------------
# Shared/Static Libs
# Apply Definitions to compiler in this directory and below
#-----------------------------------------------------------------------------
IF (BUILD_SHARED_LIBS)
SET (CPP_BUILT_AS_DYNAMIC_LIB 1)
ELSE (BUILD_SHARED_LIBS)
SET (CPP_BUILT_AS_STATIC_LIB 1)
ENDIF (BUILD_SHARED_LIBS)
add_definitions (${HDF_EXTRA_C_FLAGS})
#-----------------------------------------------------------------------------
# Generate configure file
#-----------------------------------------------------------------------------
CONFIGURE_FILE (${HDF5_RESOURCES_DIR}/H5cxx_config.h.in
configure_file (${HDF_RESOURCES_DIR}/H5cxx_config.h.in
${HDF5_BINARY_DIR}/H5cxx_pubconf.h
)
@@ -26,23 +22,23 @@ INCLUDE_DIRECTORIES (${HDF5_BINARY_DIR})
#-----------------------------------------------------------------------------
# Parallel/MPI, prevent spurious cpp/cxx warnings
#-----------------------------------------------------------------------------
IF (H5_HAVE_PARALLEL)
ADD_DEFINITIONS ("-DMPICH_SKIP_MPICXX")
ADD_DEFINITIONS ("-DMPICH_IGNORE_CXX_SEEK")
ENDIF (H5_HAVE_PARALLEL)
if (H5_HAVE_PARALLEL)
add_definitions ("-DMPICH_SKIP_MPICXX")
add_definitions ("-DMPICH_IGNORE_CXX_SEEK")
endif ()
ADD_SUBDIRECTORY (${HDF5_CPP_SOURCE_DIR}/src ${HDF5_CPP_BINARY_DIR}/src)
add_subdirectory (${HDF5_CPP_SOURCE_DIR}/src ${HDF5_CPP_BINARY_DIR}/src)
#-----------------------------------------------------------------------------
# Build the CPP Examples
#-----------------------------------------------------------------------------
IF (HDF5_BUILD_EXAMPLES)
ADD_SUBDIRECTORY (${HDF5_CPP_SOURCE_DIR}/examples ${HDF5_CPP_BINARY_DIR}/examples)
ENDIF (HDF5_BUILD_EXAMPLES)
if (HDF5_BUILD_EXAMPLES)
add_subdirectory (${HDF5_CPP_SOURCE_DIR}/examples ${HDF5_CPP_BINARY_DIR}/examples)
endif ()
#-----------------------------------------------------------------------------
# Build the CPP unit tests
#-----------------------------------------------------------------------------
IF (BUILD_TESTING)
ADD_SUBDIRECTORY (${HDF5_CPP_SOURCE_DIR}/test ${HDF5_CPP_BINARY_DIR}/test)
ENDIF (BUILD_TESTING)
if (BUILD_TESTING)
add_subdirectory (${HDF5_CPP_SOURCE_DIR}/test ${HDF5_CPP_BINARY_DIR}/test)
endif ()

View File

@@ -5,12 +5,9 @@
The files and subdirectories in this directory are part of HDF5.
The full HDF5 copyright notice, including terms governing use,
modification, and redistribution, is contained in the files COPYING
and Copyright.html. COPYING can be found at the root of the source
code distribution tree; Copyright.html can be found at the root
level of an installed copy of the electronic HDF5 document set and
is linked from the top-level documents page. It can also be found
at http://www.hdfgroup.org/HDF5/doc/Copyright.html. If you do not
have access to either file, you may request a copy from
modification, and redistribution, is contained in the COPYING file
which can be found at the root of the source code distribution tree
or in https://support.hdfgroup.org/ftp/HDF5/releases. If you do
not have access to either file, you may request a copy from
help@hdfgroup.org.

View File

@@ -5,12 +5,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.

View File

@@ -1,989 +0,0 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
# Top-level HDF5-C++ Makefile(.in)
#
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(top_srcdir)/config/commence.am \
$(top_srcdir)/config/conclude.am COPYING
TESTS =
subdir = c++
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/H5config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
html-recursive info-recursive install-data-recursive \
install-dvi-recursive install-exec-recursive \
install-html-recursive install-info-recursive \
install-pdf-recursive install-ps-recursive install-recursive \
installcheck-recursive installdirs-recursive pdf-recursive \
ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
distdir
ETAGS = etags
CTAGS = ctags
am__tty_colors = \
red=; grn=; lgn=; blu=; std=
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
am__relativize = \
dir0=`pwd`; \
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
sed_rest='s,^[^/]*/*,,'; \
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
sed_butlast='s,/*[^/]*$$,,'; \
while test -n "$$dir1"; do \
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
if test "$$first" != "."; then \
if test "$$first" = ".."; then \
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
else \
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
if test "$$first2" = "$$first"; then \
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
else \
dir2="../$$dir2"; \
fi; \
dir0="$$dir0"/"$$first"; \
fi; \
fi; \
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
done; \
reldir="$$dir2"
ACLOCAL = /home1/packages/automake/automake-1.9.6/bin/aclocal-1.9 -I /afs/ncsa/projects/hdf/packages/libtool_1.5.14/Linux_2.4/share/aclocal
ADD_PARALLEL_FILES = @ADD_PARALLEL_FILES@
AMTAR = @AMTAR@
# H5_CFLAGS holds flags that should be used when building hdf5,
# but which should not be exported to h5cc for building other programs.
# AM_CFLAGS is an automake construct which should be used by Makefiles
# instead of CFLAGS, as CFLAGS is reserved solely for the user to define.
# This applies to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS as well.
AM_CFLAGS = @AM_CFLAGS@ @H5_CFLAGS@
AM_CPPFLAGS = @AM_CPPFLAGS@ @H5_CPPFLAGS@
AM_CXXFLAGS = @AM_CXXFLAGS@ @H5_CXXFLAGS@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AM_FCFLAGS = @AM_FCFLAGS@ @H5_FCFLAGS@
AM_LDFLAGS = @AM_LDFLAGS@ @H5_LDFLAGS@
AM_MAKEFLAGS = @AM_MAKEFLAGS@
AR = @AR@
AS = @AS@
# Set the paths for AFS installs of autotools for Linux machines
# Ideally, these tools should never be needed during the build.
AUTOCONF = /home1/packages/autoconf/autoconf-2.60/bin/autoconf
AUTOHEADER = /home1/packages/autoconf/autoconf-2.60/bin/autoheader
AUTOMAKE = /home1/packages/automake/automake-1.9.6/bin/automake-1.9
AWK = @AWK@
BYTESEX = @BYTESEX@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CC_VERSION = @CC_VERSION@
CFLAGS = @CFLAGS@
CLEARFILEBUF = @CLEARFILEBUF@
CODESTACK = @CODESTACK@
CONFIG_DATE = @CONFIG_DATE@
CONFIG_MODE = @CONFIG_MODE@
CONFIG_USER = @CONFIG_USER@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CXX_VERSION = @CXX_VERSION@
CYGPATH_W = @CYGPATH_W@
DEBUG_PKG = @DEBUG_PKG@
DEFAULT_API_VERSION = @DEFAULT_API_VERSION@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DEPRECATED_SYMBOLS = @DEPRECATED_SYMBOLS@
DIRECT_VFD = @DIRECT_VFD@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
DYNAMIC_DIRS = @DYNAMIC_DIRS@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
EXTERNAL_FILTERS = @EXTERNAL_FILTERS@
# Make sure that these variables are exported to the Makefiles
F9XMODEXT = @F9XMODEXT@
F9XMODFLAG = @F9XMODFLAG@
F9XSUFFIXFLAG = @F9XSUFFIXFLAG@
FC = @FC@
FC2003 = @FC2003@
FCFLAGS = @FCFLAGS@
FCFLAGS_f90 = @FCFLAGS_f90@
FCLIBS = @FCLIBS@
FC_VERSION = @FC_VERSION@
FGREP = @FGREP@
FILTERS = @FILTERS@
FSEARCH_DIRS = @FSEARCH_DIRS@
GPFS = @GPFS@
GREP = @GREP@
H5_CFLAGS = @H5_CFLAGS@
H5_CPPFLAGS = @H5_CPPFLAGS@
H5_CXXFLAGS = @H5_CXXFLAGS@
H5_CXX_SHARED = @H5_CXX_SHARED@
H5_FCFLAGS = @H5_FCFLAGS@
H5_FORTRAN_SHARED = @H5_FORTRAN_SHARED@
H5_LDFLAGS = @H5_LDFLAGS@
H5_LONE_COLON = @H5_LONE_COLON@
H5_VERSION = @H5_VERSION@
HADDR_T = @HADDR_T@
HAVE_DMALLOC = @HAVE_DMALLOC@
HAVE_FORTRAN_2003 = @HAVE_FORTRAN_2003@
HDF5_HL = @HDF5_HL@
HDF5_INTERFACES = @HDF5_INTERFACES@
HDF_CXX = @HDF_CXX@
HDF_FORTRAN = @HDF_FORTRAN@
HDF_FORTRAN2003 = @HDF_FORTRAN2003@
HID_T = @HID_T@
HL = @HL@
HL_FOR = @HL_FOR@
HSIZE_T = @HSIZE_T@
HSSIZE_T = @HSSIZE_T@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LL_PATH = @LL_PATH@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
LT_STATIC_EXEC = @LT_STATIC_EXEC@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MPE = @MPE@
MPI_GET_SIZE = @MPI_GET_SIZE@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PARALLEL = @PARALLEL@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PTHREAD = @PTHREAD@
RANLIB = @RANLIB@
ROOT = @ROOT@
RUNPARALLEL = @RUNPARALLEL@
RUNSERIAL = @RUNSERIAL@
R_INTEGER = @R_INTEGER@
R_LARGE = @R_LARGE@
SEARCH = @SEARCH@
SED = @SED@
SETX = @SETX@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SIZE_T = @SIZE_T@
STATIC_EXEC = @STATIC_EXEC@
STATIC_SHARED = @STATIC_SHARED@
STRICT_FORMAT_CHECKS = @STRICT_FORMAT_CHECKS@
STRIP = @STRIP@
TESTPARALLEL = @TESTPARALLEL@
THREADSAFE = @THREADSAFE@
TIME = @TIME@
TR = @TR@
TRACE_API = @TRACE_API@
UNAME_INFO = @UNAME_INFO@
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
USE_FILTER_NBIT = @USE_FILTER_NBIT@
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
USE_FILTER_SZIP = @USE_FILTER_SZIP@
USINGMEMCHECKER = @USINGMEMCHECKER@
VERSION = @VERSION@
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_FC = @ac_ct_FC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
# Install directories that automake doesn't know about
docdir = $(exec_prefix)/doc
dvidir = @dvidir@
enable_shared = @enable_shared@
enable_static = @enable_static@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
# Shell commands used in Makefiles
RM = rm -f
CP = cp
# Some machines need a command to run executables; this is that command
# so that our tests will run.
# We use RUNEXEC instead of RUNSERIAL directly because it may be that
# some tests need to be run with a different command. Older versions
# of the makefiles used the command
# $(LIBTOOL) --mode=execute
# in some directories, for instance.
RUNEXEC = $(RUNSERIAL)
# Libraries to link to while building
LIBHDF5 = $(top_builddir)/src/libhdf5.la
LIBH5TEST = $(top_builddir)/test/libh5test.la
LIBH5F = $(top_builddir)/fortran/src/libhdf5_fortran.la
LIBH5FTEST = $(top_builddir)/fortran/test/libh5test_fortran.la
LIBH5CPP = $(top_builddir)/c++/src/libhdf5_cpp.la
LIBH5TOOLS = $(top_builddir)/tools/lib/libh5tools.la
LIBH5_HL = $(top_builddir)/hl/src/libhdf5_hl.la
LIBH5F_HL = $(top_builddir)/hl/fortran/src/libhdf5hl_fortran.la
LIBH5CPP_HL = $(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
# Note that in svn revision 19400 the '/' after DESTDIR in H5* variables below
# has been removed. According to the official description of DESTDIR by Gnu at
# http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is
# prepended to the normal and complete install path that it precedes for the
# purpose of installing in a temporary directory which is useful for building
# rpms and other packages. The '/' after ${DESTDIR} will be followed by another
# '/' at the beginning of the normal install path. When DESTDIR is empty the
# path then begins with '//', which is incorrect and causes problems at least for
# Cygwin.
# Scripts used to build examples
# If only shared libraries have been installed, have h5cc build examples with
# shared libraries instead of static libraries
H5CC = ${DESTDIR}$(bindir)/h5cc
H5CC_PP = ${DESTDIR}$(bindir)/h5pcc
H5FC = ${DESTDIR}$(bindir)/h5fc
H5FC_PP = ${DESTDIR}$(bindir)/h5pfc
H5CPP = ${DESTDIR}$(bindir)/h5c++
ACLOCAL_AMFLAGS = "-I m4"
# The trace script; this is used on source files from the C library to
# insert tracing macros.
TRACE = perl $(top_srcdir)/bin/trace
# .chkexe files are used to mark tests that have run successfully.
# .chklog files are output from those tests.
# *.clog are from the MPE option.
CHECK_CLEANFILES = *.chkexe *.chklog *.clog
@BUILD_CXX_CONDITIONAL_TRUE@SUBDIRS = src test
DIST_SUBDIRS = src test examples
# Automake needs to be taught how to build lib, progs, and tests targets.
# These will be filled in automatically for the most part (e.g.,
# lib_LIBRARIES are built for lib target), but EXTRA_LIB, EXTRA_PROG, and
# EXTRA_TEST variables are supplied to allow the user to force targets to
# be built at certain times.
LIB = $(lib_LIBRARIES) $(lib_LTLIBRARIES) $(noinst_LIBRARIES) \
$(noinst_LTLIBRARIES) $(check_LIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LIB)
PROGS = $(bin_PROGRAMS) $(bin_SCRIPTS) $(noinst_PROGRAMS) $(noinst_SCRIPTS) \
$(EXTRA_PROG)
TEST_PROG_CHKEXE = $(TEST_PROG:=.chkexe_)
TEST_PROG_PARA_CHKEXE = $(TEST_PROG_PARA:=.chkexe_)
TEST_SCRIPT_CHKSH = $(TEST_SCRIPT:=.chkexe_)
TEST_SCRIPT_PARA_CHKSH = $(TEST_SCRIPT_PARA:=.chkexe_)
all: all-recursive
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/commence.am $(top_srcdir)/config/conclude.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign c++/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign c++/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
# (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo $@ | sed s/-recursive//`; \
list='$(SUBDIRS)'; for subdir in $$list; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
dot_seen=yes; \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done; \
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
$(RECURSIVE_CLEAN_TARGETS):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
case "$@" in \
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
*) list='$(SUBDIRS)' ;; \
esac; \
rev=''; for subdir in $$list; do \
if test "$$subdir" = "."; then :; else \
rev="$$subdir $$rev"; \
fi; \
done; \
rev="$$rev ."; \
target=`echo $@ | sed s/-recursive//`; \
for subdir in $$rev; do \
echo "Making $$target in $$subdir"; \
if test "$$subdir" = "."; then \
local_target="$$target-am"; \
else \
local_target="$$target"; \
fi; \
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|| eval $$failcom; \
done && test -z "$$fail"
tags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
done
ctags-recursive:
list='$(SUBDIRS)'; for subdir in $$list; do \
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
done
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
mkid -fID $$unique
tags: TAGS
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
include_option=--etags-include; \
empty_fix=.; \
else \
include_option=--include; \
empty_fix=; \
fi; \
list='$(SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test ! -f $$subdir/TAGS || \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
test -d "$(distdir)/$$subdir" \
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|| exit 1; \
fi; \
done
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
if test "$$subdir" = .; then :; else \
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
$(am__relativize); \
new_distdir=$$reldir; \
dir1=$$subdir; dir2="$(top_distdir)"; \
$(am__relativize); \
new_top_distdir=$$reldir; \
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
($(am__cd) $$subdir && \
$(MAKE) $(AM_MAKEFLAGS) \
top_distdir="$$new_top_distdir" \
distdir="$$new_distdir" \
am__remove_distdir=: \
am__skip_length_check=: \
am__skip_mode_fix=: \
distdir) \
|| exit 1; \
fi; \
done
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-recursive
all-am: Makefile all-local
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-recursive
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-recursive
-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-tags
dvi: dvi-recursive
dvi-am:
html: html-recursive
html-am:
info: info-recursive
info-am:
install-data-am:
install-dvi: install-dvi-recursive
install-dvi-am:
install-exec-am:
install-html: install-html-recursive
install-html-am:
install-info: install-info-recursive
install-info-am:
install-man:
install-pdf: install-pdf-recursive
install-pdf-am:
install-ps: install-ps-recursive
install-ps-am:
installcheck-am: installcheck-local
maintainer-clean: maintainer-clean-recursive
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-recursive
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
mostlyclean-local
pdf: pdf-recursive
pdf-am:
ps: ps-recursive
ps-am:
uninstall-am:
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \
ctags-recursive install-am install-strip tags-recursive
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
all all-am all-local check check-TESTS check-am clean \
clean-generic clean-libtool ctags ctags-recursive distclean \
distclean-generic distclean-libtool distclean-tags distdir dvi \
dvi-am html html-am info info-am install install-am \
install-data install-data-am install-dvi install-dvi-am \
install-exec install-exec-am install-html install-html-am \
install-info install-info-am install-man install-pdf \
install-pdf-am install-ps install-ps-am install-strip \
installcheck installcheck-am installcheck-local installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic mostlyclean-libtool \
mostlyclean-local pdf pdf-am ps ps-am tags tags-recursive \
uninstall uninstall-am
# List all build rules defined by HDF5 Makefiles as "PHONY" targets here.
# This tells the Makefiles that these targets are not files to be built but
# commands that should be executed even if a file with the same name already
# exists.
.PHONY: build-check-clean build-check-p build-check-s build-lib build-progs \
build-tests check-clean check-install check-p check-s check-vfd \
install-doc lib progs tests uninstall-doc _exec_check-s _test help
help:
@$(top_srcdir)/bin/makehelp
# Install examples
install-examples uninstall-examples:
@(cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1;
installcheck-local:
@(cd examples && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1;
# Clean examples when check-clean is invoked
check-clean ::
@$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1;
@for d in X $(SUBDIRS) examples; do \
if test $$d != X && test $$d != .; then \
(set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# lib/progs/tests targets recurse into subdirectories. build-* targets
# build files in this directory.
build-lib: $(LIB)
build-progs: $(LIB) $(PROGS)
build-tests: $(LIB) $(PROGS) $(TESTS)
# General rule for recursive building targets.
# BUILT_SOURCES contain targets that need to be built before anything else
# in the directory (e.g., for Fortran type detection)
lib progs tests check-s check-p :: $(BUILT_SOURCES)
@$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1;
@for d in X $(SUBDIRS); do \
if test $$d != X && test $$d != .; then \
(set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# General rule for recursive cleaning targets. Like the rule above,
# but doesn't require building BUILT_SOURCES.
check-clean ::
@$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1;
@for d in X $(SUBDIRS); do \
if test $$d != X && test $$d != .; then \
(set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# Tell Automake to build tests when the user types `make all' (this is
# not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since
# Automake won't build them automatically, either.
all-local: $(EXTRA_LIB) $(EXTRA_PROG) $(TESTS)
# make install-doc doesn't do anything outside of doc directory, but
# Makefiles should recognize it.
# UPDATE: docs no longer reside in this build tree, so this target
# is depreciated.
install-doc uninstall-doc:
@echo "Nothing to be done."
# clean up files generated by tests so they can be re-run.
build-check-clean:
$(RM) -rf $(CHECK_CLEANFILES)
# run check-clean whenever mostlyclean is run
mostlyclean-local: build-check-clean
# check-install is just a synonym for installcheck
check-install: installcheck
# Run each test in order, passing $(TEST_FLAGS) to the program.
# Since tests are done in a shell loop, "make -i" does apply inside it.
# Set HDF5_Make_Ignore to a non-blank string to ignore errors inside the loop.
# The timestamps give a rough idea how much time the tests use.
#
# Note that targets in TESTS (defined above) will be built when the user
# types 'make tests' or 'make check', but only programs in TEST_PROG,
# TEST_PROG_PARA, or TEST_SCRIPT will actually be executed.
check-TESTS: test
test _test:
@$(MAKE) build-check-s
@$(MAKE) build-check-p
# Actual execution of check-s.
build-check-s: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \
echo "===Serial tests in `echo ${PWD} | sed -e s:.*/::` begin `date`==="; \
fi
@$(MAKE) $(AM_MAKEFLAGS) _exec_check-s
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \
echo "===Serial tests in `echo ${PWD} | sed -e s:.*/::` ended `date`===";\
fi
_exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The dummy.chkexe here prevents the target from being
# empty if there are no tests in the current directory.
# $${log} is the log file.
# $${tname} is the name of test.
$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
@if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
tname=$(@:.chkexe_=)$(EXEEXT);\
log=$(@:.chkexe_=.chklog); \
echo "============================"; \
if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $${tname}; then \
echo "No need to test $${tname} again."; \
else \
echo "============================" > $${log}; \
if test "X$(FORTRAN_API)" = "Xyes"; then \
echo "Fortran API: Testing $(HDF5_DRIVER) $${tname} $(TEST_FLAGS)"; \
echo "Fortran API: $(HDF5_DRIVER) $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
elif test "X$(CXX_API)" = "Xyes"; then \
echo "C++ API: Testing $(HDF5_DRIVER) $${tname} $(TEST_FLAGS)"; \
echo "C++ API: $(HDF5_DRIVER) $${tname} $(TEST_FLAGS) Test Log" >> $${log};\
else \
echo "Testing $(HDF5_DRIVER) $${tname} $(TEST_FLAGS)"; \
echo "$(HDF5_DRIVER) $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
fi; \
echo "============================" >> $${log}; \
srcdir="$(srcdir)" \
$(TIME) $(RUNEXEC) ./$${tname} $(TEST_FLAGS) >> $${log} 2>&1 \
&& touch $(@:.chkexe_=.chkexe) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
(cat $${log} && false) || exit 1; \
echo "" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \
echo "============================" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)"; \
cat $${log}; \
fi; \
fi
# The dummysh.chkexe here prevents the target from being
# empty if there are no tests in the current directory.
# $${log} is the log file.
# $${tname} is the name of test.
$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummysh.chkexe_:
@if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummysh.chkexe_"; then \
cmd=$(@:.chkexe_=);\
tname=`basename $$cmd`;\
chkname=`basename $(@:.chkexe_=.chkexe)`;\
log=`basename $(@:.chkexe_=.chklog)`; \
echo "============================"; \
if $(top_srcdir)/bin/newer $${chkname} $$cmd $(SCRIPT_DEPEND); then \
echo "No need to test $${tname} again."; \
else \
echo "============================" > $${log}; \
if test "X$(FORTRAN_API)" = "Xyes"; then \
echo "Fortran API: Testing $${tname} $(TEST_FLAGS)"; \
echo "Fortran API: $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
elif test "X$(CXX_API)" = "Xyes"; then \
echo "C++ API: Testing $${tname} $(TEST_FLAGS)"; \
echo "C++ API: $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
else \
echo "Testing $${tname} $(TEST_FLAGS)"; \
echo "$${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
fi; \
echo "============================" >> $${log}; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
$(TIME) $(SHELL) $$cmd $(TEST_FLAGS) >> $${log} 2>&1 \
&& touch $${chkname} || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
(cat $${log} && false) || exit 1; \
echo "" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \
echo "============================" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)"; \
cat $${log}; \
fi; \
echo "============================"; \
fi
# Actual execution of check-p.
build-check-p: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG_PARA)$(TEST_SCRIPT_PARA)"; then \
echo "===Parallel tests in `echo ${PWD} | sed -e s:.*/::` begin `date`==="; \
fi
@if test -n "$(TEST_PROG_PARA)"; then \
echo "**** Hint ****"; \
echo "Parallel test files reside in the current directory" \
"by default."; \
echo "Set HDF5_PARAPREFIX to use another directory. E.g.,"; \
echo " HDF5_PARAPREFIX=/PFS/user/me"; \
echo " export HDF5_PARAPREFIX"; \
echo " make check"; \
echo "**** end of Hint ****"; \
fi
@for test in $(TEST_PROG_PARA) dummy; do \
if test $$test != dummy; then \
$(MAKE) $(AM_MAKEFLAGS) $$test.chkexe_ \
RUNEXEC="$(RUNPARALLEL)" || exit 1; \
fi; \
done
@for test in $(TEST_SCRIPT_PARA) dummy; do \
if test $$test != dummy; then \
$(MAKE) $(AM_MAKEFLAGS) $$test.chkexe_ || exit 1; \
fi; \
done
@if test -n "$(TEST_PROG_PARA)$(TEST_SCRIPT_PARA)"; then \
echo "===Parallel tests in `echo ${PWD} | sed -e s:.*/::` ended `date`===";\
fi
# Run test with different Virtual File Driver
check-vfd: $(LIB) $(PROGS) $(TESTS)
@for vfd in $(VFD_LIST) dummy; do \
if test $$vfd != dummy; then \
echo "============================"; \
echo "Testing Virtual File Driver $$vfd"; \
echo "============================"; \
$(MAKE) $(AM_MAKEFLAGS) check-clean || exit 1; \
HDF5_DRIVER=$$vfd $(MAKE) $(AM_MAKEFLAGS) check || exit 1; \
fi; \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@@ -1,16 +1,16 @@
cmake_minimum_required (VERSION 2.8.6)
cmake_minimum_required (VERSION 3.2.2)
PROJECT (HDF5_CPP_EXAMPLES)
# --------------------------------------------------------------------
# Notes: When creating examples they should be prefixed
# with "cpp_ex_". This allows for easier filtering of the examples.
# --------------------------------------------------------------------
PROJECT (HDF5_CPP_EXAMPLES)
#-----------------------------------------------------------------------------
# Define examples
#-----------------------------------------------------------------------------
SET (examples
set (examples
create
readdata
writedata
@@ -20,35 +20,34 @@ SET (examples
h5group
)
FOREACH (example ${examples})
ADD_EXECUTABLE (cpp_ex_${example} ${HDF5_CPP_EXAMPLES_SOURCE_DIR}/${example}.cpp)
TARGET_NAMING (cpp_ex_${example} ${LIB_TYPE})
TARGET_LINK_LIBRARIES (cpp_ex_${example} ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
SET_TARGET_PROPERTIES (cpp_ex_${example} PROPERTIES FOLDER examples/cpp)
ENDFOREACH (example ${examples})
set (tutr_examples
h5tutr_cmprss
h5tutr_crtdat
h5tutr_crtatt
h5tutr_crtgrpar
h5tutr_crtgrp
h5tutr_crtgrpd
h5tutr_extend
h5tutr_rdwt
h5tutr_subset
)
IF (BUILD_TESTING)
# Remove any output file left over from previous test run
ADD_TEST (
NAME cpp_ex-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
Group.h5
SDS.h5
SDScompound.h5
SDSextendible.h5
Select.h5
)
IF (NOT "${last_test}" STREQUAL "")
SET_TESTS_PROPERTIES (cpp_ex-clear-objects PROPERTIES DEPENDS ${last_test})
ENDIF (NOT "${last_test}" STREQUAL "")
SET (last_test "cpp_ex-clear-objects")
foreach (example ${examples})
add_executable (cpp_ex_${example} ${HDF5_CPP_EXAMPLES_SOURCE_DIR}/${example}.cpp)
TARGET_NAMING (cpp_ex_${example} STATIC)
TARGET_C_PROPERTIES (cpp_ex_${example} STATIC " " " ")
target_link_libraries (cpp_ex_${example} ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
set_target_properties (cpp_ex_${example} PROPERTIES FOLDER examples/cpp)
endforeach ()
FOREACH (example ${examples})
ADD_TEST (NAME cpp_ex_${example} COMMAND $<TARGET_FILE:cpp_ex_${example}>)
IF (NOT "${last_test}" STREQUAL "")
SET_TESTS_PROPERTIES (cpp_ex_${example} PROPERTIES DEPENDS ${last_test})
ENDIF (NOT "${last_test}" STREQUAL "")
SET (last_test "cpp_ex_${example}")
ENDFOREACH (example ${examples})
ENDIF (BUILD_TESTING)
foreach (example ${tutr_examples})
add_executable (cpp_ex_${example} ${HDF5_CPP_EXAMPLES_SOURCE_DIR}/${example}.cpp)
TARGET_NAMING (cpp_ex_${example} STATIC)
TARGET_C_PROPERTIES (cpp_ex_${example} STATIC " " " ")
target_link_libraries (cpp_ex_${example} ${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
set_target_properties (cpp_ex_${example} PROPERTIES FOLDER examples/cpp)
endforeach ()
if (BUILD_TESTING)
include (CMakeTests.cmake)
endif ()

View File

@@ -0,0 +1,97 @@
#
# Copyright by The HDF Group.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
##############################################################################
##############################################################################
### T E S T I N G ###
##############################################################################
##############################################################################
# Remove any output file left over from previous test run
add_test (
NAME CPP_ex-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
Group.h5
SDS.h5
SDScompound.h5
SDSextendible.h5
Select.h5
)
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex-clear-objects PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex-clear-objects")
foreach (example ${examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME CPP_ex_${example} COMMAND $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:cpp_ex_${example}>"
-D "TEST_ARGS:STRING="
-D "TEST_EXPECT=0"
-D "TEST_SKIP_COMPARE=TRUE"
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
endforeach ()
#the following dependicies are handled by the order of the files
# SET_TESTS_PROPERTIES(CPP_ex_readdata PROPERTIES DEPENDS CPP_ex_create)
# SET_TESTS_PROPERTIES(CPP_ex_chunks PROPERTIES DEPENDS CPP_ex_extend_ds)
add_test (
NAME CPP_ex_tutr-clear-objects
COMMAND ${CMAKE_COMMAND}
-E remove
h5tutr_cmprss.h5
h5tutr_dset.h5
h5tutr_extend.h5
h5tutr_group.h5
h5tutr_groups.h5
h5tutr_subset.h5
)
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex_tutr-clear-objects PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_tutr-clear-objects")
foreach (example ${tutr_examples})
if (HDF5_ENABLE_USING_MEMCHECKER)
add_test (NAME CPP_ex_${example} COMMAND $<TARGET_FILE:cpp_ex_${example}>)
else ()
add_test (NAME CPP_ex_${example} COMMAND "${CMAKE_COMMAND}"
-D "TEST_PROGRAM=$<TARGET_FILE:cpp_ex_${example}>"
-D "TEST_ARGS:STRING="
-D "TEST_EXPECT=0"
-D "TEST_SKIP_COMPARE=TRUE"
-D "TEST_OUTPUT=cpp_ex_${example}.txt"
#-D "TEST_REFERENCE=cpp_ex_${example}.out"
-D "TEST_FOLDER=${PROJECT_BINARY_DIR}"
-P "${HDF_RESOURCES_EXT_DIR}/runTest.cmake"
)
endif ()
if (NOT "${last_test}" STREQUAL "")
set_tests_properties (CPP_ex_${example} PROPERTIES DEPENDS ${last_test})
endif ()
set (last_test "CPP_ex_${example}")
endforeach ()
#the following dependicies are handled by the order of the files
# SET_TESTS_PROPERTIES(CPP_ex_h5tutr_crtatt PROPERTIES DEPENDS CPP_ex_h5tutr_crtdat)
# SET_TESTS_PROPERTIES(CPP_ex_h5tutr_rdwt PROPERTIES DEPENDS CPP_ex_h5tutr_crtdat)
# SET_TESTS_PROPERTIES(CPP_ex_h5tutr_crtgrpd PROPERTIES DEPENDS CPP_ex_h5tutr_crtgrpar)

View File

@@ -5,12 +5,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.
@@ -21,19 +19,30 @@
include $(top_srcdir)/config/commence.am
INSTALL_SCRIPT_FILES = run-c++-ex.sh
# These are the programs that 'make all' or 'make prog' will build and
# which 'make check' will run. List them in the order they should be run.
TEST_PROG=create readdata writedata compound extend_ds chunks h5group
EXAMPLE_PROG=create readdata writedata compound extend_ds chunks h5group \
h5tutr_cmprss h5tutr_crtatt h5tutr_crtdat h5tutr_crtgrpar \
h5tutr_crtgrp h5tutr_crtgrpd h5tutr_extend h5tutr_rdwt \
h5tutr_subset
TEST_SCRIPT=testh5c++.sh
TEST_EXAMPLES_SCRIPT=$(INSTALL_SCRIPT_FILES)
# These are the example files to be installed
INSTALL_FILES=create.cpp readdata.cpp writedata.cpp compound.cpp \
extend_ds.cpp chunks.cpp h5group.cpp
INSTALL_SCRIPT_FILES = run-c++-ex.sh
extend_ds.cpp chunks.cpp h5group.cpp \
h5tutr_cmprss.cpp h5tutr_crtatt.cpp h5tutr_crtdat.cpp \
h5tutr_crtgrpar.cpp h5tutr_crtgrp.cpp h5tutr_crtgrpd.cpp \
h5tutr_extend.cpp h5tutr_rdwt.cpp h5tutr_subset.cpp
# Some of the examples depend on files created by running other examples
readdata.chkexe_: create.chkexe_
chunks.chkexe_: extend_ds.chkexe_
h5tutr_rdwt.chkexe_: h5tutr_crtdat.chkexe
h5tutrcrtatt.chkexe_: h5tutr_crtdat.chkexe
h5tutr_crtgrpd.chkexe_: h5tutr_crtgrpar.chkexe
# Tell conclude.am that these are C++ tests.
CXX_API=yes
@@ -41,6 +50,7 @@ CXX_API=yes
# Where to install examples
# Note: no '/' after DESTDIR. Explanation in commence.am
EXAMPLEDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples/c++
EXAMPLETOPDIR=${DESTDIR}$(exec_prefix)/share/hdf5_examples
# How to build programs using h5c++
$(EXTRA_PROG): $(H5CPP)
@@ -58,5 +68,15 @@ extend_ds: $(srcdir)/extend_ds.cpp
chunks: $(srcdir)/chunks.cpp
h5group: $(srcdir)/h5group.cpp
h5tutr_cmprss: $(srcdir)/h5tutr_cmprss.cpp
h5tutr_crtatt: $(srcdir)/h5tutr_crtatt.cpp
h5tutr_crtdat: $(srcdir)/h5tutr_crtdat.cpp
h5tutr_crtgrpar: $(srcdir)/h5tutr_crtgrpar.cpp
h5tutr_crtgrp: $(srcdir)/h5tutr_crtgrp.cpp
h5tutr_crtgrpd: $(srcdir)/h5tutr_crtgrpd.cpp
h5tutr_extend: $(srcdir)/h5tutr_extend.cpp
h5tutr_rdwt: $(srcdir)/h5tutr_rdwt.cpp
h5tutr_subset: $(srcdir)/h5tutr_subset.cpp
include $(top_srcdir)/config/examples.am
include $(top_srcdir)/config/conclude.am

View File

@@ -1,883 +0,0 @@
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
@SET_MAKE@
#
# Copyright by The HDF Group.
# Copyright by the Board of Trustees of the University of Illinois.
# All rights reserved.
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
#
# HDF5 Library Examples Makefile(.in)
#
# We can't tell automake about example programs, because they need to be
# built using h5cc (or h5fc, etc.) instead of the standard compilers.
# This creates some extra work for us.
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
$(srcdir)/run-c++-ex.sh.in $(srcdir)/testh5c++.sh.in \
$(top_srcdir)/config/commence.am \
$(top_srcdir)/config/conclude.am \
$(top_srcdir)/config/examples.am
TESTS =
subdir = c++/examples
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(SHELL) $(top_srcdir)/bin/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/H5config.h
CONFIG_CLEAN_FILES = run-c++-ex.sh testh5c++.sh
CONFIG_CLEAN_VPATH_FILES =
AM_V_GEN = $(am__v_GEN_$(V))
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
am__v_GEN_0 = @echo " GEN " $@;
AM_V_at = $(am__v_at_$(V))
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
am__v_at_0 = @
SOURCES =
DIST_SOURCES =
am__tty_colors = \
red=; grn=; lgn=; blu=; std=
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = /home1/packages/automake/automake-1.9.6/bin/aclocal-1.9 -I /afs/ncsa/projects/hdf/packages/libtool_1.5.14/Linux_2.4/share/aclocal
ADD_PARALLEL_FILES = @ADD_PARALLEL_FILES@
AMTAR = @AMTAR@
# H5_CFLAGS holds flags that should be used when building hdf5,
# but which should not be exported to h5cc for building other programs.
# AM_CFLAGS is an automake construct which should be used by Makefiles
# instead of CFLAGS, as CFLAGS is reserved solely for the user to define.
# This applies to FCFLAGS, CXXFLAGS, CPPFLAGS, and LDFLAGS as well.
AM_CFLAGS = @AM_CFLAGS@ @H5_CFLAGS@
AM_CPPFLAGS = @AM_CPPFLAGS@ @H5_CPPFLAGS@
AM_CXXFLAGS = @AM_CXXFLAGS@ @H5_CXXFLAGS@
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
AM_FCFLAGS = @AM_FCFLAGS@ @H5_FCFLAGS@
AM_LDFLAGS = @AM_LDFLAGS@ @H5_LDFLAGS@
AM_MAKEFLAGS = @AM_MAKEFLAGS@
AR = @AR@
AS = @AS@
# Set the paths for AFS installs of autotools for Linux machines
# Ideally, these tools should never be needed during the build.
AUTOCONF = /home1/packages/autoconf/autoconf-2.60/bin/autoconf
AUTOHEADER = /home1/packages/autoconf/autoconf-2.60/bin/autoheader
AUTOMAKE = /home1/packages/automake/automake-1.9.6/bin/automake-1.9
AWK = @AWK@
BYTESEX = @BYTESEX@
CC = @CC@
CCDEPMODE = @CCDEPMODE@
CC_VERSION = @CC_VERSION@
CFLAGS = @CFLAGS@
CLEARFILEBUF = @CLEARFILEBUF@
CODESTACK = @CODESTACK@
CONFIG_DATE = @CONFIG_DATE@
CONFIG_MODE = @CONFIG_MODE@
CONFIG_USER = @CONFIG_USER@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CXX = @CXX@
CXXCPP = @CXXCPP@
CXXDEPMODE = @CXXDEPMODE@
CXXFLAGS = @CXXFLAGS@
CXX_VERSION = @CXX_VERSION@
CYGPATH_W = @CYGPATH_W@
DEBUG_PKG = @DEBUG_PKG@
DEFAULT_API_VERSION = @DEFAULT_API_VERSION@
DEFS = @DEFS@
DEPDIR = @DEPDIR@
DEPRECATED_SYMBOLS = @DEPRECATED_SYMBOLS@
DIRECT_VFD = @DIRECT_VFD@
DLLTOOL = @DLLTOOL@
DSYMUTIL = @DSYMUTIL@
DUMPBIN = @DUMPBIN@
DYNAMIC_DIRS = @DYNAMIC_DIRS@
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
EXEEXT = @EXEEXT@
EXTERNAL_FILTERS = @EXTERNAL_FILTERS@
# Make sure that these variables are exported to the Makefiles
F9XMODEXT = @F9XMODEXT@
F9XMODFLAG = @F9XMODFLAG@
F9XSUFFIXFLAG = @F9XSUFFIXFLAG@
FC = @FC@
FC2003 = @FC2003@
FCFLAGS = @FCFLAGS@
FCFLAGS_f90 = @FCFLAGS_f90@
FCLIBS = @FCLIBS@
FC_VERSION = @FC_VERSION@
FGREP = @FGREP@
FILTERS = @FILTERS@
FSEARCH_DIRS = @FSEARCH_DIRS@
GPFS = @GPFS@
GREP = @GREP@
H5_CFLAGS = @H5_CFLAGS@
H5_CPPFLAGS = @H5_CPPFLAGS@
H5_CXXFLAGS = @H5_CXXFLAGS@
H5_CXX_SHARED = @H5_CXX_SHARED@
H5_FCFLAGS = @H5_FCFLAGS@
H5_FORTRAN_SHARED = @H5_FORTRAN_SHARED@
H5_LDFLAGS = @H5_LDFLAGS@
H5_LONE_COLON = @H5_LONE_COLON@
H5_VERSION = @H5_VERSION@
HADDR_T = @HADDR_T@
HAVE_DMALLOC = @HAVE_DMALLOC@
HAVE_FORTRAN_2003 = @HAVE_FORTRAN_2003@
HDF5_HL = @HDF5_HL@
HDF5_INTERFACES = @HDF5_INTERFACES@
HDF_CXX = @HDF_CXX@
HDF_FORTRAN = @HDF_FORTRAN@
HDF_FORTRAN2003 = @HDF_FORTRAN2003@
HID_T = @HID_T@
HL = @HL@
HL_FOR = @HL_FOR@
HSIZE_T = @HSIZE_T@
HSSIZE_T = @HSSIZE_T@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
INSTRUMENT = @INSTRUMENT@
INSTRUMENT_LIBRARY = @INSTRUMENT_LIBRARY@
LARGEFILE = @LARGEFILE@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
LIPO = @LIPO@
LL_PATH = @LL_PATH@
LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
LT_STATIC_EXEC = @LT_STATIC_EXEC@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MANIFEST_TOOL = @MANIFEST_TOOL@
MKDIR_P = @MKDIR_P@
MPE = @MPE@
MPI_GET_SIZE = @MPI_GET_SIZE@
NM = @NM@
NMEDIT = @NMEDIT@
OBJDUMP = @OBJDUMP@
OBJECT_NAMELEN_DEFAULT_F = @OBJECT_NAMELEN_DEFAULT_F@
OBJEXT = @OBJEXT@
OTOOL = @OTOOL@
OTOOL64 = @OTOOL64@
PACKAGE = @PACKAGE@
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
PACKAGE_VERSION = @PACKAGE_VERSION@
PARALLEL = @PARALLEL@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PTHREAD = @PTHREAD@
RANLIB = @RANLIB@
ROOT = @ROOT@
RUNPARALLEL = @RUNPARALLEL@
RUNSERIAL = @RUNSERIAL@
R_INTEGER = @R_INTEGER@
R_LARGE = @R_LARGE@
SEARCH = @SEARCH@
SED = @SED@
SETX = @SETX@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
SIZE_T = @SIZE_T@
STATIC_EXEC = @STATIC_EXEC@
STATIC_SHARED = @STATIC_SHARED@
STRICT_FORMAT_CHECKS = @STRICT_FORMAT_CHECKS@
STRIP = @STRIP@
TESTPARALLEL = @TESTPARALLEL@
THREADSAFE = @THREADSAFE@
TIME = @TIME@
TR = @TR@
TRACE_API = @TRACE_API@
UNAME_INFO = @UNAME_INFO@
USE_FILTER_DEFLATE = @USE_FILTER_DEFLATE@
USE_FILTER_FLETCHER32 = @USE_FILTER_FLETCHER32@
USE_FILTER_NBIT = @USE_FILTER_NBIT@
USE_FILTER_SCALEOFFSET = @USE_FILTER_SCALEOFFSET@
USE_FILTER_SHUFFLE = @USE_FILTER_SHUFFLE@
USE_FILTER_SZIP = @USE_FILTER_SZIP@
USINGMEMCHECKER = @USINGMEMCHECKER@
VERSION = @VERSION@
WORDS_BIGENDIAN = @WORDS_BIGENDIAN@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
ac_ct_AR = @ac_ct_AR@
ac_ct_CC = @ac_ct_CC@
ac_ct_CXX = @ac_ct_CXX@
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
ac_ct_FC = @ac_ct_FC@
am__include = @am__include@
am__leading_dot = @am__leading_dot@
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
datadir = @datadir@
datarootdir = @datarootdir@
# Install directories that automake doesn't know about
docdir = $(exec_prefix)/doc
dvidir = @dvidir@
enable_shared = @enable_shared@
enable_static = @enable_static@
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
install_sh = @install_sh@
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
# Shell commands used in Makefiles
RM = rm -f
CP = cp
# Some machines need a command to run executables; this is that command
# so that our tests will run.
# We use RUNEXEC instead of RUNSERIAL directly because it may be that
# some tests need to be run with a different command. Older versions
# of the makefiles used the command
# $(LIBTOOL) --mode=execute
# in some directories, for instance.
RUNEXEC = $(RUNSERIAL)
# Libraries to link to while building
LIBHDF5 = $(top_builddir)/src/libhdf5.la
LIBH5TEST = $(top_builddir)/test/libh5test.la
LIBH5F = $(top_builddir)/fortran/src/libhdf5_fortran.la
LIBH5FTEST = $(top_builddir)/fortran/test/libh5test_fortran.la
LIBH5CPP = $(top_builddir)/c++/src/libhdf5_cpp.la
LIBH5TOOLS = $(top_builddir)/tools/lib/libh5tools.la
LIBH5_HL = $(top_builddir)/hl/src/libhdf5_hl.la
LIBH5F_HL = $(top_builddir)/hl/fortran/src/libhdf5hl_fortran.la
LIBH5CPP_HL = $(top_builddir)/hl/c++/src/libhdf5_hl_cpp.la
# Note that in svn revision 19400 the '/' after DESTDIR in H5* variables below
# has been removed. According to the official description of DESTDIR by Gnu at
# http://www.gnu.org/prep/standards/html_node/DESTDIR.html, DESTDIR is
# prepended to the normal and complete install path that it precedes for the
# purpose of installing in a temporary directory which is useful for building
# rpms and other packages. The '/' after ${DESTDIR} will be followed by another
# '/' at the beginning of the normal install path. When DESTDIR is empty the
# path then begins with '//', which is incorrect and causes problems at least for
# Cygwin.
# Scripts used to build examples
# If only shared libraries have been installed, have h5cc build examples with
# shared libraries instead of static libraries
H5CC = ${DESTDIR}$(bindir)/h5cc
H5CC_PP = ${DESTDIR}$(bindir)/h5pcc
H5FC = ${DESTDIR}$(bindir)/h5fc
H5FC_PP = ${DESTDIR}$(bindir)/h5pfc
H5CPP = ${DESTDIR}$(bindir)/h5c++
ACLOCAL_AMFLAGS = "-I m4"
# The trace script; this is used on source files from the C library to
# insert tracing macros.
TRACE = perl $(top_srcdir)/bin/trace
# .chkexe files are used to mark tests that have run successfully.
# .chklog files are output from those tests.
# *.clog are from the MPE option.
CHECK_CLEANFILES = *.chkexe *.chklog *.clog *.h5
# These are the programs that 'make all' or 'make prog' will build and
# which 'make check' will run. List them in the order they should be run.
TEST_PROG = create readdata writedata compound extend_ds chunks h5group
TEST_SCRIPT = testh5c++.sh
# These are the example files to be installed
INSTALL_FILES = create.cpp readdata.cpp writedata.cpp compound.cpp \
extend_ds.cpp chunks.cpp h5group.cpp
INSTALL_SCRIPT_FILES = run-c++-ex.sh
# Tell conclude.am that these are C++ tests.
CXX_API = yes
# Where to install examples
# Note: no '/' after DESTDIR. Explanation in commence.am
EXAMPLEDIR = ${DESTDIR}$(exec_prefix)/share/hdf5_examples/c++
# Assume that all tests in this directory are examples, and tell
# conclude.am when to build them.
EXAMPLE_PROG = $(TEST_PROG_PARA) $(TEST_PROG)
EXTRA_PROG = $(EXAMPLE_PROG)
# We need to tell automake what to clean
MOSTLYCLEANFILES = *.raw *.meta *.o
CLEANFILES = $(TEST_PROG) $(TEST_PROG_PARA)
# Automake needs to be taught how to build lib, progs, and tests targets.
# These will be filled in automatically for the most part (e.g.,
# lib_LIBRARIES are built for lib target), but EXTRA_LIB, EXTRA_PROG, and
# EXTRA_TEST variables are supplied to allow the user to force targets to
# be built at certain times.
LIB = $(lib_LIBRARIES) $(lib_LTLIBRARIES) $(noinst_LIBRARIES) \
$(noinst_LTLIBRARIES) $(check_LIBRARIES) $(check_LTLIBRARIES) $(EXTRA_LIB)
PROGS = $(bin_PROGRAMS) $(bin_SCRIPTS) $(noinst_PROGRAMS) $(noinst_SCRIPTS) \
$(EXTRA_PROG)
TEST_PROG_CHKEXE = $(TEST_PROG:=.chkexe_)
TEST_PROG_PARA_CHKEXE = $(TEST_PROG_PARA:=.chkexe_)
TEST_SCRIPT_CHKSH = $(TEST_SCRIPT:=.chkexe_)
TEST_SCRIPT_PARA_CHKSH = $(TEST_SCRIPT_PARA:=.chkexe_)
all: all-am
.SUFFIXES:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/config/commence.am $(top_srcdir)/config/examples.am $(top_srcdir)/config/conclude.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign c++/examples/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign c++/examples/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
run-c++-ex.sh: $(top_builddir)/config.status $(srcdir)/run-c++-ex.sh.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
testh5c++.sh: $(top_builddir)/config.status $(srcdir)/testh5c++.sh.in
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
tags: TAGS
TAGS:
ctags: CTAGS
CTAGS:
distdir: $(DISTFILES)
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
|| exit 1; \
fi; \
done
check-am: all-am
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
check: check-am
all-am: Makefile all-local
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:
-test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
clean: clean-am
clean-am: clean-generic clean-libtool mostlyclean-am
distclean: distclean-am
-rm -f Makefile
distclean-am: clean-am distclean-generic
dvi: dvi-am
dvi-am:
html: html-am
html-am:
info: info-am
info-am:
install-data-am: install-data-local
install-dvi: install-dvi-am
install-dvi-am:
install-exec-am:
install-html: install-html-am
install-html-am:
install-info: install-info-am
install-info-am:
install-man:
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
installcheck-am: installcheck-local
maintainer-clean: maintainer-clean-am
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-generic mostlyclean-libtool \
mostlyclean-local
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-local
.MAKE: check-am install-am install-strip
.PHONY: all all-am all-local check check-TESTS check-am clean \
clean-generic clean-libtool distclean distclean-generic \
distclean-libtool distdir dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am \
install-data-local install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installcheck-local installdirs \
maintainer-clean maintainer-clean-generic mostlyclean \
mostlyclean-generic mostlyclean-libtool mostlyclean-local pdf \
pdf-am ps ps-am uninstall uninstall-am uninstall-local
# List all build rules defined by HDF5 Makefiles as "PHONY" targets here.
# This tells the Makefiles that these targets are not files to be built but
# commands that should be executed even if a file with the same name already
# exists.
.PHONY: build-check-clean build-check-p build-check-s build-lib build-progs \
build-tests check-clean check-install check-p check-s check-vfd \
install-doc lib progs tests uninstall-doc _exec_check-s _test help
help:
@$(top_srcdir)/bin/makehelp
# Some of the examples depend on files created by running other examples
readdata.chkexe_: create.chkexe_
chunks.chkexe_: extend_ds.chkexe_
# How to build programs using h5c++
$(EXTRA_PROG): $(H5CPP)
$(H5CPP) $(H5CCFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/$@.cpp
# List dependencies for each program. Normally, automake would take
# care of this for us, but if we tell automake about the programs it
# will try to build them with the normal C++ compiler, not h5c++. This is
# an inelegant way of solving the problem, unfortunately.
create: $(srcdir)/create.cpp
readdata: $(srcdir)/readdata.cpp
writedata: $(srcdir)/writedata.cpp
compound: $(srcdir)/compound.cpp
extend_ds: $(srcdir)/extend_ds.cpp
chunks: $(srcdir)/chunks.cpp
h5group: $(srcdir)/h5group.cpp
# How to create EXAMPLEDIR if it doesn't already exist
$(EXAMPLEDIR):
-$(top_srcdir)/bin/mkdirs $@
$(EXAMPLETOPDIR):
-$(top_srcdir)/bin/mkdirs $@
# Install and uninstall rules. We install the source files, not the
# example programs themselves.
install-data-local:
@$(MAKE) $(AM_MAKEFLAGS) install-examples
uninstall-local:
@$(MAKE) $(AM_MAKEFLAGS) uninstall-examples
install-examples: $(EXAMPLEDIR) $(INSTALL_FILES)
@for f in X $(INSTALL_FILES); do \
if test $$f != X; then \
(set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1); \
chmod a-x $(EXAMPLEDIR)/$$f; \
fi; \
done
@for f in X $(INSTALL_SCRIPT_FILES); do \
if test $$f != X; then \
(set -x; $(INSTALL) $$f $(EXAMPLEDIR)/. || exit 1);\
fi; \
done
@for f in X $(INSTALL_TOP_SCRIPT_FILES); do \
if test $$f != X; then \
(set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLETOPDIR)/. || exit 1); \
fi; \
done
uninstall-examples:
@if test -n "$(INSTALL_FILES)" -a -d $(EXAMPLEDIR); then \
set -x; cd $(EXAMPLEDIR) && $(RM) $(INSTALL_FILES); \
fi
@if test -n "$(INSTALL_SCRIPT_FILES)" -a -d $(EXAMPLEDIR); then \
set -x; cd $(EXAMPLEDIR) && $(RM) $(INSTALL_SCRIPT_FILES); \
fi
@if test -n "$(INSTALL_TOP_SCRIPT_FILES)" -a -d $(EXAMPLETOPDIR); then \
set -x; cd $(EXAMPLETOPDIR) && $(RM) $(INSTALL_TOP_SCRIPT_FILES); \
fi
installcheck-local:
@if test "$(STATIC_SHARED)" = "static, shared"; then \
H5CCFLAGS="-shlib" $(MAKE) $(AM_MAKEFLAGS) check; \
$(MAKE) $(AM_MAKEFLAGS) clean; \
H5CCFLAGS="" $(MAKE) $(AM_MAKEFLAGS) check; \
elif test "$(STATIC_SHARED)" = "shared"; then \
H5CCFLAGS="-shlib" $(MAKE) $(AM_MAKEFLAGS) check; \
else \
$(MAKE) $(AM_MAKEFLAGS) check; \
fi
# lib/progs/tests targets recurse into subdirectories. build-* targets
# build files in this directory.
build-lib: $(LIB)
build-progs: $(LIB) $(PROGS)
build-tests: $(LIB) $(PROGS) $(TESTS)
# General rule for recursive building targets.
# BUILT_SOURCES contain targets that need to be built before anything else
# in the directory (e.g., for Fortran type detection)
lib progs tests check-s check-p :: $(BUILT_SOURCES)
@$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1;
@for d in X $(SUBDIRS); do \
if test $$d != X && test $$d != .; then \
(set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# General rule for recursive cleaning targets. Like the rule above,
# but doesn't require building BUILT_SOURCES.
check-clean ::
@$(MAKE) $(AM_MAKEFLAGS) build-$@ || exit 1;
@for d in X $(SUBDIRS); do \
if test $$d != X && test $$d != .; then \
(set -x; cd $$d && $(MAKE) $(AM_MAKEFLAGS) $@) || exit 1; \
fi; \
done
# Tell Automake to build tests when the user types `make all' (this is
# not its default behavior). Also build EXTRA_LIB and EXTRA_PROG since
# Automake won't build them automatically, either.
all-local: $(EXTRA_LIB) $(EXTRA_PROG) $(TESTS)
# make install-doc doesn't do anything outside of doc directory, but
# Makefiles should recognize it.
# UPDATE: docs no longer reside in this build tree, so this target
# is depreciated.
install-doc uninstall-doc:
@echo "Nothing to be done."
# clean up files generated by tests so they can be re-run.
build-check-clean:
$(RM) -rf $(CHECK_CLEANFILES)
# run check-clean whenever mostlyclean is run
mostlyclean-local: build-check-clean
# check-install is just a synonym for installcheck
check-install: installcheck
# Run each test in order, passing $(TEST_FLAGS) to the program.
# Since tests are done in a shell loop, "make -i" does apply inside it.
# Set HDF5_Make_Ignore to a non-blank string to ignore errors inside the loop.
# The timestamps give a rough idea how much time the tests use.
#
# Note that targets in TESTS (defined above) will be built when the user
# types 'make tests' or 'make check', but only programs in TEST_PROG,
# TEST_PROG_PARA, or TEST_SCRIPT will actually be executed.
check-TESTS: test
test _test:
@$(MAKE) build-check-s
@$(MAKE) build-check-p
# Actual execution of check-s.
build-check-s: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \
echo "===Serial tests in `echo ${PWD} | sed -e s:.*/::` begin `date`==="; \
fi
@$(MAKE) $(AM_MAKEFLAGS) _exec_check-s
@if test -n "$(TEST_PROG)$(TEST_SCRIPT)"; then \
echo "===Serial tests in `echo ${PWD} | sed -e s:.*/::` ended `date`===";\
fi
_exec_check-s: $(TEST_PROG_CHKEXE) $(TEST_SCRIPT_CHKSH)
# The dummy.chkexe here prevents the target from being
# empty if there are no tests in the current directory.
# $${log} is the log file.
# $${tname} is the name of test.
$(TEST_PROG_CHKEXE) $(TEST_PROG_PARA_CHKEXE) dummy.chkexe_:
@if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummy.chkexe_"; then \
tname=$(@:.chkexe_=)$(EXEEXT);\
log=$(@:.chkexe_=.chklog); \
echo "============================"; \
if $(top_srcdir)/bin/newer $(@:.chkexe_=.chkexe) $${tname}; then \
echo "No need to test $${tname} again."; \
else \
echo "============================" > $${log}; \
if test "X$(FORTRAN_API)" = "Xyes"; then \
echo "Fortran API: Testing $(HDF5_DRIVER) $${tname} $(TEST_FLAGS)"; \
echo "Fortran API: $(HDF5_DRIVER) $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
elif test "X$(CXX_API)" = "Xyes"; then \
echo "C++ API: Testing $(HDF5_DRIVER) $${tname} $(TEST_FLAGS)"; \
echo "C++ API: $(HDF5_DRIVER) $${tname} $(TEST_FLAGS) Test Log" >> $${log};\
else \
echo "Testing $(HDF5_DRIVER) $${tname} $(TEST_FLAGS)"; \
echo "$(HDF5_DRIVER) $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
fi; \
echo "============================" >> $${log}; \
srcdir="$(srcdir)" \
$(TIME) $(RUNEXEC) ./$${tname} $(TEST_FLAGS) >> $${log} 2>&1 \
&& touch $(@:.chkexe_=.chkexe) || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
(cat $${log} && false) || exit 1; \
echo "" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \
echo "============================" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)"; \
cat $${log}; \
fi; \
fi
# The dummysh.chkexe here prevents the target from being
# empty if there are no tests in the current directory.
# $${log} is the log file.
# $${tname} is the name of test.
$(TEST_SCRIPT_CHKSH) $(TEST_SCRIPT_PARA_CHKSH) dummysh.chkexe_:
@if test "X$@" != "X.chkexe_" && test "X$@" != "Xdummysh.chkexe_"; then \
cmd=$(@:.chkexe_=);\
tname=`basename $$cmd`;\
chkname=`basename $(@:.chkexe_=.chkexe)`;\
log=`basename $(@:.chkexe_=.chklog)`; \
echo "============================"; \
if $(top_srcdir)/bin/newer $${chkname} $$cmd $(SCRIPT_DEPEND); then \
echo "No need to test $${tname} again."; \
else \
echo "============================" > $${log}; \
if test "X$(FORTRAN_API)" = "Xyes"; then \
echo "Fortran API: Testing $${tname} $(TEST_FLAGS)"; \
echo "Fortran API: $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
elif test "X$(CXX_API)" = "Xyes"; then \
echo "C++ API: Testing $${tname} $(TEST_FLAGS)"; \
echo "C++ API: $${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
else \
echo "Testing $${tname} $(TEST_FLAGS)"; \
echo "$${tname} $(TEST_FLAGS) Test Log" >> $${log}; \
fi; \
echo "============================" >> $${log}; \
RUNSERIAL="$(RUNSERIAL)" RUNPARALLEL="$(RUNPARALLEL)" \
srcdir="$(srcdir)" \
$(TIME) $(SHELL) $$cmd $(TEST_FLAGS) >> $${log} 2>&1 \
&& touch $${chkname} || \
(test $$HDF5_Make_Ignore && echo "*** Error ignored") || \
(cat $${log} && false) || exit 1; \
echo "" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)" >> $${log}; \
echo "============================" >> $${log}; \
echo "Finished testing $${tname} $(TEST_FLAGS)"; \
cat $${log}; \
fi; \
echo "============================"; \
fi
# Actual execution of check-p.
build-check-p: $(LIB) $(PROGS) $(TESTS)
@if test -n "$(TEST_PROG_PARA)$(TEST_SCRIPT_PARA)"; then \
echo "===Parallel tests in `echo ${PWD} | sed -e s:.*/::` begin `date`==="; \
fi
@if test -n "$(TEST_PROG_PARA)"; then \
echo "**** Hint ****"; \
echo "Parallel test files reside in the current directory" \
"by default."; \
echo "Set HDF5_PARAPREFIX to use another directory. E.g.,"; \
echo " HDF5_PARAPREFIX=/PFS/user/me"; \
echo " export HDF5_PARAPREFIX"; \
echo " make check"; \
echo "**** end of Hint ****"; \
fi
@for test in $(TEST_PROG_PARA) dummy; do \
if test $$test != dummy; then \
$(MAKE) $(AM_MAKEFLAGS) $$test.chkexe_ \
RUNEXEC="$(RUNPARALLEL)" || exit 1; \
fi; \
done
@for test in $(TEST_SCRIPT_PARA) dummy; do \
if test $$test != dummy; then \
$(MAKE) $(AM_MAKEFLAGS) $$test.chkexe_ || exit 1; \
fi; \
done
@if test -n "$(TEST_PROG_PARA)$(TEST_SCRIPT_PARA)"; then \
echo "===Parallel tests in `echo ${PWD} | sed -e s:.*/::` ended `date`===";\
fi
# Run test with different Virtual File Driver
check-vfd: $(LIB) $(PROGS) $(TESTS)
@for vfd in $(VFD_LIST) dummy; do \
if test $$vfd != dummy; then \
echo "============================"; \
echo "Testing Virtual File Driver $$vfd"; \
echo "============================"; \
$(MAKE) $(AM_MAKEFLAGS) check-clean || exit 1; \
HDF5_DRIVER=$$vfd $(MAKE) $(AM_MAKEFLAGS) check || exit 1; \
fi; \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
@@ -23,20 +21,12 @@
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "SDSextendible.h5" );
const H5std_string DATASET_NAME( "ExtendibleArray" );
@@ -219,21 +209,21 @@ int main (void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
return 0;

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
@@ -24,20 +22,12 @@
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "SDScompound.h5" );
const H5std_string DATASET_NAME( "ArrayOfStructures" );
@@ -184,28 +174,28 @@ int main(void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printError();
error.printErrorStack();
return -1;
}

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
@@ -22,13 +20,10 @@
#else
#include <iostream>
#endif
#include <string>
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "SDS.h5" );
const H5std_string DATASET_NAME( "IntArray" );
@@ -104,28 +99,28 @@ int main (void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printError();
error.printErrorStack();
return -1;
}

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
@@ -27,18 +25,12 @@
#endif
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "SDSextendible.h5" );
const H5std_string DATASET_NAME( "ExtendibleArray" );
@@ -212,28 +204,28 @@ int main (void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
return 0;

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
@@ -27,20 +25,12 @@
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "Group.h5" );
const int RANK = 2;
@@ -198,28 +188,28 @@ int main(void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the Attribute operations
catch( AttributeIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
return 0;

View File

@@ -0,0 +1,155 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to create a compressed dataset.
* It is used in the HDF5 Tutorial.
*/
#include <iostream>
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_cmprss.h5");
const H5std_string DATASET_NAME("Compressed_Data");
const int DIM0 = 100;
const int DIM1 = 20;
int main (void)
{
hsize_t dims[2] = { DIM0, DIM1 }; // dataset dimensions
hsize_t chunk_dims[2] = { 20, 20 }; // chunk dimensions
int i,j, buf[DIM0][DIM1];
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Create a new file using the default property lists.
H5File file(FILE_NAME, H5F_ACC_TRUNC);
// Create the data space for the dataset.
DataSpace *dataspace = new DataSpace(2, dims);
// Modify dataset creation property to enable chunking
DSetCreatPropList *plist = new DSetCreatPropList;
plist->setChunk(2, chunk_dims);
// Set ZLIB (DEFLATE) Compression using level 6.
// To use SZIP compression comment out this line.
plist->setDeflate(6);
// Uncomment these lines to set SZIP Compression
// unsigned szip_options_mask = H5_SZIP_NN_OPTION_MASK;
// unsigned szip_pixels_per_block = 16;
// plist->setSzip(szip_options_mask, szip_pixels_per_block);
// Create the dataset.
DataSet *dataset = new DataSet(file.createDataSet( DATASET_NAME,
PredType::STD_I32BE, *dataspace, *plist) );
for (i = 0; i< DIM0; i++)
for (j=0; j<DIM1; j++)
buf[i][j] = i+j;
// Write data to dataset.
dataset->write(buf, PredType::NATIVE_INT);
// Close objects and file. Either approach will close the HDF5 item.
delete dataspace;
delete dataset;
delete plist;
file.close();
// -----------------------------------------------
// Re-open the file and dataset, retrieve filter
// information for dataset and read the data back.
// -----------------------------------------------
int rbuf[DIM0][DIM1];
int numfilt;
size_t nelmts={1}, namelen={1};
unsigned flags, filter_info, cd_values[1], idx;
char name[1];
H5Z_filter_t filter_type;
// Open the file and the dataset in the file.
file.openFile(FILE_NAME, H5F_ACC_RDONLY);
dataset = new DataSet(file.openDataSet( DATASET_NAME));
// Get the create property list of the dataset.
plist = new DSetCreatPropList(dataset->getCreatePlist ());
// Get the number of filters associated with the dataset.
numfilt = plist->getNfilters();
cout << "Number of filters associated with dataset: " << numfilt << endl;
for (idx=0; idx < numfilt; idx++) {
nelmts = 0;
filter_type = plist->getFilter(idx, flags, nelmts, cd_values, namelen, name , filter_info);
cout << "Filter Type: ";
switch (filter_type) {
case H5Z_FILTER_DEFLATE:
cout << "H5Z_FILTER_DEFLATE" << endl;
break;
case H5Z_FILTER_SZIP:
cout << "H5Z_FILTER_SZIP" << endl;
break;
default:
cout << "Other filter type included." << endl;
}
}
// Read data.
dataset->read(rbuf, PredType::NATIVE_INT);
delete plist;
delete dataset;
file.close(); // can be skipped
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch(DataSetIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch(DataSpaceIException error)
{
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
}

View File

@@ -0,0 +1,89 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to create an attribute attached to a
* dataset. It is used in the HDF5 Tutorial.
*/
#include <iostream>
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME( "h5tutr_dset.h5" );
const H5std_string DATASET_NAME( "dset" );
const H5std_string ATTR_NAME( "Units" );
const int DIM1 = 2;
int main (void)
{
int attr_data[2] = { 100, 200};
hsize_t dims[1] = { DIM1 };
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Open an existing file and dataset.
H5File file( FILE_NAME, H5F_ACC_RDWR );
DataSet dataset = file.openDataSet( DATASET_NAME );
// Create the data space for the attribute.
DataSpace attr_dataspace = DataSpace (1, dims );
// Create a dataset attribute.
Attribute attribute = dataset.createAttribute( ATTR_NAME, PredType::STD_I32BE,
attr_dataspace);
// Write the attribute data.
attribute.write( PredType::NATIVE_INT, attr_data);
} // end of try block
// catch failure caused by the H5File operations
catch( DataSpaceIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the H5File operations
catch( AttributeIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
}

View File

@@ -0,0 +1,76 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to create a dataset that is a 4 x 6
* array. It is used in the HDF5 Tutorial.
*/
#include <iostream>
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_dset.h5");
const H5std_string DATASET_NAME("dset");
const int NX = 4; // dataset dimensions
const int NY = 6;
const int RANK = 2;
int main (void)
{
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Create a new file using the default property lists.
H5File file(FILE_NAME, H5F_ACC_TRUNC);
// Create the data space for the dataset.
hsize_t dims[2]; // dataset dimensions
dims[0] = NX;
dims[1] = NY;
DataSpace dataspace(RANK, dims);
// Create the dataset.
DataSet dataset = file.createDataSet(DATASET_NAME, PredType::STD_I32BE, dataspace);
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch(DataSetIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch(DataSpaceIException error)
{
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
}

View File

@@ -0,0 +1,62 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to create and close a group.
* It is used in the HDF5 Tutorial.
*/
#include <iostream>
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_group.h5");
int main(void)
{
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Create a new file using default property lists.
H5File file(FILE_NAME, H5F_ACC_TRUNC);
// Create a group named "/MygGroup" in the file
Group group(file.createGroup("/MyGroup"));
// File and group will be closed as their instances go out of scope.
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the Group operations
catch(GroupIException error)
{
error.printErrorStack();
return -1;
}
return 0;
}

View File

@@ -0,0 +1,85 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates the creation of groups using absolute and
* relative names. It is used in the HDF5 Tutorial.
*/
#include <iostream>
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_groups.h5");
int main(void)
{
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately.
Exception::dontPrint();
// Create a new file using default properties.
H5File file(FILE_NAME, H5F_ACC_TRUNC);
// Create group "MyGroup" in the root group using an absolute name.
Group group1(file.createGroup( "/MyGroup"));
// Create group "Group_A" in group "MyGroup" using an
// absolute name.
Group group2(file.createGroup("/MyGroup/Group_A"));
// Create group "Group_B" in group "MyGroup" using a
// relative name.
Group group3(group1.createGroup ("Group_B"));
// Close the groups and file.
group1.close();
group2.close();
group3.close();
file.close();
} // end of try block
// catch failure caused by the File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the Group operations
catch(GroupIException error)
{
error.printErrorStack();
return -1;
}
return 0;
}

View File

@@ -0,0 +1,134 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to create a dataset in a group.
* It is used in the HDF5 Tutorial.
*/
#include <iostream>
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_groups.h5");
const H5std_string DATASET_NAME1("/MyGroup/dset1");
const H5std_string DATASET_NAME2("dset2");
const int RANK = 2;
const int D1DIM1 = 3;
const int D1DIM2 = 3;
const int D2DIM1 = 2;
const int D2DIM2 = 10;
int main(void)
{
int dset1_data[D1DIM1][D1DIM2], dset2_data[D2DIM1][D2DIM2]; // data buffers
int i, j;
// Try block to catch exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Initialize the first dataset.
for (i = 0; i < D1DIM1; i++)
for (j = 0; j < D1DIM2; j++)
dset1_data[i][j] = j + 1;
// Initialize the second dataset.
for (i = 0; i < D2DIM1; i++)
for (j = 0; j < D2DIM2; j++)
dset2_data[i][j] = j + 1;
// Open an existing file and dataset.
H5File file(FILE_NAME, H5F_ACC_RDWR);
// Create the data space for the first dataset. Note the use of
// pointer for the instance 'dataspace'. It can be deleted and
// used again later for another data space. An HDF5 identifier is
// closed by the destructor or the method 'close()'.
hsize_t dims[RANK]; // dataset dimensions
dims[0] = D1DIM1;
dims[1] = D1DIM2;
DataSpace *dataspace = new DataSpace (RANK, dims);
// Create the dataset in group "MyGroup". Same note as for the
// dataspace above.
DataSet *dataset = new DataSet (file.createDataSet(DATASET_NAME1,
PredType::STD_I32BE, *dataspace));
// Write the data to the dataset using default memory space, file
// space, and transfer properties.
dataset->write(dset1_data, PredType::NATIVE_INT);
// Close the current dataset and data space.
delete dataset;
delete dataspace;
// Create the data space for the second dataset.
dims[0] = D2DIM1;
dims[1] = D2DIM2;
dataspace = new DataSpace (RANK, dims);
// Create group "Group_A" in group "MyGroup".
Group group(file.openGroup("/MyGroup/Group_A"));
// Create the second dataset in group "Group_A".
dataset = new DataSet (group.createDataSet(DATASET_NAME2,
PredType::STD_I32BE, *dataspace));
// Write the data to the dataset using default memory space, file
// space, and transfer properties.
dataset->write(dset2_data, PredType::NATIVE_INT);
// Close all objects.
delete dataspace;
delete dataset;
group.close();
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch(DataSetIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch(DataSpaceIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the Group operations
catch(GroupIException error)
{
error.printErrorStack();
return -1;
}
return 0;
}

View File

@@ -0,0 +1,170 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to create a dataset that is a 4 x 6
* array. It is used in the HDF5 Tutorial.
*/
#include <iostream>
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_extend.h5");
const H5std_string DATASETNAME("ExtendibleArray");
int main (void)
{
hsize_t dims[2] = {3,3}; // dataset dimensions at creation
hsize_t maxdims[2] = {H5S_UNLIMITED, H5S_UNLIMITED};
hsize_t chunk_dims[2] ={2, 5};
int data[3][3] = { {1, 1, 1}, // data to write
{1, 1, 1},
{1, 1, 1} };
// Variables used in extending and writing to the extended portion of dataset
hsize_t size[2];
hsize_t offset[2];
hsize_t dimsext[2] = {7, 3}; // extend dimensions
int dataext[7][3] = { {2, 3, 4},
{2, 3, 4},
{2, 3, 4},
{2, 3, 4},
{2, 3, 4},
{2, 3, 4},
{2, 3, 4} };
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Create a new file using the default property lists.
H5File file(FILE_NAME, H5F_ACC_TRUNC);
// Create the data space for the dataset. Note the use of pointer
// for the instance 'dataspace'. It can be deleted and used again
// later for another dataspace. An HDF5 identifier can be closed
// by the destructor or the method 'close()'.
DataSpace *dataspace = new DataSpace (2, dims, maxdims);
// Modify dataset creation property to enable chunking
DSetCreatPropList prop;
prop.setChunk(2, chunk_dims);
// Create the chunked dataset. Note the use of pointer.
DataSet *dataset = new DataSet(file.createDataSet( DATASETNAME,
PredType::STD_I32BE, *dataspace, prop) );
// Write data to dataset.
dataset->write(data, PredType::NATIVE_INT);
// Extend the dataset. Dataset becomes 10 x 3.
size[0] = dims[0] + dimsext[0];
size[1] = dims[1];
dataset->extend(size);
// Select a hyperslab in extended portion of the dataset.
DataSpace *filespace = new DataSpace(dataset->getSpace ());
offset[0] = 3;
offset[1] = 0;
filespace->selectHyperslab(H5S_SELECT_SET, dimsext, offset);
// Define memory space.
DataSpace *memspace = new DataSpace(2, dimsext, NULL);
// Write data to the extended portion of the dataset.
dataset->write(dataext, PredType::NATIVE_INT, *memspace, *filespace);
// Close all objects and file.
prop.close();
delete filespace;
delete memspace;
delete dataspace;
delete dataset;
file.close();
// ---------------------------------------
// Re-open the file and read the data back
// ---------------------------------------
int rdata[10][3];
int i,j, rank, rank_chunk;
hsize_t chunk_dimsr[2], dimsr[2];
// Open the file and dataset.
file.openFile(FILE_NAME, H5F_ACC_RDONLY);
dataset = new DataSet(file.openDataSet( DATASETNAME));
// Get the dataset's dataspace and creation property list.
filespace = new DataSpace(dataset->getSpace());
prop = dataset->getCreatePlist();
// Get information to obtain memory dataspace.
rank = filespace->getSimpleExtentNdims();
herr_t status_n = filespace->getSimpleExtentDims(dimsr);
if (H5D_CHUNKED == prop.getLayout())
rank_chunk = prop.getChunk(rank, chunk_dimsr);
cout << "rank chunk = " << rank_chunk << endl;;
memspace = new DataSpace(rank, dimsr, NULL);
dataset->read(rdata, PredType::NATIVE_INT, *memspace, *filespace);
cout << endl;
for (j = 0; j < dimsr[0]; j++) {
for (i = 0; i < dimsr[1]; i++)
cout << " " << rdata[j][i];
cout << endl;
}
// Close all objects and file.
prop.close();
delete filespace;
delete memspace;
delete dataset;
file.close();
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch(DataSetIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch(DataSpaceIException error)
{
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
}

View File

@@ -0,0 +1,73 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to write to and read from an existing
* dataset. It is used in the HDF5 Tutorial.
*/
#include <iostream>
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_dset.h5");
const H5std_string DATASET_NAME("dset");
const int DIM0 = 4; // dataset dimensions
const int DIM1 = 6;
int main (void)
{
// Data initialization.
int i, j;
int data[DIM0][DIM1]; // buffer for data to write
for (j = 0; j < DIM0; j++)
for (i = 0; i < DIM1; i++)
data[j][i] = i * 6 + j + 1;
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// Open an existing file and dataset.
H5File file(FILE_NAME, H5F_ACC_RDWR);
DataSet dataset = file.openDataSet(DATASET_NAME);
// Write the data to the dataset using default memory space, file
// space, and transfer properties.
dataset.write(data, PredType::NATIVE_INT);
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch(DataSetIException error)
{
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
}

View File

@@ -0,0 +1,176 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Copyright by The HDF Group. *
* Copyright by the Board of Trustees of the University of Illinois. *
* All rights reserved. *
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* This example illustrates how to read/write a subset of data (a slab)
* from/to a dataset in an HDF5 file. It is used in the HDF5 Tutorial.
*/
#include <iostream>
using std::cout;
using std::endl;
#include <string>
#include "H5Cpp.h"
using namespace H5;
const H5std_string FILE_NAME("h5tutr_subset.h5");
const H5std_string DATASET_NAME("IntArray");
const int RANK = 2;
const int DIM0_SUB = 3; // subset dimensions
const int DIM1_SUB = 4;
const int DIM0 = 8; // size of dataset
const int DIM1 = 10;
int main (void)
{
int i,j;
int data[DIM0][DIM1], sdata[DIM0_SUB][DIM1_SUB], rdata[DIM0][DIM1];
// Try block to detect exceptions raised by any of the calls inside it
try
{
// Turn off the auto-printing when failure occurs so that we can
// handle the errors appropriately
Exception::dontPrint();
// ---------------------------------------------------
// Create a new file using the default property lists.
// Then create a dataset and write data to it.
// Close the file and dataset.
// ---------------------------------------------------
H5File file(FILE_NAME, H5F_ACC_TRUNC);
hsize_t dims[2];
dims[0] = DIM0;
dims[1] = DIM1;
DataSpace dataspace = DataSpace (RANK, dims);
DataSet dataset(file.createDataSet( DATASET_NAME,
PredType::STD_I32BE, dataspace) );
for (j = 0; j < DIM0; j++) {
for (i = 0; i < DIM1; i++)
if (i< (DIM1/2))
data[j][i] = 1;
else
data[j][i] = 2;
}
dataset.write(data, PredType::NATIVE_INT);
cout << endl << "Data Written to File:" << endl;
for (j = 0; j < DIM0; j++) {
for (i = 0; i < DIM1; i++)
cout << " " << data[j][i];
cout << endl;
}
dataspace.close();
dataset.close();
file.close();
// ---------------------------------------------------
// Reopen the file and dataset and write a subset of
// values to the dataset.
// ---------------------------------------------------
hsize_t offset[2], count[2], stride[2], block[2];
hsize_t dimsm[2];
file.openFile(FILE_NAME, H5F_ACC_RDWR);
dataset = file.openDataSet(DATASET_NAME);
// Specify size and shape of subset to write.
offset[0] = 1;
offset[1] = 2;
count[0] = DIM0_SUB;
count[1] = DIM1_SUB;
stride[0] = 1;
stride[1] = 1;
block[0] = 1;
block[1] = 1;
// Define Memory Dataspace. Get file dataspace and select
// a subset from the file dataspace.
dimsm[0] = DIM0_SUB;
dimsm[1] = DIM1_SUB;
DataSpace memspace(RANK, dimsm, NULL);
dataspace = dataset.getSpace();
dataspace.selectHyperslab(H5S_SELECT_SET, count, offset, stride, block);
// Write a subset of data to the dataset, then read the
// entire dataset back from the file.
cout << endl << "Write subset to file specifying: " << endl;
cout << " offset=1x2 stride=1x1 count=3x4 block=1x1" << endl;
for (j = 0; j < DIM0_SUB; j++) {
for (i = 0; i < DIM1_SUB; i++)
sdata[j][i] = 5;
}
dataset.write(sdata, PredType::NATIVE_INT, memspace, dataspace);
dataset.read(rdata, PredType::NATIVE_INT);
cout << endl << "Data in File after Subset is Written:" << endl;
for (i = 0; i < DIM0; i++) {
for (j = 0; j < DIM1; j++)
cout << " " << rdata[i][j];
cout << endl;
}
cout << endl;
// It is not necessary to close these objects because close() will
// be called when the object instances are going out of scope.
dataspace.close();
memspace.close();
dataset.close();
file.close();
} // end of try block
// catch failure caused by the H5File operations
catch(FileIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch(DataSetIException error)
{
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch(DataSpaceIException error)
{
error.printErrorStack();
return -1;
}
return 0; // successfully terminated
}

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
//
@@ -24,20 +22,12 @@
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "SDS.h5" );
const H5std_string DATASET_NAME( "IntArray" );
@@ -192,28 +182,28 @@ int main (void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataTypeIException error )
{
error.printError();
error.printErrorStack();
return -1;
}

View File

@@ -5,12 +5,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This file: run-c++-ex.sh
@@ -34,7 +32,7 @@ EXIT_FAILURE=1
# Where the tool is installed.
# default is relative path to installed location of the tools
prefix="${prefix:-../../../}"
prefix="${prefix:-@prefix@}"
AR="@AR@"
RANLIB="@RANLIB@"
H5TOOL="h5c++" # The tool name
@@ -64,6 +62,10 @@ RunTest()
# Run tests
if [ $? -eq 0 ]
then
echo "*************************************************"
echo "** Run C++ API Examples **"
echo "** **"
echo "*************************************************"
if (RunTest create &&\
rm create &&\
RunTest readdata &&\
@@ -82,6 +84,33 @@ then
else
EXIT_VALUE=${EXIT_FAILURE}
fi
echo
echo "***************************************************"
echo "** Run Tutorial Examples **"
echo "** **"
echo "***************************************************"
if (RunTest h5tutr_crtdat &&\
rm h5tutr_crtdat &&\
RunTest h5tutr_rdwt &&\
rm h5tutr_rdwt &&\
RunTest h5tutr_crtatt &&\
rm h5tutr_crtatt &&\
RunTest h5tutr_crtgrp &&\
rm h5tutr_crtgrp &&\
RunTest h5tutr_crtgrpar &&\
rm h5tutr_crtgrpar &&\
RunTest h5tutr_crtgrpd &&\
rm h5tutr_crtgrpd &&\
RunTest h5tutr_extend &&\
rm h5tutr_extend &&\
RunTest h5tutr_subset &&\
rm h5tutr_subset &&\
RunTest h5tutr_cmprss &&\
rm h5tutr_cmprss ); then
EXIT_VALUE=${EXIT_SUCCESS}
else
EXIT_VALUE=${EXIT_FAILURE}
fi
fi
# Cleanup

View File

@@ -6,12 +6,10 @@
#
# This file is part of HDF5. The full HDF5 copyright notice, including
# terms governing use, modification, and redistribution, is contained in
# the files COPYING and Copyright.html. COPYING can be found at the root
# of the source code distribution tree; Copyright.html can be found at the
# root level of an installed copy of the electronic HDF5 document set and
# is linked from the top-level documents page. It can also be found at
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
# the COPYING file, which can be found at the root of the source code
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Tests for the h5c++ compiler tool
# Created: Albert Cheng, 2007/3/14
@@ -19,6 +17,8 @@
# Modification:
#
srcdir=@srcdir@
# Initializations
TESTNAME=h5c++
EXIT_SUCCESS=0
@@ -41,11 +41,6 @@ verbose=yes
myos=`uname -s`
myhostnama=`uname -n`
# The build (current) directory might be different than the source directory.
if test -z "$srcdir"; then
srcdir=.
fi
# Generate some source files and library for tests.
suffix=cpp # source file suffix
hdf5main=${H5TOOL}_hdf5main.$suffix

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
@@ -27,20 +25,12 @@
#else
#include <iostream>
#endif
using std::cout;
using std::endl;
#include <string>
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
using std::cout;
using std::endl;
#endif // H5_NO_STD
#endif
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
using namespace H5;
const H5std_string FILE_NAME( "Select.h5" );
const H5std_string DATASET_NAME( "Matrix in file" );
@@ -316,21 +306,21 @@ int main (void)
// catch failure caused by the H5File operations
catch( FileIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSet operations
catch( DataSetIException error )
{
error.printError();
error.printErrorStack();
return -1;
}
// catch failure caused by the DataSpace operations
catch( DataSpaceIException error )
{
error.printError();
error.printErrorStack();
return -1;
}

35293
c++/src/C2Cppfunction_map.mht Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,24 +1,17 @@
cmake_minimum_required (VERSION 2.8.6)
cmake_minimum_required (VERSION 3.2.2)
PROJECT (HDF5_CPP_SRC)
#-----------------------------------------------------------------------------
# Shared/Static Libs
#-----------------------------------------------------------------------------
IF (BUILD_SHARED_LIBS)
SET (CPP_BUILT_AS_DYNAMIC_LIB 1)
ENDIF (BUILD_SHARED_LIBS)
#-----------------------------------------------------------------------------
# Generate configure file
#-----------------------------------------------------------------------------
CONFIGURE_FILE (${HDF5_RESOURCES_DIR}/H5cxx_config.h.in
configure_file (${HDF_RESOURCES_DIR}/H5cxx_config.h.in
${HDF5_BINARY_DIR}/H5cxx_pubconf.h
)
#-----------------------------------------------------------------------------
# Define cpp Library
#-----------------------------------------------------------------------------
SET (CPP_SRCS
set (CPP_SOURCES
${HDF5_CPP_SRC_SOURCE_DIR}/H5AbstractDs.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5ArrayType.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5AtomType.cpp
@@ -39,15 +32,18 @@ SET (CPP_SRCS
${HDF5_CPP_SRC_SOURCE_DIR}/H5Group.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5IdComponent.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5IntType.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5LaccProp.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5Library.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5Location.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5Object.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5OcreatProp.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5PredType.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5PropList.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5StrType.cpp
${HDF5_CPP_SRC_SOURCE_DIR}/H5VarLenType.cpp
)
SET (CPP_HDRS
set (CPP_HDRS
${HDF5_CPP_SRC_SOURCE_DIR}/H5AbstractDs.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5Alltypes.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5ArrayType.h
@@ -73,28 +69,51 @@ SET (CPP_HDRS
${HDF5_CPP_SRC_SOURCE_DIR}/H5IdComponent.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5Include.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5IntType.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5LaccProp.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5Library.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5Location.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5Object.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5OcreatProp.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5PredType.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5PropList.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5StrType.h
${HDF5_CPP_SRC_SOURCE_DIR}/H5VarLenType.h
)
ADD_LIBRARY (${HDF5_CPP_LIB_TARGET} ${LIB_TYPE} ${CPP_SRCS} ${CPP_HDRS})
TARGET_LINK_LIBRARIES (${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
SET_GLOBAL_VARIABLE (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_CPP_LIB_TARGET}")
H5_SET_LIB_OPTIONS (${HDF5_CPP_LIB_TARGET} ${HDF5_CPP_LIB_NAME} ${LIB_TYPE})
SET_TARGET_PROPERTIES (${HDF5_CPP_LIB_TARGET} PROPERTIES FOLDER libraries/cpp)
add_library (${HDF5_CPP_LIB_TARGET} STATIC ${CPP_SOURCES} ${CPP_HDRS})
TARGET_C_PROPERTIES (${HDF5_CPP_LIB_TARGET} STATIC " " " ")
target_link_libraries (${HDF5_CPP_LIB_TARGET} ${HDF5_LIB_TARGET})
set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_CPP_LIB_TARGET}")
H5_SET_LIB_OPTIONS (${HDF5_CPP_LIB_TARGET} ${HDF5_CPP_LIB_NAME} STATIC)
set_target_properties (${HDF5_CPP_LIB_TARGET} PROPERTIES
FOLDER libraries/cpp
INTERFACE_INCLUDE_DIRECTORIES "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>"
)
set (install_targets ${HDF5_CPP_LIB_TARGET})
if (BUILD_SHARED_LIBS)
add_library (${HDF5_CPP_LIBSH_TARGET} SHARED ${CPP_SOURCES} ${CPP_HDRS})
TARGET_C_PROPERTIES (${HDF5_CPP_LIBSH_TARGET} SHARED " " " ")
target_link_libraries (${HDF5_CPP_LIBSH_TARGET} ${HDF5_LIBSH_TARGET})
set_global_variable (HDF5_LIBRARIES_TO_EXPORT "${HDF5_LIBRARIES_TO_EXPORT};${HDF5_CPP_LIBSH_TARGET}")
H5_SET_LIB_OPTIONS (${HDF5_CPP_LIBSH_TARGET} ${HDF5_CPP_LIB_NAME} SHARED ${HDF5_CXX_PACKAGE_SOVERSION})
set_target_properties (${HDF5_CPP_LIBSH_TARGET} PROPERTIES
FOLDER libraries/cpp
COMPILE_DEFINITIONS "H5_BUILT_AS_DYNAMIC_LIB"
INTERFACE_INCLUDE_DIRECTORIES "$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>"
INTERFACE_COMPILE_DEFINITIONS H5_BUILT_AS_DYNAMIC_LIB=1
)
set (install_targets ${install_targets} ${HDF5_CPP_LIBSH_TARGET})
endif ()
#-----------------------------------------------------------------------------
# Add file(s) to CMake Install
# Add file(s) to CMake Install
#-----------------------------------------------------------------------------
INSTALL (
install (
FILES
${CPP_HDRS}
DESTINATION
${HDF5_INSTALL_INCLUDE_DIR}/cpp
${HDF5_INSTALL_INCLUDE_DIR}
COMPONENT
cppheaders
)
@@ -102,14 +121,21 @@ INSTALL (
#-----------------------------------------------------------------------------
# Add Target(s) to CMake Install for import into other projects
#-----------------------------------------------------------------------------
IF (HDF5_EXPORTED_TARGETS)
INSTALL (
if (HDF5_EXPORTED_TARGETS)
if (BUILD_SHARED_LIBS)
INSTALL_TARGET_PDB (${HDF5_CPP_LIBSH_TARGET} ${HDF5_INSTALL_BIN_DIR} cpplibraries)
endif ()
INSTALL_TARGET_PDB (${HDF5_CPP_LIB_TARGET} ${HDF5_INSTALL_BIN_DIR} cpplibraries)
install (
TARGETS
${HDF5_CPP_LIB_TARGET}
${install_targets}
EXPORT
${HDF5_EXPORTED_TARGETS}
LIBRARY DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT cpplibraries
ARCHIVE DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT cpplibraries
RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT cpplibraries
FRAMEWORK DESTINATION ${HDF5_INSTALL_FWRK_DIR} COMPONENT cpplibraries
INCLUDES DESTINATION include
)
ENDIF (HDF5_EXPORTED_TARGETS)
endif ()

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <string>
@@ -19,305 +17,311 @@
#include "H5Exception.h"
#include "H5IdComponent.h"
#include "H5PropList.h"
#include "H5Object.h"
#include "H5AbstractDs.h"
#include "H5FaccProp.h"
#include "H5FcreatProp.h"
#include "H5OcreatProp.h"
#include "H5DcreatProp.h"
#include "H5CommonFG.h"
#include "H5DxferProp.h"
#include "H5LaccProp.h"
#include "H5Location.h"
#include "H5Object.h"
#include "H5DataSpace.h"
#include "H5AbstractDs.h"
#include "H5Alltypes.h"
#include <iostream> // remove when done
using std::cerr;
using std::endl;
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
//--------------------------------------------------------------------------
// Function: AbstractDs default constructor
///\brief Default constructor
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs default constructor
///\brief Default constructor
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AbstractDs::AbstractDs(){}
//--------------------------------------------------------------------------
// Function: AbstractDs default constructor
///\brief Creates an AbstractDs instance using an existing id.
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs default constructor
///\brief Creates an AbstractDs instance using an existing id.
// Programmer Binh-Minh Ribler - 2000
//
// *** Deprecation warning ***
// This constructor is no longer appropriate because the data member "id" had
// been moved to the sub-classes. It will be removed in 1.10 release. If its
// removal does not raise any problems in 1.10, it will be removed from 1.8 in
// subsequent releases.
//--------------------------------------------------------------------------
AbstractDs::AbstractDs(const hid_t ds_id){}
// Mar 2016 -BMR, AbstractDs::AbstractDs(const hid_t ds_id){}
//--------------------------------------------------------------------------
// Function: AbstractDs copy constructor
///\brief Copy constructor: makes a copy of the original AbstractDs object.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AbstractDs::AbstractDs(const AbstractDs& original){}
//--------------------------------------------------------------------------
// Function: AbstractDs::getTypeClass
///\brief Returns the class of the datatype that is used by this
/// object, which can be a dataset or an attribute.
///\return Datatype class identifier
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getTypeClass
///\brief Returns the class of the datatype that is used by this
/// object, which can be a dataset or an attribute.
///\return Datatype class identifier
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
H5T_class_t AbstractDs::getTypeClass() const
{
// Gets the datatype used by this dataset or attribute.
// p_get_type calls either H5Dget_type or H5Aget_type depending on
// which object invokes getTypeClass
hid_t datatype_id;
try {
datatype_id = p_get_type(); // returned value is already validated
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getTypeClass", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getTypeClass", E.getDetailMsg());
}
// Gets the datatype used by this dataset or attribute.
// p_get_type calls either H5Dget_type or H5Aget_type depending on
// which object invokes getTypeClass
hid_t datatype_id;
try {
datatype_id = p_get_type(); // returned value is already validated
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getTypeClass", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getTypeClass", E.getDetailMsg());
}
// Gets the class of the datatype and validate it before returning
H5T_class_t type_class = H5Tget_class(datatype_id);
// Gets the class of the datatype and validate it before returning
H5T_class_t type_class = H5Tget_class(datatype_id);
// Close temporary datatype_id
herr_t ret_value = H5Tclose(datatype_id);
if (ret_value < 0)
{
if (fromClass() == "DataSet")
throw DataTypeIException("DataSet::getTypeClass", "H5Tclose failed");
else if (fromClass() == "Attribute")
throw DataTypeIException("Attribute::getTypeClass", "H5Tclose failed");
}
// Close temporary datatype_id
herr_t ret_value = H5Tclose(datatype_id);
if (ret_value < 0)
{
if (fromClass() == "DataSet")
throw DataTypeIException("DataSet::getTypeClass", "H5Tclose failed");
else if (fromClass() == "Attribute")
throw DataTypeIException("Attribute::getTypeClass", "H5Tclose failed");
}
// Check on the returned type_class
if (type_class == H5T_NO_CLASS)
{
if (fromClass() == "DataSet")
throw DataTypeIException("DataSet::getTypeClass", "H5Tget_class returns H5T_NO_CLASS");
else if (fromClass() == "Attribute")
throw DataTypeIException("Attribute::getTypeClass", "H5Tget_class returns H5T_NO_CLASS");
}
return(type_class);
// Check on the returned type_class
if (type_class == H5T_NO_CLASS)
{
if (fromClass() == "DataSet")
throw DataTypeIException("DataSet::getTypeClass", "H5Tget_class returns H5T_NO_CLASS");
else if (fromClass() == "Attribute")
throw DataTypeIException("Attribute::getTypeClass", "H5Tget_class returns H5T_NO_CLASS");
}
return(type_class);
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getDataType
///\brief Returns the generic datatype of this abstract dataset, which
/// can be a dataset or an attribute.
///\return DataType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getDataType
///\brief Returns the generic datatype of this abstract dataset, which
/// can be a dataset or an attribute.
///\return DataType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
DataType AbstractDs::getDataType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getDataType. Then, create and
// return the DataType object
try {
DataType datatype(p_get_type());
return(datatype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getDataType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getDataType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getDataType. Then, create and
// return the DataType object
try {
DataType datatype;
f_DataType_setId(&datatype, p_get_type());
return(datatype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getDataType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getDataType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getArrayType
///\brief Returns the array datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return ArrayType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Jul, 2005
// Function: AbstractDs::getArrayType
///\brief Returns the array datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return ArrayType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Jul, 2005
//--------------------------------------------------------------------------
ArrayType AbstractDs::getArrayType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getArrayType. Then, create and
// return the ArrayType object
try {
ArrayType arraytype(p_get_type());
return(arraytype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getArrayType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getArrayType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getArrayType. Then, create and
// return the ArrayType object
try {
// Create ArrayType and set values this way to work around the
// problem described in the JIRA issue HDFFV-7947
ArrayType arraytype;
f_DataType_setId(&arraytype, p_get_type());
return(arraytype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getArrayType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getArrayType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getCompType
///\brief Returns the compound datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return CompType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getCompType
///\brief Returns the compound datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return CompType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
CompType AbstractDs::getCompType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getCompType. Then, create and
// return the CompType object
try {
CompType comptype(p_get_type());
return(comptype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getCompType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getCompType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getCompType. Then, create and
// return the CompType object
try {
CompType comptype;
f_DataType_setId(&comptype, p_get_type());
return(comptype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getCompType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getCompType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getEnumType
///\brief Returns the enumeration datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return EnumType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getEnumType
///\brief Returns the enumeration datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return EnumType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
EnumType AbstractDs::getEnumType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getEnumType. Then, create and
// return the EnumType object
try {
EnumType enumtype(p_get_type());
return(enumtype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getEnumType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getEnumType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getEnumType. Then, create and
// return the EnumType object
try {
EnumType enumtype;
f_DataType_setId(&enumtype, p_get_type());
return(enumtype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getEnumType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getEnumType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getIntType
///\brief Returns the integer datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return IntType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getIntType
///\brief Returns the integer datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return IntType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
IntType AbstractDs::getIntType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getIntType. Then, create and
// return the IntType object
try {
IntType inttype(p_get_type());
return(inttype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getIntType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getIntType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getIntType. Then, create and
// return the IntType object
try {
IntType inttype;
f_DataType_setId(&inttype, p_get_type());
return(inttype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getIntType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getIntType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getFloatType
///\brief Returns the floating-point datatype of this abstract dataset,
/// which can be a dataset or an attribute.
///\return FloatType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getFloatType
///\brief Returns the floating-point datatype of this abstract dataset,
/// which can be a dataset or an attribute.
///\return FloatType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
FloatType AbstractDs::getFloatType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getFloatType. Then, create and
// return the FloatType object
try {
FloatType floatype(p_get_type());
return(floatype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getFloatType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getFloatType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getFloatType. Then, create and
// return the FloatType object
try {
FloatType floatype;
f_DataType_setId(&floatype, p_get_type());
return(floatype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getFloatType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getFloatType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getStrType
///\brief Returns the string datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return StrType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs::getStrType
///\brief Returns the string datatype of this abstract dataset which
/// can be a dataset or an attribute.
///\return StrType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
StrType AbstractDs::getStrType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getStrType. Then, create and
// return the StrType object
try {
StrType strtype(p_get_type());
return(strtype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getStrType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getStrType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getStrType. Then, create and
// return the StrType object
try {
StrType strtype;
f_DataType_setId(&strtype, p_get_type());
return(strtype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getStrType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getStrType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs::getVarLenType
///\brief Returns the floating-point datatype of this abstract dataset,
/// which can be a dataset or an attribute.
///\return VarLenType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Jul, 2005
// Function: AbstractDs::getVarLenType
///\brief Returns the floating-point datatype of this abstract dataset,
/// which can be a dataset or an attribute.
///\return VarLenType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Jul, 2005
//--------------------------------------------------------------------------
VarLenType AbstractDs::getVarLenType() const
{
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getVarLenType. Then, create and
// return the VarLenType object
try {
VarLenType varlentype(p_get_type());
return(varlentype);
}
catch (DataSetIException E) {
throw DataTypeIException("DataSet::getVarLenType", E.getDetailMsg());
}
catch (AttributeIException E) {
throw DataTypeIException("Attribute::getVarLenType", E.getDetailMsg());
}
// Gets the id of the datatype used by this dataset or attribute using
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
// depending on which object invokes getVarLenType. Then, create and
// return the VarLenType object
try {
VarLenType varlentype;
f_DataType_setId(&varlentype, p_get_type());
return(varlentype);
}
catch (DataSetIException& E) {
throw DataTypeIException("DataSet::getVarLenType", E.getDetailMsg());
}
catch (AttributeIException& E) {
throw DataTypeIException("Attribute::getVarLenType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
// Function: AbstractDs destructor
///\brief Noop destructor.
// Programmer Binh-Minh Ribler - 2000
// Function: AbstractDs destructor
///\brief Noop destructor.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AbstractDs::~AbstractDs() {}
#ifndef H5_NO_NAMESPACE
} // end namespace
#endif

View File

@@ -6,25 +6,16 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
// Class AbstractDs is an abstract base class, from which Attribute and
// DataSet inherit. It provides the services that are common to both
// Attribute and DataSet. It also inherits from H5Object and passes down
// the services that H5Object provides.
#ifndef __AbstractDs_H
#define __AbstractDs_H
#ifndef _AbstractDs_H
#define _AbstractDs_H
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
class ArrayType;
class CompType;
@@ -33,59 +24,73 @@ class FloatType;
class IntType;
class StrType;
class VarLenType;
class DataSpace;
/*! \class AbstractDs
\brief AbstractDs is an abstract base class, inherited by Attribute
and DataSet.
It provides a collection of services that are common to both Attribute
and DataSet.
*/
class H5_DLLCPP AbstractDs {
public:
// Gets a copy the datatype of that this abstract dataset uses.
// Note that this datatype is a generic one and can only be accessed
// via generic member functions, i.e., member functions belong
// to DataType. To get specific datatype, i.e. EnumType, FloatType,
// etc..., use the specific functions, that follow, instead.
DataType getDataType() const;
// Gets a copy the datatype of that this abstract dataset uses.
// Note that this datatype is a generic one and can only be accessed
// via generic member functions, i.e., member functions belong
// to DataType. To get specific datatype, i.e. EnumType, FloatType,
// etc..., use the specific functions, that follow, instead.
DataType getDataType() const;
// Gets a copy of the specific datatype of this abstract dataset.
ArrayType getArrayType() const;
CompType getCompType() const;
EnumType getEnumType() const;
IntType getIntType() const;
FloatType getFloatType() const;
StrType getStrType() const;
VarLenType getVarLenType() const;
// Gets a copy of the specific datatype of this abstract dataset.
ArrayType getArrayType() const;
CompType getCompType() const;
EnumType getEnumType() const;
IntType getIntType() const;
FloatType getFloatType() const;
StrType getStrType() const;
VarLenType getVarLenType() const;
// Gets the size in memory of this abstract dataset.
virtual size_t getInMemDataSize() const = 0;
///\brief Gets the size in memory of this abstract dataset.
virtual size_t getInMemDataSize() const = 0;
// Gets the dataspace of this abstract dataset - pure virtual.
virtual DataSpace getSpace() const = 0;
///\brief Gets the dataspace of this abstract dataset - pure virtual.
virtual DataSpace getSpace() const = 0;
// Gets the class of the datatype that is used by this abstract
// dataset.
H5T_class_t getTypeClass() const;
// Gets the class of the datatype that is used by this abstract
// dataset.
H5T_class_t getTypeClass() const;
// Returns the amount of storage size required for this abstract
// dataset - pure virtual.
virtual hsize_t getStorageSize() const = 0;
///\brief Returns the amount of storage size required - pure virtual.
virtual hsize_t getStorageSize() const = 0;
// Returns this class name
virtual H5std_string fromClass() const = 0;
// Returns this class name - pure virtual.
virtual H5std_string fromClass() const = 0;
// Copy constructor
AbstractDs( const AbstractDs& original );
// Destructor
virtual ~AbstractDs();
// Destructor
virtual ~AbstractDs();
protected:
// Default constructor
AbstractDs();
// Default constructor
AbstractDs();
// Constructor that takes an attribute id or a dataset id.
AbstractDs( const hid_t ds_id );
// *** Deprecation warning ***
// The following two constructors are no longer appropriate after the
// data member "id" had been moved to the sub-classes.
// The copy constructor is a noop and is removed in 1.8.15 and the
// other will be removed from 1.10 release, and then from 1.8 if its
// removal does not raise any problems in two 1.10 releases.
// Mar 2016 -BMR, AbstractDs(const hid_t h5_id);
// Copy constructor
// AbstractDs( const AbstractDs& original );
private:
// This member function is implemented by DataSet and Attribute.
virtual hid_t p_get_type() const = 0;
};
#ifndef H5_NO_NAMESPACE
}
#endif
#endif // _AbstractDs_H
// This member function is implemented by DataSet and Attribute - pure virtual.
virtual hid_t p_get_type() const = 0;
}; // end of AbstractDs
} // namespace H5
#endif // __AbstractDs_H

View File

@@ -6,12 +6,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
// This header file simply serves as a container to hold the
@@ -24,6 +22,6 @@
#include "H5IntType.h"
#include "H5FloatType.h"
#include "H5StrType.h"
#include "H5CompType.h"
#include "H5ArrayType.h"
#include "H5VarLenType.h"
#include "H5CompType.h"

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <string>
@@ -19,149 +17,197 @@
#include "H5Exception.h"
#include "H5IdComponent.h"
#include "H5PropList.h"
#include "H5Object.h"
#include "H5OcreatProp.h"
#include "H5DcreatProp.h"
#include "H5CommonFG.h"
#include "H5LaccProp.h"
#include "H5Location.h"
#include "H5Object.h"
#include "H5DataType.h"
#include "H5ArrayType.h"
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
//--------------------------------------------------------------------------
// Function: ArrayType default constructor
///\brief Default constructor: Creates a stub ArrayType
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType default constructor
///\brief Default constructor: Creates a stub ArrayType
// Programmer Binh-Minh Ribler - May 2004
//--------------------------------------------------------------------------
ArrayType::ArrayType() : DataType()
{
// Initialize members
rank = -1;
dimensions = NULL;
}
ArrayType::ArrayType() : DataType() {}
//--------------------------------------------------------------------------
// Function: ArrayType overloaded constructor
///\brief Creates an ArrayType object using an existing id.
///\param existing_id - IN: Id of an existing datatype
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType overloaded constructor
///\brief Creates an ArrayType object using an existing id.
///\param existing_id - IN: Id of an existing datatype
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
//--------------------------------------------------------------------------
ArrayType::ArrayType( const hid_t existing_id ) : DataType( existing_id )
{
// Get the rank of the existing array and store it in this array
rank = H5Tget_array_ndims(existing_id);
if (rank < 0)
{
throw DataTypeIException("ArrayType overloaded constructor", "H5Tget_array_ndims failed");
}
// Get the dimensions of the existing array and store it in this array
dimensions = new hsize_t[rank];
//hsize_t rdims2[H5S_MAX_RANK];
int ret_value = H5Tget_array_dims2(id, dimensions);
if (ret_value < 0)
throw DataTypeIException("ArrayType::getArrayDims", "H5Tget_array_dims2 failed");
}
ArrayType::ArrayType(const hid_t existing_id) : DataType(existing_id) {}
//--------------------------------------------------------------------------
// Function: ArrayType copy constructor
///\brief Copy constructor: makes a copy of the original ArrayType object.
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType copy constructor
///\brief Copy constructor: makes a copy of the original ArrayType object.
// Programmer Binh-Minh Ribler - May 2004
//--------------------------------------------------------------------------
ArrayType::ArrayType( const ArrayType& original ) : DataType( original )
{
rank = original.rank;
dimensions = new hsize_t[rank];
for (int i = 0; i < rank; i++)
dimensions[i] = original.dimensions[i];
}
ArrayType::ArrayType(const ArrayType& original) : DataType(original) {}
//--------------------------------------------------------------------------
// Function: ArrayType overloaded constructor
///\brief Creates a new array data type based on the specified
/// \a base_type.
///\param base_type - IN: Existing datatype
///\param ndims - IN: Rank of the array, [0..H5S_MAX_RANK]
///\param dims - IN: Size of each array dimension
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType overloaded constructor
///\brief Creates a new array data type based on the specified
/// \a base_type.
///\param base_type - IN: Existing datatype
///\param ndims - IN: Rank of the array, [0..H5S_MAX_RANK]
///\param dims - IN: Size of each array dimension
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
//--------------------------------------------------------------------------
ArrayType::ArrayType(const DataType& base_type, int ndims, const hsize_t* dims) : DataType()
{
hid_t new_type_id = H5Tarray_create2(base_type.getId(), ndims, dims);
if (new_type_id < 0)
throw DataTypeIException("ArrayType constructor", "H5Tarray_create2 failed");
id = new_type_id;
rank = ndims;
dimensions = new hsize_t[rank];
for (int i = 0; i < rank; i++)
dimensions[i] = dims[i];
// Call C API to create an array data type
hid_t new_type_id = H5Tarray_create2(base_type.getId(), ndims, dims);
if (new_type_id < 0)
throw DataTypeIException("ArrayType constructor", "H5Tarray_create2 failed");
// Set the id for this object
id = new_type_id;
}
//--------------------------------------------------------------------------
// Function: ArrayType::getArrayNDims
///\brief Returns the number of dimensions for an array datatype.
///\return Number of dimensions
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType overloaded constructor
///\brief Creates an ArrayType instance by opening an HDF5 array datatype
/// given its name, provided as a C character string.
///\param loc - IN: Location of the type
///\param dtype_name - IN: Array type name
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Dec 2016
// Description
// In 1.10.1, this constructor was introduced and may replace the
// existing function CommonFG::openArrayType(const char*) to
// improve usability.
// -BMR, Dec 2016
//--------------------------------------------------------------------------
int ArrayType::getArrayNDims()
ArrayType::ArrayType(const H5Location& loc, const char *dtype_name) : DataType()
{
// If the array's rank has not been stored, i.e. rank is init to -1,
// retrieve it via the C API
if (rank < 0)
{
rank = H5Tget_array_ndims(id);
if (rank < 0)
{
throw DataTypeIException("ArrayType::getArrayNDims", "H5Tget_array_ndims failed");
}
}
return(rank);
id = p_opentype(loc, dtype_name);
}
//--------------------------------------------------------------------------
// Function: ArrayType::getArrayDims
///\brief Retrieves the size of all dimensions of an array datatype.
///\param dims - OUT: Sizes of dimensions
///\return Number of dimensions
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType overloaded constructor
///\brief Creates an ArrayType instance by opening an HDF5 array datatype
/// given its name, provided as an \c H5std_string.
///\param loc - IN: Location of the type
///\param dtype_name - IN: Array type name
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Dec 2016
// Description
// In 1.10.1, this constructor was introduced and may replace the
// existing function CommonFG::openArrayType(const H5std_string&)
// to improve usability.
// -BMR, Dec 2016
//--------------------------------------------------------------------------
int ArrayType::getArrayDims(hsize_t* dims)
ArrayType::ArrayType(const H5Location& loc, const H5std_string& dtype_name) : DataType()
{
// if the array's dimensions have not been stored, retrieve them via C API
if (dimensions == NULL)
{
int ndims = H5Tget_array_dims2(id, dims);
if (ndims < 0)
throw DataTypeIException("ArrayType::getArrayDims", "H5Tget_array_dims2 failed");
// store the array's info in memory
rank = ndims;
dimensions = new hsize_t[rank];
for (int i = 0; i < rank; i++)
dimensions[i] = dims[i];
}
// otherwise, simply copy what's in 'dimensions' to 'dims'
for (int i = 0; i < rank; i++)
dims[i] = dimensions[i];
return(rank);
id = p_opentype(loc, dtype_name.c_str());
}
//--------------------------------------------------------------------------
// Function: ArrayType destructor
///\brief Properly terminates access to this array datatype.
// Programmer Binh-Minh Ribler - May 2004
// Function: ArrayType::operator=
///\brief Assignment operator
///\param rhs - IN: Reference to the existing array datatype
///\return Reference to ArrayType instance
///\exception H5::DataTypeIException
// Description
// Closes the id on the lhs object first with setId, then copies
// each data member from the rhs object. (Issue HDFFV-9562)
// Programmer Binh-Minh Ribler - Mar 2016
// Modification
//--------------------------------------------------------------------------
ArrayType::~ArrayType()
ArrayType& ArrayType::operator=(const ArrayType& rhs)
{
// Free allocated memory
if (dimensions != NULL)
delete []dimensions;
if (this != &rhs)
{
// handling references to this id
try {
setId(rhs.id);
// Note: a = b, so there are two objects with the same hdf5 id
// that's why incRefCount is needed, and it is called by setId
}
catch (Exception& close_error) {
throw DataTypeIException(inMemFunc("operator="), close_error.getDetailMsg());
}
}
return(*this);
}
#ifndef H5_NO_NAMESPACE
//--------------------------------------------------------------------------
// Function: ArrayType::decode
///\brief Returns an ArrayType object via DataType* by decoding the
/// binary object description of this type.
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Aug 2017
//--------------------------------------------------------------------------
DataType* ArrayType::decode() const
{
hid_t encoded_arrtype_id = H5I_INVALID_HID;
try {
encoded_arrtype_id = p_decode();
}
catch (DataTypeIException &err) {
throw;
}
ArrayType *encoded_arrtype = new ArrayType;
encoded_arrtype->p_setId(encoded_arrtype_id);
return(encoded_arrtype);
}
//--------------------------------------------------------------------------
// Function: ArrayType::getArrayNDims
///\brief Returns the number of dimensions for an array datatype.
///\return Number of dimensions
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
// Modification
// Apr, 2016
// Became const.
//--------------------------------------------------------------------------
int ArrayType::getArrayNDims() const
{
// Get the rank of the array type specified by id from the C API
int ndims = H5Tget_array_ndims(id);
if (ndims < 0)
{
throw DataTypeIException("ArrayType::getArrayNDims", "H5Tget_array_ndims failed");
}
return(ndims);
}
//--------------------------------------------------------------------------
// Function: ArrayType::getArrayDims
///\brief Retrieves the size of all dimensions of an array datatype.
///\param dims - OUT: Sizes of dimensions
///\return Number of dimensions
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - May 2004
// Modification
// Apr, 2016
// Became const.
//--------------------------------------------------------------------------
int ArrayType::getArrayDims(hsize_t* dims) const
{
// Get the dimensions
int ndims = H5Tget_array_dims2(id, dims);
if (ndims < 0)
throw DataTypeIException("ArrayType::getArrayDims", "H5Tget_array_dims2 failed");
// Return the number of dimensions
return(ndims);
}
//--------------------------------------------------------------------------
// Function: ArrayType destructor
///\brief Properly terminates access to this array datatype.
// Programmer Binh-Minh Ribler - May 2004
//--------------------------------------------------------------------------
ArrayType::~ArrayType() {}
} // end namespace
#endif

View File

@@ -6,57 +6,63 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
// Class ArrayType inherits from DataType and provides wrappers for the
// HDF5 C's Array Datatypes.
#ifndef __H5ArrayType_H
#define __H5ArrayType_H
#ifndef _H5ArrayType_H
#define _H5ArrayType_H
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
/*! \class ArrayType
\brief Class ArrayType inherits from DataType and provides wrappers for
the HDF5's Array Datatypes.
*/
// Inheritance: DataType -> H5Object -> H5Location -> IdComponent
class H5_DLLCPP ArrayType : public DataType {
public:
// Constructor that creates a new array data type based on the
// specified base type.
ArrayType(const DataType& base_type, int ndims, const hsize_t* dims);
// Constructor that creates a new array data type based on the
// specified base type.
ArrayType(const DataType& base_type, int ndims, const hsize_t* dims);
// Returns the number of dimensions of this array datatype.
int getArrayNDims();
// Assignment operator
ArrayType& operator=(const ArrayType& rhs);
// Returns the sizes of dimensions of this array datatype.
int getArrayDims(hsize_t* dims);
// Constructors that open an array datatype, given a location.
ArrayType(const H5Location& loc, const char* name);
ArrayType(const H5Location& loc, const H5std_string& name);
// Returns this class name
virtual H5std_string fromClass () const { return("ArrayType"); }
// Returns an ArrayType object via DataType* by decoding the
// binary object description of this type.
virtual DataType* decode() const;
// Copy constructor: makes copy of the original object.
ArrayType( const ArrayType& original );
// Returns the number of dimensions of this array datatype.
int getArrayNDims() const;
//int getArrayNDims(); // removed 1.8.18 and 1.10.1
// Constructor that takes an existing id
ArrayType( const hid_t existing_id );
// Returns the sizes of dimensions of this array datatype.
int getArrayDims(hsize_t* dims) const;
//int getArrayDims(hsize_t* dims); // removed 1.8.18 and 1.10.1
// Noop destructor
virtual ~ArrayType();
///\brief Returns this class name.
virtual H5std_string fromClass () const { return("ArrayType"); }
protected:
// Default constructor
ArrayType();
// Copy constructor: makes copy of the original object.
ArrayType(const ArrayType& original);
private:
int rank; // Rank of the array
hsize_t* dimensions; // Sizes of the array dimensions
};
#ifndef H5_NO_NAMESPACE
}
#endif
#endif
// Constructor that takes an existing id
ArrayType(const hid_t existing_id);
// Noop destructor
virtual ~ArrayType();
// Default constructor
ArrayType();
}; // end of ArrayType
} // namespace H5
#endif // __H5ArrayType_H

View File

@@ -5,12 +5,10 @@
* *
* This file is part of HDF5. The full HDF5 copyright notice, including *
* terms governing use, modification, and redistribution, is contained in *
* the files COPYING and Copyright.html. COPYING can be found at the root *
* of the source code distribution tree; Copyright.html can be found at the *
* root level of an installed copy of the electronic HDF5 document set and *
* is linked from the top-level documents page. It can also be found at *
* http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
* access to either file, you may request a copy from help@hdfgroup.org. *
* the COPYING file, which can be found at the root of the source code *
* distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases. *
* If you do not have access to either file, you may request a copy from *
* help@hdfgroup.org. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <string>
@@ -19,279 +17,279 @@
#include "H5Exception.h"
#include "H5IdComponent.h"
#include "H5PropList.h"
#include "H5Object.h"
#include "H5OcreatProp.h"
#include "H5DcreatProp.h"
#include "H5CommonFG.h"
#include "H5LaccProp.h"
#include "H5Location.h"
#include "H5Object.h"
#include "H5DataType.h"
#include "H5AtomType.h"
#ifndef H5_NO_NAMESPACE
namespace H5 {
#endif
#ifndef DOXYGEN_SHOULD_SKIP_THIS
//--------------------------------------------------------------------------
// Function: AtomType default constructor [protected]
// Purpose Default constructor: creates a stub atomic datatype.
// Programmer Binh-Minh Ribler - 2000
// Function: AtomType default constructor [protected]
// Purpose Default constructor: creates a stub atomic datatype.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AtomType::AtomType() : DataType() {}
//--------------------------------------------------------------------------
// Function: AtomType overloaded constructor [protected]
// Purpose Creates an AtomType object using an existing id.
// Parameter existing_id - IN: Id of an existing datatype
// Exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AtomType overloaded constructor [protected]
// Purpose Creates an AtomType object using an existing id.
// Parameter existing_id - IN: Id of an existing datatype
// Exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AtomType::AtomType( const hid_t existing_id ) : DataType( existing_id ) {}
AtomType::AtomType(const hid_t existing_id) : DataType(existing_id) {}
//--------------------------------------------------------------------------
// Function: AtomType copy constructor
///\brief Copy constructor: makes a copy of the original AtomType object.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AtomType::AtomType(const AtomType& original) : DataType(original) {}
#endif // DOXYGEN_SHOULD_SKIP_THIS
//--------------------------------------------------------------------------
// Function: AtomType copy constructor
///\brief Copy constructor: makes a copy of the original AtomType object.
// Programmer Binh-Minh Ribler - 2000
// Function: AtomType::setSize
///\brief Sets the total size for an atomic datatype.
///\param size - IN: Size to set
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AtomType::AtomType( const AtomType& original ) : DataType( original ) {}
//--------------------------------------------------------------------------
// Function: AtomType::setSize
///\brief Sets the total size for an atomic datatype.
///\param size - IN: Size to set
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
void AtomType::setSize( size_t size ) const
void AtomType::setSize(size_t size) const
{
// Call C routine H5Tset_size to set the total size
herr_t ret_value = H5Tset_size( id, size );
if( ret_value < 0 )
{
throw DataTypeIException(inMemFunc("setSize"), "H5Tset_size failed");
}
// Call C routine H5Tset_size to set the total size
herr_t ret_value = H5Tset_size(id, size);
if (ret_value < 0)
{
throw DataTypeIException(inMemFunc("setSize"), "H5Tset_size failed");
}
}
//--------------------------------------------------------------------------
// Function: AtomType::getOrder
///\brief Returns the byte order of an atomic datatype.
///\return Byte order, which can be:
/// \li \c H5T_ORDER_LE
/// \li \c H5T_ORDER_BE
/// \li \c H5T_ORDER_VAX
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Mar, 2005
// Function: AtomType::getOrder
///\brief Returns the byte order of an atomic datatype.
///\return Byte order, which can be:
/// \li \c H5T_ORDER_LE
/// \li \c H5T_ORDER_BE
/// \li \c H5T_ORDER_VAX
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - Mar, 2005
//--------------------------------------------------------------------------
H5T_order_t AtomType::getOrder() const
{
// Call C routine to get the byte ordering
H5T_order_t type_order = H5Tget_order( id );
// Call C routine to get the byte ordering
H5T_order_t type_order = H5Tget_order(id);
// return a byte order constant if successful
if( type_order == H5T_ORDER_ERROR )
{
throw DataTypeIException(inMemFunc("getOrder"),
"H5Tget_order returns H5T_ORDER_ERROR");
}
return( type_order );
// return a byte order constant if successful
if (type_order == H5T_ORDER_ERROR)
{
throw DataTypeIException(inMemFunc("getOrder"),
"H5Tget_order returns H5T_ORDER_ERROR");
}
return(type_order);
}
//--------------------------------------------------------------------------
// Function: AtomType::getOrder
///\brief This is an overloaded member function, provided for convenience.
/// It takes a reference to a \c H5std_string for the buffer that
/// provide the text description of the returned byte order.
/// The text description can be either of the following:
/// "Little endian byte ordering (0)";
/// "Big endian byte ordering (1)";
/// "VAX mixed byte ordering (2)";
///\param order_string - OUT: Text description of the returned byte order
///\return Byte order, which can be:
/// \li \c H5T_ORDER_LE
/// \li \c H5T_ORDER_BE
/// \li \c H5T_ORDER_VAX
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AtomType::getOrder
///\brief This is an overloaded member function, provided for convenience.
/// It takes a reference to a \c H5std_string for the buffer that
/// provide the text description of the returned byte order.
/// The text description can be either of the following:
/// "Little endian byte ordering (0)";
/// "Big endian byte ordering (1)";
/// "VAX mixed byte ordering (2)";
///\param order_string - OUT: Text description of the returned byte order
///\return Byte order, which can be:
/// \li \c H5T_ORDER_LE
/// \li \c H5T_ORDER_BE
/// \li \c H5T_ORDER_VAX
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
H5T_order_t AtomType::getOrder( H5std_string& order_string ) const
H5T_order_t AtomType::getOrder(H5std_string& order_string) const
{
// Call the overloaded to get the type order without text
H5T_order_t type_order = getOrder();
// Call the overloaded to get the type order without text
H5T_order_t type_order = getOrder();
// Then provide the text and return the type order
if( type_order == H5T_ORDER_LE )
order_string = "Little endian byte ordering (0)";
else if( type_order == H5T_ORDER_BE )
order_string = "Big endian byte ordering (1)";
else if( type_order == H5T_ORDER_VAX )
order_string = "VAX mixed byte ordering (2)";
return( type_order );
// Then provide the text and return the type order
if (type_order == H5T_ORDER_LE)
order_string = "Little endian byte ordering (0)";
else if (type_order == H5T_ORDER_BE)
order_string = "Big endian byte ordering (1)";
else if (type_order == H5T_ORDER_VAX)
order_string = "VAX mixed byte ordering (2)";
return(type_order);
}
//--------------------------------------------------------------------------
// Function: AtomType::setOrder
///\brief Sets the byte ordering of an atomic datatype.
///\param order - IN: Byte ordering constant, which can be:
/// \li \c H5T_ORDER_LE
/// \li \c H5T_ORDER_BE
/// \li \c H5T_ORDER_VAX
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
// Function: AtomType::setOrder
///\brief Sets the byte ordering of an atomic datatype.
///\param order - IN: Byte ordering constant, which can be:
/// \li \c H5T_ORDER_LE
/// \li \c H5T_ORDER_BE
/// \li \c H5T_ORDER_VAX
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
void AtomType::setOrder( H5T_order_t order ) const
void AtomType::setOrder(H5T_order_t order) const
{
// Call C routine to set the byte ordering
herr_t ret_value = H5Tset_order( id, order );
if( ret_value < 0 )
{
throw DataTypeIException(inMemFunc("setOrder"), "H5Tset_order failed");
}
// Call C routine to set the byte ordering
herr_t ret_value = H5Tset_order(id, order);
if (ret_value < 0)
{
throw DataTypeIException(inMemFunc("setOrder"), "H5Tset_order failed");
}
}
//--------------------------------------------------------------------------
// Function: AtomType::getPrecision
///\brief Returns the precision of an atomic datatype.
///\return Number of significant bits
///\exception H5::DataTypeIException
// Function: AtomType::getPrecision
///\brief Returns the precision of an atomic datatype.
///\return Number of significant bits
///\exception H5::DataTypeIException
///\par Description
/// The precision is the number of significant bits which,
/// unless padding is present, is 8 times larger than the
/// value returned by \c DataType::getSize().
// Programmer Binh-Minh Ribler - 2000
/// The precision is the number of significant bits which,
/// unless padding is present, is 8 times larger than the
/// value returned by \c DataType::getSize().
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
size_t AtomType::getPrecision() const
{
size_t num_signi_bits = H5Tget_precision( id ); // C routine
size_t num_signi_bits = H5Tget_precision(id); // C routine
// returns number of significant bits if successful
if( num_signi_bits == 0 )
{
throw DataTypeIException(inMemFunc("getPrecision"),
"H5Tget_precision returns invalid number of significant bits");
}
return( num_signi_bits );
// returns number of significant bits if successful
if (num_signi_bits == 0)
{
throw DataTypeIException(inMemFunc("getPrecision"),
"H5Tget_precision returns invalid number of significant bits");
}
return(num_signi_bits);
}
//--------------------------------------------------------------------------
// Function: AtomType::setPrecision
///\brief Sets the precision of an atomic datatype.
///\param precision - IN: Number of bits of precision
///\exception H5::DataTypeIException
// Function: AtomType::setPrecision
///\brief Sets the precision of an atomic datatype.
///\param precision - IN: Number of bits of precision
///\exception H5::DataTypeIException
///\par Description
/// For information, please see C layer Reference Manuat at:
/// http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-SetPrecision
// Programmer Binh-Minh Ribler - 2000
/// For information, please see C layer Reference Manuat at:
/// https://support.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-SetPrecision
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
void AtomType::setPrecision( size_t precision ) const
void AtomType::setPrecision(size_t precision) const
{
// Call C routine to set the datatype precision
herr_t ret_value = H5Tset_precision( id, precision );
if( ret_value < 0 )
{
throw DataTypeIException(inMemFunc("setPrecision"), "H5Tset_precision failed");
}
// Call C routine to set the datatype precision
herr_t ret_value = H5Tset_precision(id, precision);
if (ret_value < 0)
{
throw DataTypeIException(inMemFunc("setPrecision"), "H5Tset_precision failed");
}
}
//--------------------------------------------------------------------------
// Function: AtomType::getOffset
///\brief Retrieves the bit offset of the first significant bit.
///\return Offset value
///\exception H5::DataTypeIException
// Function: AtomType::getOffset
///\brief Retrieves the bit offset of the first significant bit.
///\return Offset value
///\exception H5::DataTypeIException
///\par Description
/// For information, please see C layer Reference Manuat at:
/// http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-GetOffset
// Programmer Binh-Minh Ribler - 2000
/// For information, please see C layer Reference Manuat at:
/// https://support.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-GetOffset
// Programmer Binh-Minh Ribler - 2000
// Modification
// 12/05/00: due to C API change
// - return type changed from size_t to int
// - offset = -1 when failure occurs vs. 0
// 12/05/00: due to C API change
// - return type changed from size_t to int
// - offset = -1 when failure occurs vs. 0
//--------------------------------------------------------------------------
int AtomType::getOffset() const
{
int offset = H5Tget_offset( id ); // C routine
int offset = H5Tget_offset(id); // C routine
// returns a non-negative offset value if successful
if( offset == -1 )
{
throw DataTypeIException(inMemFunc("getOffset"),
"H5Tget_offset returns a negative offset value");
}
return( offset );
// returns a non-negative offset value if successful
if (offset == -1)
{
throw DataTypeIException(inMemFunc("getOffset"),
"H5Tget_offset returns a negative offset value");
}
return(offset);
}
//--------------------------------------------------------------------------
// Function: AtomType::setOffset
///\brief Sets the bit offset of the first significant bit.
///\param offset - IN: Offset of first significant bit
///\exception H5::DataTypeIException
// Function: AtomType::setOffset
///\brief Sets the bit offset of the first significant bit.
///\param offset - IN: Offset of first significant bit
///\exception H5::DataTypeIException
///\par Description
/// For information, please see C layer Reference Manuat at:
/// http://www.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-SetOffset
// Programmer Binh-Minh Ribler - 2000
/// For information, please see C layer Reference Manuat at:
/// https://support.hdfgroup.org/HDF5/doc/RM/RM_H5T.html#Datatype-SetOffset
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
void AtomType::setOffset( size_t offset ) const
void AtomType::setOffset(size_t offset) const
{
// Call C routine to set the bit offset
herr_t ret_value = H5Tset_offset( id, offset );
if( ret_value < 0 )
{
throw DataTypeIException(inMemFunc("setOffset"), "H5Tset_offset failed");
}
// Call C routine to set the bit offset
herr_t ret_value = H5Tset_offset(id, offset);
if (ret_value < 0)
{
throw DataTypeIException(inMemFunc("setOffset"), "H5Tset_offset failed");
}
}
//--------------------------------------------------------------------------
// Function: AtomType::getPad
///\brief Retrieves the padding type of the least and most-significant
/// bit padding.
///\param lsb - OUT: Least-significant bit padding type
///\param msb - OUT: Most-significant bit padding type
///\exception H5::DataTypeIException
// Function: AtomType::getPad
///\brief Retrieves the padding type of the least and most-significant
/// bit padding.
///\param lsb - OUT: Least-significant bit padding type
///\param msb - OUT: Most-significant bit padding type
///\exception H5::DataTypeIException
///\par Description
/// Possible values for \a lsb and \a msb include:
/// \li \c H5T_PAD_ZERO (0) - Set background to zeros.
/// \li \c H5T_PAD_ONE (1) - Set background to ones.
/// \li \c H5T_PAD_BACKGROUND (2) - Leave background alone.
// Programmer Binh-Minh Ribler - 2000
/// Possible values for \a lsb and \a msb include:
/// \li \c H5T_PAD_ZERO (0) - Set background to zeros.
/// \li \c H5T_PAD_ONE (1) - Set background to ones.
/// \li \c H5T_PAD_BACKGROUND (2) - Leave background alone.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
void AtomType::getPad( H5T_pad_t& lsb, H5T_pad_t& msb ) const
void AtomType::getPad(H5T_pad_t& lsb, H5T_pad_t& msb) const
{
// Call C routine to get the padding type
herr_t ret_value = H5Tget_pad( id, &lsb, &msb );
if( ret_value < 0 )
{
throw DataTypeIException(inMemFunc("getPad"), "H5Tget_pad failed");
}
// Call C routine to get the padding type
herr_t ret_value = H5Tget_pad(id, &lsb, &msb);
if (ret_value < 0)
{
throw DataTypeIException(inMemFunc("getPad"), "H5Tget_pad failed");
}
}
//--------------------------------------------------------------------------
// Function: AtomType::setPad
///\brief Sets the least and most-significant bits padding types.
///\param lsb - IN: Least-significant bit padding type
///\param msb - IN: Most-significant bit padding type
///\exception H5::DataTypeIException
// Function: AtomType::setPad
///\brief Sets the least and most-significant bits padding types.
///\param lsb - IN: Least-significant bit padding type
///\param msb - IN: Most-significant bit padding type
///\exception H5::DataTypeIException
///\par Description
/// Valid values for \a lsb and \a msb include:
/// \li \c H5T_PAD_ZERO (0) - Set background to zeros.
/// \li \c H5T_PAD_ONE (1) - Set background to ones.
/// \li \c H5T_PAD_BACKGROUND (2) - Leave background alone.
// Programmer Binh-Minh Ribler - 2000
/// Valid values for \a lsb and \a msb include:
/// \li \c H5T_PAD_ZERO (0) - Set background to zeros.
/// \li \c H5T_PAD_ONE (1) - Set background to ones.
/// \li \c H5T_PAD_BACKGROUND (2) - Leave background alone.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
void AtomType::setPad( H5T_pad_t lsb, H5T_pad_t msb ) const
void AtomType::setPad(H5T_pad_t lsb, H5T_pad_t msb) const
{
// Call C routine to set the padding type
herr_t ret_value = H5Tset_pad( id, lsb, msb );
if( ret_value < 0 )
{
throw DataTypeIException(inMemFunc("setPad"), "H5Tset_pad failed");
}
// Call C routine to set the padding type
herr_t ret_value = H5Tset_pad(id, lsb, msb);
if (ret_value < 0)
{
throw DataTypeIException(inMemFunc("setPad"), "H5Tset_pad failed");
}
}
#ifndef DOXYGEN_SHOULD_SKIP_THIS
//--------------------------------------------------------------------------
// Function: AtomType destructor
///\brief Noop destructor.
// Programmer Binh-Minh Ribler - 2000
// Function: AtomType destructor
///\brief Noop destructor.
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
AtomType::~AtomType() {}
#endif // DOXYGEN_SHOULD_SKIP_THIS
#ifndef H5_NO_NAMESPACE
} // end namespace
#endif

Some files were not shown because too many files have changed in this diff Show More