Two methods to compile
lev00
- Method 1: lev00直接用gfortran编译就可以,经测试,gfortran编译正常。
LIBS=-lgfortran -lgfortranbegin
FCOMPL = gfortran $(DEBUG)
FCOMPL = ifort -debug -check -traceback -fpe0 -warn -Vaxlib $(DEBUG)
一行中 -check选项后面的几项
FCOMPL = ifort -debug -check $(DEBUG)
then,
add
LIBS
=
-L/opt/intel/mkl/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64
----------------------------------------------------------
TETR
======================
LIBS
=
-L/opt/intel/mkl/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/compiler/lib/intel64:/opt/intel/composer_xe_2011_sp1.9.293/mkl/lib/intel64
FCOMPL = ifort -Vaxlib $(DEBUG)
finally set environment variable
=================================
https://wap.sciencenet.cn/blog-211012-614129.html
上一篇:
vasp compilation下一篇:
百度网盘 http://yun.baidu.com/disk/beinvited?uk=2315255932