8000 DOC: BLAS/LAPACK linking rules by 1fish2 · Pull Request #19447 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

DOC: BLAS/LAPACK linking rules #19447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jul 13, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
apply suggestions to the wheel case
  • Loading branch information
1fish2 committed Jul 12, 2021
commit 445292716b0d43b97a6bf7646c424c8b0a2ec435
13 changes: 6 additions & 7 deletions numpy/distutils/misc_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2365,13 +2365,12 @@ def show():
NumPy BLAS/LAPACK Installation Notes
------------------------------------
Installing a numpy wheel (e.g. ``pip install numpy``) includes
an embedded OpenBLAS library on every platform that has a wheel
available. (OpenBLAS implements the BLAS and LAPACK linear
algebra APIs.) In this case, ``show_config()`` reports
``library_dirs = ['/usr/local/lib']`` per the build time
configuration even if there's no libblas in that directory at
run time. The embedded OpenBLAS is a static link library
compiled with gcc/gfortran.
an OpenBLAS implementation of the BLAS and LAPACK linear algebra
APIs. In this case, ``library_dirs`` reports the build time
configuration; the OpenBLAS library is actually in
``site-packages/numpy.libs/`` or
``site-packages/numpy/.dylibs/`` and it's compiled with
gcc/gfortran.

Installing numpy from source (e.g.
``pip install numpy --no-binary numpy``) looks for BLAS and
Expand Down
0