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

Fortran program, Using MKL library and visual studio 2022

Jari_z4
Beginner
399 Views

Hello,

I have resently installed VS2022, Intel OneAPI Fortran and the MKL library.

 

When doing the build in VS 2022 the compiler does not find the include file in the directory setup for the project:

Jari_z4_0-1729844416834.png

I have also setup the project to use the MKL library

Jari_z4_1-1729844522888.png

My simple test code looks like this:

Jari_z4_2-1729844639119.png

And I get following when builing:

Jari_z4_3-1729844688124.png

What could be the problem?

 

Regards

Jari

0 Kudos
1 Reply
Jari_z4
Beginner
322 Views

I resolved the problem ! I had told VS that I would use MKL and then also added additional "include" and "lib" folders. Then tried to include some functions. 

When removing the additional folders and instead specifying functions/routines from MKL as "external", then everyting worked OK.

 

//Jari

0 Kudos
Reply