CosmoMC: XLF compiler 8.1/OS X G5/new WMAP likelihood v2p2

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Hiranya Peiris
Posts: 54
Joined: September 28 2004
Affiliation: University College London

CosmoMC: XLF compiler 8.1/OS X G5/new WMAP likelihood v2p2

Post by Hiranya Peiris » November 08 2006

Hi all,

Has anyone managed to run the Oct 20th version of CosmoMC and the new WMAP likelihood code v2p2 with the above compiler/architecture combination? I find that it just crashes with a segmentation fault when it tries to call PASS2_COMPUTE_LIKELIHOOD. As far as I can tell it does not execute a single statement inside the WMAP likelihood routine.

PASS2_WMAP_INIT can be called on its own from within MAPLnLike and completes without a problem. The WMAP likelihood on its own compiles and runs fine when its not linked to cosmomc.

I would be very grateful for any insight into this issue.

Cheers
Hiranya

Hiranya Peiris
Posts: 54
Joined: September 28 2004
Affiliation: University College London

CosmoMC: XLF compiler 8.1/OS X G5/new WMAP likelihood v2p2

Post by Hiranya Peiris » November 08 2006

OK I fixed this. The problem seems to be that there is a 1000X1000 matrix in the stack ("fisher"). If you move the definition of fisher from SUBROUTINE PASS2_COMPUTE_LIKELIHOOD(cltt,clte,clee,clbb,like) to the heap (e.g. define it in MODULE WMAP_PASS2 just after off_log_curv is defined), the code works normally.

Cheers
Hiranya

Post Reply