- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
- How can I use high-speed LAPACK and BLAS replacements (eg. Intel MKL, AMD ACML, OpenBLAS, GotoBLAS, ...) ?
- Simply link with the replacement library instead of standard LAPACK and BLAS. You may need to make minor modifications to "include/armadillo_bits/config.hpp" in order to make sure Armadillo uses the same style of function names as used by MKL or ACML. For example, the function names might be in capitals.
- For Linux-based systems the automatic installer can figure out that MKL, ACML or ATLAS are installed, and will use them instead of the standard LAPACK and BLAS libraries. See README.txt within the Armadillo archive for more information.
- If you're getting unresolved symbols during linking, or the automatic installer can't find your installation of MKL or ACML, install Armadillo manually (see README.txt). Then edit include/armadillo_bits/config.hpp and comment out (ie. disable) ARMA_USE_WRAPPER, and uncomment (ie. enable) ARMA_USE_LAPACK and ARMA_USE_BLAS. When compiling Armadillo based programs, link with the relevant MKL or ACML libraries instead of BLAS and LAPACK.
More information can be found here: http://arma.sourceforge.net/faq.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page