CosmoMC :“ERROR: Trial parameters excluded by prior or error in likelihood”

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
zhou ming
Posts: 1
Joined: August 24 2012
Affiliation: ynao

CosmoMC :“ERROR: Trial parameters excluded by prior or error

Post by zhou ming » August 29 2012

Hi,

I am working with the CosmoMC.After installation,when I run "cosmomc params.ini"
It shows errors,below
Number of MPI processes: 1
Random seeds: 27190, 28308 rand_inst: 1
Computing tensors: F
Doing CMB lensing: T
lmax = 2100
Number of C_ls = 4
Varying 7 parameters ( 0 fast)
Finding max-like point
Initialising BBN Helium data...
reading WMAP7 data
Initializing WMAP likelihood, version v4.1
ERROR: Trial parameters excluded by prior or error in likelihood
Try starting further away from problem regions?
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 142945128.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------


I have checked WMAP test,it shows belowing

WMAP 7-year likelihood test program
===================================

NOTE: This code uses a different CMB spectrum than previous versions.
The new spectrum (data/test_cls_v4.dat) is a better fit to the data
than the old one (data/test_cls_v3.dat).

As before, a constant offset is now being subtracted from ln(L).
The value of the offset is the sum of the determinant
contributions to ln(L) computed for the CMB spectrum in
data/test_cls_v4.dat, ln_det_C_f:

-2ln(L) = chi^2 + ln_det_C - ln_det_C_f

Reading in Cls from: /mnt/Software/likelihood_v4p1/data/test_cls_v4.dat
Initializing WMAP likelihood, version v4.1
------------------------------------------------------------
WMAP likelihood evaluation report:
no errors
------------------------------------------------------------
------------------------------------------------------------------
Breakdown of -2ln(L)
------------------------------------------------------------------
MASTER TTTT = 1249.018875 for 1168 ls
Beam/ptsrc TT correction = -3.607327
low-l TTTT gibbs = -9.380526
MASTER TETE chi2 = 818.570514 for 777 ls
MASTER TETE det = 3775.082049
TT/TE/EE/BB low-l chi2 = 1263.436570 for 1170 pixels
TT/TE/EE/BB low-l det = 384.536614
------------------------------------------------------------------
TOTAL -2ln(L) = 7477.656769
------------------------------------------------------------------
Expected -2ln(L) = 7477.656769
Difference = 0.000000
------------------------------------------------------------------

Differences on the order of O(0.001) are normal between platforms.

It seems WMAP works well.I don't know what's wrong with this problem,could you help me?

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

Re: CosmoMC :“ERROR: Trial parameters excluded by prior or e

Post by Antony Lewis » August 31 2012

action=2 does not work very reliably (finding the max likelihood), try running chains instead. Also check your parameter ranges in the .ini file.

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

Re: CosmoMC :“ERROR: Trial parameters excluded by prior or e

Post by Antony Lewis » October 05 2012

As of the Oct 2012 version, best-fit finding (action=2) and estimate_propose_matrix should work more reliably, esp. with parameters that have hard prior cuts.

Post Reply