public:install_lofar_centos6.5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last 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 Breitlingpublic:install_lofar_centos6.5 [2017-02-02 15:35] Frank Breitling
Line 1: Line 1:
-====== Installing LOFAR Software on a CentOS 6.5 (Final) system (cluster Newton of the AIP Potsdam======+====== Installing LOFAR Software on a CentOS 6.5 (Final) System - The Newton Cluster of the AIP Potsdam ======
  
 +This document is evolving and was created by
  --- //[[fbreitling@aip.de|Frank Breitling]] 2015/06/26 18:47//  --- //[[fbreitling@aip.de|Frank Breitling]] 2015/06/26 18:47//
  
  
-I was mainly following the previous installation notes provided by others: \\+A useful starting point were previous installation notes such as: \\
  
 http://www.lofar.org/operations/doku.php?id=public:user_software:lofar \\ http://www.lofar.org/operations/doku.php?id=public:user_software:lofar \\
 http://www.lofar.org/operations/doku.php?id=public:user_software:ubuntu_12_4 http://www.lofar.org/operations/doku.php?id=public:user_software:ubuntu_12_4
  
-However a few problems occured and had to be solved as described below. \\+However some additional issues occurred at the Newton cluster and had to be solved as described below. \\
 Ideas and support by **Arno Schoenmakers**, **Ger van Diepen** and **Marcel Loose** were very helpful and highly appreciated. \\ Ideas and support by **Arno Schoenmakers**, **Ger van Diepen** and **Marcel Loose** were very helpful and highly appreciated. \\
  
Line 70: Line 71:
  
  
-=== 1.3 Boost ===+=== 1.3 Python === 
 +To use matplotlib 2 one also needs Python 2.7 or later. 
 + 
 +<file> 
 +V_PY=2.7.13 
 +cd ~/local/src/ 
 +wget https://www.python.org/ftp/python/$V_PY/Python-$V_PY.tgz 
 +tar xf Python-$V_PY.tgz 
 +cd Python-$V_PY 
 +./configure --prefix=$HOME/local --enable-shared                                
 +time make -j 
 +make install 
 +</file> 
 + 
 + 
 + 
 +=== 1.4 Boost ===
 Also a newer version of [[http://www.boost.org/build/doc/html/bbv2/installation.html | Boost]] is required since AOFlagger v2.8.0 and later: Also a newer version of [[http://www.boost.org/build/doc/html/bbv2/installation.html | Boost]] is required since AOFlagger v2.8.0 and later:
  
Line 82: Line 99:
 time ./b2 install --prefix=${HOME}/local time ./b2 install --prefix=${HOME}/local
 </file> </file>
- 
  
  
Line 145: Line 161:
 [[https://github.com/casacore/casacore | Casacore]] also requires the CASA data.  [[https://github.com/casacore/casacore | Casacore]] also requires the CASA data. 
 This is for example provided with [[http://casa.nrao.edu/casa_obtaining.shtml | CASA]]. \\ This is for example provided with [[http://casa.nrao.edu/casa_obtaining.shtml | CASA]]. \\
-Here we assume CASA is already installed and $HOME/local/casa is a link to the CASA folder. Then the data is in $HOME/local/casa. \\ +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: ''measures.directory: $HOME/local/casa/data'' .\\+Then the data is in $CASAPATH/data. \\ 
 +We will specify this via -DDATA_DIR, otherwise we need a ~/.casarc file with the line: ''measures.directory: $HOME/local/casa/casa/data'' .\\
  
 ''-DENABLE_TABLELOCKING=NO'' switches off table locking, since read locks could not be acquired from the AIP Lustre file system leading to errors like: ''-DENABLE_TABLELOCKING=NO'' switches off table locking, since read locks could not be acquired from the AIP Lustre file system leading to errors like:
Line 164: Line 181:
 mkdir build/casacore mkdir build/casacore
 cd build/casacore cd build/casacore
 +CASAPATH=$HOME/local/casa/casa
 time cmake ../../casacore -DBUILD_PYTHON=YES -DCMAKE_INSTALL_PREFIX=~/local -DUSE_FFTW3=YES -DENABLE_TABLELOCKING=NO \ time cmake ../../casacore -DBUILD_PYTHON=YES -DCMAKE_INSTALL_PREFIX=~/local -DUSE_FFTW3=YES -DENABLE_TABLELOCKING=NO \
-  -DUSE_OPENMP=YES -DDATA_DIR=~/local/casa/data -DUSE_HDF5=YES -DCMAKE_PREFIX_PATH=$HOME/local+  -DUSE_OPENMP=YES -DDATA_DIR=$CASAPATH/data -DUSE_HDF5=YES -DCMAKE_PREFIX_PATH=$HOME/local
 time make -j time make -j
 make install make install
Line 189: Line 207:
    --global-option=-L$HOME/local/lib --install-option=--prefix=$HOME/local    --global-option=-L$HOME/local/lib --install-option=--prefix=$HOME/local
 </file> </file>
 +
  
 === 3.4 Casarest === === 3.4 Casarest ===
  • Last modified: 2017-03-08 15:27
  • by 127.0.0.1