#9508: Fix all ATLAS build problems on Solaris/OpenSolaris
----------------------------+-----------------------------------------------
   Reporter:  drkirkby      |       Owner:  drkirkby  
       Type:  defect        |      Status:  needs_info
   Priority:  major         |   Milestone:  sage-4.5.3
  Component:  solaris       |    Keywords:            
     Author:  David Kirkby  |    Upstream:  N/A       
   Reviewer:                |      Merged:            
Work_issues:                |  
----------------------------+-----------------------------------------------

Comment(by drkirkby):

 Replying to [comment:10 jhpalmieri]:
 > > Let me know how your build goes. My 32-bit SPARC build did not work,
 so I'd be interested in how you get on with 32-bit builds on SPARC.
 >
 > On mark2, it claims to have built successfully with SAGE_CHECK='yes'.
 On the other hand, when building from scratch on mark2, while ATLAS seems
 to build okay, the R build fails:
 > {{{
 > Warning in solve.default(rgb) :
 >   unable to load shared library
 
'/home/palmieri/mark2/sage-4.5.2.rc0/spkg/build/r-2.10.1.p2/src/modules//lapack.so':
 >   ld.so.1: R: fatal: relocation error: file
 /home/palmieri/mark2/sage-4.5.2.rc0/local/lib//liblapack.so: symbol
 __powisf2: referenced symbol not found
 > Error in solve.default(rgb) : lapack routines cannot be loaded
 > Error: unable to load R code in package 'grDevices'
 > Execution halted
 > }}}

 Yes, I think that was the problem I got. Strange, on a 64-bit SPARC build
 I was able to get Sage to build completely. I'm not sure if I used that
 ATLAS package, or just made the libraries manually.

 Without creating the shared libraries, Linbox will not link - complains
 ATLAS is missing. Inspect of the linbox log file shows it thinks the ATLAS
 libraries are 32-bit. I need to check that, as potentially linbox is
 mistaken.

 It's hard to know if this is a Linbox, ATLAS or R problem. The R manual
 (http://cran.r-project.org/doc/manuals/R-admin.pdf) might have something
 on this.

 Adding an spkg-check file to Linbox might be useful, as we could test the
 ATLAS library with Linbox. It does have a test suite, but since there is
 no spkg-check file, it never gets executed.

 I created ticket some time back to fix the lack of a test suite in linbox
 - #9613. I'll create one for that today. It should be easy to review and
 might help debug this. If linbox passes tests on 64-bit with the ATLAS
 library, I would tend to suspect R is at fault. Conversely if tests fail,
 I would tend to suspect ATLAS.

 Dave

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