public:user_software:losot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
public:user_software:losot [2015-03-11 10:09] Sarrvesh Sridharpublic:user_software:losot [2017-03-08 15:27] (current) – external edit 127.0.0.1
Line 2: Line 2:
   * Tested/installed on flits   * Tested/installed on flits
 <code> <code>
 +# First create a virtual environment
 virtualenv losoto virtualenv losoto
 +# Enter the environment with the following command
 source losoto/bin/activate source losoto/bin/activate
 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=/home/sarrvesh/bin/hdf5; make; make install +./configure --prefix=/home/user/bin/hdf5; make; make install 
-export LD_LIBRARY_PATH="/home/sarrvesh/bin/hdf5/lib" and HDF5_DIR="/home/sarrvesh/bin/hdf5"+export LD_LIBRARY_PATH="/home/user/bin/hdf5/lib" and HDF5_DIR="/home/user/bin/hdf5"
 pip install tables pip install tables
 pip install progressbar pip install progressbar
Line 17: Line 19:
 <code> <code>
 mkdir -p ATLAS/BUILD; cd ATLAS/BUILD 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/+../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 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=/home/sarrvesh/bin/wcs/; make; make install +./configure --prefix=/home/user/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+./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
 </code> </code>
   * Finally, download losoto from [[https://github.com/revoltek/losoto]]   * Finally, download losoto from [[https://github.com/revoltek/losoto]]
 +  * You need to enter the virtual environment before running losoto. So run
 +<code>
 +source losoto/bin/activate
 +</code>
  • Last modified: 2015-03-11 10:09
  • by Sarrvesh Sridhar