Ticket #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 | Keywords: | |
| Cc: | Author(s): | ||
| Report Upstream: | Reviewer(s): | ||
| Merged in: | Work issues: |
Description
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/test.py
sage -t devel/sage-main/sage/numerical/test.py Traceback (most recent call last):
File ".doctest_test.py", 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/all_cmdline.py", 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/all.py", line 53, in <m
odule>
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/all.py", 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/functional.py", 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/libcblas.so: 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.
Cheers,
Michael
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

