Community
cancel
Showing results for 
Search instead for 
Did you mean: 
886 Views

Compiling program, linking mkl/lapack/blas

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
886 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 

Reply