| View previous topic :: View next topic |
| Author |
Message |
Claudio Destri
Joined: 13 Mar 2008 Posts: 2 Affiliation: Dip. di Fisica Milano-Bicocca
|
Posted: March 13 2008 |
|
|
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. |
|
| Back to top |
|
 |
Antony Lewis
Joined: 23 Sep 2004 Posts: 675 Affiliation: University of Sussex
|
Posted: March 13 2008 |
|
|
I guess we need a
| Code: | | Ini_fail_on_not_found = .false. |
in ReadmpkDataset of mpk.f90? (not quite sure why this changed) |
|
| Back to top |
|
 |
Claudio Destri
Joined: 13 Mar 2008 Posts: 2 Affiliation: Dip. di Fisica Milano-Bicocca
|
Posted: March 13 2008 |
|
|
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
| Code: | | cov_file = Ini_Read_String('cov_file') |
with a brute force
and no error was raised. Apparently Ini_Read_String('cov_file') does not return
the empty string. |
|
| Back to top |
|
 |
Antony Lewis
Joined: 23 Sep 2004 Posts: 675 Affiliation: University of Sussex
|
Posted: March 13 2008 |
|
|
| It should do if Ini_fail_on_not_found = .false. |
|
| Back to top |
|
 |
Paolo Serra
Joined: 26 Feb 2008 Posts: 4 Affiliation: University of California, Irvine
|
Posted: March 27 2008 |
|
|
| 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:127
| Code: | | cov_file = Ini_Read_String('cov_file') |
with a brute force
and no error was raised. Apparently Ini_Read_String('cov_file') does not return
the empty string. |
Hi.
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 |
|
| Back to top |
|
 |
Neven Vulic
Joined: 28 Mar 2008 Posts: 1 Affiliation: University Of Toronto
|
Posted: March 28 2008 |
|
|
| 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. |
|
| Back to top |
|
 |
Loison Hoi
Joined: 21 Feb 2006 Posts: 23 Affiliation: McGill University
|
Posted: April 04 2008 |
|
|
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 |
|
| Back to top |
|
 |
|