Memory leak in cobaya with new camb version

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
boryana hadzhiyska
Posts: 5
Joined: April 28 2021
Affiliation: Harvard

Memory leak in cobaya with new camb version

Post by boryana hadzhiyska » November 16 2021

Hi!

I ran into a very strange problem. I updated my camb version recently from 1.3.2 to 1.3.4 and that seems to have led to a memory leak in cobaya. In particular, code that I used to run without a problem using a total of 2 GB I can no longer run, as it ends up requiring tens of GB (and that number continuously increasing). I just degraded my camb version to the older one and that seems to have fixed the problem. I apologize, but I don't know what particular part of CAMB causes the issue. Here is the yaml file (and my likelihood module) in case this is helpful:
https://github.com/LSSTDESC/DESCBiasChallenge/commit/e8c15191469792078445b740198a2140a02428bf

Cheers,
Boryana

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

Re: Memory leak in cobaya with new camb version

Post by Antony Lewis » November 16 2021

More likely to be a difference in fortran compilers - how are you compiling/which versions?
cf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94109

Post Reply