Compilation error with CAMB

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
maryam aghaei
Posts: 6
Joined: February 02 2015
Affiliation: PhD Student

Compilation error with CAMB

Post by maryam aghaei » April 22 2015

Hi!

I have the same problem as in topic:

http://cosmocoffee.info/viewtopic.php?t ... light=camb

When I am going to compile CAMB I get:

ld: cannot find -lm
make: *** [camb] Error 1


I don't know how can I solve this. Can you please help me?
I have installed parallel studio 2013 and I have gotten the source code lately.

Regards,
[/url]

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

Re: Compilation error with CAMB

Post by Antony Lewis » April 22 2015

Probably just change optimization options. see


https://software.intel.com/en-us/articl ... ot-find-lm

maryam aghaei
Posts: 6
Joined: February 02 2015
Affiliation: PhD Student

Compilation error with CAMB

Post by maryam aghaei » April 26 2015

Thank you
Now it works properly

Post Reply