camb_fits

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Thomas Bschorr
Posts: 2
Joined: August 15 2006
Affiliation: University Ulm

camb_fits

Post by Thomas Bschorr » August 15 2006

Hi,

I am traying to rum make camb_fits and always get the error message for writefits.f90, fitstools and head_fits, compiler cannot find module. I included in the Makefile the directory of Healpix 2.01. But still, it cannot find the required files in the /include directory!
Would be nice, if anyone could help me!
Cheers Thomas

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

Re: camb_fits

Post by Antony Lewis » August 15 2006

On some compilers (e.g. Sun) you may need to edit -I in the Makefile to e.g. -M. Also may need to check files are compiled with the same compiler version etc.

Thomas Bschorr
Posts: 2
Joined: August 15 2006
Affiliation: University Ulm

camb_fits

Post by Thomas Bschorr » August 15 2006

Thanks, turning -I into -M helped.
Now I get some errors involving cfitsio, saying

undefined symbol recv first referenced in file .../libcfitsio.a<drvrnet.o>
send first referenced in file ..... and some more.

I am quite sure that I use the same compilers for cfitsio and camb. I am not sure, if it is just a linking problem or if there is an error with the cfitsio library?

Thanks for your help!
Thomas

Post Reply