Maximum amount of redshift windows in CAMB_sources

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Ze Fonseca
Posts: 6
Joined: June 04 2014
Affiliation: University of the Western Cape

Maximum amount of redshift windows in CAMB_sources

Post by Ze Fonseca » August 05 2014

Dear

I've been trying to run CAMB_sources with several redshift windows. If I use more than 20 I get the following error:
Segmentation fault (core dumped)

Do you know where the error may be coming from?

Thanks

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

Re: Maximum amount of redshift windows in CAMB_sources

Post by Antony Lewis » August 08 2014

Probably you need to increase the default max array size parameters. You may be able to compile with e.g. -check all -traceback to see exactly where array bounds are failing.

Ze Fonseca
Posts: 6
Joined: June 04 2014
Affiliation: University of the Western Cape

Maximum amount of redshift windows in CAMB_sources

Post by Ze Fonseca » August 15 2014

Hi

Thanks for the advise. Actually digging a bit in the code I found that the maximum amount of redshift windows was set up to 20. I've altered it.


Post Reply