Provide an easy way to check BLAS/LAPACK linkage from python
See original GitHub issueAccording to the answers to this stackoverflow question the only way to check if Numpy is using the system BLAS/LAPACK is to inspect the output of ldd
on some library belonging to numpy hidden deep in the filesystem. In fact I am not 100 % sure that I interprete my results correctly.
It would be nice with something like
>>>print(numpy._lapack_version_)
3.4.2
>>>print(numpy._blas_version_)
OpenBLAS 0.2.8
or if we are using the fallback
>>>print(numpy._lapack_version_)
fallback
Issue Analytics
- State:
- Created 10 years ago
- Reactions:2
- Comments:14 (8 by maintainers)
Top Results From Across the Web
How to check BLAS/LAPACK linkage in NumPy and SciPy?
The method numpy.show_config() (or numpy.__config__.show() ) outputs information about linkage gathered at build time.
Read more >How to check BLAS/LAPACK linkage in NumPy and SciPy?
PYTHON : How to check BLAS / LAPACK linkage in NumPy and SciPy? [ Gift : Animated Search Engine : https://www.hows.tech/p/recommended.html ] ...
Read more >LAPACK for Windows - ICL UTK
Download the BLAS, LAPACK and LAPACKE dll. · Link your C application built with MSVC with the BLAS,LAPACK and LAPACKE libraries (the lib...
Read more >Building from source — NumPy v1.23 Manual
One relatively simple and reliable way to check for the compiler used to build a library is to use ldd on the library....
Read more >Low-level BLAS functions (scipy.linalg.blas)
Return available BLAS function objects from names. find_best_blas_type ([arrays, dtype]). Find best-matching BLAS/LAPACK type.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
You can get some information from
np.__config__
.numpy.show_config()
provides the same results asnumpy.__config__.show()
, but perhaps is a more intended use of the numpy API.