running cosmomc with planck error after successful compilation

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Subinoy Das
Posts: 18
Joined: March 20 2006
Affiliation: NYU

running cosmomc with planck error after successful compilati

Post by Subinoy Das » March 20 2014

after successful compilation ( meaning after "make" ) , when I try to run in the cluster I get the following error with params file. I am using params_generic as params.ini file. can any one help me. thanks


cp params_generic.ini params.ini
[ramakers@node15 cosmomc]$ ./cosmomc params.ini
Number of MPI processes: 1
file_root:test
Random seeds: 15093, 6150 rand_inst: 1
adding parameters for: HST
Computing tensors: F
Doing CMB lensing: F
Doing non-linear Pk: 0
lmax = 6500
lmax_computed_cl = 6500
max_eta_k = 13000.0000000000
transfer kmax = 0.800000011920929
Number of C_ls = 4
parameter ranges not found: w
application called MPI_Abort(MPI_COMM_WORLD, 875945536) - process 0

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

Re: running cosmomc with planck error after successful compi

Post by Antony Lewis » March 20 2014

The generic .ini file is for running with your own likelihood, nothing to do with cosmomc. Try test.ini.

Subinoy Das
Posts: 18
Joined: March 20 2006
Affiliation: NYU

running cosmomc with planck error after successful compilati

Post by Subinoy Das » March 20 2014

Thanks antony. I tried with test.ini

I got this error ( below). Am I missing the .clik files

./cosmomc params.ini
Number of MPI processes: 1
file_root:test
Random seeds: 9809, 6197 rand_inst: 1
Using clik with likelihood file ./data/clik/CAMspec_v6.2TN_2013_02_26_dist.clik
clik_try_lensing(../src/clik.c:428)::ForwardError
fopen_err(../src/minipmc/io.c:17)::Error -101 (Cannot open file './data/clik/CAMspec_v6.2TN_2013_02_26_dist.clik' (mode "r"))

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

Re: running cosmomc with planck error after successful compi

Post by Antony Lewis » March 20 2014


Gansukh Tumurtushaa
Posts: 34
Joined: October 05 2013
Affiliation: Sogang univ.

running cosmomc with planck error after successful compilati

Post by Gansukh Tumurtushaa » March 20 2014

Dear Subinoy Das,

Due to my experience for this error, I think, you should make a symbolic link between Planck data and cosmomc.
You will find the way how to do that if you open up the link provided earlier.
I hope it may help you.

Cheers!

BTW, how long does it take to run, mpirun -np 2 ./cosmomc test.ini in average?

Subinoy Das
Posts: 18
Joined: March 20 2006
Affiliation: NYU

running cosmomc with planck error after successful compilati

Post by Subinoy Das » March 20 2014

Thanks a lot. As I first time installing , these came up.
After , linking( and installing Planck data) , it runs for a minute or so with test.ini file and give the following mssg . do you have some idea?


./cosmomc params.ini
Number of MPI processes: 1
file_root:test
Random seeds: 11595, 536 rand_inst: 1
Using clik with likelihood file ./data/clik/CAMspec_v6.2TN_2013_02_26_dist.clik
----
clik version 5887
CAMspec e61cec87-3a37-43ca-8ed1-edcfcaf5c00a
Checking likelihood './data/clik/CAMspec_v6.2TN_2013_02_26_dist.clik' on test data. got -3908.71 expected -3908.71 (diff -3.67322e-08)
----
TT from l=0 to l= 2500
Clik will run with the following nuisance parameters:
A_ps_100
A_ps_143
A_ps_217
A_cib_143
A_cib_217
A_sz
r_ps
r_cib
n_Dl_cib
cal_100
cal_217
xi_sz_cib
A_ksz
Bm_1_1
Using clik with likelihood file ./data/clik/commander_v4.1_lm49.clik
----
clik version 5887
gibbs d462e865-e178-449a-ac29-5c16ab9b38f5
Checking likelihood './data/clik/commander_v4.1_lm49.clik' on test data. got 3.2784 expected 3.2784 (diff -2.55576e-10)
----
TT from l=0 to l= 49
Using clik with likelihood file ./data/clik/lowlike_v222.clik
Initializing Planck low-likelihood, version v2.1
----
clik version 5887
lowlike "lowlike v222"
Checking likelihood './data/clik/lowlike_v222.clik' on test data. got -1007.04 expected -1007.04 (diff -1.87824e-07)
----
TT from l=0 to l= 32
EE from l=0 to l= 32
BB from l=0 to l= 32
TE from l=0 to l= 32
reading BAO data set: DR9
reading BAO data set: DR7
reading BAO data set: 6DF
adding parameters for: lowlike_v222.clik
adding parameters for: DR7
adding parameters for: 6DF
adding parameters for: DR9
adding parameters for: commander_v4.1_lm49.clik
adding parameters for: CAMspec_v6.2TN_2013_02_26_dist.clik
WARNING: zero padding ext cls in LoadFiducialHighLTemplate
Computing tensors: F
Doing CMB lensing: T
Doing non-linear Pk: 0
lmax = 6500
lmax_computed_cl = 2500
max_eta_k = 6625.00000000000
transfer kmax = 0.800000011920929
Number of C_ls = 4
Fast divided into 1 blocks
Varying 20 parameters ( 6 slow ( 2 semi-slow), 14 fast ( 0 semi-fast))
1 Reading checkpoint from chains/test_1.chk
forrtl: severe (67): input statement requires too much data, unit 50, file /home/ramakers/Cosmo/cosmomc/chains/test_1.chk
Image PC Routine Line Source
cosmomc 00000000006A63D7 Unknown Unknown Unknown
cosmomc 00000000006A3EA5 Unknown Unknown Unknown
cosmomc 00000000004E68F5 Unknown Unknown Unknown
cosmomc 0000000000534378 Unknown Unknown Unknown
cosmomc 000000000040D986 Unknown Unknown Unknown
libc.so.6 0000003590A1D994 Unknown Unknown Unknown
cosmomc 000000000040D889 Unknown Unknown Unknown

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

Re: running cosmomc with planck error after successful compi

Post by Antony Lewis » March 20 2014

Delete your old checkpoint files (*.chk) or turn checkpointing off.

Subinoy Das
Posts: 18
Joined: March 20 2006
Affiliation: NYU

running cosmomc with planck error after successful compilati

Post by Subinoy Das » March 20 2014

Thanks a lot antony. After deleting the old .chk files it is running now.
Just wondering, how to turn of check pointing for future purposes?

Dhiraj Kumar Hazra
Posts: 17
Joined: March 31 2009
Affiliation: PCCP, APC, Paris

running cosmomc with planck error after successful compilati

Post by Dhiraj Kumar Hazra » March 20 2014

Hi Subinoy Das,

So you want to turn on or turn off checkpoint ? Turning off is simply done by what Antony has said. Turning on can be done trough ini files for a fresh run.

Cheers,
Dhiraj

Post Reply