getdist: error in compilation

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
suman bhattacharya
Posts: 5
Joined: February 21 2007
Affiliation: University of Pittsburgh

getdist: error in compilation

Post by suman bhattacharya » February 23 2007

Hi,

I am trying to compile the latest version of cosmomc. Everything else compiles well but when I try to compile GetDist.f90 its giving me the following error:

[suman@enlil source]$ make
f95 -g -O2 -DNAGF95 -O3 -I/home/bruno2/users/suman/../../../../usr/include/cfitsio -I/home/bruno2/users/suman/arthur/wmap_likelihoodcode_v2p2p2/ -I../camb -c GetDist.f90
GetDist.f90: In function doconvergetests:
GetDist.f90:810: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [GetDist.o] Error 1

Can someone please tell me what can be the source of such error?

Thanks very much.

Suman.

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

Re: getdist: error in compilation

Post by Antony Lewis » February 23 2007

A bug in the compiler - report it to them as requested.
(most often compiler bugs are in optimization, so could try removing -O2 and -O3: but do report it as well otherwise they won't know to fix it)

suman bhattacharya
Posts: 5
Joined: February 21 2007
Affiliation: University of Pittsburgh

getdist: error in compilation

Post by suman bhattacharya » February 23 2007

Thanks for your prompt reply. I tried removing -O2 -O3 but it didn't work. I will report the bug.
Meanwhile I have another question. I understand that Getdist.f90 is used for postprocessing , so cosmomc can be run independently. When I try running it:

[suman@enlil cosmomc]$ ./cosmomc params.ini
Error creatinging or opening chains/test.log

Can you please tell me why I am getting this error?

Thanks again.

Pascal Vaudrevange
Posts: 50
Joined: March 26 2006
Affiliation: DESY
Contact:

getdist: error in compilation

Post by Pascal Vaudrevange » February 28 2007

Check whether there is a directory called "chains" and if there is enough disk-space.

suman bhattacharya
Posts: 5
Joined: February 21 2007
Affiliation: University of Pittsburgh

getdist: error in compilation

Post by suman bhattacharya » March 02 2007

Yes I already checked that. actually it was some compilation issue with f95 which got fixed when I used ifort. But thanks anyway for your suggestion.

Post Reply