LENSTOOL installation

his is description for total dummies of how to install LENSTOOL

1. Download LENSTOOL

http://www.oamp.fr/cosmology/lenstool/

2.

lenstool-6.5.tar.gz

3. Unpack it:

tar xzvf lenstool-6.5.tar.gz

4. Check if you have this library:

find / -name 'Cfitsio'

4a. If not download the CFITSIO Software Library:

http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html

cfitsio3240.tar.gz

and configure it

./configure

make

5. Unpack it using command:

tar xzvf cfitsio3240.tar.gz

and type make

6. Check if you have this library using command:

find / -name 'wcstools'

6a. If not download the WCSTOOLS Software Library:

http://www.sourcefiles.org/Scientific/Astronomy/Image_Processing/

wcstools-3.6.3.tar.gz

7. Configure the library using command:

tar xzvf wcstools-3.6.3.tar.gz

make

8. Check if you have this library using command:

find / -name 'pgplot'

8a. If not download the PGPLOT Software Library:

http://www.astro.caltech.edu/~tjp/pgplot/

pgplot5.2.tar.gz

9. Unpack it with command:

tar xzvf pgplot5.2.tar.gz

5..Configure lenstool with a command:

./configure

make

6. SET ENVIROMENT, lenstool access from all directories

cd ~

vi .cshrc

setenv PATH "/Users/danka/Documents/LENSING/LENSTOOL/lenstool-6.5/src:${PATH}"

setenv PATH "/Users/danka/Documents/LENSING/LENSTOOL/lenstool-6.5/perl:${PATH}"