Note: these instructions are valid for CentOS version 6 and assume that the workstation already has all needed libraries, IDL installation, etc.
For the detailed version see CentOS67Installation

Prepare source directory

mkdir ~/SOURCE
cd ~/SOURCE

SVN checkout

Since the UAO version, SVN has been divided into two separate directories: source code and configuration/calibration files. Both need to be checked out and installed.

svn checkout "svn+ssh://adopt.arcetri.astro.it/aogroup/svn/AOSupervisor/trunk"
svn checkout "svn+ssh://adopt.arcetri.astro.it/aogroup/svn/AOSupervisor/confcalib"

You need an SSH account on "adopt.arcetri.astro.it" with svn privileges. Contact puglisi@arcetri.astro.it or lfini@arcetri.astro.it

Setup

Generate the environment with "prepare.py" and read the environment variables:
cd trunk
python prepare.py make
source flao_environment.sh

Compile

First compile the "contrib" subdirectory, the compile the main directory:
cd contrib; make
cd ..; make

Install

Binaries, configuration and calibration all have their separate installation script:
make install
cd ../confcalib
make install-conf
make install-calib

Select runtime configuration

back to the source directory:

cd ../trunk

For WFS:

python prepare.py set wfs right
source flao_environment.sh

For AdSec:

python prepare.py set adsec right
source flao_environment.sh

Optionally, modify ~/.bashrc to execute flao_environment.sh at user login so that the environment is loaded by default.

Run

For WFS:
w_start
w_check

For AdSec:
adsc_start
adsc_check

-- AlfioPuglisi - 18 Sep 2015 -- AlfioPuglisi - 08 Jul 2016
Topic revision: r1 - 08 Jul 2016, AlfioPuglisi
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback