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

How to use MKL with G++

jbgao
Beginner
817 Views

Hi All

WHat is the correct command for using MKL with g++ compiler in Redhat Linux EL 64 bit?

Thanks a lot

jbgao

0 Kudos
2 Replies
TimP
Honored Contributor III
817 Views
The use of MKL with g++ need not be any different than with other supported compilers. If you use g++ -fopenmp along with threaded MKL, you must use the libiomp5 of MKL 10, not libguide or libgomp.
0 Kudos
minifat
Beginner
817 Views
There's a example directory, you may refer to the Makefile or output of the compiling and linking process.
0 Kudos
Reply