Commit c04e968e authored by Maude Le Jeune's avatar Maude Le Jeune
Browse files

update README wrt install process

parent a7c5447c
......@@ -29,15 +29,8 @@ The NILC tool also uses the *GSL* library.
*** Compiling Healpix
A recent version of the Healpix library is provided with the source
under the =healpix= directory.
See http://sourceforge.net/projects/healpix/
Change to this directory and run:
=HEALPIX_TARGET=generic_gcc; make=
The Healpix compilation step will be included to the main construction
script in the near future.
*** Compiling the NILC binary
......
......@@ -13,8 +13,10 @@ The spherelib package extends the healpix functionnalities. It includes:
** Dependencies
The spherelib python package relies on healpy (https://github.com/healpy/healpy).
The healpy package has to be installed separately.
The spherelib python package relies on healpy python package
(https://github.com/healpy/healpy) and Healpix C++ library.
The Healpix software provides both (http://sourceforge.net/projects/healpix/)
The healpy package can also be installed through =pip= tools.
The following libraries are also required:
+ *GSL*
......@@ -26,11 +28,13 @@ core headers (in particular numpy/arrayobject.h)
** Installing the spherelib python package
=cd python=
=./waf configure --with_healpy=path/to/healpy=
=./waf install=
=cd spherelib/python=
=./waf configure --healpix_prefix=$HEALPIX/src/cxx/$HEALPIX_TARGET --prefix=$HOME=
=./waf install=
=export PYTHONPATH=$HOME/lib/python2.6/site-packages:$PYTHONPATH=
=export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH=
* Using the C++ library
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment