CAMB: make camb_fits compilation errors

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Mauricio Ortiz Calvao
Posts: 1
Joined: January 28 2005
Affiliation: Federal University of Rio de Janeiro, Brazil
Contact:

CAMB: make camb_fits compilation errors

Post by Mauricio Ortiz Calvao » April 06 2008

Hi,

I downloaded and installed the latest CAMB March 2008 version.

I edited the original Makefile to have the new lines

FITSDIR = /usr/lib

and

HEALPIXDIR = /home/research/cmb/healpix/Healpix_2.01

All the other lines are unchanged. My machine runs Debian Etch 64 bit; I have installed the cfitsio library from the official Debian repos and have downloaded and installed Healpix in the directory listed above; I guess they should be working fine...

However, after typing the command

> make camb_fits

the following messages and errors were issued:

ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c utils.F90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c subroutines.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c inifile.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c power_tilt.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c recfast.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c reionization.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c modules.f90
modules.f90(1501): (col. 19) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
modules.f90(1147): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
modules.f90(2347): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c bessels.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c equations.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c halofit.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c lensing.f90
lensing.f90(724): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
lensing.f90(530): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
lensing.f90(199): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c cmbmain.f90
cmbmain.f90(2157): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(199): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(257): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(900): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(315): (col. 13) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(1975): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(2116): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(2061): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
cmbmain.f90(1012): (col. 7) remark: OpenMP DEFINED LOOP WAS PARALLELIZED.
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -c camb.f90
ifort -openmp -O2 -ip -W0 -WB -fpp2 -vec_report0 -I/home/research/cmb/healpix/Healpix_2.01/include utils.o subroutines.o inifile.o power_tilt.o recfast.o reionization.o modules.o bessels.o equations.o halofit.o lensing.o cmbmain.o camb.o writefits.f90 inidriver.F90 -L/home/research/cmb/healpix/Healpix_2.01/lib -lhealpix -L/usr/lib -lcfitsio -DWRITE_FITS -o camb_fits
fortcom: Error: writefits.f90, line 7: Error in opening the compiled module file. Check INCLUDE paths. [HEAD_FITS]
use head_fits, ONLY : add_card
------^
fortcom: Error: writefits.f90, line 8: Error in opening the compiled module file. Check INCLUDE paths. [FITSTOOLS]
use fitstools, only : write_asctab
------^
fortcom: Error: writefits.f90, line 57: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT','-----------------------------------------------')
-------^
fortcom: Error: writefits.f90, line 58: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT',' CMB power spectrum C(l) keywords ')
-------^
fortcom: Error: writefits.f90, line 59: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT','-----------------------------------------------')
-------^
fortcom: Error: writefits.f90, line 60: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'EXTNAME','''COMPUTED POWER SPECTRUM''')
-------^
fortcom: Error: writefits.f90, line 61: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT',' POWER SPECTRUM : C(l) ')
-------^
fortcom: Error: writefits.f90, line 62: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
-------^
fortcom: Error: writefits.f90, line 63: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'CREATOR','CAMB', 'Software creating the FITS file')
-------^
fortcom: Error: writefits.f90, line 64: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'VERSION',version, 'Version of the simulation software')
-------^
fortcom: Error: writefits.f90, line 65: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'POLAR',.true.,'Polarisation included (True/False)')
-------^
fortcom: Error: writefits.f90, line 66: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'POLNORM','CMBFAST','Uses E-B conventions')
-------^
fortcom: Error: writefits.f90, line 67: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
-------^
fortcom: Error: writefits.f90, line 68: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
-------^
fortcom: Error: writefits.f90, line 69: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TTYPE1', 'TEMPERATURE','Temperature C(l)')
-------^
fortcom: Error: writefits.f90, line 70: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TUNIT1', unitstr,'unit')
-------^
fortcom: Error: writefits.f90, line 71: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
-------^
fortcom: Error: writefits.f90, line 73: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TTYPE2', 'E-mode C_l','ELECTRIC polarisation C(l)')
----------^
fortcom: Error: writefits.f90, line 74: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TUNIT2', unitstr,'unit')
----------^
fortcom: Error: writefits.f90, line 75: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
----------^
fortcom: Error: writefits.f90, line 77: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TTYPE3', 'B-mode C_l','MAGNETIC polarisation C(l)')
----------^
fortcom: Error: writefits.f90, line 78: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TUNIT3', unitstr,'unit')
----------^
fortcom: Error: writefits.f90, line 79: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
----------^
fortcom: Error: writefits.f90, line 81: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TTYPE4', 'E-T cross corr.','Gradient-Temperature cross terms')
----------^
fortcom: Error: writefits.f90, line 82: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'TUNIT4', unitstr,'unit')
----------^
fortcom: Error: writefits.f90, line 83: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header)
----------^
fortcom: Error: writefits.f90, line 85: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT','-----------------------------------------------')
------^
fortcom: Error: writefits.f90, line 86: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT',' Cosmological parameters')
------^
fortcom: Error: writefits.f90, line 87: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'COMMENT','-----------------------------------------------')
------^
fortcom: Error: writefits.f90, line 88: Conflicting attributes or multiple declaration of name. [ADD_CARD]
call add_card(header,'OMEGAB',CP%omegab, 'Omega in baryons')
------^
fortcom: Severe: Too many errors, exiting
compilation aborted for writefits.f90 (code 1)
make: *** [camb_fits] Error 1

Would you have any clues or directions to fix this???

Thanks

Post Reply