cosmomc: make getdist
-
- Posts: 1
- Joined: May 26 2008
- Affiliation: Universi
cosmomc: make getdist
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
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
-
- Posts: 25
- Joined: March 26 2006
- Affiliation: Institute for Space Sciences
- Contact:
cosmomc: make getdist
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.
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.
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: cosmomc: make getdist
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).
-
- Posts: 1
- Joined: May 22 2014
- Affiliation: Universidad Católica de la Santísima Concepción
cosmomc: make getdist
Hi
I need to use GetDist (May 2014 version) to analyze the data delivery problem to me MULTINEST setting three cosmological parameters. I'm using g95 compiler on an Intel Core i7 machine. My problem is that I work on a cpu and I can not give the parameters to compile GetDist
When do I get make GetDist
mkdir -p ReleaseMPI
mpif90 -cpp -O3 -ffast-math -DMPI -I../camb -JReleaseMPI -IReleaseMPI/ -c MiscUtils.f90 -o ReleaseMPI/MiscUtils.o
make: mpif90: No se encontró el programa
make: *** [ReleaseMPI/MiscUtils.o] Error 127
I know that once this is done you can run GetDist in generic form with disgeneric.ini.
We greatly appreciate your valuable help.
I need to use GetDist (May 2014 version) to analyze the data delivery problem to me MULTINEST setting three cosmological parameters. I'm using g95 compiler on an Intel Core i7 machine. My problem is that I work on a cpu and I can not give the parameters to compile GetDist
When do I get make GetDist
mkdir -p ReleaseMPI
mpif90 -cpp -O3 -ffast-math -DMPI -I../camb -JReleaseMPI -IReleaseMPI/ -c MiscUtils.f90 -o ReleaseMPI/MiscUtils.o
make: mpif90: No se encontró el programa
make: *** [ReleaseMPI/MiscUtils.o] Error 127
I know that once this is done you can run GetDist in generic form with disgeneric.ini.
We greatly appreciate your valuable help.