On AL9 run dnf install python3-devel krb5-devel
. Kerberos is needed for the SSH connection to the CRS DAQ server.
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 .
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
See morcs.toml
.
morcs start-run
morcs stop-run
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
).