#20507: Slight annoyance wrt Numpy and ATLAS
---------------------------------+-------------------
       Reporter:  embray         |        Owner:
           Type:  defect         |       Status:  new
       Priority:  minor          |    Milestone:
      Component:  PLEASE CHANGE  |   Resolution:
       Keywords:                 |    Merged in:
        Authors:                 |    Reviewers:
Report Upstream:  N/A            |  Work issues:
         Branch:                 |       Commit:
   Dependencies:                 |     Stopgaps:
---------------------------------+-------------------

Comment (by fbissey):

 I am familiar with debian alternatives and its equivalent implementation
 in gentoo. I am sure Jeroen is too. Like you say I am not sure we want to
 go the full way in sage.

 A meta package is I guess a vehicle we all have in mind but no one has
 committed to writing that yet. Although the current spkg is partly a meta-
 package already.

 When I wrote about `configure` I didn't think about choosing the
 "internal" blas/lapack but providing a system one if desired, but choosing
 an internal one should probably be covered there as well.

 I'll note that numpy/scipy is an oddity in informing you of the
 blas/lapack used. Auto-detection by configure script  is difficult because
 of the variety of implementations. Most configure script just ask for the
 library you want to use and don't really care what they are, only that
 they work.

 But to go back to your point, once you have gone to .pc files some
 information is held in `{blas,cblas,lapack}.pc` the content could be a bit
 more informative at least when set up by an internal spkg.
 {{{
 SAGE_ROOT=/Users/fbissey/build/sage-7.2.beta5
 prefix=${SAGE_ROOT}/local
 libdir=${prefix}/lib
 includedir=${prefix}/include
 Name: blas
 Version: 1.0
 Description: blas for sage, set up by the ATLAS spkg.
 Libs: -L${libdir} -lblas
 }}}
 above the `blas.pc` on my mac. On mac we use Apple's accelerate framework
 (and it is set up by the atlas spkg, as I say that spkg already has meta
 bits). The description could reflect the fact that it is accelerate not
 just that it has been set by the atlas spkg.

--
Ticket URL: <http://trac.sagemath.org/ticket/20507#comment:12>
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.

Reply via email to