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. ...@@ -29,15 +29,8 @@ The NILC tool also uses the *GSL* library.
*** Compiling Healpix *** Compiling Healpix
A recent version of the Healpix library is provided with the source See http://sourceforge.net/projects/healpix/
under the =healpix= directory.
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 *** Compiling the NILC binary
......
...@@ -13,8 +13,10 @@ The spherelib package extends the healpix functionnalities. It includes: ...@@ -13,8 +13,10 @@ The spherelib package extends the healpix functionnalities. It includes:
** Dependencies ** Dependencies
The spherelib python package relies on healpy (https://github.com/healpy/healpy). The spherelib python package relies on healpy python package
The healpy package has to be installed separately. (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: The following libraries are also required:
+ *GSL* + *GSL*
...@@ -26,11 +28,13 @@ core headers (in particular numpy/arrayobject.h) ...@@ -26,11 +28,13 @@ core headers (in particular numpy/arrayobject.h)
** Installing the spherelib python package ** Installing the spherelib python package
=cd python= =cd spherelib/python=
=./waf configure --with_healpy=path/to/healpy= =./waf configure --healpix_prefix=$HEALPIX/src/cxx/$HEALPIX_TARGET --prefix=$HOME=
=./waf install= =./waf install=
=export PYTHONPATH=$HOME/lib/python2.6/site-packages:$PYTHONPATH=
=export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH=
* Using the C++ library * 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