Problem running Make in CosmoMC for the first time

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Esteban Chalbaud
Posts: 11
Joined: June 01 2019
Affiliation: Master's student
Contact:

Problem running Make in CosmoMC for the first time

Post by Esteban Chalbaud » June 01 2019

Hi, i have a problem while i try to run out, CosmoMC, while i try using make on Linux, i got the following error:


make
cd ./source && make cosmomc BUILD=MPI
make[1]: Entering directory '/home/esteban/CosmoMC-Nov2016/source'
mkdir -p ReleaseMPI
cd ../camb && \
make --file=Makefile_main libcamb OUTPUT_DIR=ReleaseMPI \
RECOMBINATION=recfast EQUATIONS=equations_ppf NONLINEAR=halofit_ppf
make[2]: Entering directory '/home/esteban/CosmoMC-Nov2016/camb'
mkdir -p ReleaseMPI
mpif90 -cpp -O3 -ffast-math -ffree-line-length-none -fopenmp -fmax-errors=4 -march=native -DMPI -JReleaseMPI -IReleaseMPI/ -c constants.f90 -o ReleaseMPI/constants.o
constants.f90:90:29:

if (id==0) error stop('Error id must be non-zero')
1
Error: Blank required in ERROR STOP statement near (1)
Makefile_main:131: recipe for target 'ReleaseMPI/constants.o' failed
make[2]: *** [ReleaseMPI/constants.o] Error 1
make[2]: Leaving directory '/home/esteban/CosmoMC-Nov2016/camb'
Makefile:312: recipe for target 'camb' failed
make[1]: *** [camb] Error 2
make[1]: Leaving directory '/home/esteban/CosmoMC-Nov2016/source'
Makefile:17: recipe for target 'cosmomc' failed
make: *** [cosmomc] Error 2

Is there any way to repair it?
Thanks in advance.

Esteban

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Problem running Make in CosmoMC for the first time

Post by Antony Lewis » June 03 2019

Looks like you are using a very old version? Try the latest.

Esteban Chalbaud
Posts: 11
Joined: June 01 2019
Affiliation: Master's student
Contact:

Re: Problem running Make in CosmoMC for the first time

Post by Esteban Chalbaud » June 04 2019

I am using the link provided in the email (November 2016)

Antony Lewis
Posts: 1941
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Problem running Make in CosmoMC for the first time

Post by Antony Lewis » June 05 2019

I see, yes the "releases" are a bit behind largely because of the nearly-forever delay in the Planck 2018 update. Try the current master head (always a good idea if a specific release gives a problem).

Esteban Chalbaud
Posts: 11
Joined: June 01 2019
Affiliation: Master's student
Contact:

Re: Problem running Make in CosmoMC for the first time

Post by Esteban Chalbaud » July 03 2019

Thank you, now is working

Post Reply