#9780: Check for static libraries libatlas.a, libcblas.a, libf77blas and
liblapack.a, so SAGE_ATLAS_LIB works
------------------------+---------------------------------------------------
Reporter: drkirkby | Owner: drkirkby
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.6
Component: solaris | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
Comment(by jhpalmieri):
Overall the changes look sensible.
A few comments about {{{system_atlas.py}}}. In line 15:
{{{
has_atlas = os.path.exists(ATLAS_LIB+'/lib//libatlas.a')
}}}
should the double slash be a single one? In the comments on lines 44-51
of the same file, there are a few typos ("relieably" and "Buidling"), but
this is not very important. In lines 64-72, there is an old error: as you
can see from the code, {{{SAGE_ATLAS_LIB}}} should be a directory which
contains subdirectories "lib" and "include/atlas". In particular, it
should not be set to the "parent directory of liblapack.a, libcblas.a,
libatlas.a and libf77blas.a". (I probably should have fixed this in
#9356.) In the [http://sagemath.org/doc/installation/source.html
#environment-variables installation guide], we documented this as saying
"the parent directory of your ATLAS installation: it should have a
subdirectory lib containing the files libatlas.so, liblapack.so,
libcblas.so, and libf77blas.so, and it should have a subdirectory
include/atlas/ containing header files." As far as I know, that is
accurate, and we might use similar language here. Oh, and I guess we
should change the text in the installation guide from *.so to *.a... I
can add a patch for that if you want.
Finally, for testing this, I'm not sure I have access to a system with a
genuine ATLAS installation. I can use an ATLAS build from another version
of Sage, but should we test this with other ATLAS installations as well?
I'll try it out on t2 and one or two skynet machines.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9780#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.