public:user_software:losot

Installing Losoto in a Virtual environment

  • Tested/installed on flits
# First create a virtual environment
virtualenv losoto
# Enter the environment with the following command
source losoto/bin/activate
pip install numpy
pip install numexpr
pip install cython
Download HDF5 and untar it
./configure --prefix=/home/user/bin/hdf5; make; make install
export LD_LIBRARY_PATH="/home/user/bin/hdf5/lib" and HDF5_DIR="/home/user/bin/hdf5"
pip install tables
pip install progressbar
pip install matplotlib
mkdir -p ATLAS/BUILD; cd ATLAS/BUILD
../configure -b 64 -Fa alg -fPIC --with-netlib-lapack-tarfile=/home/user/lapack-3.5.0.tgz --prefix=/home/user/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/user/bin/wcs/; make; make install
./batchbuild.py --prefix=/home/user/bin/pyrap/ --lapack-root=/home/user/bin/ATLAS/ --lapack-lib=/home/user/bin/ATLAS/lib --wcs-root=/home/user/bin/wcs
source losoto/bin/activate
  • Last modified: 2017-03-08 15:27
  • by 127.0.0.1