camb and intel compiler

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Nishanth Sasankan
Posts: 27
Joined: September 07 2016
Affiliation: university of notre dame

camb and intel compiler

Post by Nishanth Sasankan » November 27 2017

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

Karthik Prabhu P
Posts: 1
Joined: June 19 2015
Affiliation: IISER-Pune

camb and intel compiler

Post by Karthik Prabhu P » January 08 2018

Remove "-fast" tag (Line 17 by default) and try to make. It should work.

Post Reply