Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
7 Views

can't get MKL to work

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
Highlighted
Employee
7 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