Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.01 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.01 KB

Mx2x2 Overall Run Control Software

Requirements

On AL9 run dnf install python3-devel krb5-devel. Kerberos is needed for the SSH connection to the CRS DAQ server.

Installing

Do this on e.g. acd-daq04 as the acdaq user.

git clone --recurse-submodules https://github.com/lbl-neutrino/MORCS.git
cd MORCS
python -m venv morcs.venv
source morcs.venv/bin/activate
pip install --upgrade pip setuptools wheel
pip install -e .

Loading

source /path/to/MORCS/morcs.venv/bin/activate

It may be necessary to set up a pair of SSH tunnels to the MINERvA DAQ, e.g.:

ssh -Nf -L 1090:localhost:1090 -R 9998:localhost:9998 acd-mnv01

Configuring

See morcs.toml.

Starting and stopping a run

morcs start-run
morcs stop-run

Run database

Run information is stored in morcs.sqlite. Currently only the run number, start time, and end time are stored. Run numbers are generated automatically, starting from 1 (or the min_run specified in morcs.toml).