Installing software on the lofarXN machines

    Table of contents

    Version as of 01:28, 8 May 2024

    to this version.

    Return to Version archive.

    View current version

    LuMP

    This is still missing!

    Pulsar Software

    This is still missing!

    LOFAR Software

    The following is not yet tested on the most recent OS (installed on 24.6.2015 on lofarDN)

    Download packages:
    ##################
      mkdir /opt/soft/lofar-stuff/Downloads
      cd /opt/soft/lofar-stuff/Downloads
      wget ftp://ftp.atnf.csiro.au/pub/software/asap/data/asap_data.tar.bz2
    
    Download and Build Casacore:
    ############################
      cd /opt/soft/lofar-stuff/
      tar -xjvf ../Downloads/asap_data.tar.bz2
    (This creates the "data" subdirectory)
      mkdir BuildDir/casacore
      cd BuildDir/casacore
      svn co http://casacore.googlecode.com/svn/trunk source
      mkdir -p build/opt
      cd build/opt
      cmake -DBUILD_TESTING=NO -DCMAKE_INSTALL_PREFIX=/opt/soft/lofar-stuff -DUSE_FFTW3=Yes -DUSE_THREADS=YES -DDATA_DIR=/opt/soft/lofar-stuff/data ../../source
      make -j12
      make install   Download and Build pyrap
    ############################
      mkdir /opt/soft/lofar-stuff/BuildDir/pyrap
      cd /opt/soft/lofar-stuff/BuildDir/pyrap
      svn co http://pyrap.googlecode.com/svn/trunk dev-source
      export PATH=$PATH:/opt/soft/lofar-stuff/bin
      export LD_LIBRARY_PATH=/opt/soft/lofar-stuff/lib
      export PYTHONPATH=/opt/soft/lofar-stuff/lib/python
      ln -s /opt/soft/lofar-stuff/lib /opt/soft/lofar-stuff/lib64
      cd dev-source/
      ./batchbuild-trunk.py --casacore-root=/opt/soft/lofar-stuff --prefix=/opt/soft/lofar-stuff --python-prefix=/opt/soft/lofar-stuff/lib/python
      
    Download and Build casarest
    ###########################
      mkdir  /opt/soft/lofar-stuff/BuildDir/casarest
      cd /opt/soft/lofar-stuff/BuildDir/casarest
      #svn co svn://lofar9.astron.nl/var/svn/repos/trunk/casarest source
      svn co https://github.com/pkgw/casarest/trunk source
      mkdir build
      cd build
      cmake -DCASACORE_ROOT_DIR=/opt/soft/lofar-stuff -DBUILD_ALL=1 -DCMAKE_INSTALL_PREFIX:PATH=/opt/soft/lofar-stuff ../source
      make -j12
      make install
    
    Download and Build the LOFAR Software
    #####################################
      mkdir /opt/soft/lofar-stuff/BuildDir/lofarsoft
      cd /opt/soft/lofar-stuff/BuildDir/lofarsoft
      svn checkout --ignore-externals https://svn.astron.nl/LOFAR/branches/LOFAR-Release-2_6 LOFAR
    username: lofar-guest
    password: lofar-guest
      mkdir -p build/gnu_opt
      cd build/gnu_opt
      cmake -DCASACORE_ROOT_DIR=/opt/soft/lofar-stuff -DBUILD_SHARED_LIBS=ON -DUSE_OPENMP=ON -DBUILD_PACKAGES="ParmDB Calibration DP3 Pipeline MSLofar Deployment LofarFT" -DCMAKE_INSTALL_PREFIX:PATH=/opt/soft/lofar-stuff ../../LOFAR/
      make -j12
      make install