hdf5/examples
Scot Breitenfeld 3a3501df2d
h5 compiler wrappers now pass all arguments passed to it to the compile line (#3954)
* The issue was that the "allargs" variable was not being used in the final command of the compiler wrapper. Any entries containing an escaped quote (\", \') or other non-matching argument (*) would not be passed to the compile line. I have fixed this problem by ensuring all arguments passed to the compiler wrapper are now included in the compile line.

* added testing for compiler wrappers
2024-01-30 12:20:58 -06:00
..
Attributes.txt
CMakeLists.txt Remove examples that have been moved to HDF5Examples folder (#3917) 2024-01-03 14:17:46 -06:00
CMakeTests.cmake Remove examples that have been moved to HDF5Examples folder (#3917) 2024-01-03 14:17:46 -06: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 Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -07:00
h5_compound.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_crtatt.c Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -07:00
h5_crtdat.c Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -07:00
h5_crtgrp.c Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -07:00
h5_crtgrpar.c Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -07:00
h5_crtgrpd.c Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -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 Many clang -Wextra-semi-stmt fixes (#2537) 2023-06-15 21:49:02 -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 Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -07:00
h5_group.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_interm_group.c Remove useless define TRUE/FALSE statements. (#3604) 2023-09-27 09:57:37 -05:00
h5_mount.c Update copyright headers (#2184) 2022-11-01 16:02:27 -05:00
h5_rdwt.c Many fixes to various compiler warnings (#3124) 2023-06-18 22:13:38 -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
h5_ref_extern.c
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 Remove examples that have been moved to HDF5Examples folder (#3917) 2024-01-03 14:17:46 -06:00
README
run-all-ex.sh
run-c-ex.sh.in Remove examples that have been moved to HDF5Examples folder (#3917) 2024-01-03 14:17:46 -06:00
testh5cc.sh.in h5 compiler wrappers now pass all arguments passed to it to the compile line (#3954) 2024-01-30 12:20:58 -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.