Skip to content

Dev on SLAC DAQ Server

Tom Eichlersmith edited this page Dec 3, 2025 · 3 revisions

The DAQ server is accessible at srv-esa-nw01 from SLAC SDF.

Prerequisites

  • SLAC SDF account with SSH access (you can ssh s3dflogin.slac.stanford.edu)
  • You need to be in the ldmx computing group. If ldmx is not listed in the output of groups when you SSH onto SLAC SDF. You need to ask around to find out how to get added to this group.

Only on first connection

The DAQ Server is not connected to the WAN (Wide Area Network - external internet). You can put the following in my ~/.ssh/config file so that you can access GitHub from the DAQ server.

# proxy jump for git commands on esa daq server
Host github.com
  ProxyJump rdsrv401

Test that this functions by trying to SSH to github from the DAQ server.

ssh -T git@github.com

Note

We're probably going to need to do something similar if we want to get conda builds functional again.

Create an alternate "home" only on the SLAC DAQ server for all the stuff that is DAQ related.

cd /u1
mkdir ${USER}
cd ${USER}
git clone git@github.com:LDMX-Software/pflib.git

Beginning of Every Connection

Go to the alternate home and initialize the environment.

cd /u1/${USER}
source /u1/ldmx/miniforge3/etc/profile.d/conda.sh
conda activate ldmx-env

Warning

The ldmx-env may become ldmx-env-base for pflib developers soon.

Configuring/Building/Running

No just recipes written yet (although I'm open to them)

cd /u1/${USER}/pflib
cmake -B build -S .
cmake --build build
./build/pftool config/pftool/hcal-backplane-esa.yaml # or ecal-smm-esa-lN.yml for ecal layers

Clone this wiki locally