Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
public:install_lofar_centos6.5 [2017-01-09 17:18] – [1. Setup of build environment] added /opt/gcc-4.8.3/lib64 to LD_LIBRARY_PATH Frank Breitling | public:install_lofar_centos6.5 [2017-02-02 15:35] – Frank Breitling | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installing LOFAR Software on a CentOS 6.5 (Final) | + | ====== Installing LOFAR Software on a CentOS 6.5 (Final) |
+ | This document is evolving and was created by | ||
--- // | --- // | ||
- | I was mainly following the previous installation notes provided by others: \\ | + | A useful starting point were previous installation notes such as: \\ |
http:// | http:// | ||
http:// | http:// | ||
- | However | + | However |
Ideas and support by **Arno Schoenmakers**, | Ideas and support by **Arno Schoenmakers**, | ||
Line 70: | Line 71: | ||
- | === 1.3 Boost === | + | === 1.3 Python === |
+ | To use matplotlib 2 one also needs Python 2.7 or later. | ||
+ | |||
+ | < | ||
+ | V_PY=2.7.13 | ||
+ | cd ~/ | ||
+ | wget https:// | ||
+ | tar xf Python-$V_PY.tgz | ||
+ | cd Python-$V_PY | ||
+ | ./configure --prefix=$HOME/ | ||
+ | time make -j | ||
+ | make install | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | === 1.4 Boost === | ||
Also a newer version of [[http:// | Also a newer version of [[http:// | ||
Line 82: | Line 99: | ||
time ./b2 install --prefix=${HOME}/ | time ./b2 install --prefix=${HOME}/ | ||
</ | </ | ||
- | |||
Line 145: | Line 161: | ||
[[https:// | [[https:// | ||
This is for example provided with [[http:// | This is for example provided with [[http:// | ||
- | Here we assume CASA is already installed and $HOME/ | + | Here we assume CASA is already installed and can be found in the $CASAPATH given below. For convenience this is a link to the CASA folder. |
- | We will specify this via -DDATA_DIR, otherwise we need a ~/.casarc file with the line: '' | + | Then the data is in $CASAPATH/data. \\ |
+ | We will specify this via -DDATA_DIR, otherwise we need a ~/.casarc file with the line: '' | ||
'' | '' | ||
Line 164: | Line 181: | ||
mkdir build/ | mkdir build/ | ||
cd build/ | cd build/ | ||
+ | CASAPATH=$HOME/ | ||
time cmake ../ | time cmake ../ | ||
- | -DUSE_OPENMP=YES -DDATA_DIR=~/ | + | -DUSE_OPENMP=YES -DDATA_DIR=$CASAPATH/data -DUSE_HDF5=YES -DCMAKE_PREFIX_PATH=$HOME/ |
time make -j | time make -j | ||
make install | make install | ||
Line 189: | Line 207: | ||
| | ||
</ | </ | ||
+ | |||
=== 3.4 Casarest === | === 3.4 Casarest === |