Project

General

Profile

How to run a demo artdaq system on dsfr6-wh14

To run a test of the core artdaq functionality, you can use the following steps:

  1. log into your account on dsfr6-wh14
  2. source /products/setup
  3. export FHICL_FILE_PATH=.
  4. mkdir work
  5. cd work
  6. create a "daqrate_gen_test.fcl" file that contains the configuration shown below
  7. setup artdaq v0_02_07 -q e2:prof
  8. daqrate 1 1 10 101 -- -c daqrate_gen_test.fcl

daqrate_gen_test.fcl contents:

BEGIN_PROLOG
payload_size: 524288
det:
{
  generator: GenericFragmentSimulator
  payload_size: @local::payload_size
  run_number: 101
  fragments_per_event: 1
  events_to_generate: 2500
}
END_PROLOG

daq:
{
  use_art: false
  max_payload_size: @local::payload_size
  detectors: [ det0, det1, det2, det3, det4 ]
  fragments_per_source: 2500
  det0: @local::det
  det1: @local::det
  det2: @local::det
  det3: @local::det
  det4: @local::det
}

det0.starting_fragment_id: 0
det1.starting_fragment_id: 1
det2.starting_fragment_id: 2
det3.starting_fragment_id: 3
det4.starting_fragment_id: 4

The MPI program that is used in this test is builder.cc, which can be viewed here. And, the daqrate script can be viewed here.