Page 1 of 1

camb and intel compiler

Posted: November 27 2017
by Nishanth Sasankan
whenever I try to compile camb with intel compiler i get the following error,

ifort -fast -W0 -WB -fpp -qopenmp -module Release -IRelease/ Release/constants.o Release/utils.o Release/subroutines.o Release/inifile.o Release/power_tilt.o Release/recfast.o Release/reionization.o Release/modules.o Release/bessels.o Release/equations.o Release/halofit_ppf.o Release/lensing.o Release/SeparableBispectrum.o Release/cmbmain.o Release/camb.o inidriver.F90 -cxxlib -o camb
ld: cannot find -lstdc++
ld: cannot find -lm
ld: cannot find -lstdc++
ld: cannot find -lpthread
ld: cannot find -lc
ld: cannot find -ldl
ld: cannot find -lc
make: *** [camb] Error 1
I tried with many different version of Intel compiler, but the error persists,
any ideas as to why this is happening?

Thanks
Nishanth

camb and intel compiler

Posted: January 08 2018
by Karthik Prabhu P
Remove "-fast" tag (Line 17 by default) and try to make. It should work.