#6276: [with patch; needs review]  atlas-3.8.3.p2 dumps core on Solaris 10 with
gcc 4.4.0
----------------------+-----------------------------------------------------
 Reporter:  drkirkby  |       Owner:  drkirkby     
     Type:  defect    |      Status:  assigned     
 Priority:  critical  |   Milestone:  sage-4.0.3   
Component:  solaris   |    Keywords:  solaris atlas
 Reviewer:            |      Author:               
   Merged:            |  
----------------------+-----------------------------------------------------
Changes (by drkirkby):

  * owner:  tbd => drkirkby
  * status:  new => assigned


Comment:

 I've now developed a TEMPORARY fix for this, which needs a review.

    Change GuessSmallNB() in src/tune/blas/gemm/mmsearch.c
    as suggested by Clint Whaley to return 28
    on Solaris. This is ONLY A TEMPORARY FIX and once the real problem
    in the function is sorted out, this fix will need to be removed. But
    for now it permits ATLAS to build on a Sun T5240 with gcc-4.4.0.

 Apart from the comments, the only change to the C source code is to add
 {{{
 return(28);
 }}}
 at the top of the function GuessSmallNB(). This fix is only implemented on
 Solaris, as the spkg-install now includes:

 {{{
 import shutil
 if os.uname()[0] == 'SunOS':
    shutil.copy2('patches/mmsearch-with-temp-Solaris-
 fix.c','src/tune/blas/gemm/mmsearch.c')
 }}}


 With this patch applied, ATLAS builds on Solaris, with the next Solaris
 failure being in 'linbox'.

 Once an ATLAS developer is able to find the real reason for the failure,
 an update of the ATLAS source could should be implemented, which will mean
 we will mean this patch should be removed at a later date.

 Please see
 http://sage.math.washington.edu/home/kirkby/Solaris-fixes/atlas/

 I've NOT used 'hg' to commit this in any way (not even sure if I'm
 supposed to do that or the reviewer), so can the reviewer please do this
 for me.

 Dave

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