Files
sf_daq_buffer/jf-live-writer

jf-live-writer

The jf-live-writer is packaged as a Docker container for development and testing.

Using the docker container

The easiest way to build and test the jf-live-writer is to use the provided docker container. You need to start it from the project root:

docker build -f jf-live-writer/debug.Dockerfile -t jf-live-writer .

(Running this command from the project root is mandatory as the entire project folder needs to be part of the build context.)

Build on your local machine

Building

In order to build this executable you need to specify the cmake variable

cmake3 -DBUILD_JF_LIVE_WRITER=ON 

The project will not build if you do not have installed the PHDF5 library. Please follow instructions below on how to do that manually.

Install PHDF5

wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.12/hdf5-1.12.0/src/hdf5-1.12.0.tar.gz
tar -xzf hdf5-1.12.0.tar.gz
cd hdf5-1.10.7
./configure --enable-parallel 
make install
sudo ln -v -s `pwd`/hdf5/lib/* /usr/lib64/
sudo ln -v -s `pwd`/hdf5/include/* /usr/include/