我之前安装了gfortran然后在camb下make成功了,后来就卸了安装了最新的ifort,在camb下make之后出错如下:[Fortran] 纯文本查看 复制代码 make
mkdir -p Release
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
mkdir -p Releaselib
ifort -shared -fpic -fast -W0 -WB -fpp -qopenmp -module Releaselib -IReleaselib/ -c constants.f90 -o Releaselib/constants.o
ifort: command line error: '-fminshared' conflicts with '-fpic'
make: *** [Releaselib/constants.o] Error 1
求助各位大神,小白已经撸了这个问题好几天了
|