From b68ea062cf5cda7896ab0176e9b6a2642014b9bf Mon Sep 17 00:00:00 2001 From: aferrero2707 Date: Mon, 14 Oct 2024 13:45:50 +0200 Subject: [PATCH] [ZDC] allow running local and remote QC tasks from a single configuration file (#667) Two new JIT workflows are added, for FLP and remote QC node, which allow to run the local and remote QC tasks from a single configuration file --- jit/zdc-full-qcmn-local | 1 + jit/zdc-full-qcmn-remote | 1 + workflows/readout-dataflow.yaml | 2 ++ 3 files changed, 4 insertions(+) create mode 100644 jit/zdc-full-qcmn-local create mode 100644 jit/zdc-full-qcmn-remote diff --git a/jit/zdc-full-qcmn-local b/jit/zdc-full-qcmn-local new file mode 100644 index 000000000..28dbd3003 --- /dev/null +++ b/jit/zdc-full-qcmn-local @@ -0,0 +1 @@ +o2-dpl-raw-proxy -b --session default --dataspec 'x:ZDC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --inject-missing-data --readout-proxy '--channel-config "name=readout-proxy,type=pull,method=connect,address=ipc:///tmp/stf-builder-dpl-pipe-0,transport=shmem,rateLogging=10"' | o2-dpl-output-proxy --environment DPL_OUTPUT_PROXY_ORDERED=1 -b --session default --dataspec 'x:ZDC/RAWDATA;dd:FLP/DISTSUBTIMEFRAME/0' --dpl-output-proxy '--channel-config "name=downstream,type=push,method=bind,address=ipc:///tmp/stf-pipe-0,rateLogging=10,transport=shmem"' | o2-qc -b --session default --config 'apricot://{{ apricot_endpoint }}/o2/components/qc/ANY/any/zdc-full-qcmn?run_type={{ run_type }}&beam_type={{ pdp_beam_type }}' --local --host flp diff --git a/jit/zdc-full-qcmn-remote b/jit/zdc-full-qcmn-remote new file mode 100644 index 000000000..ab090be8a --- /dev/null +++ b/jit/zdc-full-qcmn-remote @@ -0,0 +1 @@ +o2-qc --config 'apricot://{{ apricot_endpoint }}/o2/components/qc/ANY/any/zdc-full-qcmn?run_type={{ run_type }}&beam_type={{ pdp_beam_type }}' --remote --shm-metadata-msg-size {{ qc_shm_metadata_msg_size }} -b diff --git a/workflows/readout-dataflow.yaml b/workflows/readout-dataflow.yaml index f7ea09fe9..7cb841f12 100755 --- a/workflows/readout-dataflow.yaml +++ b/workflows/readout-dataflow.yaml @@ -843,6 +843,7 @@ defaults: - none - minimal-dpl - zdc-raw-qc + - zdc-full-qcmn-local - qc-daq - qcmn-daq-local zdc_qc_remote_workflow: !public @@ -855,6 +856,7 @@ defaults: values: - none - zdc-rec-epn + - zdc-full-qcmn-remote - qcmn-daq-remote visibleif: $$qc_remote_enabled === "true" zdc_dcs_sor_parameters: !public