CosmoMC: key not found : cov_file
-
- Posts: 2
- Joined: March 13 2008
- Affiliation: Dip. di Fisica Milano-Bicocca
CosmoMC: key not found : cov_file
After the changes in inifile.f90 in the latest cosmomc/camb release one gets:
key not found : cov_file
when including SDSS.
Indeed thee is no such file in the data/ directory for SDSS. But the same applied
in the previous version and no error was raised.
Maybe somebody can help before I try and fix it by hand.
key not found : cov_file
when including SDSS.
Indeed thee is no such file in the data/ directory for SDSS. But the same applied
in the previous version and no error was raised.
Maybe somebody can help before I try and fix it by hand.
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CosmoMC: key not found : cov_file
I guess we need a
in ReadmpkDataset of mpk.f90? (not quite sure why this changed)
Code: Select all
Ini_fail_on_not_found = .false.
-
- Posts: 2
- Joined: March 13 2008
- Affiliation: Dip. di Fisica Milano-Bicocca
CosmoMC: key not found : cov_file
It's not so clear. The file mpk.f90 did change but not in a way which seems related to
file readings. I replaced in mpk.f90:127
with a brute force
and no error was raised. Apparently Ini_Read_String('cov_file') does not return
the empty string.
file readings. I replaced in mpk.f90:127
Code: Select all
cov_file = Ini_Read_String('cov_file')
Code: Select all
cov_file = ''
the empty string.
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: CosmoMC: key not found : cov_file
It should do if Ini_fail_on_not_found = .false.
-
- Posts: 4
- Joined: February 26 2008
- Affiliation: University of California, Irvine
Re: CosmoMC: key not found : cov_file
Hi.Claudio Destri wrote:It's not so clear. The file mpk.f90 did change but not in a way which seems related to
file readings. I replaced in mpk.f90:127with a brute forceCode: Select all
cov_file = Ini_Read_String('cov_file')
and no error was raised. Apparently Ini_Read_String('cov_file') does not returnCode: Select all
cov_file = ''
the empty string.
I did the same modification to mpk.f90.
It works fine if I run a single
chain using WMAP5+SDSS, but I get the usual problem
running multiple chain. I tried also with
Ini_fail_on_not_found = .false. in ReadmpkDataset
Any suggestion?
Thanks
-
- Posts: 1
- Joined: March 28 2008
- Affiliation: University Of Toronto
CosmoMC: key not found : cov_file
I just added Ini_fail_on_not_found = .false. above line 127 in mpk.f90 and it worked fine, I was able to run 8 chains (WMAP5+SDSS) without a problem.
-
- Posts: 23
- Joined: February 21 2006
- Affiliation: McGill University
CosmoMC: key not found : cov_file
Hi,
The same problem occurs when I use 2dF:
key not found : use_scaling
Add the statement just above line 127 of mpk.f90 will work:
Ini_fail_on_not_found = .false.
Another way to solve the problem is to remove line 242 of driver.F90:
Ini_fail_on_not_found = .true.
Although I do not really understand why.
Loison Hoi
3 Apr 2008
The same problem occurs when I use 2dF:
key not found : use_scaling
Add the statement just above line 127 of mpk.f90 will work:
Ini_fail_on_not_found = .false.
Another way to solve the problem is to remove line 242 of driver.F90:
Ini_fail_on_not_found = .true.
Although I do not really understand why.
Loison Hoi
3 Apr 2008