I copy here parts of an email from Jamie with instructions on how to run the RTS on the cymac:
I had to change the site/ifo to be "caltech/x3" to avoid EPICS
collisions with other cymacs. You'll need to update your models to
reflect this change (change names, site/ifo parameters in the model,
etc.). So for instance, change x1iop -> x3iop, and update the params
block inside.
daqd is installed and running, although I haven't really stress tested
it yet (no models/channels/etc). It's running under systemd, which is
the Debian service management system. You can control daqd with the
following commands:
# systemctl restart daqd
# systemctl stop daqd
# systemctl start daqd
# systemctl status daqd
# journalctl --unit=daqd
controls@cymac3:~ 0$ systemctl status daqd
● daqd.service - Advanced LIGO RTS daqd service
Loaded: loaded (/etc/systemd/system/daqd.service; enabled)
Active: active (running) since Sat 2016-07-09 11:22:38 PDT; 23h ago
Main PID: 20827 (daqd-standiop)
CGroup: /system.slice/daqd.service
└─20827 /usr/bin/daqd-standiop -c /etc/advligorts/daqdrc
controls@cymac3:~ 0$ sudo journalctl --unit=daqd
...
Remember to restart daqd ("systemctl restart daqd") after you add/change
models.
I've gotten all the RCG components working, but not without some small
kinks. The RCG currently expects a specific EPICS install, different
than the system install we're using right now. I've hacked a way to
make this work seemlessly for model builds, but it requires sourcing the
following file before *starting* models:
/opt/rtapps/epics/etc/epics-user-env.sh
So in the mean time, you can start/stop models via the following:
$ . /opt/rtapps/epics/etc/epics-user-env.sh
$ /opt/rtcds/caltech/x3/scripts/startx1iop
|