public:user_software:ubuntu_14_4

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
public:user_software:ubuntu_14_4 [2015-10-07 09:20] – Added some python dependencies for pre-facet-calibration scripts Andreas Hornefferpublic:user_software:ubuntu_14_4 [2017-03-08 15:27] (current) – external edit 127.0.0.1
Line 7: Line 7:
 <file> <file>
 ########## packets to install with apt-get, aptitude or whatever ########## packets to install with apt-get, aptitude or whatever
-libgtkmm-2.4-dev python-matplotlib python-pyfits libatlas-base-dev +libgtkmm-3.0-dev python-matplotlib python-pyfits libatlas-base-dev 
 mpi-default-bin mpi-default-dev libfreetype6-dev python-setuptools mpi-default-bin mpi-default-dev libfreetype6-dev python-setuptools
 libxml2-dev libpng12-dev libcfitsio3 libcfitsio3-dev libboost-all-dev libxml2-dev libpng12-dev libcfitsio3 libcfitsio3-dev libboost-all-dev
Line 32: Line 32:
   cd /opt/soft/lofar-stuff/Downloads   cd /opt/soft/lofar-stuff/Downloads
   wget ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar   wget ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures.ztar
-  wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-4.25.tar.bz2+  wget ftp://ftp.atnf.csiro.au/pub/software/wcslib/wcslib-4.25.1.tar.bz2 
 +  wget http://downloads.sourceforge.net/project/aoflagger/aoflagger-2.7.0/aoflagger-2.7.1.tar.bz2 
 +  wget https://pypi.python.org/packages/source/A/APLpy/APLpy-1.0.tar.gz
      
 Build wcslib (with pgsbox!) Build wcslib (with pgsbox!)
Line 98: Line 100:
   cd build   cd build
   cmake -DCASACORE_ROOT_DIR=/opt/soft/lofar-stuff -DWCSLIB_ROOT_DIR=/opt/soft/lofar-stuff -DCMAKE_INSTALL_PREFIX:PATH=/opt/soft/lofar-stuff ../source   cmake -DCASACORE_ROOT_DIR=/opt/soft/lofar-stuff -DWCSLIB_ROOT_DIR=/opt/soft/lofar-stuff -DCMAKE_INSTALL_PREFIX:PATH=/opt/soft/lofar-stuff ../source
 +  make -j12
 +  make install
 +
 +Build AOFlagger (needed for LOFAR >= version 2.15)
 +##################################################
 +# it can be built without gtkmm (or older versions of gtkmm) if one doesn't need rfigui etc.
 +# (the LOFAR software will build fine without the gui)
 +  mkdir  /opt/soft/lofar-stuff/BuildDir/AOFlagger
 +  cd /opt/soft/lofar-stuff/BuildDir/AOFlagger
 +  tar -xjf ../../Downloads/aoflagger-2.7.1.tar.bz2
 +  mkdir build
 +  cd build
 +  cmake -DCASACORE_ROOT_DIR=/opt/soft/lofar-stuff -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX:PATH=/opt/soft/lofar-stuff ../aoflagger-2.7.1
   make -j12   make -j12
   make install   make install
Line 142: Line 157:
   git clone https://github.com/darafferty/LSMTool.git source   git clone https://github.com/darafferty/LSMTool.git source
   cd source   cd source
 +  export PYTHONPATH=/opt/soft/lofar-stuff/lib/python2.7/site-packages/
 +  python ./setup.py install --prefix=/opt/soft/lofar-stuff 
 +
 +Download and Build RMextract
 +############################
 +  mkdir /opt/soft/lofar-stuff/BuildDir/RMextract
 +  cd /opt/soft/lofar-stuff/BuildDir/RMextract
 +  git clone https://github.com/maaijke/RMextract.git source
 +  cd source
 +  export PYTHONPATH=/opt/soft/lofar-stuff/lib/python2.7/site-packages/
 +  python ./setup.py build --add-lofar-utils
 +  python ./setup.py install --add-lofar-utils --prefix=/opt/soft/lofar-stuff 
 +
 +Download and Build APLpy
 +#########################
 +  cd /opt/soft/lofar-stuff/BuildDir/APLpy
 +  tar -xvzf ../../Downloads/APLpy-1.0.tar.gz
 +  cd APLpy-1.0
   export PYTHONPATH=/opt/soft/lofar-stuff/lib/python2.7/site-packages/   export PYTHONPATH=/opt/soft/lofar-stuff/lib/python2.7/site-packages/
   python ./setup.py install --prefix=/opt/soft/lofar-stuff    python ./setup.py install --prefix=/opt/soft/lofar-stuff 
  • Last modified: 2015-10-07 09:20
  • by Andreas Horneffer