Project

General

Profile

EPICS and related tools on Mu2e DAQ computers

See also Control System Studio (CSS) on Mu2e DAQ computers if you want to run CSS displays.

Simple case

EPICS v3_15_2 is available as a UPS product, and can be set up from ups using

 . /mu2e/ups/setup
 setup epics v3_15_2 -qe9  #v3_15_4 -qe10 (for otsdaq dcs)

What if I want to cross-compile for the BeagleBone Black? Or if I want synApps?

A version compiled for both linux-x86_64 and linux-arm is available too. In addition, a UPS product for the synApps package from Advance Photon Source is available. As of 2016-02-15 these are only in /home/gahs/ups, but this should be fixed soon. In the meantime, it can be set up as follows:

 . /mu2e/ups/setup
 export PRODUCTS=/home/gahs/ups:/mu2e/ups
 setup epics v3_15_2_mu2e_1 -qe9
 setup synApps v5_8

For installation on a BeagleBone Black, you can just copy the /home/gahs/ups/epics and /home/gahs/ups/synApps directories to the BBB, and do something like this (bash commands shown):

EPICS_BASE=$HOME/epics/v3_15_2_mu2e_1/Linux64bit+2.6-2.12-e9
EPICS_ARCH=linux-arm
SYNAPPS_DIR=$HOME/synApps/v5_8
LD_LIBRARY_PATH=$EPICS_BASE/lib/$EPICS_ARCH:$SYNAPPS_DIR/asyn-4-26/lib/$EPICS_ARCH:$SYNAPPS_DIR/calc-3-4-2-1/lib/$EPICS_ARCH:$SYNAPPS_DIR/stream-2-6a/lib/$EPICS_ARCH:$HOME/rackmonbox/lib/$EPICS_ARCH
PATH=$PATH:$EPICS_BASE/bin/$EPICS_ARCH
export EPICS_BASE EPICS_ARCH SYNAPPS_DIR LD_LIBRARY_PATH PATH

See also