Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29267 Discussions

Problems with Intel Math Kernel Library for Windows

rfirmeza
Beginner
583 Views
When trying to run simple examples included in the user's guide, I face the following error after the command:

CODE LINE: INCLUDE 'mkl_dss.f90' ! Include the standard DSS "header file."

ERROR: Cannot open include file 'mkl_dss.f90

It seems that the compiler can't find the library, but I already looked and checked and I don't know the reason for it. All the settings point to the correct library. Any help?

Thanks
0 Kudos
2 Replies
Jugoslav_Dujic
Valued Contributor II
583 Views
It's not library, it's an included file. Settings for the object/library and include files differ.

How do you compile your application -- using Visual Studio or command line? If you installed MKL separately, it does not automatically bind itself to the paths in Visual Studio: you need to add MKL include directory (by default, C:Program FilesIntelMKL10.0.4.023include) to the compiler's search path (Tools/Options/Intel Fortran/Compilers/Includes).

Also, you should ensure that you have the appropriate MKL .lib directories (C:Program FilesIntelMKL10.0.4.023ia32lib) in "Libraries" path, in the same location.
0 Kudos
rfirmeza
Beginner
583 Views
Thanks JugoslavDujic,

It did partially solve my problems. However, I am now getting the message:

error LNK2019: unresolved external symbol _mkl_solver_dss_create referenced in function _DSS_CREATE

In the error list, this error is related to file mkl_intel_c.lib.

I tried adding this file to Additional Dependencies in Project/Properties, but it didn't work.

Any other thought?

I appreciate,

Roberto

P.S. I use Visual Studio 2008
0 Kudos
Reply