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
CosmoMC: a warning in mpk.f90
-
- Posts: 23
- Joined: February 21 2006
- Affiliation: McGill University
-
- Posts: 1944
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CosmoMC: a warning in mpk.f90
Yes, that's right. Will fix, thanks.