CosmoMC : error when using the Planck likelihood

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Su GuanJhen
Posts: 8
Joined: November 28 2015
Affiliation: National Taiwan University

CosmoMC : error when using the Planck likelihood

Post by Su GuanJhen » November 28 2015

Hi,

I want to use the Planck likelihood with CosmoMC. What I use now is CosmoBox. I followed the instruction in http://cosmologist.info/cosmomc/readme_planck.html

I have downloaded the Planck likelihood data, and successfully compiled the CosmoMC, which runs well with test.ini. ( mpirun -np 1 ./cosmomc test.ini )

However, I got error when I want to run cosmomc with test_planck.ini
( mpirun -np 1 ./cosmomc test_planck.ini )

The error is as following:

ubuntu@ubuntu:~/Downloads/COSMOMC..PATH$ mpirun -np 1 ./cosmomc test_planck.ini

Number of MPI processes: 1
file_root:test
Random seeds: 1416, 26939 rand_inst: 1
Using clik with likelihood file ./data/clik/hi_l/plik/plik_dx11dr2_HM_v18_TT.clik
clik_init(../src/clik.c:57)::ForwardError
cldf_open(../src/cldf/cldf.c:191)::ForwardError
cldf_open_sub(../src/cldf/cldf.c:108)::Error -1234 (cannot stat file (error -1))
--------------------------------------------------------------------------
mpirun has exited due to process rank 0 with PID 2708 on
node ubuntu exiting improperly. There are two reasons this could occur:

1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.

2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"
This may have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------

I didn't understand the error description well, and have no idea what I should do to fix it. Would someone give me a help? Thank you.

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

Re: CosmoMC : error when using the Planck likelihood

Post by Antony Lewis » November 28 2015

Does ./data/clik/hi_l/plik/plik_dx11dr2_HM_v18_TT.clik exist?

Su GuanJhen
Posts: 8
Joined: November 28 2015
Affiliation: National Taiwan University

CosmoMC : error when using the Planck likelihood

Post by Su GuanJhen » November 29 2015

I checked and found that the symbolic link from data/clik to DATA...PATH/plc_2.0 was broken.

After I remade the symbolic link to DATA..PATH/plc_2.0 , it works!

Thank you very much !!!

Trupti Vijay Patil
Posts: 7
Joined: January 08 2021
Affiliation: PG

Re: CosmoMC : error when using the Planck likelihood

Post by Trupti Vijay Patil » January 18 2021

I have encountered the same error. I did check my clik installation and link to the clik file. It seems fine. Checking out all necessary requirements to run test.ini or test_planck.ini I'm still stuck with the same error. I am clueless now. Any assistance would be greately appreciated.

Post Reply