Setup CDS software on Workstations

  1. change controls UID to 1001, and controls GID to 1001 because all of the CDS files owned by controls account with UID=1001 and GID=1001. see https://awiki.ligo-wa.caltech.edu/aLIGO/CdsUbuntuDesktopBuild

  2. sudo chown 1001 /frames
    sudo chown -R 1001:1001 /frames/*
    sudo chown 1001 /opt
    sudo chown 1001 /opt/apps
    sudo chown 1001 /opt/rtcds
    sudo chown -R 1001:1001 /opt/apps/*
    sudo chown -R 1001:1001 /opt/rtcds/*
  3. sudo apt-get install tcsh
  4. change default shell to tcsh
  5. sudo apt-get install g++
  6. Install Matlab with simulink at /opt/apps/linux64/matlab
  7. install NFS client as

    sudo apt-get install nfs-common
  8. add in /etc/fstab

    standalone:/opt/rtcds   /opt/rtcds      nfs     rw,bg,soft       0       0
    standalone:/opt/rtapps  /opt/rtapps     nfs     rw,bg,soft       0       0
    standalone:/opt/cdscfg  /opt/cdscfg     nfs     rw,bg,soft       0       0
  9. add in /etc/hosts

    131.215.113.100 standalone
    131.215.113.110 desktop1
  10. sudo reboot 


EPICS installation

fftw installation

grace installation

dataviewer compilation

The dataviewer package is now available with the advLigoRTS repository, as it has to be built against the frame-builder libraries. We need to get an export of the advLigoRTS repository to build dataviewer. One method is to do a fresh checkout of the trunk and export that.

  1. mkdir /ligo/cds/project/repos
  2. mkdir /ligo/cds/project/repos/advLigoRTS
  3. cd /ligo/cds/project/repos/advLigoRTS
  4. svn co https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk --username=<first.last>

  5. cd trunk
  6. svn export . /ligo/cds/project/RTS-dv
  7. cd /ligo/cds/project/RTS-dv
  8. cd src/dv
  9. edit Makefile to install in /opt/apps/linux64/dataviewer
  10. edit Control/dataviewer so DVPATH is set to /opt/apps/linux64/dataviewer
  11. sudo apt-get install libXp-dev
  12. sudo apt-get install libXpm-dev
  13. make
  14. make install

metaio installation

Root compilation


How to put icon on panel bar

  1. Make a Custom Application Launcher by right click on panel bar and select Add to Panel. In "Command" put like

    tcsh -c 'cd /opt/rtcds/tst/x1/medm/ && /opt/apps/linux64/epics/extensions/bin/linux-x86_64/medm -x'