Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Using MKL with Armadillo.

Scott_B_
Beginner
475 Views

I have been able to successfully compile and link MKL to a research code which uses the Armadillo C++ linear algebra library (http://arma.sourceforge.net).  I am using dynamic linking in MS Visual Studio 2015.  My program runs fine until the first call to the BLAS routine dgemv().  At that point the program crashes with "exited with code 2 (0x2)."  There are no other messages, including diagnostic messages from Armadillo.

I would like to use MKL for speed.  I am able to run my program linked to OpenBLAS and the BLAS/Lapack shipped with Armadillo.

What is the problem here?

0 Kudos
2 Replies
Jing_Xu
Employee
475 Views

Do you mean you are trying to compile a code that uses Armadillo C++ linear algebra library and link it to MKL?

Could you provide the test case for us to reproduce the issue?

Gennady_F_Intel
Moderator
475 Views

+ add MKL_VERBOSE=1 env variable and see the log which MKL will print

Reply