public:user_software:losot

This is an old revision of the document!


Installing Losoto in a Virtual environment

* Tested/installed on flits

virtualenv losoto
source losoto/bin/activate
pip install numpy
pip install numexpr
pip install cython
Download HDF5 and untar it
./configure --prefix=/home/sarrvesh/bin/hdf5; make; make install
export LD_LIBRARY_PATH="/home/sarrvesh/bin/hdf5/lib" and HDF5_DIR="/home/sarrvesh/bin/hdf5"
pip install tables
pip install progressbar
pip install matplotlib

* Next download ATLAS and lapack. You can get ATLAS from http://sourceforge.net/projects/math-atlas/ and lapack from http://www.netlib.org/lapack/#_software. Untar ATLAS

mkdir -p ATLAS/BUILD; cd ATLAS/BUILD
../configure -b 64 -Fa alg -fPIC --with-netlib-lapack-tarfile=/home/sarrvesh/lapack-3.5.0.tgz --prefix=/home/sarrvesh/bin/ATLAS/
make; cd lib; make shared; make ptshared; cd ..; make install
export ATLAS = <prefix dir>
pip install scipy
Download wcs and untar
./configure --prefix=/home/sarrvesh/bin/wcs/; make; make install
./batchbuild.py --prefix=/home/sarrvesh/bin/pyrap/ --lapack-root=/home/sarrvesh/bin/ATLAS/ --lapack-lib=/home/sarrvesh/bin/ATLAS/lib --wcs-root=/home/sarrvesh/bin/wcs
  • Last modified: 2015-03-11 10:01
  • by Sarrvesh Sridhar