Page 1 of 1

make_fits

Posted: March 09 2018
by Xavier Garcia
Hello,
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]
writefits.f90:7:6:

use head_fits, ONLY : add_card
1
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.

make_fits

Posted: March 10 2018
by Antony Lewis
Personally I use healpy and just pass in cl read from text files or taken directly from python Camb.