我按照网上说的设置了Include和Lib路径,也更改了属性中的Additional Dependencies为mkl_lapack95.lib,Use Intel Math Kernel Library选择了Parallel,最终还是会报错无法解析的外部符号,不知道是什么原因?[Fortran] 纯文本查看 复制代码 include 'lapack.f90'
program main
use F95_PRECISION
use LAPACK95
integer,parameter::n=3
integer i
real(4)::a(n,n),b(n)
integer ipiv(n)
a=reshape([1,0,1,2,1,0,3,3,0],[n,n])
b(:)=[14,11,1]
call sgetrf(n,n,a,n,ipiv,i) !LU分解
!call sgetrs( 'N', n, n, a, n, ipiv, b,n, i )
end
|