Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
public:user_software:losot [2015-03-11 10:01] – Sarrvesh Sridhar | public:user_software:losot [2017-03-08 15:27] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Installing Losoto in a Virtual environment | ====== Installing Losoto in a Virtual environment | ||
- | * Tested/ | + | |
< | < | ||
+ | # First create a virtual environment | ||
virtualenv losoto | virtualenv losoto | ||
+ | # Enter the environment with the following command | ||
source losoto/ | source losoto/ | ||
pip install numpy | pip install numpy | ||
Line 8: | Line 10: | ||
pip install cython | pip install cython | ||
Download HDF5 and untar it | Download HDF5 and untar it | ||
- | ./configure --prefix=/ | + | ./configure --prefix=/ |
- | export LD_LIBRARY_PATH="/ | + | export LD_LIBRARY_PATH="/ |
pip install tables | pip install tables | ||
pip install progressbar | pip install progressbar | ||
pip install matplotlib | pip install matplotlib | ||
</ | </ | ||
- | * Next download ATLAS and lapack. You can get ATLAS from [[http:// | + | |
< | < | ||
mkdir -p ATLAS/ | mkdir -p ATLAS/ | ||
- | ../ | + | ../ |
make; cd lib; make shared; make ptshared; cd ..; make install | make; cd lib; make shared; make ptshared; cd ..; make install | ||
export ATLAS = <prefix dir> | export ATLAS = <prefix dir> | ||
pip install scipy | pip install scipy | ||
Download wcs and untar | Download wcs and untar | ||
- | ./configure --prefix=/ | + | ./configure --prefix=/ |
- | ./ | + | ./ |
+ | </ | ||
+ | * Finally, download losoto from [[https:// | ||
+ | * You need to enter the virtual environment before running losoto. So run | ||
+ | < | ||
+ | source losoto/ | ||
</ | </ |