Skip to content

TDAQ Partition

How to setup environment

alias cmsetup='source /cvmfs/atlas.cern.ch/repo/sw/tdaq/tools/cmake_tdaq/bin/cm_setup.sh'
cmsetup

How to create partition

Partition can be created by running partition maker

pm_part_hlt.py
By default the part_hlt_<user>.data.xml file should be generated for the partition name part_hlt_<user>.

merge partition with initial partition and save output to part_hlt_<user>_merged.data.xml

oks_merge -o part_hlt_${USER}_merged.data.xml -s schema.data.xml part_hlt_${USER}.data.xml

run database editor:

dbe -f part_hlt_${USER}_merged.data.xml

  • In Computer section modify full host name <hostname>.<domainname> to short one <hostname>
  • in Partition section add in initial the default host to <hostname>.

export TDAQ_IPC_INIT_REF and switch off token check:

export TDAQ_IPC_INIT_REF=file:./ipc.ref
export TDAQ_TOKEN_CHECK=0

How to run partition

to run partition:

setup_daq part_hlt_${USER}_merged.data.xml part_hlt_${USER}

If everything runs properly, the following output should appear

TDAQ SW Release: tdaq-11-02-01 patch level: 0
Database file: /data/ITk/TDAQ/part_hlt_orion_merged.data.xml
Checking the consistency of the database ... OK
13:41:16
TDAQ_PARTITION: part_hlt_orion
13:41:16
Checking initial partition... OK!
13:41:16
TDAQ_DB_DATA: /data/ITk/TDAQ/part_hlt_orion_merged.data.xml
Getting the part_hlt_orion Partition environment from the Database ... OK
TDAQ_LOGS_PATH: /tmp/part_hlt_orion
13:41:16
---> Starting all the PMGs for partition part_hlt_orion (60 seconds timeout...)
13:41:16
13:41:20
Done!
RootController already running in partition part_hlt_orion.
Starting IGUI for partition part_hlt_orion (log file /tmp/part_hlt_orion/igui_1711885280.out).
Please wait for a window to appear on your screen...

setup_daq script exiting

By default Run Control GUI will start in Display mode. To take control over partition, in Access Control menu switch from Display to Control.

to list IPCs:

ipc_ls