Page 1 of 1

error of CAMB: cannot find -lm

Posted: November 25 2015
by YinZhe Ma
I am installing the new CAMB, but while I am compiling it, it always gives error:

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

Could anyone help me?

Thank you.

error of CAMB: cannot find -lm

Posted: December 04 2015
by Mathew Madhavacheril
In the Makefile, try removing the fast option from:

Code: Select all

FFLAGS = -openmp -fast -W0 -WB -fpp2 -vec_report0
I use:

Code: Select all

FFLAGS = -openmp -ipo -O3 -W0 -WB -fpp2 -vec_report0
Might be related to:
https://software.intel.com/en-us/articl ... ot-find-lm