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

How to create C project with mkl.h

Chandramohan_V
Beginner
824 Views

I'm new to intel system studio 2019, so i don't know how to use mkl.h library function in my c program.

Can anyone tell me procedure to create C project creation with mkl.h? and what are the configurations need to change?

0 Kudos
3 Replies
Gennady_F_Intel
Moderator
824 Views

You may start with mkl's examples ( mklroot/examples folder). All of these are command line c/fortran examples. In the case if you need to see how to use visual studio - this article may help you to start. 

0 Kudos
Chandramohan_V
Beginner
824 Views

@Gennady F, I'm using intel system studio 2019 on linux. While compilation I don't know what are the things need add for linking. I tried with Link Line Advisor v4.7, but getting ld: cannot find -lmkl_intel_ilp64 and
ld: cannot find -libmkl_sequential message.

0 Kudos
Gennady_F_Intel
Moderator
824 Views

it seems you need to read MKL Developer Guide, starting since Getting Started and etc.... also you may see the mkl examples where we provide many of makefiles which is also may help to see how to compile and link your application with Intel MKL. 

0 Kudos
Reply