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: |
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 (1)
Change History (3)
Changed 13 years ago by
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
- Resolution set to fixed
- Status changed from new to closed
Merged in 2.9.alpha7.
Note: See
TracTickets for help on using
tickets.
The patch passes a
sage -ba
and atestall
on OSX 10.5Cheers,
Michael