cosmomc seg fault

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Steven Pediani
Posts: 16
Joined: October 06 2008
Affiliation: University of Manchester

cosmomc seg fault

Post by Steven Pediani » October 30 2008

I'm getting a segmentation fault when running the cosmomc code. Cosmomc, camb and WMAP 5 compile, but when I run the code using the default parameters I get,

Number of MPI processes: 1
Random seeds: 29897, 19192 rand_inst: 1
Computing tensors: F
Doing CMB lensing: T
lmax = 2100
Number of Cls = 3
Varying 7 parameters ( 0 fast)
reading: params_CMB.covmat
forrtl: severe (174): SIGSEGV, segmentation fault occurred
Image PC Routine Line Source
cosmomc 0000000000C1195F Unknown Unknown Unknown
libpthread.so.0 00000032A7A0DE70 Unknown Unknown Unknown
cosmomc 0000000000C1193B Unknown Unknown Unknown
libpthread.so.0 00000032A7A0DE70 Unknown Unknown Unknown

Any ideas?

Steven Pediani
Posts: 16
Joined: October 06 2008
Affiliation: University of Manchester

cosmomc seg fault

Post by Steven Pediani » October 30 2008

Update: It was a problem with LAPACK, sorted now though.

Alessio Notari
Posts: 7
Joined: November 26 2005
Affiliation: McGill U.

cosmomc seg fault

Post by Alessio Notari » November 22 2008

Hi!
I am just having exactly the same problem.
How did you solve it?
thanks!

Alessio Notari
Posts: 7
Joined: November 26 2005
Affiliation: McGill U.

cosmomc seg fault

Post by Alessio Notari » November 22 2008

ok, no problem: solved!
;)

Jen-Chieh Wang
Posts: 1
Joined: December 01 2008
Affiliation: SUNY at Buffalo

cosmomc seg fault

Post by Jen-Chieh Wang » December 01 2008

Hi all,
could you please tell me how to solve this problem?
I just have the same one.
Thanks a lot.

Steven Pediani
Posts: 16
Joined: October 06 2008
Affiliation: University of Manchester

cosmomc seg fault

Post by Steven Pediani » December 02 2008

For me the problem occured while cosmomc tried to call a function in LAPACK. I changed my lapack options which sorted it out. There is a similar problem here: http://cosmocoffee.info/viewtopic.php?t=1274

Although slightly different, the advice I gave in that thread is the same as I'd give in this case, just play around with the options until it works.

Post Reply