Skip to content

Setup drunc with DUNE DAQ

Pawel Plesniak edited this page Jun 24, 2024 · 1 revision

Setting up a software area

You need to set up dunedaq with a relatively new nightly (post v4.1.0), you can use the instructions here or loosely follow these:

source /cvmfs/dunedaq.opensciencegrid.org/setup_dunedaq.sh
setup_dbt latest

dbt-create -c -n <some nightly> <some directory>

cd <some directory>/sourcecode
git clone # any DUNE-DAQ package needed

cd ..

dbt-build
dbt-workarea-env

Optionally installing drunc from its sources

A couple of reasons for doing this:

  • You want the latest and greatest drunc,
  • You want to modify drunc.

You will need to cd the directory that is denoted <some directory> above and install drunc and druncschema:

git clone git@github.com:DUNE-DAQ/druncschema
cd druncschema
pip install -e .
cd ..

git clone git@github.com:DUNE-DAQ/drunc
cd drunc
pip install -e .
cd ..

Optionally starting a Kafka instance

Reasons for doing this:

  • You are not at EHN1.

You need to set up a Kafka instance and do modifications to the configurations, see how to do that here.

What next?

Head to the running instructions to start drunc.