Differences between revisions 12 and 13
Revision 12 as of 2012-06-07 09:38:03
Size: 4271
Comment:
Revision 13 as of 2013-06-10 11:40:12
Size: 4152
Comment:
Deletions are marked like this. Additions are marked like this.
Line 55: Line 55:
<<Anchor(dv)>>
Line 57: Line 58:
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
 1. mkdir /ligo/cds/project/repos/advLigoRTS
 1. cd /ligo/cds/project/repos/advLigoRTS
 1. ''svn co https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk --username=<first.last>''
 1. cd trunk
 1. svn export . /ligo/cds/project/RTS-dv
 1. cd /ligo/cds/project/RTS-dv
 1. cd src/dv
 1. edit Makefile to install in /opt/apps/linux64/dataviewer
 1. edit Control/dataviewer so DVPATH is set to /opt/apps/linux64/dataviewer
 1. sudo apt-get install libXp-dev
 1. sudo apt-get install libXpm-dev
 1. make
 1. make install
 * クライアントのdesktopに移り、{{{
>rtr
}}}で最新バージョンのRTSソースのルートに移る。{{{
>cd src/dv
}}} でadvLigoRTS-2.X/src/dvに移り、{{{
>make
>make ligoapps
}}}と打つ。インストールスクリプトにより、/ligo/apps/linux-x86_64/dv-2.X以下にインストールされるが、/ligo/apps及びその下のlinux-x86_64はシンボリックリンクなので、実際のディレクトリは/opt/apps/linux64/となる。その中にdvというリンクを貼っている。

 * もしライブラリが足りない等のエラーが出たときは、以下を試す。
  1. sudo apt-get install libXp-dev
  1. sudo apt-get install libXpm-dev

Setup CDS software on Workstations


Setup

  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 


Installation

EPICS installation

fftw installation

grace installation

  • Installed binary package from a standard package using sudo apt-get install grace.

dataviewer compilation

  • クライアントのdesktopに移り、

    >rtr

    で最新バージョンのRTSソースのルートに移る。

    >cd src/dv

    でadvLigoRTS-2.X/src/dvに移り、

    >make
    >make ligoapps
    と打つ。インストールスクリプトにより、/ligo/apps/linux-x86_64/dv-2.X以下にインストールされるが、/ligo/apps及びその下のlinux-x86_64はシンボリックリンクなので、実際のディレクトリは/opt/apps/linux64/となる。その中にdvというリンクを貼っている。
  • もしライブラリが足りない等のエラーが出たときは、以下を試す。
    1. sudo apt-get install libXp-dev
    2. sudo apt-get install libXpm-dev

metaio installation

Root compilation

GDS compilation

GDS is also maintained in a CDS Subversion repository. So, as with dataviewer, we will checkout the gds repository, export it, and build from there. The configure will use some switches to limit the build to non-DMT tools and to add EPICS tools.

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

  4. cd trunk
  5. svn export . /ligo/cds/project/gds-2.14.2
  6. cd /ligo/cds/project/gds-2.14.2
  7. ./bootstrap
  8. export GDSBUILD=online
  9. ./configure --prefix=/opt/apps/linux64/gds-2.15.0 --enable-only-dtt --with-epics=/opt/apps/linux64/epics

  10. make
  11. make install
  12. cd /opt/apps/linux64/
  13. ln -s gds-2.15.0 gds

TDS installation

Not installed software

  • Software shown in aLIGO CDS page, we did not install framecpp, FrameL(libframe), MATLAB tools(mDV, awgstream, ligoDV), and Useful tools(ligotools, sunutils).


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 -displayFont fixed -x'

KAGRA/Subgroups/DGS/RTPC/WS (last edited 2013-06-10 11:48:59 by OsamuMiyakawa)