#20507: Slight annoyance wrt Numpy and ATLAS
-----------------------------+-----------------------
Reporter: embray | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: PLEASE CHANGE | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-----------------------
Since #20157 when I build Numpy, as well as anything else that uses
`numpy.distutils` (namely SciPy) I get a lot of the warning:
{{{
atlas_blas_info:
Disabled atlas_blas_info: (ATLAS is None)
libraries f77blas,cblas,atlas not found in []
NOT AVAILABLE
/home/embray/src/sagemath/sage/local/var/tmp/sage/build/numpy-1.11.0/src/numpy/distutils/system_info.py:1584:
UserWarning:
Atlas (http://math-atlas.sourceforge.net/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [atlas]) or by setting
the ATLAS environment variable.
}}}
This caused me deep confusion considering that my laptop just spent a
long, hard night compiling ATLAS :) Of course, what's actually going on
is that Numpy is being configured to use whatever generic blas/lapack it
has (which is correctly including `-latlas` in its linker flags).
Howver, the `spkg-install` for Numpy sets the environment variable
`ATLAS=None` which forces Numpy's system_info to report that it doesn't
have ATLAS. Of course, it does, so AFAICT this is just a user interface
issue albeit a confusing one.
Is there some way we could modify this so that when we do know what BLAS
library we're using we at least let Numpy report it correctly? It could
figure this out at install time by checking the lapack.pc and/or blas.pc
files.
--
Ticket URL: <http://trac.sagemath.org/ticket/20507>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.