#9356: make SAGE_ATLAS_LIB work on Solaris
-----------------------------+----------------------------------------------
   Reporter:  jhpalmieri     |       Owner:  drkirkby       
       Type:  defect         |      Status:  positive_review
   Priority:  minor          |   Milestone:  sage-4.5       
  Component:  solaris        |    Keywords:                 
     Author:  John Palmieri  |    Upstream:  N/A            
   Reviewer:  David Kirkby   |      Merged:                 
Work_issues:                 |  
-----------------------------+----------------------------------------------

Comment(by mpatel):

 Let's definitely leave further changes for other tickets.

 For the gfortran problem, I tried:
 {{{
 #!sh
 $ cd local/lib
 $ ln -s libgfortran.so.2 libgfortran.so
 $ rm -f libatlas.* libcblas.* libf77blas.* liblapack.*
 $ cd ../../
 $ ./sage -f spkg/standard/atlas-3.8.3.p12.spkg
 [...]
 ld -L/mnt/usb1/scratch/mpatel/apps/sage-4.5.a4/local/lib -shared -soname
 liblapack.so -o liblapack.so --whole-archive liblapack.a --no-whole-
 archive -lc -lm -lgfortran
 ld -L/mnt/usb1/scratch/mpatel/apps/sage-4.5.a4/local/lib -shared -soname
 libf77blas.so -o libf77blas.so --whole-archive libf77blas.a --no-whole-
 archive -lc -lm -lgfortran
 [...]
 $ ls -ltr local/lib
 [...]
    0 lrwxrwxrwx  1 mpatel mpatel   16 2010-07-10 00:05 libgfortran.so ->
 libgfortran.so.2
 529k -rw-r--r--  1 mpatel mpatel 521k 2010-07-10 00:30 liblapack.a
 570k -rw-r--r--  1 mpatel mpatel 565k 2010-07-10 00:30 libf77blas.a
 472k -rw-r--r--  1 mpatel mpatel 467k 2010-07-10 00:30 libcblas.a
  12M -rw-r--r--  1 mpatel mpatel  12M 2010-07-10 00:30 libatlas.a
 164k -rwxr-xr-x  1 mpatel mpatel 157k 2010-07-10 00:30 liblapack.so*
 160k -rwxr-xr-x  1 mpatel mpatel 156k 2010-07-10 00:30 libf77blas.so*
 156k -rw-r--r--  1 mpatel mpatel 151k 2010-07-10 00:30 libcblas.so
 7.0M -rw-r--r--  1 mpatel mpatel 7.0M 2010-07-10 00:30 libatlas.so
 }}}
 (On sage.math, I use `SAGE_FORTRAN=/usr/bin/gfortran` and
 `SAGE_FORTRAN_LIB=/usr/lib/libgfortran.so.2`.)

 But I can't take this further right now.

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