diff options
author | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-03-04 19:36:39 (GMT) |
---|---|---|
committer | vchoi <vchoi@jelly.ad.hdfgroup.org> | 2021-03-04 19:36:39 (GMT) |
commit | b0ce859b2c2f3862df5c00c7c84f8abd777f3a62 (patch) | |
tree | 2eeebc211027f8510454fb72d7d4e30c4306e8d2 /examples/README | |
parent | 0e61a9abf6954cb734f37b261204d04aff0279c3 (diff) | |
download | hdf5-b0ce859b2c2f3862df5c00c7c84f8abd777f3a62.zip hdf5-b0ce859b2c2f3862df5c00c7c84f8abd777f3a62.tar.gz hdf5-b0ce859b2c2f3862df5c00c7c84f8abd777f3a62.tar.bz2 |
Add the two VFD SWMR demo programs to "examples" directory.
Provide instructions on compiling and running the demos.
Diffstat (limited to 'examples/README')
-rw-r--r-- | examples/README | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/examples/README b/examples/README index e0a3364..4ab596d 100644 --- a/examples/README +++ b/examples/README @@ -15,3 +15,30 @@ 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. + +*************************************************************************************** +Instruction for compiling and running the two VFD SWMR demo programs in this directory: + +credel.c: +========= +To compile: + h5cc -o credel credel.c nbcompat.c + +To run: + ./credel -v (on one window) + h5ls --vfd=swmr --poll=100 -r -d ./credel.h5 (on another window) + +vfd_swmr_gaussians.c +==================== +To compile: + h5cc -o gaussians ./gaussians.c ./nbcompat.c -lcurses +To link as writer: + ln -s gaussians wgaussians +To link as reader: + ln -s gaussians rgaussians + +To run standalone: + ./gaussians +To run as writer and reader: + ./wgaussians (on one window) + ./rgaussians (on another window) |