Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

can't get MKL to work

Ahmad_Falahatpisheh
211 Views
Hi All,

I am trying to use verf in my fortran 90 code. I have followed both the procedures for both IMSL and MKL. I set the library and include directories in Visual Studio and I still can't build my code in VS. The famous error shows up:
error LNK2019: unresolved external symbol _VERF referenced in function _MAIN__

The code is in the following form:
program test
include "mkl_vml.f90"
...
...
call verf(1,a,y)
end program


Then I tried the following to build it:
ifort myfortran.f90 %LINK_FNL_HPC%
but I got the following error:
ifort: command line warning #10161: unrecognized source type '%LINK_FNL_HPC%'; object file assumed

Could someone shed light on this problem?
0 Kudos
1 Reply
Chao_Y_Intel
Moderator
211 Views

Hi,
VERF() is not a MKL function. Is this the IMSL function you want to call? If so, I suggest you putting it the Fortran comipler forum, http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/

Thanks,
Chao

0 Kudos
Reply