I am trying to link mkl library to my project.
I whant to use armadillo with mkl.
But I am not able to link properly mkl to my project.
I have my build log attached.
Can anyone help me.
Thanks a lot.
What I can see there - Results Build log was saved at "file://d:\OPF_2_Novo\Release\BuildLog.htm" OPF_2 - 0 error(s), 31 warning(s). There are references to the mlk's libraries at all.
Your build log doesn't show any references to MKL. What steps have you taken to try to use MKL?
To build Armadillo with Intel MKL, you need to manually edit include/armadillo_bits/config.hpp to make Armadillo to use MKL libraries instead of the standard BLAS and LAPACK libraries. Here's the quote taken from Armadillo documentation:
More information can be found here: http://arma.sourceforge.net/faq.html
Sory guys, I did it.
I have used the integrated component of mkl with Visual Studio instead of manual linking and it worked just fine.
In fact more than fine..it reduced the computation time 40% compared with armadillo only.
Thanks a lot for your reply, Zhang and Gennady Fedorov.
I was able to configure armadillo to use mkl.
I installed the integration component of mkl with Visual Studio and it worked just fine.
In fact it was more than fine, because the execution time of my program dropped 40%.
Thanks a lot Gennady and Zhang for your help.