Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Missing `cspr_64_` symbol in ILP64 MKL

ev-br
Beginner
1,922 Views

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

 

0 Kudos
4 Replies
Fengrui
Moderator
1,714 Views

Thank you for catching this issue! I have reported it internally.

0 Kudos
ev-br
Beginner
534 Views

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

```

0 Kudos
Fengrui
Moderator
520 Views

These symbols were also added. The fix will be available in the 2026.0 release.

 

Thanks,

Fengrui

0 Kudos
ev-br
Beginner
516 Views

Superb, thank you. Looking forward to being able to use 2026.0 then!

0 Kudos
Reply