CosmoMC: a warning in mpk.f90

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Loison Hoi
Posts: 23
Joined: February 21 2006
Affiliation: McGill University

CosmoMC: a warning in mpk.f90

Post by Loison Hoi » November 02 2006

Hi Antony,

When I run Oct 2006 cosmomc with WMAP+SDSS, it returns

WARNING: k_min in sdss_lrgDR4less than setting in cmbtypes.f90
all k<matter_power_minkh will be set to matter_power_minkh

The warning comes from mpk.f90:

if (mset%mpk_k(i) < matter_power_minkh) then
write (*,*) 'WARNING: k_min in '//trim(mset%name)//'less than setting in cmbtypes.f90'
write (*,*) 'all k<matter_power_minkh will be set to matter_power_minkh'
end if

However, "i" is not defined there, so the typical value of "i" would be 0, and mset%mpk_k(0) would be a unknown value which causes the warning. I think replace "i" by 1 in the if-statement should be fine, right?

Thanks.

Loison Hoi
1 Nov 2006

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

Re: CosmoMC: a warning in mpk.f90

Post by Antony Lewis » November 05 2006

Yes, that's right. Will fix, thanks.

Post Reply