CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

CosmoMC: key not found : cov_file
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Claudio Destri



Joined: 13 Mar 2008
Posts: 2
Affiliation: Dip. di Fisica Milano-Bicocca

PostPosted: March 13 2008  Reply with quote

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
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 675
Affiliation: University of Sussex

PostPosted: March 13 2008  Reply with quote

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
View user's profile [ Hidden ] Visit poster's website
Claudio Destri



Joined: 13 Mar 2008
Posts: 2
Affiliation: Dip. di Fisica Milano-Bicocca

PostPosted: March 13 2008  Reply with quote

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
Code:
 cov_file  = ''

and no error was raised. Apparently Ini_Read_String('cov_file') does not return
the empty string.
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 675
Affiliation: University of Sussex

PostPosted: March 13 2008  Reply with quote

It should do if Ini_fail_on_not_found = .false.
Back to top
View user's profile [ Hidden ] Visit poster's website
Paolo Serra



Joined: 26 Feb 2008
Posts: 4
Affiliation: University of California, Irvine

PostPosted: March 27 2008  Reply with quote

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
Code:
 cov_file  = ''

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
View user's profile  
Neven Vulic



Joined: 28 Mar 2008
Posts: 1
Affiliation: University Of Toronto

PostPosted: March 28 2008  Reply with quote

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
View user's profile  
Loison Hoi



Joined: 21 Feb 2006
Posts: 23
Affiliation: McGill University

PostPosted: April 04 2008  Reply with quote

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
View user's profile  
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.