Page 1 of 1

cosmomc seg fault

Posted: October 30 2008
by Steven Pediani
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 C_ls = 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?

cosmomc seg fault

Posted: October 30 2008
by Steven Pediani
Update: It was a problem with LAPACK, sorted now though.

cosmomc seg fault

Posted: November 22 2008
by Alessio Notari
Hi!
I am just having exactly the same problem.
How did you solve it?
thanks!

cosmomc seg fault

Posted: November 22 2008
by Alessio Notari
ok, no problem: solved!
;)

cosmomc seg fault

Posted: December 01 2008
by Jen-Chieh Wang
Hi all,
could you please tell me how to solve this problem?
I just have the same one.
Thanks a lot.

cosmomc seg fault

Posted: December 02 2008
by Steven Pediani
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.