Added .gitignore and dropped files.

main
lib 2 years ago
parent ef7f79a13e
commit 0487396dbe
  1. 964
      .gitignore
  2. 1295
      Makefile
  3. 2
      SETUP
  4. 1496
      bin/Makefile
  5. 391
      bin/h5cc
  6. 1614
      c++/Makefile
  7. 1566
      c++/examples/Makefile
  8. 145
      c++/examples/run-c++-ex.sh
  9. 253
      c++/examples/testh5c++.sh
  10. 1
      c++/src/.deps/H5AbstractDs.Plo
  11. 1
      c++/src/.deps/H5ArrayType.Plo
  12. 1
      c++/src/.deps/H5AtomType.Plo
  13. 1
      c++/src/.deps/H5Attribute.Plo
  14. 1
      c++/src/.deps/H5CommonFG.Plo
  15. 1
      c++/src/.deps/H5CompType.Plo
  16. 1
      c++/src/.deps/H5DaccProp.Plo
  17. 1
      c++/src/.deps/H5DataSet.Plo
  18. 1
      c++/src/.deps/H5DataSpace.Plo
  19. 1
      c++/src/.deps/H5DataType.Plo
  20. 1
      c++/src/.deps/H5DcreatProp.Plo
  21. 1
      c++/src/.deps/H5DxferProp.Plo
  22. 1
      c++/src/.deps/H5EnumType.Plo
  23. 1
      c++/src/.deps/H5Exception.Plo
  24. 1
      c++/src/.deps/H5FaccProp.Plo
  25. 1
      c++/src/.deps/H5FcreatProp.Plo
  26. 1
      c++/src/.deps/H5File.Plo
  27. 1
      c++/src/.deps/H5FloatType.Plo
  28. 1
      c++/src/.deps/H5Group.Plo
  29. 1
      c++/src/.deps/H5IdComponent.Plo
  30. 1
      c++/src/.deps/H5IntType.Plo
  31. 1
      c++/src/.deps/H5LaccProp.Plo
  32. 1
      c++/src/.deps/H5LcreatProp.Plo
  33. 1
      c++/src/.deps/H5Library.Plo
  34. 1
      c++/src/.deps/H5Location.Plo
  35. 1
      c++/src/.deps/H5Object.Plo
  36. 1
      c++/src/.deps/H5OcreatProp.Plo
  37. 1
      c++/src/.deps/H5PredType.Plo
  38. 1
      c++/src/.deps/H5PropList.Plo
  39. 1
      c++/src/.deps/H5StrType.Plo
  40. 1
      c++/src/.deps/H5VarLenType.Plo
  41. 1868
      c++/src/Makefile
  42. 392
      c++/src/h5c++
  43. 1
      c++/test/.deps/dsets.Po
  44. 1
      c++/test/.deps/h5cpputil.Po
  45. 1
      c++/test/.deps/tarray.Po
  46. 1
      c++/test/.deps/tattr.Po
  47. 1
      c++/test/.deps/tcompound.Po
  48. 1
      c++/test/.deps/tdspl.Po
  49. 1
      c++/test/.deps/testhdf5.Po
  50. 1
      c++/test/.deps/tfile.Po
  51. 1
      c++/test/.deps/tfilter.Po
  52. 1
      c++/test/.deps/th5s.Po
  53. 1
      c++/test/.deps/titerate.Po
  54. 1
      c++/test/.deps/tlinks.Po
  55. 1
      c++/test/.deps/tobject.Po
  56. 1
      c++/test/.deps/trefer.Po
  57. 1
      c++/test/.deps/ttypes.Po
  58. 1
      c++/test/.deps/tvlstr.Po
  59. 1669
      c++/test/Makefile
  60. 2739
      config.log
  61. 1592
      config.lt
  62. 2940
      config.status
  63. 39816
      configure~
  64. 1619
      examples/Makefile
  65. 188
      examples/run-c-ex.sh
  66. 476
      examples/testh5cc.sh
  67. 1624
      fortran/Makefile
  68. 1598
      fortran/examples/Makefile
  69. 142
      fortran/examples/run-fortran-ex.sh
  70. 223
      fortran/examples/testh5fc.sh
  71. 1
      fortran/src/.deps/H5Af.Plo
  72. 1
      fortran/src/.deps/H5Df.Plo
  73. 1
      fortran/src/.deps/H5Ef.Plo
  74. 1
      fortran/src/.deps/H5Ff.Plo
  75. 1
      fortran/src/.deps/H5Gf.Plo
  76. 1
      fortran/src/.deps/H5If.Plo
  77. 1
      fortran/src/.deps/H5Lf.Plo
  78. 1
      fortran/src/.deps/H5Of.Plo
  79. 1
      fortran/src/.deps/H5Pf.Plo
  80. 1
      fortran/src/.deps/H5Rf.Plo
  81. 1
      fortran/src/.deps/H5Sf.Plo
  82. 1
      fortran/src/.deps/H5Tf.Plo
  83. 1
      fortran/src/.deps/H5Zf.Plo
  84. 1
      fortran/src/.deps/H5_f.Plo
  85. 1
      fortran/src/.deps/H5f90kit.Plo
  86. 1
      fortran/src/.deps/H5match_types.Po
  87. 1902
      fortran/src/Makefile
  88. 370
      fortran/src/h5fc
  89. 1
      fortran/test/.deps/t.Plo
  90. 1822
      fortran/test/Makefile
  91. 1598
      fortran/testpar/Makefile
  92. 1626
      hl/Makefile
  93. 1614
      hl/c++/Makefile
  94. 1530
      hl/c++/examples/Makefile
  95. 102
      hl/c++/examples/run-hlc++-ex.sh
  96. 1
      hl/c++/src/.deps/H5PacketTable.Plo
  97. 1676
      hl/c++/src/Makefile
  98. 1
      hl/c++/test/.deps/ptableTest.Po
  99. 1597
      hl/c++/test/Makefile
  100. 1569
      hl/examples/Makefile
  101. Some files were not shown because too many files have changed in this diff Show More

964
.gitignore vendored

@ -0,0 +1,964 @@
*.o
*.lo
*.Po
*.Plo
*.log
Makefile
bin/Makefile
bin/h5cc
c++/Makefile
c++/examples/Makefile
c++/examples/run-c++-ex.sh
c++/examples/testh5c++.sh
c++/src/Makefile
c++/src/h5c++
c++/test/Makefile
config.log
config.lt
config.status
examples/Makefile
examples/run-c-ex.sh
examples/testh5cc.sh
fortran/Makefile
fortran/examples/Makefile
fortran/examples/run-fortran-ex.sh
fortran/examples/testh5fc.sh
fortran/src/Makefile
fortran/src/h5fc
fortran/test/Makefile
fortran/testpar/Makefile
hl/Makefile
hl/c++/Makefile
hl/c++/examples/Makefile
hl/c++/examples/run-hlc++-ex.sh
hl/c++/src/Makefile
hl/c++/test/Makefile
hl/examples/Makefile
hl/examples/run-hlc-ex.sh
hl/fortran/Makefile
hl/fortran/examples/Makefile
hl/fortran/examples/run-hlfortran-ex.sh
hl/fortran/src/Makefile
hl/fortran/test/Makefile
hl/src/Makefile
hl/test/Makefile
hl/tools/Makefile
hl/tools/gif2h5/Makefile
hl/tools/h5watch/Makefile
hl/tools/h5watch/testh5watch.sh
java/Makefile
java/examples/Makefile
java/examples/datasets/Makefile
java/examples/datatypes/Makefile
java/examples/groups/Makefile
java/examples/intro/Makefile
java/src/Makefile
java/src/jni/Makefile
java/test/Makefile
libtool
src/Makefile
src/libhdf5.settings
test/Makefile
test/cmpd_dtransform.h5
test/flushrefresh_test/.libs/flushrefresh
test/flushrefresh_test/flushrefresh
test/single_latest.h5
test/source_file.h5
test/test_flush_refresh.sh
test/test_swmr.sh
test/test_use_cases.sh
test/test_vds_swmr.sh
test/tfile1.h5.h5
test/tfile8.h5
test/tfile8.h5.h5
test/tverbounds_dtype.h5
test/virtual_file1.h5
testpar/Makefile
tools/Makefile
tools/lib/.deps/h5tools.Plo
tools/lib/Makefile
tools/libtest/Makefile
tools/src/Makefile
tools/src/h5copy/.deps/h5copy.Po
tools/src/h5copy/Makefile
tools/src/h5diff/Makefile
tools/src/h5dump/.deps/h5dump.Po
tools/src/h5dump/Makefile
tools/src/h5format_convert/Makefile
tools/src/h5import/Makefile
tools/src/h5jam/Makefile
tools/src/h5ls/Makefile
tools/src/h5perf/Makefile
tools/src/h5repack/Makefile
tools/src/h5stat/Makefile
tools/src/misc/Makefile
tools/test/Makefile
tools/test/h5copy/Makefile
tools/test/h5diff/Makefile
tools/test/h5diff/h5diff_onion_dset_1d.h5.onion
tools/test/h5diff/h5diff_onion_dset_ext.h5.onion
tools/test/h5diff/h5diff_onion_objs.h5.onion
tools/test/h5dump/Makefile
tools/test/h5dump/tst_onion_dset_1d.h5.onion
tools/test/h5dump/tst_onion_dset_ext.h5.onion
tools/test/h5dump/tst_onion_objs.h5.onion
tools/test/h5format_convert/Makefile
tools/test/h5import/Makefile
tools/test/h5jam/Makefile
tools/test/h5ls/Makefile
tools/test/h5repack/Makefile
tools/test/h5stat/Makefile
tools/test/misc/Makefile
tools/test/misc/vds/Makefile
tools/test/perform/Makefile
utils/Makefile
utils/mirror_vfd/Makefile
utils/subfiling_vfd/h5fuse.sh
utils/test/Makefile
utils/tools/Makefile
utils/tools/h5dwalk/Makefile
utils/tools/test/Makefile
utils/tools/test/h5dwalk/Makefile
bin/h5redeploy
hl/src/.libs/
hl/src/libhdf5_hl.la
hl/test/.libs/
hl/test/combine_tables1.h5
hl/test/combine_tables2.h5
hl/test/h5do_compat.h5
hl/test/test_append.h5
hl/test/test_detach.h5
hl/test/test_ds
hl/test/test_ds.chkexe
hl/test/test_ds.chklog
hl/test/test_ds1.h5
hl/test/test_ds10.h5
hl/test/test_ds2.h5
hl/test/test_ds3.h5
hl/test/test_ds4.h5
hl/test/test_ds5.h5
hl/test/test_ds6.h5
hl/test/test_ds7.h5
hl/test/test_ds8.h5
hl/test/test_ds9.h5
hl/test/test_dset_append
hl/test/test_dset_append.chkexe
hl/test/test_dset_append.chklog
hl/test/test_file_image
hl/test/test_file_image.chkexe
hl/test/test_file_image.chklog
hl/test/test_h5do_compat
hl/test/test_h5do_compat.chkexe
hl/test/test_h5do_compat.chklog
hl/test/test_image
hl/test/test_image.chkexe
hl/test/test_image.chklog
hl/test/test_image1.h5
hl/test/test_image2.h5
hl/test/test_image3.h5
hl/test/test_ld
hl/test/test_ld.chkexe
hl/test/test_ld.chklog
hl/test/test_lite
hl/test/test_lite.chkexe
hl/test/test_lite.chklog
hl/test/test_lite1.h5
hl/test/test_lite2.h5
hl/test/test_lite3.h5
hl/test/test_lite4.h5
hl/test/test_packet
hl/test/test_packet.chkexe
hl/test/test_packet.chklog
hl/test/test_packet_compress.h5
hl/test/test_packet_table.h5
hl/test/test_packet_table_vlen.h5
hl/test/test_table
hl/test/test_table.chkexe
hl/test/test_table.chklog
hl/test/test_table.h5
hl/test/testfl_packet_table_vlen.h5
hl/tools/h5watch/.libs/
hl/tools/h5watch/WATCH.h5
hl/tools/h5watch/extend_dset
hl/tools/h5watch/h5watch
hl/tools/h5watch/h5watchgentest
hl/tools/h5watch/testh5watch.sh.chkexe
hl/tools/h5watch/testh5watch.sh.chklog
src/.libs/
src/H5Tinit.c
src/H5detect
src/H5lib_settings.c
src/H5make_libsettings
src/libhdf5.la
test/.libs/
test/accum
test/accum.chkexe
test/accum.chklog
test/accum_swmr_reader
test/app_ref
test/app_ref.chkexe
test/app_ref.chklog
test/atomic_reader
test/atomic_writer
test/big
test/big.chkexe
test/big.chklog
test/bittests
test/bittests.chkexe
test/bittests.chklog
test/btree2
test/btree2.chkexe
test/btree2.chklog
test/cache
test/cache.chkexe
test/cache.chklog
test/cache_api
test/cache_api.chkexe
test/cache_api.chklog
test/cache_image
test/cache_image.chkexe
test/cache_image.chklog
test/cache_logging
test/cache_logging.chkexe
test/cache_logging.chklog
test/cache_tagging
test/cache_tagging.chkexe
test/cache_tagging.chklog
test/chunk_info
test/chunk_info.chkexe
test/chunk_info.chklog
test/cmpd_dset
test/cmpd_dset.chkexe
test/cmpd_dset.chklog
test/cmpd_dtransform
test/cmpd_dtransform.chkexe
test/cmpd_dtransform.chklog
test/cork
test/cork.chkexe
test/cork.chklog
test/cross_read
test/cross_read.chkexe
test/cross_read.chklog
test/dangle
test/dangle.chkexe
test/dangle.chklog
test/del_many_dense_attrs
test/direct_chunk
test/direct_chunk.chkexe
test/direct_chunk.chklog
test/direct_chunk.h5
test/dsets
test/dsets.chkexe
test/dsets.chklog
test/dt_arith
test/dt_arith.chkexe
test/dt_arith.chklog
test/dt_arith1.h5
test/dt_arith2.h5
test/dtransform
test/dtransform.chkexe
test/dtransform.chklog
test/dtransform.h5
test/dtypes
test/dtypes.chkexe
test/dtypes.chklog
test/dtypes10.h5
test/dtypes3.h5
test/dtypes4.h5
test/earray
test/earray.chkexe
test/earray.chklog
test/efc
test/efc.chkexe
test/efc.chklog
test/enc_dec_plist
test/enc_dec_plist.chkexe
test/enc_dec_plist.chklog
test/enc_dec_plist_cross_platform
test/enc_dec_plist_cross_platform.chkexe
test/enc_dec_plist_cross_platform.chklog
test/enum
test/enum.chkexe
test/enum.chklog
test/err_compat
test/error_test
test/event_set
test/event_set.chkexe
test/event_set.chklog
test/evict_on_close
test/evict_on_close.chkexe
test/evict_on_close.chklog
test/extend
test/extend.chkexe
test/extend.chklog
test/external
test/external.chkexe
test/external.chklog
test/external_env
test/extlinks16A-000000.h5
test/extlinks16A-000001.h5
test/extlinks16B-b.h5
test/extlinks16B-g.h5
test/extlinks16B-l.h5
test/extlinks16B-r.h5
test/extlinks16B-s.h5
test/extlinks19B-000000.h5
test/extlinks19B-000001.h5
test/extlinks19B-000002.h5
test/extlinks19B-000003.h5
test/extlinks19B-000004.h5
test/extlinks19B-000005.h5
test/extlinks19B-000006.h5
test/extlinks19B-000007.h5
test/extlinks19B-000008.h5
test/extlinks19B-000009.h5
test/extlinks19B-000010.h5
test/extlinks19B-000011.h5
test/extlinks19B-000012.h5
test/extlinks19B-000013.h5
test/extlinks19B-000014.h5
test/extlinks19B-000015.h5
test/extlinks19B-000016.h5
test/extlinks19B-000017.h5
test/extlinks19B-000018.h5
test/extlinks19B-000019.h5
test/extlinks19B-000020.h5
test/extlinks19B-000021.h5
test/extlinks19B-000022.h5
test/extlinks19B-000023.h5
test/extlinks19B-000024.h5
test/extlinks19B-000025.h5
test/extlinks19B-000026.h5
test/extlinks19B-000027.h5
test/extlinks19B-000028.h5
test/farray
test/farray.chkexe
test/farray.chklog
test/fheap
test/fheap.chkexe
test/fheap.chklog
test/file_image
test/file_image.chkexe
test/file_image.chklog
test/filenotclosed
test/filenotclosed.h5
test/fillval
test/fillval.chkexe
test/fillval.chklog
test/filter_fail
test/filter_fail.chkexe
test/filter_fail.chklog
test/filter_plugin
test/flush1
test/flush1.chkexe
test/flush1.chklog
test/flush2
test/flush2.chkexe
test/flush2.chklog
test/flushrefresh
test/freespace
test/freespace.chkexe
test/freespace.chklog
test/getname
test/getname.chkexe
test/getname.chklog
test/gheap
test/gheap.chkexe
test/gheap.chklog
test/hdfs
test/hdfs.chkexe
test/hdfs.chklog
test/hyperslab
test/hyperslab.chkexe
test/hyperslab.chklog
test/istore
test/istore.chkexe
test/istore.chklog
test/lheap
test/lheap.chkexe
test/lheap.chklog
test/libfilter_plugin1_dsets.la
test/libfilter_plugin2_dsets.la
test/libfilter_plugin3_dsets.la
test/libfilter_plugin4_groups.la
test/libh5test.la
test/libnull_vfd_plugin.la
test/libnull_vol_connector.la
test/links
test/links.chkexe
test/links.chklog
test/links_env
test/log_vfd_out.log
test/mdset
test/mdset.chkexe
test/mdset.chklog
test/mf
test/mf.chkexe
test/mf.chklog
test/min_dset_ohdr_testfile.h5
test/mount
test/mount.chkexe
test/mount.chklog
test/mtime
test/mtime.chkexe
test/mtime.chklog
test/ntypes
test/ntypes.chkexe
test/ntypes.chklog
test/objcopy
test/objcopy.chkexe
test/objcopy.chklog
test/objcopy_ext.dat
test/objcopy_ref
test/objcopy_ref.chkexe
test/objcopy_ref.chklog
test/ohdr
test/ohdr.chkexe
test/ohdr.chklog
test/ohdr_min_a.h5
test/onion
test/onion.chkexe
test/onion.chklog
test/page_buffer
test/page_buffer.chkexe
test/page_buffer.chklog
test/reserved
test/reserved.chkexe
test/reserved.chklog
test/ros3
test/ros3.chkexe
test/ros3.chklog
test/s3comms
test/s3comms.chkexe
test/s3comms.chklog
test/sec2_file.h5
test/select_io_dset
test/select_io_dset.chkexe
test/select_io_dset.chklog
test/set_extent
test/set_extent.chkexe
test/set_extent.chklog
test/splitter.log
test/splitter_rw_file.h5
test/splitter_tmp.h5
test/splitter_wo_file.h5
test/stab
test/stab.chkexe
test/stab.chklog
test/swmr
test/swmr.chkexe
test/swmr.chklog
test/swmr0.h5
test/swmr_addrem_writer
test/swmr_generator
test/swmr_reader
test/swmr_remove_reader
test/swmr_remove_writer
test/swmr_sparse_reader
test/swmr_sparse_writer
test/swmr_start_write
test/swmr_writer
test/tbogus.h5.copy
test/tcheck_version
test/test_abort_fail.sh.chkexe
test/test_abort_fail.sh.chklog
test/test_check_version.sh.chkexe
test/test_check_version.sh.chklog
test/test_error.sh.chkexe
test/test_error.sh.chklog
test/test_external_env.sh.chkexe
test/test_external_env.sh.chklog
test/test_flush_refresh.sh.chkexe
test/test_flush_refresh.sh.chklog
test/test_libinfo.sh.chkexe
test/test_libinfo.sh.chklog
test/test_links_env.sh.chkexe
test/test_links_env.sh.chklog
test/test_plugin.sh.chkexe
test/test_plugin.sh.chklog
test/test_swmr.sh.chkexe
test/test_swmr.sh.chklog
test/test_use_cases.sh.chkexe
test/test_use_cases.sh.chklog
test/test_vds_env.sh.chkexe
test/test_vds_env.sh.chklog
test/test_vds_swmr.sh.chkexe
test/test_vds_swmr.sh.chklog
test/testhdf5
test/testhdf5.chkexe
test/testhdf5.chklog
test/testmeta
test/thread_id
test/thread_id.chkexe
test/thread_id.chklog
test/timer
test/timer.chkexe
test/timer.chklog
test/tmisc15.h5.h5
test/tmp_vds/
test/tmp_vds_env/
test/tstint1.h5
test/tstint2.h5
test/ttsafe
test/ttsafe.chkexe
test/ttsafe.chklog
test/twriteorder
test/twriteorder.chkexe
test/twriteorder.chklog
test/unlink
test/unlink.chkexe
test/unlink.chklog
test/unregister
test/unregister.chkexe
test/unregister.chklog
test/use_append_chunk
test/use_append_chunk_mirror
test/use_append_mchunks
test/use_disable_mdc_flushes
test/vds
test/vds.chkexe
test/vds.chklog
test/vds_env
test/vds_swmr_gen
test/vds_swmr_reader
test/vds_swmr_writer
test/vfd
test/vfd.chkexe
test/vfd.chklog
test/vfd_plugin
test/vol
test/vol.chkexe
test/vol.chklog
test/vol_plugin
tools/lib/.libs/
tools/lib/libh5tools.la
tools/src/h5copy/.libs/
tools/src/h5copy/h5copy
tools/src/h5diff/.libs/
tools/src/h5diff/h5diff
tools/src/h5dump/.libs/
tools/src/h5dump/h5dump
tools/src/h5format_convert/.libs/
tools/src/h5format_convert/h5format_convert
tools/src/h5import/.libs/
tools/src/h5import/h5import
tools/src/h5jam/.libs/
tools/src/h5jam/h5jam
tools/src/h5jam/h5unjam
tools/src/h5ls/.libs/
tools/src/h5ls/h5ls
tools/src/h5perf/.libs/
tools/src/h5perf/h5perf_serial
tools/src/h5repack/.libs/
tools/src/h5repack/h5repack
tools/src/h5repack/libh5repack.la
tools/src/h5stat/.libs/
tools/src/h5stat/h5stat
tools/src/misc/.libs/
tools/src/misc/h5clear
tools/src/misc/h5debug
tools/src/misc/h5delete
tools/src/misc/h5mkgrp
tools/src/misc/h5repart
tools/test/h5copy/.libs/
tools/test/h5copy/h5copy_extlinks_src.h5
tools/test/h5copy/h5copy_extlinks_trg.h5
tools/test/h5copy/h5copy_ref.h5
tools/test/h5copy/h5copygentest
tools/test/h5copy/h5copygentest.chkexe
tools/test/h5copy/h5copygentest.chklog
tools/test/h5copy/h5copytst.h5
tools/test/h5copy/h5copytst_new.h5
tools/test/h5copy/testh5copy.sh.chkexe
tools/test/h5copy/testh5copy.sh.chklog
tools/test/h5diff/.libs/
tools/test/h5diff/compounds_array_vlen1.h5
tools/test/h5diff/compounds_array_vlen2.h5
tools/test/h5diff/h5diff_attr1.h5
tools/test/h5diff/h5diff_attr2.h5
tools/test/h5diff/h5diff_attr3.h5
tools/test/h5diff/h5diff_attr_v_level1.h5
tools/test/h5diff/h5diff_attr_v_level2.h5
tools/test/h5diff/h5diff_basic1.h5
tools/test/h5diff/h5diff_basic2.h5
tools/test/h5diff/h5diff_comp_vl_strs.h5
tools/test/h5diff/h5diff_danglelinks1.h5
tools/test/h5diff/h5diff_danglelinks2.h5
tools/test/h5diff/h5diff_dset1.h5
tools/test/h5diff/h5diff_dset2.h5
tools/test/h5diff/h5diff_dset3.h5
tools/test/h5diff/h5diff_dset_idx1.h5
tools/test/h5diff/h5diff_dset_idx2.h5
tools/test/h5diff/h5diff_dset_zero_dim_size1.h5
tools/test/h5diff/h5diff_dset_zero_dim_size2.h5
tools/test/h5diff/h5diff_dtypes.h5
tools/test/h5diff/h5diff_empty.h5
tools/test/h5diff/h5diff_enum_invalid_values.h5
tools/test/h5diff/h5diff_eps1.h5
tools/test/h5diff/h5diff_eps2.h5
tools/test/h5diff/h5diff_exclude1-1.h5
tools/test/h5diff/h5diff_exclude1-2.h5
tools/test/h5diff/h5diff_exclude2-1.h5
tools/test/h5diff/h5diff_exclude2-2.h5
tools/test/h5diff/h5diff_exclude3-1.h5
tools/test/h5diff/h5diff_exclude3-2.h5
tools/test/h5diff/h5diff_ext2softlink_src.h5
tools/test/h5diff/h5diff_ext2softlink_trg.h5
tools/test/h5diff/h5diff_extlink_src.h5
tools/test/h5diff/h5diff_extlink_trg.h5
tools/test/h5diff/h5diff_grp_recurse1.h5
tools/test/h5diff/h5diff_grp_recurse2.h5
tools/test/h5diff/h5diff_grp_recurse_ext1.h5
tools/test/h5diff/h5diff_grp_recurse_ext2-1.h5
tools/test/h5diff/h5diff_grp_recurse_ext2-2.h5
tools/test/h5diff/h5diff_grp_recurse_ext2-3.h5
tools/test/h5diff/h5diff_hyper1.h5
tools/test/h5diff/h5diff_hyper2.h5
tools/test/h5diff/h5diff_linked_softlink.h5
tools/test/h5diff/h5diff_links.h5
tools/test/h5diff/h5diff_onion_dset_1d.h5
tools/test/h5diff/h5diff_onion_dset_ext.h5
tools/test/h5diff/h5diff_onion_objs.h5
tools/test/h5diff/h5diff_plugin.sh.chkexe
tools/test/h5diff/h5diff_plugin.sh.chklog
tools/test/h5diff/h5diff_softlinks.h5
tools/test/h5diff/h5diff_strings1.h5
tools/test/h5diff/h5diff_strings2.h5
tools/test/h5diff/h5diff_types.h5
tools/test/h5diff/h5diffgentest
tools/test/h5diff/h5diffgentest.chkexe
tools/test/h5diff/h5diffgentest.chklog
tools/test/h5diff/libdynlibdiff.la
tools/test/h5diff/non_comparables1.h5
tools/test/h5diff/non_comparables2.h5
tools/test/h5diff/testh5diff.sh.chkexe
tools/test/h5diff/testh5diff.sh.chklog
tools/test/h5dump/.libs/
tools/test/h5dump/binread
tools/test/h5dump/charsets.h5
tools/test/h5dump/err_attr_dspace.h5
tools/test/h5dump/file_space.h5
tools/test/h5dump/h5dump_plugin.sh.chkexe
tools/test/h5dump/h5dump_plugin.sh.chklog
tools/test/h5dump/h5dumpgentest
tools/test/h5dump/h5dumpgentest.chkexe
tools/test/h5dump/h5dumpgentest.chklog
tools/test/h5dump/libdynlibdump.la
tools/test/h5dump/packedbits.h5
tools/test/h5dump/taindices.h5
tools/test/h5dump/tall.h5
tools/test/h5dump/tarray1.h5
tools/test/h5dump/tarray1_big.h5
tools/test/h5dump/tarray2.h5
tools/test/h5dump/tarray3.h5
tools/test/h5dump/tarray4.h5
tools/test/h5dump/tarray5.h5
tools/test/h5dump/tarray6.h5
tools/test/h5dump/tarray7.h5
tools/test/h5dump/tarray8.h5
tools/test/h5dump/tattr.h5
tools/test/h5dump/tattr2.h5
tools/test/h5dump/tattrintsize.h5
tools/test/h5dump/tattrreg.h5
tools/test/h5dump/tbigdims.h5
tools/test/h5dump/tbinary.h5
tools/test/h5dump/tbitfields.h5
tools/test/h5dump/tbitnopaque.h5
tools/test/h5dump/tchar.h5
tools/test/h5dump/tcmpdattrintsize.h5
tools/test/h5dump/tcmpdintarray.h5
tools/test/h5dump/tcmpdints.h5
tools/test/h5dump/tcmpdintsize.h5
tools/test/h5dump/tcompound.h5
tools/test/h5dump/tcompound2.h5
tools/test/h5dump/tcompound_complex.h5
tools/test/h5dump/tcompound_complex2.h5
tools/test/h5dump/tdatareg.h5
tools/test/h5dump/tdset.h5
tools/test/h5dump/tdset2.h5
tools/test/h5dump/tdset_idx.h5
tools/test/h5dump/tempty.h5
tools/test/h5dump/tenum.h5
tools/test/h5dump/testh5dump.sh.chkexe
tools/test/h5dump/testh5dump.sh.chklog
tools/test/h5dump/testh5dumppbits.sh.chkexe
tools/test/h5dump/testh5dumppbits.sh.chklog
tools/test/h5dump/testh5dumpvds.sh.chkexe
tools/test/h5dump/testh5dumpvds.sh.chklog
tools/test/h5dump/testh5dumpxml.sh.chkexe
tools/test/h5dump/testh5dumpxml.sh.chklog
tools/test/h5dump/textlink.h5
tools/test/h5dump/textlinkfar.h5
tools/test/h5dump/textlinksrc.h5
tools/test/h5dump/textlinktar.h5
tools/test/h5dump/tfamily00000.h5
tools/test/h5dump/tfamily00001.h5
tools/test/h5dump/tfamily00002.h5
tools/test/h5dump/tfamily00003.h5
tools/test/h5dump/tfamily00004.h5
tools/test/h5dump/tfamily00005.h5
tools/test/h5dump/tfamily00006.h5
tools/test/h5dump/tfamily00007.h5
tools/test/h5dump/tfamily00008.h5
tools/test/h5dump/tfamily00009.h5
tools/test/h5dump/tfamily00010.h5
tools/test/h5dump/tfamily00011.h5
tools/test/h5dump/tfamily00012.h5
tools/test/h5dump/tfamily00013.h5
tools/test/h5dump/tfamily00014.h5
tools/test/h5dump/tfamily00015.h5
tools/test/h5dump/tfcontents1.h5
tools/test/h5dump/tfcontents2.h5
tools/test/h5dump/tfilters.h5
tools/test/h5dump/tfloatsattrs.h5
tools/test/h5dump/tfpformat.h5
tools/test/h5dump/tfvalues.h5
tools/test/h5dump/tgroup.h5
tools/test/h5dump/tgrp_comments.h5
tools/test/h5dump/tgrpnullspace.h5
tools/test/h5dump/thlink.h5
tools/test/h5dump/thyperslab.h5
tools/test/h5dump/tints4dims.h5
tools/test/h5dump/tintsattrs.h5
tools/test/h5dump/tintsnodata.h5
tools/test/h5dump/tlarge_objname.h5
tools/test/h5dump/tldouble.h5
tools/test/h5dump/tldouble_scalar.h5
tools/test/h5dump/tlonglinks.h5
tools/test/h5dump/tloop.h5
tools/test/h5dump/tloop2.h5
tools/test/h5dump/tmany.h5
tools/test/h5dump/tmulti-b.h5
tools/test/h5dump/tmulti-g.h5
tools/test/h5dump/tmulti-l.h5
tools/test/h5dump/tmulti-o.h5
tools/test/h5dump/tmulti-r.h5
tools/test/h5dump/tmulti-s.h5
tools/test/h5dump/tnamed_dtype_attr.h5
tools/test/h5dump/tnestedcmpddt.h5
tools/test/h5dump/tnestedcomp.h5
tools/test/h5dump/tnullspace.h5
tools/test/h5dump/tobjref.h5
tools/test/h5dump/topaque.h5
tools/test/h5dump/torderattr.h5
tools/test/h5dump/tordergr.h5
tools/test/h5dump/tscalarattrintsize.h5
tools/test/h5dump/tscalarintattrsize.h5
tools/test/h5dump/tscalarintsize.h5
tools/test/h5dump/tscalarstring.h5
tools/test/h5dump/tslink.h5
tools/test/h5dump/tsoftlinks.h5
tools/test/h5dump/tsplit_file-m.h5
tools/test/h5dump/tsplit_file-r.h5
tools/test/h5dump/tst_onion_dset_1d.h5
tools/test/h5dump/tst_onion_dset_ext.h5
tools/test/h5dump/tst_onion_objs.h5
tools/test/h5dump/tstr.h5
tools/test/h5dump/tstr2.h5
tools/test/h5dump/tstr3.h5
tools/test/h5dump/tudfilter.h5
tools/test/h5dump/tudlink.h5
tools/test/h5dump/tvldtypes1.h5
tools/test/h5dump/tvldtypes2.h5
tools/test/h5dump/tvldtypes3.h5
tools/test/h5dump/tvldtypes4.h5
tools/test/h5dump/tvldtypes5.h5
tools/test/h5dump/tvlenstr_array.h5
tools/test/h5dump/tvlstr.h5
tools/test/h5dump/zerodim.h5
tools/test/h5format_convert/.libs/
tools/test/h5format_convert/h5fc_chk_idx
tools/test/h5format_convert/h5fc_edge_v3.h5
tools/test/h5format_convert/h5fc_err_level.h5
tools/test/h5format_convert/h5fc_ext1_f.h5
tools/test/h5format_convert/h5fc_ext1_i.h5
tools/test/h5format_convert/h5fc_ext1_s.h5
tools/test/h5format_convert/h5fc_ext2_if.h5
tools/test/h5format_convert/h5fc_ext2_is.h5
tools/test/h5format_convert/h5fc_ext2_sf.h5
tools/test/h5format_convert/h5fc_ext3_isf.h5
tools/test/h5format_convert/h5fc_ext_none.h5
tools/test/h5format_convert/h5fc_gentest
tools/test/h5format_convert/h5fc_gentest.chkexe
tools/test/h5format_convert/h5fc_gentest.chklog
tools/test/h5format_convert/h5fc_non_v3.h5
tools/test/h5format_convert/old_h5fc_ext1_f.h5
tools/test/h5format_convert/old_h5fc_ext1_i.h5
tools/test/h5format_convert/old_h5fc_ext1_s.h5
tools/test/h5format_convert/old_h5fc_ext2_if.h5
tools/test/h5format_convert/old_h5fc_ext2_is.h5
tools/test/h5format_convert/old_h5fc_ext2_sf.h5
tools/test/h5format_convert/old_h5fc_ext3_isf.h5
tools/test/h5format_convert/old_h5fc_ext_none.h5
tools/test/h5format_convert/testh5fc.sh.chkexe
tools/test/h5format_convert/testh5fc.sh.chklog
tools/test/h5import/.libs/
tools/test/h5import/h5importtest
tools/test/h5import/h5importtest.chkexe
tools/test/h5import/h5importtest.chklog
tools/test/h5import/h5importtestutil.sh.chkexe
tools/test/h5import/h5importtestutil.sh.chklog
tools/test/h5jam/.libs/
tools/test/h5jam/getub
tools/test/h5jam/h5jamgentest
tools/test/h5jam/tellub
tools/test/h5jam/testh5jam.sh.chkexe
tools/test/h5jam/testh5jam.sh.chklog
tools/test/h5ls/.libs/
tools/test/h5ls/h5ls_plugin.sh.chkexe
tools/test/h5ls/h5ls_plugin.sh.chklog
tools/test/h5ls/libdynlibls.la
tools/test/h5ls/testh5ls.sh.chkexe
tools/test/h5ls/testh5ls.sh.chklog
tools/test/h5ls/testh5lsvds.sh.chkexe
tools/test/h5ls/testh5lsvds.sh.chklog
tools/test/h5repack/.libs/
tools/test/h5repack/h5repack.sh.chkexe
tools/test/h5repack/h5repack.sh.chklog
tools/test/h5repack/h5repack_f32le.h5
tools/test/h5repack/h5repack_f32le_ex-0.dat
tools/test/h5repack/h5repack_f32le_ex.h5
tools/test/h5repack/h5repack_int32le_1d.h5
tools/test/h5repack/h5repack_int32le_1d_ex-0.dat
tools/test/h5repack/h5repack_int32le_1d_ex-1.dat
tools/test/h5repack/h5repack_int32le_1d_ex.h5
tools/test/h5repack/h5repack_int32le_2d.h5
tools/test/h5repack/h5repack_int32le_2d_ex-0.dat
tools/test/h5repack/h5repack_int32le_2d_ex.h5
tools/test/h5repack/h5repack_int32le_3d.h5
tools/test/h5repack/h5repack_int32le_3d_ex-0.dat
tools/test/h5repack/h5repack_int32le_3d_ex.h5
tools/test/h5repack/h5repack_plugin.sh.chkexe
tools/test/h5repack/h5repack_plugin.sh.chklog
tools/test/h5repack/h5repack_uint8be.h5
tools/test/h5repack/h5repack_uint8be_ex-0.dat
tools/test/h5repack/h5repack_uint8be_ex-1.dat
tools/test/h5repack/h5repack_uint8be_ex-2.dat
tools/test/h5repack/h5repack_uint8be_ex-3.dat
tools/test/h5repack/h5repack_uint8be_ex.h5
tools/test/h5repack/h5repackgentest
tools/test/h5repack/h5repackgentest.chkexe
tools/test/h5repack/h5repackgentest.chklog
tools/test/h5repack/h5repacktst
tools/test/h5repack/libdynlibadd.la
tools/test/h5repack/libdynlibvers.la
tools/test/h5repack/testh5repack_detect_szip
tools/test/h5stat/.libs/
tools/test/h5stat/h5stat_err_refcount.h5
tools/test/h5stat/h5stat_gentest
tools/test/h5stat/h5stat_gentest.chkexe
tools/test/h5stat/h5stat_gentest.chklog
tools/test/h5stat/h5stat_idx.h5
tools/test/h5stat/h5stat_newgrat.h5
tools/test/h5stat/h5stat_threshold.h5
tools/test/h5stat/testh5stat.sh.chkexe
tools/test/h5stat/testh5stat.sh.chklog
tools/test/misc/.libs/
tools/test/misc/append.log
tools/test/misc/clear_open_chk
tools/test/misc/family_file00000.h5
tools/test/misc/family_file00001.h5
tools/test/misc/family_file00002.h5
tools/test/misc/family_file00003.h5
tools/test/misc/family_file00004.h5
tools/test/misc/family_file00005.h5
tools/test/misc/family_file00006.h5
tools/test/misc/family_file00007.h5
tools/test/misc/family_file00008.h5
tools/test/misc/family_file00009.h5
tools/test/misc/family_file00010.h5
tools/test/misc/family_file00011.h5
tools/test/misc/family_file00012.h5
tools/test/misc/family_file00013.h5
tools/test/misc/family_file00014.h5
tools/test/misc/family_file00015.h5
tools/test/misc/family_file00016.h5
tools/test/misc/family_file00017.h5
tools/test/misc/h5clear_gentest
tools/test/misc/h5clear_gentest.chkexe
tools/test/misc/h5clear_gentest.chklog
tools/test/misc/h5repart_gentest
tools/test/misc/h5repart_gentest.chkexe
tools/test/misc/h5repart_gentest.chklog
tools/test/misc/repart_test
tools/test/misc/talign
tools/test/misc/talign.chkexe
tools/test/misc/talign.chklog
tools/test/misc/testh5clear.sh.chkexe
tools/test/misc/testh5clear.sh.chklog
tools/test/misc/testh5mkgrp.sh.chkexe
tools/test/misc/testh5mkgrp.sh.chklog
tools/test/misc/testh5repart.sh.chkexe
tools/test/misc/testh5repart.sh.chklog
tools/test/misc/vds/.libs/
tools/test/misc/vds/1_a.h5
tools/test/misc/vds/1_b.h5
tools/test/misc/vds/1_c.h5
tools/test/misc/vds/1_d.h5
tools/test/misc/vds/1_e.h5
tools/test/misc/vds/1_f.h5
tools/test/misc/vds/1_vds.h5
tools/test/misc/vds/2_a.h5
tools/test/misc/vds/2_b.h5
tools/test/misc/vds/2_c.h5
tools/test/misc/vds/2_d.h5
tools/test/misc/vds/2_e.h5
tools/test/misc/vds/2_vds.h5
tools/test/misc/vds/3_1_vds.h5
tools/test/misc/vds/3_2_vds.h5
tools/test/misc/vds/4_0.h5
tools/test/misc/vds/4_1.h5
tools/test/misc/vds/4_2.h5
tools/test/misc/vds/4_vds.h5
tools/test/misc/vds/5_a.h5
tools/test/misc/vds/5_b.h5
tools/test/misc/vds/5_c.h5
tools/test/misc/vds/5_vds.h5
tools/test/misc/vds/UC_1_one_dim_gen
tools/test/misc/vds/UC_1_one_dim_gen.chkexe
tools/test/misc/vds/UC_1_one_dim_gen.chklog
tools/test/misc/vds/UC_2_two_dims_gen
tools/test/misc/vds/UC_2_two_dims_gen.chkexe
tools/test/misc/vds/UC_2_two_dims_gen.chklog
tools/test/misc/vds/UC_3_gaps_gen
tools/test/misc/vds/UC_3_gaps_gen.chkexe
tools/test/misc/vds/UC_3_gaps_gen.chklog
tools/test/misc/vds/UC_4_printf_gen
tools/test/misc/vds/UC_4_printf_gen.chkexe
tools/test/misc/vds/UC_4_printf_gen.chklog
tools/test/misc/vds/UC_5_stride_gen
tools/test/misc/vds/UC_5_stride_gen.chkexe
tools/test/misc/vds/UC_5_stride_gen.chklog
tools/test/perform/.libs/
tools/test/perform/chunk
tools/test/perform/chunk.chkexe
tools/test/perform/chunk.chklog
tools/test/perform/chunk.h5
tools/test/perform/chunk_cache
tools/test/perform/chunk_cache.chkexe
tools/test/perform/chunk_cache.chklog
tools/test/perform/iopipe
tools/test/perform/iopipe.chkexe
tools/test/perform/iopipe.chklog
tools/test/perform/iopipe.h5
tools/test/perform/iopipe.raw
tools/test/perform/overhead
tools/test/perform/overhead.chkexe
tools/test/perform/overhead.chklog
tools/test/perform/perf_meta
tools/test/perform/perf_meta.chkexe
tools/test/perform/perf_meta.chklog
tools/test/perform/x-diag-rd.dat
tools/test/perform/x-diag-wr.dat
tools/test/perform/x-gnuplot
tools/test/perform/x-rowmaj-rd.dat
tools/test/perform/x-rowmaj-wr.dat
tools/test/perform/zip_perf
tools/test/perform/zip_perf.chkexe
tools/test/perform/zip_perf.chklog
utils/test/.libs/
utils/test/swmr_check_compat_vfd

1295
Makefile

File diff suppressed because it is too large Load Diff

@ -10,5 +10,5 @@ cd $(dirname $0)
libname=$(basename $(pwd)) libname=$(basename $(pwd))
./configure --prefix="$1" --with-zlib="$2" ./configure --prefix="$1" --with-zlib="$2"
make -j8 make -j8
make check -j8 # make check -j8
make install make install

File diff suppressed because it is too large Load Diff

@ -1,391 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
##
# This tool is adapted from the mpicc command of the MPICH Software.
############################################################################
## ##
## Things You May Have to Modify: ##
## ##
## If the following paths don't point to the place were HDF5 is installed ##
## on your system (i.e., you received a binary distribution or moved the ##
## files from the originally installed directory to another directory) ##
## then modify them accordingly to represent the new paths. ##
## ##
############################################################################
prefix="/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1"
exec_prefix="${prefix}"
libdir="${exec_prefix}/lib"
includedir="${prefix}/include"
HL="hl"
############################################################################
## ##
## Things You Can Modify to Override HDF5 Library Build Components: ##
## ##
## (Advanced usage - know what you're doing - you're on your own here.) ##
## The four variables below can be used to insert paths and flags in ##
## CPPFLAGS, CFLAGS, LDFLAGS, or LIBS in the h5cc compile line: ##
## $CLINKER $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CFLAGS $CFLAGS $LDFLAGS ##
## $LIBS $clibpath $link_objs $link_args $shared_link ##
## ##
## These settings can be overridden by setting HDF5_CFLAGS, ##
## HDF5_CPPFLAGS, HDF5_LDFLAGS, or HDF5_LIBS in the environment. ##
## ##
############################################################################
CFLAGSBASE=""
CPPFLAGSBASE=""
LDFLAGSBASE=""
LIBSBASE=""
############################################################################
## ##
## You shouldn't have to modify anything below this line. ##
## ##
############################################################################
# Constants definitions
EXIT_SUCCESS=0
EXIT_FAILURE=1
host_os="linux-gnu"
prog_name="`basename $0`"
allargs=""
compile_args=""
libraries=""
link_args=""
link_objs=""
clibpath=""
do_link="yes"
do_compile="no"
dash_o="no"
dash_c="no"
get_output_file="no"
SHOW="eval"
CCBASE="gcc"
CLINKERBASE="gcc"
# CFLAGS, CPPFLAGS and LDFLAGS are reserved for use by the script user.
# FLAGS brought from the hdf5 build are put in H5BLD_*FLAGS.
# User's CPPFLAGS and CFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# from the hdf5 build. The order of the flags is intended to give precedence
# to the user's flags.
H5BLD_CFLAGS=" "
H5BLD_CPPFLAGS=" -I/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/include "
H5BLD_LDFLAGS=" -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib -Wl,-rpath,/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib"
H5BLD_LIBS="-lz -ldl -lm "
CC="${HDF5_CC:-$CCBASE}"
CLINKER="${HDF5_CLINKER:-$CLINKERBASE}"
CFLAGS="${HDF5_CFLAGS:-$CFLAGSBASE}"
CPPFLAGS="${HDF5_CPPFLAGS:-$CPPFLAGSBASE}"
LDFLAGS="${HDF5_LDFLAGS:-$LDFLAGSBASE}"
LIBS="${HDF5_LIBS:-$LIBSBASE}"
# If a static library is available, the default will be to use it. If the only
# available library is shared, it will be used by default. The user can
# override either default, although choosing an unavailable library will result
# in link errors.
STATIC_AVAILABLE="yes"
if test "${STATIC_AVAILABLE}" = "yes"; then
USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}"
else
USE_SHARED_LIB="${HDF5_USE_SHLIB:-yes}"
fi
usage() {
# A wonderfully informative "usage" message.
echo "usage: $prog_name [OPTIONS] <compile line>"
echo " OPTIONS:"
echo " -help This help message."
echo " -echo Show all the shell commands executed"
echo " -prefix=DIR Prefix directory to find HDF5 lib/ and include/"
echo " subdirectories [default: $prefix]"
echo " -show Show the commands without executing them"
echo " -showconfig Show the HDF5 library configuration summary"
echo " -shlib Compile with shared HDF5 libraries [default for hdf5 built"
echo " without static libraries]"
echo " -noshlib Compile with static HDF5 libraries [default for hdf5 built"
echo " with static libraries]"
echo " "
echo " <compile line> - the normal compile line options for your compiler."
echo " $prog_name uses the same compiler you used to compile"
echo " HDF5. Check with your compiler's man pages for more"
echo " information on which options are needed."
echo " "
echo " You can override the compiler, linker, and whether or not to use static"
echo " or shared libraries to compile your program by setting the following"
echo " environment variables accordingly:"
echo " "
echo " HDF5_CC - use a different C compiler"
echo " HDF5_CLINKER - use a different linker"
echo " HDF5_USE_SHLIB=[yes|no] - use shared or static version of the HDF5 library"
echo " [default: no except when built with only"
echo " shared libraries]"
echo " "
echo " You can also add or change paths and flags to the compile line using"
echo " the following environment variables or by assigning them to their counterparts"
echo " in the 'Things You Can Modify to Override...'" section of $prog_name
echo " "
echo " Variable Current value to be replaced"
echo " HDF5_CPPFLAGS \"$CPPFLAGSBASE\""
echo " HDF5_CFLAGS \"$CFLAGSBASE\""
echo " HDF5_LDFLAGS \"$LDFLAGSBASE\""
echo " HDF5_LIBS \"$LIBSBASE\""
echo " "
echo " Note that adding library paths to HDF5_LDFLAGS where another hdf5 version"
echo " is located may link your program with that other hdf5 library version."
echo " "
exit $EXIT_FAILURE
}
# Show the configuration summary of the library recorded in the
# libhdf5.settings file reside in the lib directory.
showconfigure()
{
cat ${libdir}/libhdf5.settings
status=$?
}
# Main
status=$EXIT_SUCCESS
if test "$#" = "0"; then
# No parameters specified, issue usage statement and exit.
usage
fi
case "$CC" in
gcc)
kind="gcc"
;;
mpicc|mpcc|mpicc_r)
# Is this gcc masquarading as an MPI compiler?
if test "`${CC} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then
kind="gcc"
else
# Nope
kind="$host_os"
fi
;;
*)
kind="$host_os"
;;
esac
for arg in $@ ; do
if test "x$get_output_file" = "xyes"; then
link_args="$link_args $arg"
output_file="$arg"
get_output_file="no"
continue
fi
case "$arg" in
-c)
allargs="$allargs $arg"
compile_args="$compile_args $arg"
if test "x$do_link" = "xyes" -a -n "$output_file"; then
compile_args="$compile_args -o $output_file"
fi
do_link="no"
dash_c="yes"
;;
-o)
allargs="$allargs $arg"
dash_o="yes"
if test "x$dash_c" = "xyes"; then
compile_args="$compile_args $arg"
else
link_args="$link_args $arg"
do_link="yes"
get_output_file="yes"
fi
;;
-E|-M|-MT)
allargs="$allargs $arg"
compile_args="$compile_args $arg"
dash_c="yes"
do_link="no"
;;
-l*)
libraries=" $libraries $arg "
allargs="$allargs $arg"
;;
-prefix=*)
prefix="`expr "$arg" : '-prefix=\(.*\)'`"
;;
-echo)
set -x
;;
-show)
SHOW="echo"
;;
-showconfig)
showconfigure
exit $status
;;
-shlib)
USE_SHARED_LIB="yes"
;;
-noshlib)
USE_SHARED_LIB="no"
;;
-help)
usage
;;
*\"*)
qarg="'"$arg"'"
allargs="$allargs $qarg"
;;
*\'*)
qarg='\"'"$arg"'\"'
allargs="$allargs $qarg"
;;
*)
allargs="$allargs $qarg"
if test -s "$arg"; then
ext=`expr "$arg" : '.*\(\..*\)'`
if test "x$ext" = "x.c"; then
do_compile="yes"
compile_args="$compile_args $arg"
fname=`basename $arg .c`
link_objs="$link_objs $fname.o"
elif test "x$ext" = "x.o"; then
if test "x$dash_c" = "xyes"; then
compile_args="$compile_args $arg"
else
do_link="yes"
link_objs="$link_objs $arg"
fi
elif test "x$ext" = "x.a"; then
# This is an archive that we're linking in
libraries=" $libraries $arg "
else
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
else
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
;;
esac
done
if test "$dash_c" = "yes" -a "$do_compile" = no -a "$do_link" = no ; then
# -c was specified. Force do_compile on.
do_compile=yes
fi
if test "x$do_compile" = "xyes"; then
if test "x$dash_c" != "xyes"; then
compile_args="-c $compile_args"
fi
$SHOW $CC -I$includedir $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CFLAGS $CFLAGS $compile_args
status=$?
if test "$status" != "0"; then
exit $status
fi
fi
if test "x$do_link" = "xyes"; then
shared_link=""
# conditionally link with the hl library
if test "X$HL" = "Xhl"; then
libraries=" $libraries -lhdf5_hl -lhdf5 "
else
libraries=" $libraries -lhdf5 "
fi
link_args="$link_args -L${libdir}"
case "$kind" in
gcc|linux*)
# MacOS X doesn't support the "-Wl,-rpath -Wl," style of linker flags.
# It appears to want none of them specified.
case "$host_os" in
darwin*) flag="" ;;
*) flag="-Wl,-rpath -Wl," ;;
esac
;;
hpux*) flag="-Wl,+b -Wl," ;;
freebsd*|solaris*) flag="-R" ;;
rs6000*|aix*) flag="-L" ;;
sgi) flag="-rpath " ;;
*) flag="" ;;
esac
if test -n "$flag"; then
shared_link="${flag}${libdir}"
fi
if test "x$USE_SHARED_LIB" != "xyes"; then
# The "-lhdf5" & "-lhdf5_hl" flags are in here already...This is a static
# compile though, so change it to the static version (.a) of the library.
new_libraries=""
for lib in $libraries; do
case "$lib" in
-lhdf5)
new_libraries="$new_libraries ${libdir}/libhdf5.a"
;;
-lhdf5_hl)
new_libraries="$new_libraries ${libdir}/libhdf5_hl.a"
;;
*)
new_libraries="$new_libraries $lib"
;;
esac
done
libraries="$new_libraries"
fi
for lib in $libraries; do
if echo $link_args | grep " $lib " > /dev/null ||
echo $link_args | grep " $lib$" > /dev/null; then
:
else
link_args="$link_args $lib "
fi
done
# The LIBS are just a bunch of -l* libraries necessary for the HDF5
# module. It's okay if they're included twice in the compile line.
link_args="$link_args $H5BLD_LDFLAGS $H5BLD_LIBS"
# User's CPPFLAGS and CFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# from the hdf5 build. The order of the flags is intended to give precedence
# to the user's flags.
$SHOW $CLINKER $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CFLAGS $CFLAGS $LDFLAGS $clibpath $link_objs $LIBS $link_args $shared_link
status=$?
fi
exit $status

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,145 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This file: run-c++-ex.sh
# Written by: Larry Knox
# Date: May 11, 2010
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# This script will compile and run the c++ examples from source files #
# installed in ${prefix}/share/hdf5_examples/c++ using h5c++. The #
# order for running programs with RunTest in the MAIN section below is taken #
# from the Makefile. The order is important since some of the test programs #
# use data files created by earlier test programs. Any future additions should #
# be placed accordingly. #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Initializations
EXIT_SUCCESS=0
EXIT_FAILURE=1
#
# Try to derive the path to the installation $prefix established
# by ./configure relative to the examples directory established by
# ./configure. If successful, set `prefix_relto_examplesdir` to the
# relative path. Otherwise, set `prefix_relto_examplesdir` to the
# absolute installation $prefix.
#
# This script uses the value of `prefix` in the user's environment, if
# it is set, below. The content of $() is evaluated in a sub-shell, so
# if `prefix` is set in the user's environment, the shell statements in
# $() won't clobber it.
#
prefix_relto_examplesdir=$(
prefix=/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1
examplesdir=${prefix}/share/hdf5_examples
if [ ${examplesdir##${prefix}/} != ${examplesdir} ]; then
echo $(echo ${examplesdir##${prefix}/} | \
sed 's,[^/][^/]*,..,g')
else
echo $prefix
fi
)
# Where the tool is installed.
# default is relative path to installed location of the tools
prefix="${prefix:-../${prefix_relto_examplesdir}}"
AR="ar"
RANLIB="ranlib"
H5TOOL="h5c++" # The tool name
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
#### Run test ####
RunTest()
{
TEST_EXEC=$1
Test=$1".cpp"
echo
echo "################# $1 #################"
${H5TOOL_BIN} -o $TEST_EXEC $Test
if [ $? -ne 0 ]
then
echo "messed up compiling $Test"
exit 1
fi
./$TEST_EXEC
}
################## MAIN ##################
# Run tests
if [ $? -eq 0 ]
then
echo "*************************************************"
echo "** Run C++ API Examples **"
echo "** **"
echo "*************************************************"
if (RunTest create &&\
rm create &&\
RunTest readdata &&\
rm readdata &&\
RunTest writedata &&\
rm writedata &&\
RunTest compound &&\
rm compound &&\
RunTest extend_ds &&\
rm extend_ds &&\
RunTest chunks &&\
rm chunks &&\
RunTest h5group &&\
rm h5group); then
EXIT_VALUE=${EXIT_SUCCESS}
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
rm *.o
rm *.h5
echo
exit $EXIT_VALUE

@ -1,253 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# 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
#
# Modification:
#
srcdir=.
# Initializations
TESTNAME=h5c++
EXIT_SUCCESS=0
EXIT_FAILURE=1
# Where the tool is installed.
prefix="${prefix:-/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1}"
AR="ar"
RANLIB="ranlib"
H5TOOL="h5c++" # The tool name
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
CMP='cmp -s'
DIFF='diff -c'
nerrors=$EXIT_SUCCESS
verbose=yes
# setup my machine information.
myos=`uname -s`
myhostnama=`uname -n`
# Generate some source files and library for tests.
suffix=cpp # source file suffix
hdf5main=${H5TOOL}_hdf5main.$suffix
hdf5main_o=${H5TOOL}_hdf5main.o
appmain=${H5TOOL}_appmain.$suffix
appmain_o=${H5TOOL}_appmain.o
prog1=${H5TOOL}_prog1.$suffix
prog1_o=${H5TOOL}_prog1.o
prog2=${H5TOOL}_prog2.$suffix
prog2_o=${H5TOOL}_prog2.o
applib=libapp${H5TOOL}.a
# short hands
# Caution: if some *.h5 files must be cleaned here, list them by names.
# Don't use the wildcard form of *.h5 as it will wipe out even *.h5 generated
# by other test programs. This will cause a racing condition error when
# parallel make (e.g., gmake -j 4) is used.
temp_SRC="$hdf5main $appmain $prog1 $prog2"
temp_OBJ=`echo $temp_SRC | sed -e "s/\.${suffix}/.o/g"`
temp_FILES="a.out $applib"
# Generate appmain:
# An application Main that calls hdf5 and application's own functions.
cat > $appmain <<EOF
#include <string>
#include <iostream>
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
const H5std_string FILE_NAME( "tmpapp.h5" );
int sub1(void);
int sub2(void);
int main (void)
{
sub1();
sub2();
H5File file( FILE_NAME, H5F_ACC_TRUNC );
return 0;
}
EOF
# generate prog1
cat > $prog1 <<EOF
#include <iostream>
#include <string>
using std::cout;
using std::endl;
int sub1(void)
{
cout << "in sub1" << endl;
return 0;
}
EOF
# generate prog2
cat > $prog2 <<EOF
#include <iostream>
#include <string>
using std::cout;
using std::endl;
int sub2(void)
{
cout << "in sub2" << endl;
return 0;
}
EOF
# Generate HDF5 Main Program:
# An HDF5 sample program that calls hdf5 functions.
cat > $hdf5main <<EOF
#include <string>
#include <iostream>
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
using namespace H5;
#endif
const H5std_string FILE_NAME( "tmphdf5.h5" );
int main (void)
{
H5File file( FILE_NAME, H5F_ACC_TRUNC );
return 0;
}
EOF
# Parse option
# None
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
#
TESTING() {
SPACES=" "
echo "Testing $* $SPACES" | cut -c1-70 | tr -d '\012'
}
# Debug printing
# Change : to echo to print the debug statement
DPRINT() {
: $*
}
# Run a test and print PASS or *FAIL*. If a test fails then increment
# the `nerrors' global variable and (if $verbose is set) display the
# failed output. The actual output is not removed if $HDF5_NOCLEANUP is
# defined.
#
TOOLTEST() {
out=test_$H5TOOL_$$.out
err=test_$H5TOOL_$$.err
# Run test.
TESTING $H5TOOL $@
$H5TOOL_BIN $@ > $out 2>&1
result=$?
if [ $result = 0 ]; then
echo " PASSED"
else
echo "*FAILED*"
nerrors="`expr $nerrors + 1`"
test yes = "$verbose" && \
( echo "========== results ==========="; cat $out;
echo "===============================================") |sed 's/^/ /'
fi
# Clean up output file
if test -z "$HDF5_NOCLEANUP"; then
rm -f $out
fi
}
# Print a "SKIP" message
SKIP() {
TESTING $H5TOOL $@
echo " -SKIP-"
}
##############################################################################
### T H E T E S T S ###
##############################################################################
#
# HDF5 program that calls HDF5 APIs.
echo "***"Simple Compile and Link in one step.
TOOLTEST $hdf5main
# Application program that calls HDF5 and its own functions.
TOOLTEST $appmain $prog1 $prog2
# Compile, then link.
echo "***"Compile and Link in two steps.
TOOLTEST -c $hdf5main
TOOLTEST $hdf5main_o
TOOLTEST -c $appmain $prog1 $prog2
TOOLTEST $appmain_o $prog1_o $prog2_o
# Build external library, then link with it.
echo "***"Build external library and link with it.
TOOLTEST -c $prog1 $prog2
rm -f $applib
$AR cru $applib $prog1_o $prog2_o
$RANLIB $applib
TOOLTEST $appmain $applib
TOOLTEST $appmain_o $applib
# This is peculiar but should work. (See bug ID 729)
TOOLTEST -c $hdf5main
rm -f $applib
$AR cru $applib $hdf5main_o
$RANLIB $applib
# SunOS does not support this. Skip it.
if [ $myos = SunOS ]; then
SKIP -o a.out $applib
else
TOOLTEST -o a.out $applib
fi
# Just preprocess, no compile, no link.
echo "***"Just preprocess, no compile, no link.
TOOLTEST -E $hdf5main
TOOLTEST -E $appmain $prog1 $prog2
##############################################################################
# END
##############################################################################
# Clean up file
if test -z "$HDF5_NOCLEANUP"; then
rm -f $temp_SRC $temp_OBJ $temp_FILES
fi
if test $nerrors -eq 0 ; then
echo "All $TESTNAME tests passed."
exit $EXIT_SUCCESS
else
echo "$TESTNAME tests failed with $nerrors errors."
exit $EXIT_FAILURE
fi

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

File diff suppressed because it is too large Load Diff

@ -1,392 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
############################################################################
## ##
## Things You May Have to Modify: ##
## ##
## If the following paths don't point to the place were HDF5 is installed ##
## on your system (i.e., you received a binary distribution or moved the ##
## files from the originally installed directory to another directory) ##
## then modify them accordingly to represent the new paths. ##
## ##
############################################################################
prefix="/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1"
exec_prefix="${prefix}"
libdir="${exec_prefix}/lib"
includedir="${prefix}/include"
HL="hl"
############################################################################
## ##
## Things You Can Modify to Override HDF5 Library Build Components: ##
## ##
## (Advanced usage - know what you're doing - you're on your own here.) ##
## The four variables below can be used to insert paths and flags in ##
## CPPFLAGS, CXXFLAGS, LDFLAGS, or LIBS in the h5cc compile line: ##
## $CXXLINKER $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CXXFLAGS $CXXFLAGS ##
## $LDFLAGS $LIBS $clibpath $link_objs $link_args $shared_link ##
## ##
## These settings can be overridden by setting HDF5_CXXFLAGS, ##
## HDF5_CPPFLAGS, HDF5_LDFLAGS, or HDF5_LIBS in the environment. ##
## ##
############################################################################
CXXFLAGSBASE=""
CPPFLAGSBASE=""
LDFLAGSBASE=""
LIBSBASE=""
############################################################################
## ##
## You shouldn't have to modify anything below this line. ##
## ##
############################################################################
# Constants definitions
EXIT_SUCCESS=0
EXIT_FAILURE=1
host_os="linux-gnu"
prog_name="`basename $0`"
allargs=""
compile_args=""
libraries=""
link_args=""
link_objs=""
clibpath=""
do_link="yes"
do_compile="no"
dash_o="no"
dash_c="no"
get_output_file="no"
SHOW="eval"
CXXBASE="no"
CXXLINKERBASE="no"
# CXXFLAGS, CPPFLAGS and LDFLAGS are reserved for use by the script user.
# FLAGS brought from the hdf5 build are put in H5BLD_*FLAGS.
# User's CPPFLAGS and CXXFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# from the hdf5 build. The order of the flags is intended to give precedence
# to the user's flags.
H5BLD_CXXFLAGS=" "
H5BLD_CPPFLAGS=" -I/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/include "
H5BLD_LDFLAGS=" -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib -Wl,-rpath,/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib"
H5BLD_LIBS="-lz -ldl -lm "
CXX="${HDF5_CXX:-$CXXBASE}"
CXXLINKER="${HDF5_CXXLINKER:-$CXXLINKERBASE}"
CXXFLAGS="${HDF5_CXXFLAGS:-$CXXFLAGSBASE}"
CPPFLAGS="${HDF5_CPPFLAGS:-$CPPFLAGSBASE}"
LDFLAGS="${HDF5_LDFLAGS:-$LDFLAGSBASE}"
LIBS="${HDF5_LIBS:-$LIBSBASE}"
# If a static library is available, the default will be to use it. If the only
# available library is shared, it will be used by default. The user can
# override either default, although choosing an unavailable library will result
# in link errors.
STATIC_AVAILABLE="yes"
if test "${STATIC_AVAILABLE}" = "yes"; then
USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}"
else
USE_SHARED_LIB="${HDF5_USE_SHLIB:-yes}"
fi
usage() {
# A wonderfully informative "usage" message.
echo "usage: $prog_name [OPTIONS] <compile line>"
echo " OPTIONS:"
echo " -help This help message."
echo " -echo Show all the shell commands executed"
echo " -prefix=DIR Prefix directory to find HDF5 lib/ and include/"
echo " subdirectories [default: $prefix]"
echo " -show Show the commands without executing them"
echo " -showconfig Show the HDF5 library configuration summary"
echo " -shlib Compile with shared HDF5 libraries [default for hdf5 built"
echo " without static libraries]"
echo " -noshlib Compile with static HDF5 libraries [default for hdf5 built"
echo " with static libraries]"
echo " "
echo " <compile line> - the normal compile line options for your compiler."
echo " $prog_name uses the same compiler you used to compile"
echo " HDF5. Check with your compiler's man pages for more"
echo " information on which options are needed."
echo " "
echo " You can override the compiler, linker, and whether or not to use static"
echo " or shared libraries to compile your program by setting the following"
echo " environment variables accordingly:"
echo " "
echo " HDF5_CXX - use a different C++ compiler"
echo " HDF5_CXXLINKER - use a different linker"
echo " HDF5_USE_SHLIB=[yes|no] - use shared or static version of the HDF5 library"
echo " [default: no except when built with only"
echo " shared libraries]"
echo " You can also add or change paths and flags to the compile line using"
echo " the following environment variables or by assigning them to their counterparts"
echo " in the 'Things You Can Modify to Override...'" section of $prog_name
echo " "
echo " Variable Current value to be replaced"
echo " HDF5_CPPFLAGS \"$CPPFLAGSBASE\""
echo " HDF5_CXXFLAGS \"$CXXFLAGSBASE\""
echo " HDF5_LDFLAGS \"$LDFLAGSBASE\""
echo " HDF5_LIBS \"$LIBSBASE\""
echo " "
echo " Note that adding library paths to HDF5_LDFLAGS where another hdf5 version"
echo " is located may link your program with that other hdf5 library version."
echo " "
exit $EXIT_FAILURE
}
# Show the configuration summary of the library recorded in the
# libhdf5.settings file reside in the lib directory.
showconfigure()
{
cat ${libdir}/libhdf5.settings
status=$?
}
# Main
status=$EXIT_SUCCESS
if test "$#" = "0"; then
# No parameters specified, issue usage statement and exit.
usage
fi
case "$CXX" in
gcc)
kind="gcc"
;;
mpicc|mpcc|mpicc_r)
# Is this gcc masquarading as an MPI compiler?
if test "`${CXX} -v 2>&1 | sed -n 2p | cut -c1-3`" = "gcc"; then
kind="gcc"
else
# Nope
kind="$host_os"
fi
;;
*)
kind="$host_os"
;;
esac
for arg in $@ ; do
if test "x$get_output_file" = "xyes"; then
link_args="$link_args $arg"
output_file="$arg"
get_output_file="no"
continue
fi
case "$arg" in
-c)
allargs="$allargs $arg"
compile_args="$compile_args $arg"
if test "x$do_link" = "xyes" -a -n "$output_file"; then
compile_args="$compile_args -o $output_file"
fi
do_link="no"
dash_c="yes"
;;
-o)
allargs="$allargs $arg"
dash_o="yes"
if test "x$dash_c" = "xyes"; then
compile_args="$compile_args $arg"
else
link_args="$link_args $arg"
do_link="yes"
get_output_file="yes"
fi
;;
-E|-M|-MT)
allargs="$allargs $arg"
compile_args="$compile_args $arg"
dash_c="yes"
do_link="no"
;;
-l*)
libraries=" $libraries $arg "
allargs="$allargs $arg"
;;
-prefix=*)
prefix="`expr "$arg" : '-prefix=\(.*\)'`"
;;
-echo)
set -x
;;
-show)
SHOW="echo"
;;
-showconfig)
showconfigure
exit $status
;;
-shlib)
USE_SHARED_LIB="yes"
;;
-noshlib)
USE_SHARED_LIB="no"
;;
-help)
usage
;;
*\"*)
qarg="'"$arg"'"
allargs="$allargs $qarg"
;;
*\'*)
qarg='\"'"$arg"'\"'
allargs="$allargs $qarg"
;;
*)
allargs="$allargs $qarg"
if [ -s "$arg" ] ; then
ext=`expr "$arg" : '.*\(\..*\)'`
if [ "$ext" = ".C" -o "$ext" = ".cxx" -o "$ext" = ".cpp" -o \
"$ext" = ".cc" -o "$ext" = ".c" -o "$ext" = ".CC" ] ; then
do_compile="yes"
compile_args="$compile_args $arg"
fname=`basename $arg $ext`
link_objs="$link_objs $fname.o"
elif [ "$ext" = ".o" ] ; then
if test "x$dash_c" = "xyes" ; then
compile_args="$compile_args $arg"
else
do_link="yes"
link_objs="$link_objs $arg"
fi
elif test "x$ext" = "x.a"; then
# This is an archive that we're linking in
libraries=" $libraries $arg "
else
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
else
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
;;
esac
done
if test "x$do_compile" = "xyes"; then
if test "x$dash_c" != "xyes"; then
compile_args="-c $compile_args"
fi
$SHOW $CXX -I$includedir $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CXXFLAGS $CXXFLAGS $compile_args
status=$?
if test "$status" != "0"; then
exit $status
fi
fi
if test "x$do_link" = "xyes"; then
shared_link=""
# conditionally link with the hl library
if test "X$HL" = "Xhl"; then
libraries=" $libraries -lhdf5_hl_cpp -lhdf5_cpp -lhdf5_hl -lhdf5 "
else
libraries=" $libraries -lhdf5_cpp -lhdf5 "
fi
link_args="$link_args -L${libdir}"
case "$kind" in
gcc|linux*)
# MacOS X doesn't support the "-Wl,-rpath -Wl," style of linker flags.
# It appears to want none of them specified.
case "$host_os" in
darwin*) flag="" ;;
*) flag="-Wl,-rpath -Wl," ;;
esac
;;
hpux*) flag="-Wl,+b -Wl," ;;
freebsd*|solaris*) flag="-R" ;;
rs6000*|aix*) flag="-L" ;;
sgi) flag="-rpath " ;;
*) flag="" ;;
esac
if test -n "$flag"; then
shared_link="${flag}${libdir}"
fi
if test "x$USE_SHARED_LIB" != "xyes"; then
# The "-lhdf5" & "-lhdf5_hl" flags are in here already...This is a static
# compile though, so change it to the static version (.a) of the library.
new_libraries=""
for lib in $libraries; do
case "$lib" in
-lhdf5)
new_libraries="$new_libraries ${libdir}/libhdf5.a"
;;
-lhdf5_hl)
new_libraries="$new_libraries ${libdir}/libhdf5_hl.a"
;;
-lhdf5_cpp)
new_libraries="$new_libraries ${libdir}/libhdf5_cpp.a"
;;
-lhdf5_hl_cpp)
new_libraries="$new_libraries ${libdir}/libhdf5_hl_cpp.a"
;;
*)
new_libraries="$new_libraries $lib"
;;
esac
done
libraries="$new_libraries"
fi
for lib in $libraries; do
if echo $link_args | grep " $lib " > /dev/null ||
echo $link_args | grep " $lib$" > /dev/null; then
:
else
link_args="$link_args $lib "
fi
done
# The LIBS are just a bunch of -l* libraries necessary for the HDF5
# module. It's okay if they're included twice in the compile line.
link_args="$link_args $H5BLD_LDFLAGS $H5BLD_LIBS"
# User's CPPFLAGS and CXXFLAGS come after their H5BLD counterparts. User's
# LDFLAGS come just before clibpath, user's LIBS come after $link_objs and
# before the hdf5 libraries in $link_args, followed by any external library
# paths and libraries from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in
# from the hdf5 build. The order of the flags is intended to give precedence
# to the user's flags.
$SHOW $CXXLINKER $H5BLD_CPPFLAGS $CPPFLAGS $H5BLD_CXXFLAGS $CXXFLAGS $LDFLAGS $clibpath $link_objs $LIBS $link_args $shared_link
status=$?
fi
exit $status

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,188 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This file: run-c-ex.sh
# Written by: Larry Knox
# Date: May 11, 2010
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# This script will compile and run the c examples from source files installed #
# in ${prefix}/share/hdf5_examples/c using h5cc or h5pc. The order for running #
# programs with RunTest in the MAIN section below is taken from the Makefile. #
# The order is important since some of the test programs use data files created #
# by earlier test programs. Any future additions should be placed accordingly. #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Initializations
EXIT_SUCCESS=0
EXIT_FAILURE=1
#
# Try to derive the path to the installation $prefix established
# by ./configure relative to the examples directory established by
# ./configure. If successful, set `prefix_relto_examplesdir` to the
# relative path. Otherwise, set `prefix_relto_examplesdir` to the
# absolute installation $prefix.
#
# This script uses the value of `prefix` in the user's environment, if
# it is set, below. The content of $() is evaluated in a sub-shell, so
# if `prefix` is set in the user's environment, the shell statements in
# $() won't clobbered it.
#
prefix_relto_examplesdir=$(
prefix=/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1
examplesdir=${prefix}/share/hdf5_examples
if [ ${examplesdir##${prefix}/} != ${examplesdir} ]; then
echo $(echo ${examplesdir##${prefix}/} | \
sed 's,[^/][^/]*,..,g')
else
echo $prefix
fi
)
# Where the tool is installed.
# default is relative path to installed location of the tools
prefix="${prefix:-../${prefix_relto_examplesdir}}"
PARALLEL=no # Am I in parallel mode?
AR="ar"
RANLIB="ranlib"
if [ "$PARALLEL" = no ]; then
H5TOOL="h5cc" # The tool name
else
H5TOOL="h5pcc" # The tool name
fi
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
#### Run test ####
RunTest()
{
TEST_EXEC=$1
Test=$1".c"
echo
echo "################# $1 #################"
${H5TOOL_BIN} -o $TEST_EXEC $Test
if [ $? -ne 0 ]
then
echo "messed up compiling $Test"
exit 1
fi
./$TEST_EXEC
}
################## MAIN ##################
if ! test -d red; then
mkdir red
fi
if ! test -d blue; then
mkdir blue
fi
if ! test -d u2w; then
mkdir u2w
fi
# Run tests
if [ $? -eq 0 ]
then
if (RunTest h5_crtdat &&\
rm h5_crtdat &&\
RunTest h5_extend &&\
rm h5_extend &&\
RunTest h5_rdwt &&\
rm h5_rdwt &&\
RunTest h5_crtatt &&\
rm h5_crtatt &&\
RunTest h5_crtgrp &&\
rm h5_crtgrp &&\
RunTest h5_crtgrpar &&\
rm h5_crtgrpar &&\
RunTest h5_crtgrpd &&\
rm h5_crtgrpd &&\
RunTest h5_subset &&\
rm h5_subset &&\
RunTest h5_cmprss &&\
rm h5_cmprss &&\
RunTest h5_write &&\
rm h5_write &&\
RunTest h5_read &&\
rm h5_read &&\
RunTest h5_extend_write &&\
rm h5_extend_write &&\
RunTest h5_chunk_read &&\
rm h5_chunk_read &&\
RunTest h5_compound &&\
rm h5_compound &&\
RunTest h5_group &&\
rm h5_group &&\
RunTest h5_select &&\
rm h5_select &&\
RunTest h5_attribute &&\
rm h5_attribute &&\
RunTest h5_mount &&\
rm h5_mount &&\
RunTest h5_reference_deprec &&\
rm h5_reference_deprec &&\
RunTest h5_ref_extern &&\
rm h5_ref_extern &&\
RunTest h5_ref_compat &&\
rm h5_ref_compat &&\
RunTest h5_drivers &&\
rm h5_drivers &&\
RunTest h5_ref2reg_deprec &&\
rm h5_ref2reg_deprec &&\
RunTest h5_extlink &&\
rm h5_extlink &&\
RunTest h5_elink_unix2win &&\
rm h5_elink_unix2win &&\
OLD_DEBUG_STRING=$HDF5_DEBUG &&\
export HDF5_DEBUG="+all +trace +ttimes" &&\
RunTest h5_debug_trace &&\
HDF5_DEBUG=$OLD_DEBUG_STRING &&\
rm h5_debug_trace &&\
RunTest h5_shared_mesg &&\
rm h5_shared_mesg &&\
RunTest h5_vds-eiger &&\
rm h5_vds-eiger &&\
RunTest h5_vds-exclim &&\
rm h5_vds-exclim &&\
RunTest h5_vds-exc &&\
rm h5_vds-exc &&\
RunTest h5_vds-simpleIO &&\
rm h5_vds-simpleIO &&\
RunTest h5_vds-percival &&\
rm h5_vds-percival &&\
RunTest h5_vds-percival-unlim &&\
rm h5_vds-percival-unlim &&\
RunTest h5_vds-percival-unlim-maxmin&&\
rm h5_vds-percival-unlim-maxmin &&\
RunTest h5_vds &&\
rm h5_vds); then
EXIT_VALUE=${EXIT_SUCCESS}
else
EXIT_VALUE=${EXIT_FAILURE}
fi
fi
# Cleanup
rm *.o
rm *.h5
rm -rf red blue u2w
echo
exit $EXIT_VALUE

@ -1,476 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Tests for the h5cc compiler tool
# Created: Albert Cheng, 2007/4/11
#
# Modification:
# Albert Cheng, 2008/9/27
# Added -shlib tests and verbose control.
# Albert Cheng, 2009/10/28
# Added version compatibility tests.
#
srcdir=.
# Initializations
TESTNAME=h5cc
EXIT_SUCCESS=0
EXIT_FAILURE=1
# Where the tool is installed.
prefix="${prefix:-/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1}"
PARALLEL=no # Am I in parallel mode?
AR="ar"
RANLIB="ranlib"
if [ "$PARALLEL" = no ]; then
H5TOOL="h5cc" # The tool name
else
H5TOOL="h5pcc" # The tool name
fi
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
CMP='cmp -s'
DIFF='diff -c'
nerrors=$EXIT_SUCCESS
verbose=${HDF5_VERBOSE:-1} # 0: none; 1: default; 2: chatty; 3: everything
test $verbose -gt 2 && set -x
H5_NO_DEPRECATED_SYMBOLS=`grep '#define H5_NO_DEPRECATED_SYMBOLS ' ../src/H5pubconf.h`
H5_USE_16_API_DEFAULT=`grep '#define H5_USE_16_API_DEFAULT ' ../src/H5pubconf.h`
H5_USE_18_API_DEFAULT=`grep '#define H5_USE_18_API_DEFAULT ' ../src/H5pubconf.h`
H5_USE_110_API_DEFAULT=`grep '#define H5_USE_110_API_DEFAULT ' ../src/H5pubconf.h`
H5_USE_112_API_DEFAULT=`grep '#define H5_USE_112_API_DEFAULT ' ../src/H5pubconf.h`
H5_USE_114_API_DEFAULT=`grep '#define H5_USE_114_API_DEFAULT ' ../src/H5pubconf.h`
# setup my machine information.
myos=`uname -s`
myhostnama=`uname -n`
# Generate some source files and library for tests.
suffix=c # source file suffix
hdf5main=${H5TOOL}_hdf5main.$suffix
hdf5main_o=${H5TOOL}_hdf5main.o
v16main=${H5TOOL}_v16main.$suffix
v16main_o=${H5TOOL}_v16main.o
v18main=${H5TOOL}_v18main.$suffix
v18main_o=${H5TOOL}_v18main.o
v110main=${H5TOOL}_v110main.$suffix
v110main_o=${H5TOOL}_v110main.o
v112main=${H5TOOL}_v112main.$suffix
v112main_o=${H5TOOL}_v112main.o
appmain=${H5TOOL}_appmain.$suffix
appmain_o=${H5TOOL}_appmain.o
prog1=${H5TOOL}_prog1.$suffix
prog1_o=${H5TOOL}_prog1.o
prog2=${H5TOOL}_prog2.$suffix
prog2_o=${H5TOOL}_prog2.o
applib=libapp${H5TOOL}.a
# short hands
# Caution: if some *.h5 files must be cleaned here, list them by names.
# Don't use the wildcard form of *.h5 as it will wipe out even *.h5 generated
# by other test programs. This will cause a racing condition error when
# parallel make (e.g., gmake -j 4) is used.
temp_SRC="$hdf5main $v16main $v18main $v110main $v112main $appmain $prog1 $prog2"
temp_OBJ=`echo $temp_SRC | sed -e "s/\.${suffix}/.o/g"`
temp_FILES="a.out $applib"
# Generate appmain:
# An application Main that calls hdf5 and application's own functions.
cat > $appmain <<EOF
#include "hdf5.h"
#define H5FILE_NAME "tmp.h5"
extern void sub1(void);
extern void sub2(void);
int
main (void)
{
hid_t file; /* file and dataset handles */
/*
* Create a new file using H5F_ACC_TRUNC access,
* default file creation properties, and default file
* access properties.
*/
sub1();
sub2();
file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
H5Fclose(file);
printf("HDF5 C Sample program ran successfully. File %s generated.\n", H5FILE_NAME);
remove(H5FILE_NAME);
return 0;
}
EOF
# generate prog1
cat > $prog1 <<EOF
#include <stdio.h>
void
sub1(void)
{
printf("in sub1\n");
}
EOF
# generate prog2
cat > $prog2 <<EOF
#include <stdio.h>
void
sub2(void)
{
printf("in sub2\n");
}
EOF
# Generate HDF5 Main Program:
# An HDF5 sample program that calls hdf5 functions.
cat > $hdf5main <<EOF
#include "hdf5.h"
#define H5FILE_NAME "tmp.h5"
int
main (void)
{
hid_t file; /* file and dataset handles */
/*
* Create a new file using H5F_ACC_TRUNC access,
* default file creation properties, and default file
* access properties.
*/
file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
H5Fclose(file);
printf("HDF5 C Sample program ran successfully. File %s generated.\n", H5FILE_NAME);
remove(H5FILE_NAME);
return 0;
}
EOF
# Generate HDF5 v1.6 Main Program:
# This makes unique V1.6 API calls.
cat > $v16main <<EOF
/* This is a V1.6 API calls example Program. */
#include "hdf5.h"
#define H5FILE_NAME "tmp.h5"
int
main (void)
{
hid_t file, group, group1; /* file and group handles */
file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
group = H5Gcreate(file, "/Group", 0);
group1 = H5Gcreate1(file, "/Group1.6", 0);
H5Gclose(group1);
H5Gclose(group);
H5Fclose(file);
printf("HDF5 C program created with V1.6 API ran successfully. "
"File %s generated.\n", H5FILE_NAME);
remove(H5FILE_NAME);
return 0;
}
EOF
# Generate HDF5 v1.8 Main Program:
# This makes unique V1.8 API calls.
cat > $v18main <<EOF
/* This is a V1.8 API calls example Program. */
#include "hdf5.h"
#define H5FILE_NAME "tmp.h5"
int
main (void)
{
hid_t file, group, group2; /* file and group handles */
file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
group = H5Gcreate(file, "/Group", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
group2 = H5Gcreate2(file, "/Group1.8", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
H5Gclose(group2);
H5Gclose(group);
H5Fclose(file);
printf("HDF5 C program created with V1.8 API ran successfully. "
"File %s generated.\n", H5FILE_NAME);
remove(H5FILE_NAME);
return 0;
}
EOF
# Generate HDF5 v1.10 Main Program:
# This makes unique V1.10 API calls.
cat > $v110main <<EOF
/* This is a V1.10 API calls example Program. */
#include "hdf5.h"
#define H5FILE_NAME "tmp.h5"
int
main (void)
{
hid_t file, group, group2, dset, dset2; /* file and group handles */
file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
group = H5Gcreate(file, "/Group", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
group2 = H5Gcreate2(file, "/Group1.8", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
dset = H5Dopen(group, "Dataset", H5P_DEFAULT);
dset2 = H5Dopen2(group2, "Dataset2", H5P_DEFAULT);
H5Dclose(dset);
H5Dclose(dset2);
H5Gclose(group2);
H5Gclose(group);
H5Fclose(file);
printf("HDF5 C program created with V1.10 API ran successfully. "
"File %s generated.\n", H5FILE_NAME);
remove(H5FILE_NAME);
return 0;
}
EOF
# Generate HDF5 v1.12 Main Program:
# This makes unique V1.12 API calls.
cat > $v112main <<EOF
/* This is a V1.12 API calls example Program. */
#include "hdf5.h"
#define H5FILE_NAME "tmp.h5"
#define SPACE1_RANK 3
int
main (void)
{
hid_t sid; /* Dataspace ID */
hid_t fapl = -1; /* File access property list ID */
int rank; /* Logical rank of dataspace */
hsize_t dims[] = {3, 3, 15};
size_t sbuf_size=0;
herr_t ret; /* Generic return value */
hsize_t start[] = {0, 0, 0};
hsize_t stride[] = {2, 5, 3};
hsize_t count[] = {2, 2, 2};
hsize_t block[] = {1, 3, 1};
/* Create the file access property list */
fapl = H5Pcreate(H5P_FILE_ACCESS);
/* Set low/high bounds in the fapl */
ret = H5Pset_libver_bounds(fapl, H5F_LIBVER_EARLIEST,
H5F_LIBVER_LATEST);
/* Create the dataspace */
sid = H5Screate_simple(SPACE1_RANK, dims, NULL);
/* Set the hyperslab selection */
ret = H5Sselect_hyperslab(sid, H5S_SELECT_SET, start, stride, count, block);
/* Encode simple dataspace in a buffer with the fapl setting */
ret = H5Sencode(sid, NULL, &sbuf_size, fapl);
/* Encode simple dataspace in a buffer with the fapl setting */
ret = H5Sencode2(sid, NULL, &sbuf_size, fapl);
printf("HDF5 C program created with V1.12 API ran successfully. ");
/* "File %s generated.\n", H5FILE_NAME);
remove(H5FILE_NAME); */
return 0;
}
EOF
# Parse option
# None
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
#
TESTING() {
SPACES=" "
echo "Testing $* $SPACES" | cut -c1-70 | tr -d '\012'
}
# Debug printing
# Change : to echo to print the debug statement
DPRINT() {
: $*
}
# Run a test and print PASS or *FAIL*. If a test fails then increment
# the `nerrors' global variable and (if $verbose is set) display the
# failed output. The actual output is not removed if $HDF5_NOCLEANUP is
# defined.
#
TOOLTEST() {
out=test_$H5TOOL_$$.out
err=test_$H5TOOL_$$.err
# Run test.
TESTING $H5TOOL $@
$H5TOOL_BIN $@ > $out 2>&1
result=$?
if [ $result = 0 ]; then
echo " PASSED"
test $verbose -gt 1 && \
( echo "========== results ==========="; cat $out;
echo "===============================================") |sed 's/^/ /'
else
echo "*FAILED*"
nerrors="`expr $nerrors + 1`"
test $verbose -gt 0 && \
( echo "========== results ==========="; cat $out;
echo "===============================================") |sed 's/^/ /'
fi
# Clean up output file
if test -z "$HDF5_NOCLEANUP"; then
rm -f $out
fi
}
# Print a "SKIP" message
SKIP() {
TESTING $H5TOOL $@
echo " -SKIP-"
}
##############################################################################
### T H E T E S T S ###
##############################################################################
#
# Group 1: HDF5 program that calls HDF5 APIs.
echo "***"Simple Compile and Link in one step.
TOOLTEST $hdf5main
# Application program that calls HDF5 and its own functions.
TOOLTEST $appmain $prog1 $prog2
# Repeat with -shlib option
echo "***"Simple Compile and Link with -shlib in one step.
TOOLTEST -shlib $hdf5main
# Application program that calls HDF5 and its own functions.
TOOLTEST -shlib $appmain $prog1 $prog2
# Group 2: Compile, then link.
echo "***"Compile and Link in two steps.
TOOLTEST -c $hdf5main
TOOLTEST $hdf5main_o
TOOLTEST -c $appmain $prog1 $prog2
TOOLTEST $appmain_o $prog1_o $prog2_o
# Repeat with -shlib option
echo "***"Compile and Link with -shlib in two steps.
TOOLTEST -c $hdf5main
TOOLTEST -shlib $hdf5main_o
TOOLTEST -c $appmain $prog1 $prog2
TOOLTEST -shlib $appmain_o $prog1_o $prog2_o
# Group3: Build external library, then link with it.
echo "***"Build external library and link with it.
TOOLTEST -c $prog1 $prog2
$AR cru $applib $prog1_o $prog2_o
$RANLIB $applib
TOOLTEST $appmain $applib
TOOLTEST $appmain_o $applib
# Repeat with -shlib option
echo "***"Build external library and link with it using -shlib.
TOOLTEST -c $prog1 $prog2
$AR cru $applib $prog1_o $prog2_o
$RANLIB $applib
TOOLTEST -shlib $appmain $applib
TOOLTEST -shlib $appmain_o $applib
# Group 4: Just preprocess, no compile, no link.
echo "***"Just preprocess, no compile, no link.
TOOLTEST -E $hdf5main
TOOLTEST -E $appmain $prog1 $prog2
# Group5: Version compatibility tests.
echo "***"Version compatibility tests.
# 20200610 Updated for versions 1.10 - 1.14.
# If H5_NO_DEPRECATED_SYMBOLS;
# then versions v18main, v110main, and v112main work.
# -DH5_USE_<N>_API_DEFAULT flags cannot be used with H5_NO_DEPRECATED_SYMBOLS;
# else if H5_USE_16_API_DEFAULT;
# then v16main works.
# else v18main works and -DH5_USE_16_API_DEFAULT v16main also works.
# As new versions with versioned functions are added, they will work with and
# should be added to H5_NO_DEPRECATED_SYMBOLS and to the else section, with and
# without the -DH5_USE_<N>_API_DEFAULT flag. A new H5_USE_<N>_API_DEFAULT section
# should also be added.
#
if [ -n "$H5_USE_16_API_DEFAULT" ]; then
echo "H5_USE_16_API_DEFAULT is defined."
elif [ -n "$H5_USE_18_API_DEFAULT" ]; then
echo "H5_USE_18_API_DEFAULT is defined."
elif [ -n "$H5_USE_110_API_DEFAULT" ]; then
echo "H5_USE_110_API_DEFAULT is defined."
elif [ -n "$H5_USE_112_API_DEFAULT" ]; then
echo "H5_USE_112_API_DEFAULT is defined."
elif [ -n "$H5_USE_114_API_DEFAULT" ]; then
echo "H5_USE_114_API_DEFAULT is defined."
else
echo "No H5 API_DEFAULT is defined."
fi
if [ -n "$H5_NO_DEPRECATED_SYMBOLS" ]; then
echo "H5_NO_DEPRECATED_SYMBOLS is defined."
else
echo "H5_NO_DEPRECATED_SYMBOLS is not defined."
fi
if [ -n "$H5_NO_DEPRECATED_SYMBOLS" ]; then
echo "Skipping $v16main test"
TOOLTEST $v18main
TOOLTEST $v18main
TOOLTEST $v110main
TOOLTEST $v112main
elif [ -n "$H5_USE_16_API_DEFAULT" ]; then
echo "Testing HDF5 with 16_API_DEFAULT"
TOOLTEST $v16main
elif [ -n "$H5_USE_18_API_DEFAULT" ]; then
echo "Testing HDF5 with 18_API_DEFAULT"
TOOLTEST -DH5_USE_16_API_DEFAULT $v16main
TOOLTEST $v18main
elif [ -n "$H5_USE_110_API_DEFAULT" ]; then
echo "Testing HDF5 with 110_API_DEFAULT"
TOOLTEST -DH5_USE_16_API_DEFAULT $v16main
TOOLTEST -DH5_USE_18_API_DEFAULT $v18main
TOOLTEST $v110main
elif [ -n "$H5_USE_112_API_DEFAULT" ]; then
echo "Testing HDF5 with 112_API_DEFAULT"
TOOLTEST -DH5_USE_16_API_DEFAULT $v16main
TOOLTEST -DH5_USE_18_API_DEFAULT $v18main
TOOLTEST -DH5_USE_110_API_DEFAULT $v110main
TOOLTEST $v112main
else
echo "Testing HDF5 with 114_API_DEFAULT"
TOOLTEST -DH5_USE_16_API_DEFAULT $v16main
TOOLTEST -DH5_USE_18_API_DEFAULT $v18main
TOOLTEST -DH5_USE_110_API_DEFAULT $v110main
TOOLTEST -DH5_USE_112_API_DEFAULT $v112main
TOOLTEST $v18main
TOOLTEST $v110main
TOOLTEST $v112main
fi
##############################################################################
# END
##############################################################################
# Clean up file
if test -z "$HDF5_NOCLEANUP"; then
rm -f $temp_SRC $temp_OBJ $temp_FILES
fi
if test $nerrors -eq 0 ; then
echo "All $TESTNAME tests passed."
exit $EXIT_SUCCESS
else
echo "$TESTNAME tests failed with $nerrors errors."
exit $EXIT_FAILURE
fi

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,142 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This file: run-hlfortran-ex.sh
# Written by: Larry Knox
# Date: May 11, 2010
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# This script will compile and run the fortran examples from source files #
# installed in ${prefix}/share/hdf5_examples/fortran using h5fc or h5pfc. The #
# order for running programs with RunTest in the MAIN section below is taken #
# from the Makefile. The order is important since some of the test programs #
# use data files created by earlier test programs. Any future additions should #
# be placed accordingly. #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Initializations
EXIT_SUCCESS=0
EXIT_FAILURE=1
#
# Try to derive the path to the installation $prefix established
# by ./configure relative to the examples directory established by
# ./configure. If successful, set `prefix_relto_examplesdir` to the
# relative path. Otherwise, set `prefix_relto_examplesdir` to the
# absolute installation $prefix.
#
# This script uses the value of `prefix` in the user's environment, if
# it is set, below. The content of $() is evaluated in a sub-shell, so
# if `prefix` is set in the user's environment, the shell statements in
# $() won't clobbered it.
#
prefix_relto_examplesdir=$(
prefix=/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1
examplesdir=${prefix}/share/hdf5_examples
if [ ${examplesdir##${prefix}/} != ${examplesdir} ]; then
echo $(echo ${examplesdir##${prefix}/} | \
sed 's,[^/][^/]*,..,g')
else
echo $prefix
fi
)
# Where the tool is installed.
# default is relative path to installed location of the tools
prefix="${prefix:-../${prefix_relto_examplesdir}}"
PARALLEL=no # Am I in parallel mode?
AR="ar"
RANLIB="ranlib"
if [ "$PARALLEL" = no ]; then
H5TOOL="h5fc" # The tool name
else
H5TOOL="h5pfc" # The tool name
fi
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
#### Run test ####
RunTest()
{
TEST_EXEC=$1
Test=$1".f90"
echo
echo "################# $1 #################"
${H5TOOL_BIN} -o $TEST_EXEC $Test
if [ $? -ne 0 ]
then
echo "messed up compiling $Test"
exit 1
fi
./$TEST_EXEC
}
################## MAIN ##################
# Run tests
if [ $? -eq 0 ]
then
if (RunTest h5_crtdat &&\
rm h5_crtdat &&\
RunTest h5_rdwt &&\
rm h5_rdwt &&\
RunTest h5_crtatt &&\
rm h5_crtatt &&\
RunTest h5_crtgrp &&\
rm h5_crtgrp &&\
RunTest h5_crtgrpar &&\
rm h5_crtgrpar &&\
RunTest h5_crtgrpd &&\
rm h5_crtgrpd &&\
RunTest h5_extend &&\
rm h5_extend &&\
RunTest h5_subset &&\
rm h5_subset &&\
RunTest h5_cmprss &&\
rm h5_cmprss &&\
RunTest hyperslab &&\
rm hyperslab &&\
RunTest selectele &&\
rm selectele &&\
RunTest refobjexample &&\
rm refobjexample &&\
RunTest refregexample &&\
rm refregexample &&\
RunTest mountexample &&\
rm mountexample &&\
RunTest compound &&\
rm compound &&\
RunTest rwdset_fortran2003 &&\
rm rwdset_fortran2003 &&\
RunTest nested_derived_type &&\
rm nested_derived_type &&\
RunTest compound_fortran2003 &&\
rm compound_fortran2003 &&\
RunTest compound_complex_fortran2003 &&\
rm compound_complex_fortran2003); then
EXIT_VALUE=${EXIT_SUCCESS}
else
EXIT_VALUE=${EXIT_FAILURE}
fi
fi
# Cleanup
rm *.o
rm *.h5
echo
exit $EXIT_VALUE

@ -1,223 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# Tests for the h5fc compiler tool
# Created: Albert Cheng, 2007/3/14
#
# Modification:
#
srcdir=.
# Initializations
TESTNAME=h5fc
EXIT_SUCCESS=0
EXIT_FAILURE=1
# Where the tool is installed.
prefix="${prefix:-/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1}"
PARALLEL=no # Am I in parallel mode?
AR="ar"
RANLIB="ranlib"
if [ "$PARALLEL" = no ]; then
H5TOOL="h5fc" # The tool name
else
H5TOOL="h5pfc" # The tool name
fi
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
CMP='cmp -s'
DIFF='diff -c'
nerrors=$EXIT_SUCCESS
verbose=yes
# setup my machine information.
myos=`uname -s`
myhostnama=`uname -n`
# Generate some source files and library for tests.
suffix=f90 # source file suffix
hdf5main=${H5TOOL}_hdf5main.$suffix
hdf5main_o=${H5TOOL}_hdf5main.o
appmain=${H5TOOL}_appmain.$suffix
appmain_o=${H5TOOL}_appmain.o
prog1=${H5TOOL}_prog1.$suffix
prog1_o=${H5TOOL}_prog1.o
prog2=${H5TOOL}_prog2.$suffix
prog2_o=${H5TOOL}_prog2.o
applib=libapp${H5TOOL}.a
# short hands
# Caution: if some *.h5 files must be cleaned here, list them by names.
# Don't use the wildcard form of *.h5 as it will wipe out even *.h5 generated
# by other test programs. This will cause a racing condition error when
# parallel make (e.g., gmake -j 4) is used.
temp_SRC="$hdf5main $appmain $prog1 $prog2"
temp_OBJ=`echo $temp_SRC | sed -e "s/\.${suffix}/.o/g"`
temp_FILES="a.out $applib"
# Generate appmain:
# An application Main that calls hdf5 and application's own functions.
cat > $appmain <<EOF
PROGRAM FILEEXAMPLE
USE HDF5 ! This module contains all necessary modules
IMPLICIT NONE
CHARACTER(LEN=8), PARAMETER :: filename = "apptmp.h5" ! File name
INTEGER(HID_T) :: file_id ! File identifier
INTEGER :: error ! Error flag
CALL sub1
CALL h5open_f (error)
CALL h5fcreate_f(filename, H5F_ACC_TRUNC_F, file_id, error)
CALL h5fclose_f(file_id, error)
CALL h5close_f(error)
CALL sub2
END PROGRAM FILEEXAMPLE
EOF
# generate prog1
cat > $prog1 <<EOF
subroutine sub1
print *, "in sub1"
end
EOF
# generate prog2
cat > $prog2 <<EOF
subroutine sub2
print *, "in sub2"
end
EOF
# Generate HDF5 Main Program:
# An HDF5 sample program that calls hdf5 functions.
cat > $hdf5main <<EOF
PROGRAM FILEEXAMPLE
USE HDF5 ! This module contains all necessary modules
IMPLICIT NONE
CHARACTER(LEN=8), PARAMETER :: filename = "apptmp.h5" ! File name
INTEGER(HID_T) :: file_id ! File identifier
INTEGER :: error ! Error flag
CALL h5open_f (error)
CALL h5fcreate_f(filename, H5F_ACC_TRUNC_F, file_id, error)
CALL h5fclose_f(file_id, error)
CALL h5close_f(error)
END PROGRAM FILEEXAMPLE
EOF
# Parse option
# None
# Print a line-line message left justified in a field of 70 characters
# beginning with the word "Testing".
#
TESTING() {
SPACES=" "
echo "Testing $* $SPACES" | cut -c1-70 | tr -d '\012'
}
# Debug printing
# Change : to echo to print the debug statement
DPRINT() {
: $*
}
# Run a test and print PASS or *FAIL*. If a test fails then increment
# the `nerrors' global variable and (if $verbose is set) display the
# failed output. The actual output is not removed if $HDF5_NOCLEANUP is
# defined.
#
TOOLTEST() {
out=test_$H5TOOL_$$.out
err=test_$H5TOOL_$$.err
# Run test.
TESTING $H5TOOL $@
$H5TOOL_BIN $@ > $out 2>&1
result=$?
if [ $result = 0 ]; then
echo " PASSED"
else
echo "*FAILED*"
nerrors="`expr $nerrors + 1`"
test yes = "$verbose" && \
( echo "========== results ==========="; cat $out;
echo "===============================================") |sed 's/^/ /'
fi
# Clean up output file
if test -z "$HDF5_NOCLEANUP"; then
rm -f $out
fi
}
# Print a "SKIP" message
SKIPTEST() {
TESTING $H5TOOL $@
echo " -SKIP-"
}
##############################################################################
### T H E T E S T S ###
##############################################################################
#
# HDF5 program that calls HDF5 APIs.
echo "***"Simple Compile and Link in one step.
TOOLTEST $hdf5main
# Application program that calls HDF5 and its own functions.
TOOLTEST $appmain $prog1 $prog2
# Compile, then link.
echo "***"Compile and Link in two steps.
TOOLTEST -c $hdf5main
TOOLTEST $hdf5main_o
TOOLTEST -c $appmain $prog1 $prog2
TOOLTEST $appmain_o $prog1_o $prog2_o
# Build external library, then link with it.
echo "***"Build external library and link with it.
TOOLTEST -c $prog1 $prog2
$AR cru $applib $prog1_o $prog2_o
$RANLIB $applib
TOOLTEST $appmain $applib
TOOLTEST $appmain_o $applib
# No preprocess test since -E is not a common option for Fortran compilers.
##############################################################################
# END
##############################################################################
# Clean up file
if test -z "$HDF5_NOCLEANUP"; then
rm -f $temp_SRC $temp_OBJ $temp_FILES
fi
if test $nerrors -eq 0 ; then
echo "All $TESTNAME tests passed."
exit $EXIT_SUCCESS
else
echo "$TESTNAME tests failed with $nerrors errors."
exit $EXIT_FAILURE
fi

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

@ -1 +0,0 @@
# dummy

File diff suppressed because it is too large Load Diff

@ -1,370 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
############################################################################
## ##
## Things You May Have to Modify: ##
## ##
## If the following paths don't point to the place were HDF5 is installed ##
## on your system (i.e., you received a binary distribution or moved the ##
## files from the originally installed directory to another directory) ##
## then modify them accordingly to represent the new paths. ##
## ##
############################################################################
prefix="/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1"
exec_prefix="${prefix}"
libdir="${exec_prefix}/lib"
includedir="${prefix}/include"
fmoddir=""
HL="hl"
############################################################################
## ##
## Things You Can Modify to Override HDF5 Library Build Components: ##
## ##
## (Advanced usage - know what you're doing - you're on your own here.) ##
## The three variables below can be used to insert paths and flags in ##
## FCFLAGS, LDFLAGS, or LIBS in the h5fc compile line: ##
## $FLINKER $FCFLAGS $H5BLD_FCFLAGS $F9XSUFFIXFLAG $LDFLAGS $LIBS ##
## $fmodules $link_objs $link_args $shared_link ##
## ##
## These settings can be overridden by setting HDF5_FCFLAGS, ##
## HDF5_LDFLAGS, or HDF5_LIBS in the environment. ##
## ##
############################################################################
FCFLAGSBASE=""
LDFLAGSBASE=""
LIBSBASE=""
############################################################################
## ##
## You shouldn't have to modify anything below this line. ##
## ##
############################################################################
# Constants definitions
EXIT_SUCCESS=0
EXIT_FAILURE=1
host_os="linux-gnu"
prog_name="`basename $0`"
allargs=""
compile_args=""
link_args=""
link_objs=""
do_link="yes"
do_compile="no"
dash_o="no"
dash_c="no"
get_output_file="no"
SHOW="eval"
FCBASE="no"
FLINKERBASE="no"
# FCFLAGS and LDFLAGS are reserved for use by the script user.
# FLAGS brought from the hdf5 build are put in H5BLD_*FLAGS.
# User's FCFLAGS come after their H5BLD counterparts. User's LDFLAGS come just
# before clibpath, user's LIBS come after $link_objs and before the hdf5
# libraries in $link_args, followed by any external library paths and libraries
# from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in from the hdf5 build.
# The order of the flags is intended to give precedence to the user's flags.
H5BLD_FCFLAGS=" "
F9XMODFLAG=""
F9XSUFFIXFLAG=""
H5BLD_LDFLAGS=" -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib -Wl,-rpath,/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib"
H5BLD_LIBS="-lz -ldl -lm "
FC="${HDF5_FC:-$FCBASE}"
FLINKER="${HDF5_FLINKER:-$FLINKERBASE}"
FCFLAGS="${HDF5_FCFLAGS:-$FCFLAGSBASE}"
LDFLAGS="${HDF5_LDFLAGS:-$LDFLAGSBASE}"
LIBS="${HDF5_LIBS:-$LIBSBASE}"
# If a static library is available, the default will be to use it. If the only
# available library is shared, it will be used by default. The user can
# override either default, although choosing an unavailable library will result
# in link errors.
STATIC_AVAILABLE="yes"
if test "${STATIC_AVAILABLE}" = "yes"; then
USE_SHARED_LIB="${HDF5_USE_SHLIB:-no}"
else
USE_SHARED_LIB="${HDF5_USE_SHLIB:-yes}"
fi
usage() {
# A wonderfully informative "usage" message.
echo "usage: $prog_name [OPTIONS] <compile line>"
echo " OPTIONS:"
echo " -help This help message."
echo " -echo Show all the shell commands executed"
echo " -prefix=DIR Prefix directory to find HDF5 lib/ and include/"
echo " subdirectories [default: $prefix]"
echo " -show Show the commands without executing them"
echo " -showconfig Show the HDF5 library configuration summary"
echo " -shlib Compile with shared HDF5 libraries [default for hdf5 built"
echo " without static libraries]"
echo " -noshlib Compile with static HDF5 libraries [default for hdf5 built"
echo " with static libraries]"
echo " "
echo " <compile line> - the normal compile line options for your compiler."
echo " $prog_name uses the same compiler you used to compile"
echo " HDF5. Check with your compiler's man pages for more"
echo " information on which options are needed."
echo " "
echo " You can override the compiler and linker to compile your program by"
echo " setting the following environment variables accordingly:"
echo " "
echo " HDF5_FC - use a different Fortran 90 or 95 compiler"
echo " HDF5_FLINKER - use a different linker"
echo " HDF5_USE_SHLIB=[yes|no] - use shared or static version of the HDF5 library"
echo " [default: no except when built with only"
echo " shared libraries]"
echo " "
echo " You can also add or change paths and flags to the compile line using"
echo " the following environment variables or by assigning them to their counterparts"
echo " in the 'Things You Can Modify to Override...'" section of $prog_name
echo " "
echo " Variable Current value to be replaced"
echo " HDF5_FCFLAGS \"$CFLAGSBASE\""
echo " HDF5_LDFLAGS \"$LDFLAGSBASE\""
echo " HDF5_LIBS \"$LIBSBASE\""
echo " "
echo " Note that adding library paths to HDF5_LDFLAGS where another hdf5 version"
echo " is located may link your program with that other hdf5 library version."
echo " "
exit $EXIT_FAILURE
}
# Show the configuration summary of the library recorded in the
# libhdf5.settings file reside in the lib directory.
showconfigure()
{
cat ${libdir}/libhdf5.settings
status=$?
}
# Main
status=$EXIT_SUCCESS
if test "$#" = "0"; then
# No parameters specified, issue usage statement and exit.
usage
fi
for arg in $@ ; do
if test "x$get_output_file" = "xyes"; then
link_args="$link_args $arg"
output_file="$arg"
get_output_file="no"
continue
fi
case "$arg" in
-c)
allargs="$allargs $arg"
compile_args="$compile_args $arg"
if test "x$do_link" = "xyes" -a -n "$output_file"; then
compile_args="$compile_args -o $output_file"
fi
do_link="no"
dash_c="yes"
;;
-o)
allargs="$allargs $arg"
dash_o="yes"
if test "x$dash_c" = "xyes"; then
compile_args="$compile_args $arg"
else
link_args="$link_args $arg"
do_link="yes"
get_output_file="yes"
fi
;;
-E|-M|-MT)
allargs="$allargs $arg"
compile_args="$compile_args $arg"
dash_c="yes"
do_link="no"
;;
-l*)
link_args="$link_args $arg"
allargs="$allargs $arg"
;;
-prefix=*)
prefix="`expr "$arg" : '-prefix=\(.*\)'`"
;;
-echo)
set -x
;;
-show)
SHOW="echo"
;;
-showconfig)
showconfigure
exit $status
;;
-shlib)
USE_SHARED_LIB="yes"
;;
-noshlib)
USE_SHARED_LIB="no"
;;
-help)
usage
;;
*\"*)
qarg="'"$arg"'"
allargs="$allargs $qarg"
;;
*\'*)
qarg='\"'"$arg"'\"'
allargs="$allargs $qarg"
;;
*) allargs="$allargs $arg"
if [ -s "$arg" ] ; then
ext=`expr "$arg" : '.*\(\..*\)'`
if [ "$ext" = ".f" -o "$ext" = ".F" -o \
"$ext" = ".for" -o "$ext" = ".FOR" -o \
"$ext" = ".ftn" -o "$ext" = ".FTN" -o \
"$ext" = ".f90" -o "$ext" = ".F90" -o \
"$ext" = ".f95" -o "$ext" = ".F95" -o \
"$ext" = ".f03" -o "$ext" = ".F03" -o \
"$ext" = ".f08" -o "$ext" = ".F08" ] ; then
do_compile="yes"
compile_args="$compile_args $arg"
fname=`basename $arg $ext`
link_objs="$link_objs $fname.o"
elif [ "$ext" = ".o" ] ; then
if test "x$dash_c" = "xyes" ; then
compile_args="$compile_args $arg"
else
do_link="yes"
link_objs="$link_objs $arg"
fi
elif test "x$ext" = "x.a"; then
# This is an archive that we're linking in
libraries=" $libraries $arg "
else
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
else
compile_args="$compile_args $arg"
link_args="$link_args $arg"
fi
;;
esac
done
# It's possible that there isn't a modules flag...
fmodules=""
if test -n "$F9XMODFLAG"; then
fmodules="${F9XMODFLAG}${fmoddir}"
fi
if test "x$do_compile" = "xyes"; then
if test "x$dash_c" != "xyes"; then
compile_args="-c $compile_args"
fi
$SHOW $FC $H5BLD_FCFLAGS $FCFLAGS ${F9XSUFFIXFLAG} ${fmodules} $compile_args
status=$?
if test "$status" != "0"; then
exit $status
fi
fi
if test "x$do_link" = "xyes"; then
shared_link=""
# conditionally link with the hl library
if test "X$HL" = "Xhl"; then
libraries=" $libraries -lhdf5hl_fortran -lhdf5_hl -lhdf5_fortran -lhdf5 "
else
libraries=" $libraries -lhdf5_fortran -lhdf5 "
fi
link_args="$link_args -L${libdir}"
case "$host_os" in
linux*) flag="-rpath -Wl," ;;
hpux*) flag="-Wl,+b -Wl," ;;
freebsd*|solaris*) flag="-R" ;;
rs6000*|aix*) flag="-L" ;;
sgi) flag="-rpath " ;;
*) flag="" ;;
esac
if test -n "$flag"; then
shared_link="${flag}${libdir}"
fi
if test "x$USE_SHARED_LIB" != "xyes"; then
# The hdf5 library "-l" flags are in here already. This is a static
# compile though, so change it to the static versions (.a) of the libraries.
new_libraries=""
for lib in $libraries; do
case "$lib" in
-lhdf5)
new_libraries="$new_libraries ${libdir}/libhdf5.a"
;;
-lhdf5_hl)
new_libraries="$new_libraries ${libdir}/libhdf5_hl.a"
;;
-lhdf5_fortran)
new_libraries="$new_libraries ${libdir}/libhdf5_fortran.a"
;;
-lhdf5hl_fortran)
new_libraries="$new_libraries ${libdir}/libhdf5hl_fortran.a"
;;
*)
new_libraries="$new_libraries $lib"
;;
esac
done
libraries="$new_libraries"
fi
for lib in $libraries; do
if echo $link_args | grep " $lib " > /dev/null ||
echo $link_args | grep " $lib$" > /dev/null; then
:
else
link_args="$link_args $lib "
fi
done
# The LIBS are just a bunch of -l* libraries necessary for the HDF5
# module. It's okay if they're included twice in the compile line.
link_args="$link_args $H5BLD_LDFLAGS $H5BLD_LIBS"
# User's FCFLAGS come after their H5BLD counterparts. User's LDFLAGS come just
# before clibpath, user's LIBS come after $link_objs and before the hdf5
# libraries in $link_args, followed by any external library paths and libraries
# from AM_LDFLAGS, LDFLAGS, AM_LIBS or LIBS carried in from the hdf5 build.
# The order of the flags is intended to give precedence to the user's flags.
$SHOW $FLINKER $FCFLAGS $H5BLD_FCFLAGS $F9XSUFFIXFLAG $LDFLAGS $fmodules $link_objs $LIBS $link_args $shared_link
status=$?
fi
exit $status

@ -1 +0,0 @@
# dummy

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -1,102 +0,0 @@
#! /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://www.hdfgroup.org/licenses.
# If you do not have access to either file, you may request a copy from
# help@hdfgroup.org.
#
# This file: run-hlc++-ex.sh
# Written by: Larry Knox
# Date: May 11, 2010
#
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# #
# This script will compile and run the c++ examples from source files #
# installed in ${prefix}/share/hdf5_examples/hl/c++ using h5c++. The #
# order for running programs with RunTest in the MAIN section below is taken #
# from the Makefile. The order is important since some of the test programs #
# use data files created by earlier test programs. Any future additions should #
# be placed accordingly. #
# #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Initializations
EXIT_SUCCESS=0
EXIT_FAILURE=1
#
# Try to derive the path to the installation $prefix established
# by ./configure relative to the examples directory established by
# ./configure. If successful, set `prefix_relto_examplesdir` to the
# relative path. Otherwise, set `prefix_relto_examplesdir` to the
# absolute installation $prefix.
#
# This script uses the value of `prefix` in the user's environment, if
# it is set, below. The content of $() is evaluated in a sub-shell, so
# if `prefix` is set in the user's environment, the shell statements in
# $() won't clobbered it.
#
prefix_relto_examplesdir=$(
prefix=/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1
examplesdir=${prefix}/share/hdf5_examples
if [ ${examplesdir##${prefix}/} != ${examplesdir} ]; then
echo $(echo ${examplesdir##${prefix}/} | \
sed 's,[^/][^/]*,..,g')
else
echo $prefix
fi
)
# Where the tool is installed.
# default is relative path to installed location of the tools
prefix="${prefix:-../../${prefix_relto_examplesdir}}"
AR="ar"
RANLIB="ranlib"
H5TOOL="h5c++" # The tool name
H5TOOL_BIN="${prefix}/bin/${H5TOOL}" # The path of the tool binary
#### Run test ####
RunTest()
{
TEST_EXEC=$1
Test=$1".cpp"
echo
echo "################# $1 #################"
${H5TOOL_BIN} -o $TEST_EXEC $Test
if [ $? -ne 0 ]
then
echo "messed up compiling $Test"
exit 1
fi
./$TEST_EXEC
}
################## MAIN ##################
# Run tests
if [ $? -eq 0 ]
then
if (RunTest ptExampleFL &&\
rm ptExampleFL); then
EXIT_VALUE=${EXIT_SUCCESS}
else
EXIT_VALUE=${EXIT_FAILURE}
fi
fi
# Cleanup
rm *.o
rm *.h5
echo
exit $EXIT_VALUE

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save