Installation Guide
Requirements
The package depends on Fortran Libraries, FFTW, HEALPix, cfitsio and LensPix. Source code for those is included with this package. You also need F2py and a fortran compiler to compile Fortran sources. Note that the F90 sources are written assuming the intel Fortran compiler.
Install
The pakage can be downloaded from https://github.com/toshiyan/cmblensplus or type
git clone git@github.com:toshiyan/cmblensplus.git
Install the public codes (FFTW, cfitsio, Healpix, Lenspix, and Lapack) at F90/pub/ or fortran_internal/src_public/
Edit the shell file to add, e.g. for .bashrc.ext in NERSC
module load intel
export LD_LIBRARY_PATH=${path-to-cmblensplus-F90-public-code}/Healpix/lib/:${path-to-cmblensplus-F90-public-code}/cfitsio/:$LD_LIBRARY_PATH
export PYTHONPATH=${path-to-cmblensplus}/utils/:${path-to-cmblensplus}/wrap/:$PYTHONPATH (or export PYTHONPATH=${path-to-cmblensplus}/utils/:${path-to-cmblensplus}:$PYTHONPATH
./install.sh wrap or setup.py build
Tips
Use icx for CC in Healpix installation on NERSC
libifport.so.5 not found
Indicating that ifort is not loaded appropriately.
Segmentation fault after installing everything
Some Healpix subroutine has a problem. One quick solution is to set “ulimit -s unlimited”