no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | public:user_software:ubuntu_12_4 [2017-03-08 15:27] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Installing LOFAR Software on a fresh Ubuntu 12.04 ====== | ||
+ | |||
+ | This are my private, unedited notes on installing the LOFAR Software on a fresh Ubuntu 12.04.\\ | ||
+ | So they don't contain step by step instructions that will work for you, but they still may | ||
+ | contain useful information for you.\\ | ||
+ | (9.10.2013 Andreas Horneffer) | ||
+ | |||
+ | (NB you can also get casacore/ | ||
+ | |||
+ | < | ||
+ | ########## Pakete: | ||
+ | libgtkmm-2.4-dev python-matplotlib python-pyfits libatlas-base-dev | ||
+ | mpi-default-bin mpi-default-dev libfreetype6-dev python-setuptools | ||
+ | libxml2-dev libpng12-dev libcfitsio3 libcfitsio3-dev libboost-all-dev | ||
+ | autoconf autoconf-archive autogen automake binutils-dev cmake cmake-curses-gui | ||
+ | cvs doxygen flex gfortran git guile-1.8-dev ipython libblas-dev libblitz0-dev | ||
+ | libboost-all-dev libboost-dev libfftw3-dev libfftw3-doc libgfortran3 | ||
+ | libglib2.0-dev libgsl0-dev liblapack-dev liblog4cxx10 liblog4cxx10-dev | ||
+ | libopenmpi-dev libpqxx3-dev libx11-dev mgdiff mpi-default-dev patch pgplot5 | ||
+ | python-dev python-numeric python-numpy python-scipy scons subversion-tools | ||
+ | swig bison libbison-dev | ||
+ | tcl tcl-dev tk tk-dev tk8.5-dev tcl8.5-dev | ||
+ | libhdf5-dev (oder: libhdf5-serial-1.8.4 libhdf5-serial-dev) | ||
+ | ### " | ||
+ | wcslib-dev liblog4cplus-dev liblog4cplus-1.0-4 cython | ||
+ | ###for parmdbplot: | ||
+ | python-sip python-qt4 | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ########## LOFAR software: | ||
+ | |||
+ | Download packages: | ||
+ | ################## | ||
+ | mkdir Downloads | ||
+ | cd Downloads | ||
+ | wget ftp:// | ||
+ | |||
+ | Download and Build Casacore: | ||
+ | ############################ | ||
+ | tar -xjvf ../ | ||
+ | (This creates the " | ||
+ | mkdir BuildDir/ | ||
+ | cd BuildDir/ | ||
+ | svn co http:// | ||
+ | mkdir -p build/opt | ||
+ | cd build/opt | ||
+ | cmake -DBUILD_TESTING=NO -DCMAKE_INSTALL_PREFIX=/ | ||
+ | make -j12 | ||
+ | make install | ||
+ | |||
+ | Install Casacore data: | ||
+ | ############################ | ||
+ | cd BuildDir/.. | ||
+ | tar -xjvf Download/ | ||
+ | |||
+ | Download and Build pyrap | ||
+ | ############################ | ||
+ | mkdir / | ||
+ | cd / | ||
+ | svn co http:// | ||
+ | export LOFAR_STUFF_ROOT="/ | ||
+ | export PATH=" | ||
+ | export LD_LIBRARY_PATH=" | ||
+ | export PYTHONPATH=" | ||
+ | ln -s / | ||
+ | cd dev-source/ | ||
+ | ./ | ||
+ | |||
+ | Download and Build casarest | ||
+ | ########################### | ||
+ | mkdir / | ||
+ | cd / | ||
+ | svn co https:// | ||
+ | mkdir build | ||
+ | cd build | ||
+ | cmake -DCASACORE_ROOT_DIR=/ | ||
+ | make -j12 | ||
+ | make install | ||
+ | |||
+ | |||
+ | Download and Build the LOFAR Software | ||
+ | ##################################### | ||
+ | mkdir / | ||
+ | cd / | ||
+ | svn checkout --ignore-externals https:// | ||
+ | username: lofar-guest | ||
+ | password: lofar-guest | ||
+ | mkdir -p build/ | ||
+ | cd build/ | ||
+ | cmake -DCASACORE_ROOT_DIR=/ | ||
+ | make -j12 | ||
+ | make install | ||
+ | |||
+ | </ | ||
+ | |||
+ | When this all worked you can set up your environmen with the following lines: | ||
+ | |||
+ | For bash/zsh: | ||
+ | < | ||
+ | if test -n " | ||
+ | export PYTHONPATH=${PYTHONPATH}:/ | ||
+ | else | ||
+ | export PYTHONPATH=/ | ||
+ | fi | ||
+ | |||
+ | source / | ||
+ | </ | ||
+ | |||
+ | For (t)csh: | ||
+ | < | ||
+ | if ($? | ||
+ | setenv PYTHONPATH ${PYTHONPATH}:/ | ||
+ | else | ||
+ | setenv PYTHONPATH / | ||
+ | endif | ||
+ | |||
+ | source / | ||
+ | </ | ||
+ | |||