GIAnT_yum_apt_macports

User documentation
04/14/2013

Table of pre-requisite package for GIAnT on various Linux distributions. Extend the table by adding new columns for new distributions. The list is by no means complete. If the presented information is inaccurate or insufficient, please post in the user forums. The motivation of this page is to help users setup GIAnT quickly and efficiently using standard repository management software

Package OS X Ubuntu 12.04/ 12.10 Centos 6
Special instructions Ensure you have macports installed.
sudo port selfupdate 
Enable multiverse repositories in "/etc/apt/sources.list".
sudo apt-get update
Enable CentosPlus and EPEL repositories in "/etc/yum.repos.d/CentOS-Base.repo"
Compilers
sudo port install mp-gcc46 
sudo port select gcc mp-gcc46 
sudo apt-get install build-essential gfortran
 sudo yum groupinstall "Development tools" 
sudo yum install gcc-gfortran
Python
sudo port install python27
sudo port select python python27 
sudo apt-get install python2.7-dev
sudo yum install python python-devel
Numpy/Scipy
sudo port install py27-numpy + atlas + gcc46
sudo port install py27-scipy + atlas + gcc46
sudo apt-get install python-numpy
sudo apt-get install python-scipy
sudo apt-get liblapack3 libatlas3-base liblapack-dev libatlas-dev 
 sudo yum install numpy scipy blas-devel lapack-devel atlas-devel 
Setuptools Default python includes easy_install sudo apt-get install python-setuptools sudo yum install python-setuptools
Cython sudo easy_install-2.7 cython sudo easy_install cython sudo easy_install cython
Matplotlib sudo port install py27-matplotlib sudo apt-get install python-matplotlib sudo yum install python-matplotlib
h5py sudo port install py27-h5py sudo apt-get install python-h5pylibhdf5-serial-dev hdf5-tools sudo yum install h5py hdf5-devel
pyproj sudo port install py27-pyproj sudo apt-get install python-pyproj
sudo yum install proj
sudo easy_install pyproj 
pygrib sudo port install py27-pygrib
 sudo apt-get install zlib1g zlib1g-dev 
 sudo apt-get install libpng12-0 libpng12-dev 
sudo apt-get install libjasper1 libjasper-dev
sudo apt-get install libopenjpeg2 libopenjpeg-dev
sudo apt-get install libgrib-api-1.9.9 libgrib-api-dev libgrib-api-tools
sudo apt-get install python-mpltoolkits.basemap
sudo easy_install pygrib 
sudo yum install grib_api grib_api-devel
sudo yum install python-basemap
sudo yum install jasper-devel
sudo easy_install pygrib 
pywavelets sudo easy_install-2.7 pywavelets sudo easy_install pywavelets sudo easy_install pywavelets
lxml sudo port install py27-lxml sudo apt-get install python-lxml sudo yum install python-lxml
ffmpeg sudo port install ffmpeg sudo apt-get install ffmpeg sudo yum install ffmpeg
pyresample sudo easy_install-2.7 pyresample sudo easy_install pyresample sudo easy_install pyresample
pykml sudo easy_install-2.7 pykml sudo easy_install pykml sudo easy_install pykml
simplejson sudo easy_install-2.7 simplejson sudo easy_install simplejson sudo easy_install simplejson

GIAnT installation

  1. Download GIAnT and PyAPS from the bzr repository. Copy the pyaps directory to the GIAnT directory.
  2. In the GIAnT directory run "python setup.py build_ext"
  3. Add the GIAnT directory to PYTHONPATH
  4. To test the installation, in the giant directory run "nosetests test"

Files