Hello, I have a problem linking the mkl libraries with my program in FORTRAN. I am using the Intel Parallel Studio XE 2011 with VS 2010. The program is simple (see the code below):
double precision Ht(2,2), ebb(2)
call syevd(Ht, ebb, 'N', 'U', info)
write(*,*) ebb(1), ebb(2)
I've read that to link tke mkl (when usin the Intel Compiler integated with VS 2010) one has to set Project>Properties>Fortran>Libraries>Use Intel Math Kernel Library to Parallel or Sequential. And so I did, but when I hit bulid an error occures:
error LNK2019:unresolved external symbol _DSYEVD_MKL95 refferenced in function _MAIN_
Can anyone help?
PS Sorry if this is a basic, not interesting poroblem.
ifort /Qmkl michal.f90 mkl_lapack95.lib.
Or, if usIng the IDE, add mkl_lapack95.lib as an additional library to use when linking.