Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix import issues related to ATLAS BLAS #1499

Closed
sagetrac-mabshoff mannequin opened this issue Dec 14, 2007 · 2 comments
Closed

fix import issues related to ATLAS BLAS #1499

sagetrac-mabshoff mannequin opened this issue Dec 14, 2007 · 2 comments

Comments

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented Dec 14, 2007

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

Component: packages: standard

Issue created by migration from https://trac.sagemath.org/ticket/1499

@sagetrac-mabshoff sagetrac-mabshoff mannequin added this to the sage-2.9 milestone Dec 14, 2007
@sagetrac-mabshoff sagetrac-mabshoff mannequin self-assigned this Dec 14, 2007
@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Dec 14, 2007

comment:1

Attachment: Sage-2.9.alpha7-fix-ATLAS-linking.patch.gz

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

Cheers,

Michael

@sagetrac-mabshoff
Copy link
Mannequin Author

sagetrac-mabshoff mannequin commented Dec 14, 2007

comment:2

Merged in 2.9.alpha7.

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed Dec 14, 2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants