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

Compiling program, linking mkl/lapack/blas

kringstad__aleksande
2,217 Views

Hi. I am trying to compile a program(COIN OR CBC and its dependencies) using intel compilers and mkl to get best possible performance.

The program and its dependencies can be compiled using:  ./configure -> make -> make install

Before I used the flags: --enable-blas="-lrefblas" and --enable-lapack="-llapack"



So I want to ensure that the intel mkl blas/lapack libraries are used.
How do I make sure of this?
Also, I want to ensure that the mkl library is used for math operations (instead of the regular -lm).Is this the default when using intel compiler, or do I need to specify this in a way?

0 Kudos
1 Reply
Gennady_F_Intel
Moderator
2,217 Views

please check the Intel MKL Developer Guide - Linking Your Application with the Intel® Math Kernel Library and/or check the online MKL Linker adviser 

0 Kudos
Reply