Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Xavier Garcia
Posts: 1
Joined: March 09 2018
Affiliation: UNAL


Post by Xavier Garcia » March 09 2018

I want to install CAMB in order to create the CMB maps, so I use the command make camb_fits. I have installed healpix(healpy) and cfitsio and they work well. However, during the installation of CAMB, an error appears

951: Warning: Nonexistent include directory ‘/home/xavier/Documents/healpix/include’ [-Wmissing-include-dirs]

use head_fits, ONLY : add_card
Fatal Error: Can't open module file ‘head_fits.mod’ for reading at (1): No such file or directory
compilation terminated.
f951: Warning: Nonexistent include directory ‘/home/xavier/Documents/healpix/include’ [-Wmissing-include-dirs]
make: *** [Makefile_main:121: camb_fits] Error 1

anyone could help me to solve it. Thanks.

I have another question and it is related to CLASS code. It turns out that I modified CLASS code and the output of the Cls has the same format like CAMB, however CLASS does not give the .fits. So, do you know any code that transforms those cls into the .fits format? or can I do it inside of CAMB?
Thank you very much.

Antony Lewis
Posts: 1353
Joined: September 23 2004
Affiliation: University of Sussex


Post by Antony Lewis » March 10 2018

Personally I use healpy and just pass in cl read from text files or taken directly from python Camb.

Post Reply