Opened 13 years ago

Closed 13 years ago

#1499 closed defect (fixed)

fix import issues related to ATLAS BLAS

Reported by: mabshoff Owned by: mabshoff
Priority: blocker Milestone: sage-2.9
Component: packages: standard Keywords:
Cc: Merged in:
Authors: Reviewers:
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:


At least on sage.math Sage fails to start up when doing import all. The following doctest failure illustrates the problem:

mabshoff@sage:/tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.alpha7$ ./sage -t  devel/sage-main/sage/numerical/
sage -t  devel/sage-main/sage/numerical/             Traceback (most recent call last):
  File "", line 1, in <module>
    from sage.all_cmdline import *;
  File "/tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.alpha7/local/lib/python2.5/site-packages/sage/", line 1
4, in <module>
    from sage.all import *
  File "/tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.alpha7/local/lib/python2.5/site-packages/sage/", line 53, in <m
    from sage.misc.all       import *         # takes a while
  File "/tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.alpha7/local/lib/python2.5/site-packages/sage/misc/", line 67,
in <module>
    from functional import (additive_order,
  File "/tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.alpha7/local/lib/python2.5/site-packages/sage/misc/", li
ne 33, in <module>
    from sage.rings.complex_double import CDF
ImportError: /tmp/Work-mabshoff/release-cycles-2.9/sage-2.9.alpha7/local/lib/ undefined symbol: ATL_ctbmv

         [0.3 s]
exit code: 256

The attached patch fixes that, but not in a very clean way. I tried various "clean" approaches, but non of them got past Cython and always lead to link errors.



Attachments (1)

Sage-2.9.alpha7-fix-ATLAS-linking.patch (7.0 KB) - added by mabshoff 13 years ago.

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by mabshoff

comment:1 Changed 13 years ago by mabshoff

The patch passes a sage -ba and a testall on OSX 10.5



comment:2 Changed 13 years ago by mabshoff

  • Resolution set to fixed
  • Status changed from new to closed

Merged in 2.9.alpha7.

Note: See TracTickets for help on using tickets.