Installation¶
Machine Preparation¶
Install a real or virtual machine according to the Linux Installation Document
Note
use as EELT_ROLE the default: EELT_ROLE=BASE
ELT Development Environment¶
Before installing the IFW it is needed to setup the environment. A very good starting point is this document
Getting Started¶
- Login as your user. In your home directory:
$ mkdir modulefiles
$ cd modulesfiles
- Edit private.lua Use the example file below:
local home = os.getenv("HOME")
local introot = pathJoin(home, "INTROOT")
setenv ("INTROOT", introot)
setenv ("PREFIX", introot)
local dataroot = pathJoin(home, "DATAROOT")
setenv ("DATAROOT", dataroot)
local introotlib64 = pathJoin(introot, "lib64")
prepend_path("LD_LIBRARY_PATH", introotlib64)
local introotlib = pathJoin(introot, "lib")
prepend_path("LD_LIBRARY_PATH", introotlib)
append_path("LD_LIBRARY_PATH", "/opt/gtest/lib")
local pythonpath = pathJoin(introot, "lib/python3.5/site-packages/")
prepend_path("PYTHONPATH", pythonpath)
local introotbin = pathJoin(introot, "bin")
prepend_path("PATH", introotbin)
Warning
Log out and in again so that modulefiles
directory becomes known to the environment.
This is needed only if it is the first time that the directory modulefiles is created.
The file private.lua is loaded by default
In case more .lua
files (with different names) will be added to $HOME/modulefiles, they can be made known to the environment just with:
$ module load
Note
For more information, read this document
- Create the directories for the installation areas defined in the file private.lua
$ cd <the location for introot>
$ getTemplate -d introot INTROOT
$ cd <the location for dataroot>
$ getTemplate -d dataroot DATAROOT
The environment shall contain the configuration of the relevant environment variables such as INTROOT, DATAROOT, LD_LIBRARY_PATH, PYTHONPATH, etc.
- Retrieve and build the complete ICS Framework from the SVN repository.
$ svn co http://svnhq9.hq.eso.org/p9/trunk/EELT/ICS/ifw
$ cd ifw
$ waf configure
$ waf build install