hdf5/examples
Larry Knox 5b7be284bc
Sync develop branch changes March 4 - 6 to hdf5_1_14 branch (#4121)
* Do not enable szip for sanitizer runs (#4057)

* Add note to H5Tset_fields about needing to set datatype precision first (#4059)

* Offset of a floating-point type also needs to be accounted for

* Clarify ordering of H5Tset_precision and H5Tset_fields

* Fix issue where H5Tset_fields does not account for datatype offsets (#4061)

H5Tset_fields did not account for any offset in a floating-point datatype,
causing it to fail when a datatype's precision is correctly set such that
it doesn't include the offset bits.

* Ignore UserPresets and Use only C compiler for sanitizers (#4066)

* Remove user presets file

* Only use C compiler for sanitzers

* Rename incorrectly named option (#4067)

* Rename incorrectly named option

* Restore the correct uses of USING_MEMCHECKER

* Update release note

* Fix a memory leak in the cmpd_dset test (#4071)

This was due to not freeing a test buffer. It was not a core
library memory leak.

* Fix uninitialized bytes in cmpd_dset test (#4072)

Compound fill values were set to the integer -1, causing valgrind
to flag 'uninitialized bytes' errors.

This is just a problem with the cmpd_dset test and not a core
library problem.

* Update INSTALL files (#4052)

* Add NEWSLETTER and merge abi reports and add sha256sums (#4055)

* Fix uninitialized bytes in selection I/O test (#4073)

This was due to a complex type fill value being set to -1 instead
of a proper complex value. This was a test problem and not a core
library issue.

* fix path for S3 build path in CI (#4076)

* Correct paths for 1.14 and add lines missing from release_docs/INSTALL_CMake.txt.

---------

Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
Co-authored-by: jhendersonHDF <jhenderson@hdfgroup.org>
Co-authored-by: Dana Robinson <43805+derobins@users.noreply.github.com>
2024-03-13 05:35:04 -07:00
..
Attributes.txt Trim trailing whitespace 2020-04-20 18:12:00 -05:00
CMakeLists.txt Merge examples and workflows from develop (#3918) 2024-01-03 11:23:42 -06:00
CMakeTests.cmake Sync develop branch changes March 4 - 6 to hdf5_1_14 branch (#4121) 2024-03-13 05:35:04 -07:00
h5_attribute.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_chunk_read.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_cmprss.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_compound.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_crtatt.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_crtdat.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_crtgrp.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_crtgrpar.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_crtgrpd.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_debug_trace.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_drivers.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_dtransform.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_elink_unix2win.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_extend_write.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_extend.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_extlink.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_group.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_interm_group.c 1.14 sync with develop (#3660) 2023-10-12 11:32:23 -05:00
h5_mount.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_rdwt.c Normalize examples w/ develop (#3282) 2023-07-27 10:50:43 -07:00
h5_read.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_ref2reg_deprec.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_ref_compat.c Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341) 2021-02-22 11:37:12 -06:00
h5_ref_extern.c Fixed all -Wincompatible-pointer-types-discards-qualifiers warnings (#341) 2021-02-22 11:37:12 -06:00
h5_reference_deprec.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_select.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_shared_mesg.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_subset.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_write.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
Makefile.am Merge examples and workflows from develop (#3918) 2024-01-03 11:23:42 -06:00
README
run-all-ex.sh Update license url part2 (#333) 2021-02-17 08:52:36 -06:00
run-c-ex.sh.in Merge examples and workflows from develop (#3918) 2024-01-03 11:23:42 -06:00
testh5cc.sh.in h5 compiler wrappers now pass all arguments passed to it to the compile line (#3954) 2024-02-14 15:35:38 -06:00

                               HDF5 Examples

This directory contains example programs for the installed APIs and scripts to 
compile and run them.  Examples in the c and hl/c subdirectories are always 
installed, and those in fortran, hl/fortran, c++ and hl/c++ will be installed 
when fortran or c++ are enabled.

Running the run-all-ex.sh script in this directory will run the scripts and in 
turn the examples in all the subdirectories where examples are installed.  The 
scripts can also be run individually.  The appropriate compile scripts in the 
bin directory for this install will be used by default to compile and link the 
example programs.  Note that h5redeploy must be run if these binaries are 
copied or extracted in a directory other than the one where they were initially 
installed.  Compile scripts from other locations can be used by setting an 
environment variable prefix to the path of the directory containing the bin 
directory with the compile scripts h5cc, h5fc, etc.  For example, export 
prefix=/usr/local/hdf5 to use h5cc, h5fc, etc. in /usr/local/hdf5/bin.