CosmoCoffee Forum Index CosmoCoffee

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

cosmomc: make getdist
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
Stefano Rigolin



Joined: 26 May 2008
Posts: 1
Affiliation: Universi

PostPosted: May 27 2008  Reply with quote

Hi

having a problem in "make" the cosmomc/source (version downloaded
the 24/05/08). I'm using ifort version 10.0 on a Intel Mac OsX (10.4.11)

When doing "make" the cosmomc binary is produced but when executed

> ./cosmomc params.ini

gives the following error

> Random seeds: 19821, 1615 rand_inst: 0
> key not found : cmb_dataset_SZ_scale1

(there is no such a parameter in param.ini ... but if added
it seems to work). Moreover if one does:

> make getdist (or)
> make all

the following error appears:

—-
ifort -DMATRIX_SINGLE -O2 -ip -xT -W0 -WB -fpp2 -openmp -vec_report0 -I/Users/stef/Library/Cfitsio/include -I/Users/stef/Library/WMAP/likelihood_v3 -I../camb -c GetDist.f90
fortcom: Error: GetDist.f90, line 1553: This name does not have a type, and must have an explicit type. [INI_HASKEY]
if (Ini_HasKey('nparams')) then
—-

I've looked in cosmomc/camb/inifile.f90 that seems where Ini_HasKey
command should be ... but didn't find there.
Anyone knows how to fix these problems ? Could ifort 10.0 be the real
problem (I've seen there are some issues with this version) ?

thanks
Back to top
View user's profile  
Ana Vasile



Joined: 26 Mar 2006
Posts: 23
Affiliation: Institute for Space Sciences

PostPosted: May 28 2008  Reply with quote

Hi,

I am not sure about the first error, but as for the second, the one with getdist, I suggest a quick solution (it just doesn't delay your work): replace GetDist.f90 from May 2008 version with GetDist.f90 from March 2008 version. It worked for me.
Back to top
View user's profile [ Hidden ] Visit poster's website
Antony Lewis



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

PostPosted: June 08 2008  Reply with quote

I just re-tested compilation of the May08 download and it seems to be fine. The download includes the latest inifile.f90 which is the cause of the GetDist compilation problem, so not sure what's going on. (usually when I get things like this it's because I forgot to recompile libcamb.a using "Make all" in the CAMB folder).
Back to top
View user's profile [ Hidden ] Visit poster's website
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.