[fortran]program linsolx use lapack95, only : getrf, getrs integer ipiv(3) double precision :: a(3,3)=reshape([2.,-1.,0.,-1.,2.,-1.,0.,-1.,2.],[3,3]) double precision :: b(3) = ([4., 5., 6.]) call getrf( a ,ipiv) ! Factorize A call getrs( a, ipiv, b) ! Solve A.x = b write(*,'(3g15.5)') b end program linsolx [/fortran]Compiling and linking:
[bash]S:LANG> ifort /Qmkl getsX.f90 mkl_lapack95.lib [/bash]
Could you tell me where these examples are? I have been trying to link fortran 11.1 with MKL 10.1 but have not been successful yet. Could you please add more details on how to create a link btween intel fortran 11.1 abd MKL 10.1?
please see here the KB article to find outwhich versions of the Intel IPP, Intel MKL and Intel TBB libraries are included as part of theIntel Compiler Probund les V11.* based