- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Currently, I have some problems using MKL & Eigen library (a C++ template library for linear algebra).
I test the matrix multiply using Eigen library and Intel_MKL. I made code sample and it shows me awesome results in reducing time cost.
And, I try to separate the sample code. but the result does not show me the awesome results (the whole code form is the same as before).
why does not time cost reduces using separate code?
I use this : Eigen library & inte MKL & mpicxx ( i don't know version checking)
I attached the sample code as a zip.
please, could you check the error or missing something in the separated code?
About attached directory,
- no separate code
- separate code
Thank you
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please provide which version of parallel studio/OneAPI you were using?
you can get the intel compiler version with this command:
icpc -v and icpc -V
Also please mention your system configuration (CPU cores, RAM, OS).
You can get CPU information with the cpuinfo command.
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The intel compiler version is "icpc version 18.0.1 (gcc version 4.8.5 compatibility)" (using 'icpc -v')
And I use the below systems
CPU : Intel(R) Xeon(R) Silver 4110, which has 16 cores.
OS : linux (centOS)
memory : MemTotal : 65441696KB (in /proc/meminfo/)
Do you want to know the other information? or Are there any problems?
With many thank,
MKway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for providing the details we have asked for.
We have found a similar issue when testing your code. We have used the latest Intel C compiler but still found performance differences when code is separated.
We are transferring this issue to the internal team for better support.
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
jaewook, which MKL version did you try to test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And I found the error point! The error point is in define statement order!
I just try to change the order of '#define EIGEN_USE_MKL_ALL' in order to define before #include<Eigen> and then test it.
I can solve the problem.
I really want to thank you for your help.
Happy new year 2021,
MKway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, thanks for the update. This issue has been resolved and closed. Any further interaction in this thread will be considered community only.


- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page