Skip to content
Scott Pakin edited this page Mar 8, 2018 · 9 revisions

Name

bfbin2hdf5 - convert Byfl output to an HDF5 data file

Synopsis

bfbin2hdf5 input_file.byfl [output_file.h5]

Description

By default, applications instrumented with Byfl write measurement data to a binary .byfl file. bfbin2hdf5 converts such files to HDF5 data files. These can be viewed with the HDFView GUI or processed with various command-line tools.

Options

bfbin2hdf5 has no command-line options. The program accepts the name of a .byfl file to read and a HDF5 data file to create. If not specified, the name of the data file will be the same as that of the input file but with .byfl replaced with .h5. (If the file name does not end in .byfl then .h5 will be appended to the file name.)

Examples

The simplest usage is just

$ bfbin2hdf5 myprog.byfl

which produces myprog.h5.

If the .byfl file is expected to be used only to produce the HDF5 data file and then deleted, one can save time and disk space by writing Byfl binary output to a named pipe and running bfbin2hdf5 on that named pipe:

$ mkfifo myprog.pipe
$ bfbin2hdf5 myprog.pipe myprog.h5 &
$ env BF_BINOUT=myprog.pipe ./myprog
$ rm myprog.pipe

See also

bfbin2cgrind(1), bfbin2csv(1), bfbin2hpctk(1), bfbin2sqlite3(1), bfbin2xmlss(1), bf-clang(1), bf-clang++(1), bf-flang(1), the Byfl home page, the HDF5 home page

Author

Scott Pakin, [email protected]

Clone this wiki locally