In the last days Jamie installed the patched kernel to run the real time system (RTS) on the new CyMAC. Today (with Jamie's remote advices) I managed to get a IOP (input output process) model compiled and running. There is still no timing input (to be fixed at the beginning of the netx week, I'm presently missing a connector which is on order).
Running the x1iop model gives:
controls@cymac3:/opt/rtcds/tst/x1/scripts$ ./startx1iop
x1iopepics: no process found
Number of ADC cards on bus = 1
Number of DAC16 cards on bus = 1
Number of DAC18 cards on bus = 0
Specified filename iocX1.log does not exist.
x1iopepics X1 IOC Server started
controls@cymac3:/opt/rtcds/tst/x1/scripts$ awg_server Version $Id: awg_server.c 2917 2012-05-22 22:33:39Z alexander.ivanov@LIGO.ORG $
channel_client Version $Id: gdschannel.c 4170 2016-04-05 21:24:46Z jonathan.hanks@LIGO.ORG $
testpoint_server Version $Id: testpoint_server.c 3303 2013-03-05 23:33:45Z alexander.ivanov@LIGO.ORG $
/opt/rtcds/tst/x1/target/gds/bin/awgtpman -s x1iop -4 -l /opt/rtcds/tst/x1/target/gds/awgtpman_logs/x1iop.log started on host cymac3 hostid ffffffffd783d97b
awgtpman Version $Id: awgtpman.c 4170 2016-04-05 21:24:46Z jonathan.hanks@LIGO.ORG $
which seems reasonable. Also, the GDT TP medm screen shows something running:
Here's what I had to do to get the models to compile and run:
1) install MATLAB and add to startup.m the following line
addpath(genpath('/opt/rtcds/rtscore/release/src/epics/simLink'))
2) copied from cymac2 the file /opt/rtcds/rtcds-user-env.sh and changed the content to match the right folders
3) installed readline library which was missing: apt-get install
sudo apt-get install libreadline-dev
4) installed linux headers sudo apt-get install linux-headers-3.2.0-rts-amd64
5) created symbolic link to linux headers:
sudo ln -s /usr/src/linux-headers-3.2.0-rts-common /usr/src/linux
6) changed host name to cymac3
sudo vi hostname
7) created symbolic link to lspci
sudo ln -s /usr/bin/lspci /usr/sbin/lspci
8) created a symbolic link to awgtpman
ln -s /usr/bin/awgtpman /opt/rtcds/tst/x1/target/gds/bin/awgtpman
|