- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MKL 2025 installed from pypi seems to be missing the `cspr_64_` symbol with the trailing underscore:
$ nm libmkl_intel_ilp64.so |grep cspr_64
00000000002e3f80 T cspr_64
00000000002e3f80 T mkl_lapack__cspr_64_while
$ nm libmkl_intel_ilp64.so |grep sspr_64
00000000002d1e60 T cblas_sspr_64
0000000000239d60 T sspr_64
0000000000239d60 T sspr_64_
$ nm libmkl_intel_ilp64.so |grep dspr_64
00000000002c5c70 T cblas_dspr_64
0000000000252660 T dspr_64
0000000000252660 T dspr_64_Found it via the SciPy's pull request which aims to bring ILP64 support to SciPy, https://github.com/scipy/scipy/pull/22743/
Our current workaround is to define an env variable and
#ifdef FIX_MKL_2025_ILP64_MISSING_SYMBOL
#define cspr_64_ cspr_64
#endif
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for catching this issue! I have reported it internally.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Fengrui!
Meanwhile, over at https://github.com/scipy/scipy/pull/23895 we noticed that several more symbols are missing the trailing underscore:
```
#ifdef FIX_MKL_2025_ILP64_MISSING_SYMBOL
#define cspr_64_ cspr_64
#define sgetc2_64_ sgetc2_64
#define dgetc2_64_ dgetc2_64
#define cgetc2_64_ cgetc2_64
#define zgetc2_64_ zgetc2_64
#define slasd4_64_ slasd4_64
#define dlasd4_64_ dlasd4_64
#endif
```
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These symbols were also added. The fix will be available in the 2026.0 release.
Thanks,
Fengrui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Superb, thank you. Looking forward to being able to use 2026.0 then!
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page