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

how to link MKL with graphic IDE of Intel Fortran for Windows

Dusan_Z_
Beginner
270 Views
Hello,

I am a MKL beginner, so I have a basic questions:

How can I link the MKL with Intel Fortran source?

I am working in graphic IDE on Windows and I've added the paths:

C:Program FilesIntelMKL8.1.1ia32lib
and
C:Program FilesIntelMKL8.1.1include
C:Program FilesIntelMKL8.1.1includecvf

to Libraries and Includes lists in Tools>Options>IntelFortran option in the IDE.

What statement (include, use,...) should I use in the source in order to link? (At the moment, I am just trying to call the zgesv procedure).

Thanks in advance,
Drasko

0 Kudos
2 Replies
TimP
Honored Contributor III
270 Views
include and use provide declarations for error checking at compile time. They don't have direct effect on linking. You would include mkl_c.lib in your project linkage settings. If you choose not to set openmp or parallel options, you would also include libguide.lib. Unless I missed it, it does look like the docs are command line oriented.
0 Kudos
Dusan_Z_
Beginner
270 Views
Thank you very much!

Problem solved.smiley [:-)]

0 Kudos
Reply