- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
As the mkl library's size is too large, I want to find a way to reduce its size and then include it into my application.
I searched previous articles, and found I can try to build a custom dll following Using the Custom Dynamic-link Library Builder in the Command-line Mode (intel.com)
however, there are some issues:
1. whenever I set Parallel to intel or tbb, the result is the same
the generated mkl_custom.dll has the same size and the last link commands seem no difference
and seems always link to openmp?
2. when I set interface to ilp64(according to LP64 interface or ILP64 interface library, which one should I link with? - Intel Community)
the library size reduced from 118MB to 85MB, which looks like exciting to me,
however, the eigen solver with Pardiso doesn't work
(Eigen::PardisoLLT compute 's result is always 3 (Eigen::ComputationInfo::InvalidInput))
3. I use following command to build
nmake libintel64 interface=lp64 cluster=no uwd_compat=yes threading=parallel prallel=tbb export=user_example_list
and only includes following functions in user_example_list
pardiso
feastinit
dfeast_scsrev
the generated dll size still has 118MB, is there any suggestion to reduce more dll size?
thanks very much
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting in Intel communities.
We tried to generate the custom dll at our end, and we are getting the following results.
command : nmake libintel64 interface=lp64 cluster=no uwd_compat=yes threading=parallel prallel=tbb export=user_example_list
Interface = lp64
Functions : pardiso, feastinit , dfeast_scsrev
Custom DLL size : 115 MB
command : nmake libintel64 interface=ilp64 cluster=no uwd_compat=yes threading=parallel prallel=tbb export=user_example_list
interface = ilp64
Functions : pardiso, feastinit , dfeast_scsrev
Custom DLL size : 83 MB
>> when I set interface to ilp64 the library size reduced from 118MB to 85MB, which looks like exciting to me,
however, the eigen solver with Pardiso doesn't work
Could you please provide us a sample reproducer and OS details, so that we can replicate and investigate more at our end.
Regards,
Jilani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Sorry for the late and edit reply.
>> the generated dll size still has 118MB, is there any suggestion to reduce more dll size?
The size of the custom DLL is 115 MB as expected for the interface=lp64.
>> when I set interface to ilp64 the library size reduced from 118MB to 85MB, which looks like exciting to me,
however, the eigen solver with Pardiso doesn't work
Could you please provide us a sample reproducer and OS details, so that we can replicate and investigate more at our end.
The information would be helpful to understanding of the issue deeply.
Regards,
Jilani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
A gentle reminder:
Could you kindly share a sample reproducer along with the details of the OS? This will enable us to replicate and conduct a more thorough investigation on our end.
Regards,
Jilani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
A gentle reminder:
Could you kindly share a sample reproducer along with the details of the OS? This will enable us to replicate and conduct a more thorough investigation on our end.
Regards,
Jilani
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page