| View previous topic :: View next topic |
| Author |
Message |
Stefano Rigolin
Joined: 26 May 2008 Posts: 1 Affiliation: Universi
|
Posted: May 27 2008 |
|
|
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 |
|
 |
Ana Vasile
Joined: 26 Mar 2006 Posts: 23 Affiliation: Institute for Space Sciences
|
Posted: May 28 2008 |
|
|
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 |
|
 |
Antony Lewis
Joined: 23 Sep 2004 Posts: 683 Affiliation: University of Sussex
|
Posted: June 08 2008 |
|
|
| 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 |
|
 |
|