#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_info
   Priority:  major     |   Milestone:  sage-4.6  
  Component:  solaris   |    Keywords:            
     Author:            |    Upstream:  N/A       
   Reviewer:            |      Merged:            
Work_issues:            |  
------------------------+---------------------------------------------------

Comment(by drkirkby):

 Replying to [comment:18 jhpalmieri]:
 > Okay, pointing SAGE_ATLAS_LIB to the "local" directory of a previous
 Sage installation works for me on several solaris machines (t2 and mark2:
 sparc; and fulvia: x86).  It also works for me on several linux machines
 (taurus and eno).  So I'm happy with it.  I would have liked to test it on
 some linux machine with a separately installed ATLAS, but it's not a
 perfect world.

 Good, the basic code seems to work.

 > As far as the readelf problem goes, I think we can leave it as is.

 I felt that too. Especially since I think it can be removed. I believe
 it's a complete waste of time to be honest. I've left it for now though. I
 added a message that a warning was harmless. (For reasons I do not
 understand, the warning is printed '''before''' my message, despite the
 code to execute {{{readlef}}} is '''after''' my message.)

 I addressed the other issue you had about the parent directory. See if the
 following makes any more sense. I've actually printed the directory where
 the libraries are expected to be, based on the setting of SAGE_ATLAS_LIB.
 I've not committed the changes yet - let me know what you think.

 {{{
 drkir...@hawk:~$ export SAGE_ATLAS_LIB=/some/random/directory/for/atlas
 }}}

 now prints

 {{{
 Unable to find one of liblapack.a, libcblas.a, libatlas.a or libf77blas.a
 in the directory /some/random/directory/for/atlas/lib
 }}}

 Just run 'hg diff' if you want to see what I changed.

 The package is at

 http://boxen.math.washington.edu/home/kirkby/patches/atlas-3.8.3.p15.spkg

 Dave

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

Reply via email to