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
Next revisionBoth sides next revision
public:install_lofar_centos6.5 [2017-01-04 15:41] – [3. Installation the LOFAR software] Frank Breitlingpublic: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
Line 25: Line 25:
  
 The cluster also provides a //module system// to load newer versions of the installed software. \\ The cluster also provides a //module system// to load newer versions of the installed software. \\
-We will activate it and replace the default version of gcc 4.4.7 with gcc 4.8.3 for C++11 support.+Its used below to replace the default version of gcc 4.4.7 with gcc 4.8.3 for C++11 support.
  
  
 === 1.1 Paths === === 1.1 Paths ===
  
-This instruction will install all packages in $HOME/local/. \\ +The following changes are required: 
-And for the installation of Pyrap (python-casacore) we need a Python path with write access. \\ + 
-So I added the following lines to $HOME/.bashrc:+  * A more recent version of GCC with C++11 required by Casacore is activated through the module system. This also requires adding /opt/gcc-4.8.3/lib64 to the LD_LIBRARY_PATH since otherwise Pyrap will not find it and complain with
 <file> <file>
-source /usr/share/Modules/init/sh  # activate module systemneeds to be done first +File "/home/fkbreitl/local/lib64/python2.6/site-packages/python_casacore-2.1.2-py2.6-linux-x86_64.egg/casacore/tables/table.py"line 43, in <module
-module load gcc  # use gcc 4.8.3 (instead of 4.4.7for C++11 support+    from ._tables import Table 
 +ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /home/fkbreitl/local/lib/libboost_python.so.1.63.0) 
 +</file>
  
 +  * The packages will be installed in $HOME/local/. \\
 +  * Pyrap (python-casacore) needs a writable Python path. \\
 +
 +This adds the following lines to $HOME/.bashrc:
 +<file>
 +source /usr/share/Modules/init/sh  # activate module system, needs to be done first
 +module load gcc/4.8.3  # use gcc 4.8.3 (instead of 4.4.7) for C++11 support
 +export LD_LIBRARY_PATH=/opt/gcc-4.8.3/lib64:$HOME/local/lib:$LD_LIBRARY_PATH
 export PYTHONPATH=$HOME/local/lib64/python2.6/site-packages:$PYTHONPATH export PYTHONPATH=$HOME/local/lib64/python2.6/site-packages:$PYTHONPATH
-export LD_LIBRARY_PATH=$HOME/local/lib:$LD_LIBRARY_PATH 
 export PATH=$HOME/local:$PATH export PATH=$HOME/local:$PATH
 </file> </file>
Line 87: Line 96:
 wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2 wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib.tar.bz2
 tar xf packages/wcslib.tar.bz2 tar xf packages/wcslib.tar.bz2
-cd wcslib-5.15/+cd wcslib-5.15  # (-5.6)
 ./configure --prefix=$HOME/local/ ./configure --prefix=$HOME/local/
 time make -j install time make -j install
Line 97: Line 106:
  
 <file> <file>
-V_FFTW=3.3.5+V_FFTW=3.3.5  # 3.3.4
 cd $HOME/local/src/ cd $HOME/local/src/
 wget http://www.fftw.org/fftw-$V_FFTW.tar.gz wget http://www.fftw.org/fftw-$V_FFTW.tar.gz
Line 150: Line 159:
  
 <file> <file>
 +# 2.1, 2.2
 cd ~/local/src/ cd ~/local/src/
 git clone https://github.com/casacore/casacore git clone https://github.com/casacore/casacore
Line 203: Line 213:
  
 <file> <file>
-V_AOF=2.9.0+V_AOF=2.9.0  # 2.7.1, 2.8.0
 cd ~/local/src/ cd ~/local/src/
 wget http://downloads.sourceforge.net/project/aoflagger/aoflagger-$AOVER/aoflagger-$V_AOF.tar.bz2 wget http://downloads.sourceforge.net/project/aoflagger/aoflagger-$AOVER/aoflagger-$V_AOF.tar.bz2
Line 227: Line 237:
 cd ~/local/src/ cd ~/local/src/
 RELEASE=LOFAR-Release-2_19 && svn checkout --ignore-externals -N https://svn.astron.nl/LOFAR/branches/$RELEASE RELEASE=LOFAR-Release-2_19 && svn checkout --ignore-externals -N https://svn.astron.nl/LOFAR/branches/$RELEASE
 +# 2_16_4, 2_16, 2_12
 #RELEASE=LOFAR && svn checkout --ignore-externals -N https://svn.astron.nl/LOFAR/trunk $RELEASE #RELEASE=LOFAR && svn checkout --ignore-externals -N https://svn.astron.nl/LOFAR/trunk $RELEASE
 svn update $RELEASE/CMake svn update $RELEASE/CMake
  • Last modified: 2017-03-08 15:27
  • by 127.0.0.1