Cobaya: high-L template error and stop_at_error flag

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Neha Joshi
Posts: 3
Joined: September 09 2023
Affiliation: University of Pennsylvania

Cobaya: high-L template error and stop_at_error flag

Post by Neha Joshi »

Hi, I've been running chains with the

Code: Select all

stop_at_error: False
flag, which does not seem to work everytime. I'm often getting an error saying

Code: Select all

 You need to normalize the high-L template so it is dimensionless
ERROR STOP 
without any traceback even with the stop_at_error flag set. Is there a known fix to this?
Antony Lewis
Posts: 1984
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Cobaya: high-L template error and stop_at_error flag

Post by Antony Lewis »

This should only happen if your lensing spectrum is going a bit crazy, you can comment out the error in the source if you are doing this intentionally.
Neha Joshi
Posts: 3
Joined: September 09 2023
Affiliation: University of Pennsylvania

Re: Cobaya: high-L template error and stop_at_error flag

Post by Neha Joshi »

I don't think I'm doing this intentionally, as I'm trying to sample over reasonable priors for [math], logA, and w (with a range on [math]). Would tightening my priors a bit help?
Antony Lewis
Posts: 1984
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Cobaya: high-L template error and stop_at_error flag

Post by Antony Lewis »

Including CMB and SN so the parameters are actually constrained? If not, and that is really what you want to do, I would uncomment the error in the code.
Post Reply