The following happens on a compiled from source 2.8.6 on sage.math:

sage -t  devel/sage-main/sage/misc/cython.py
**********************************************************************
File "cython.py", line 316:
    sage: g = cython_lambda('double x, double y', 'x*x + y*y + x + y +
17*x + 3.2')
Exception raised:
    Traceback (most recent call last):
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/
doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[1]>", line 1, in <module>
        g = cython_lambda('double x, double y', 'x*x + y*y + x + y +
17*x + 3.2')###line 316:
    sage: g = cython_lambda('double x, double y', 'x*x + y*y + x + y +
17*x + 3.2')
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/site-
packages/sage/misc/cython.py", line 357, in cython_lambda
        create_local_c_file=False)
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/site-
packages/sage/server/support.py", line 303, in cython_import_all
        create_local_c_file=create_local_c_file)
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/site-
packages/sage/server/support.py", line 286, in cython_import
        return __builtin__.__import__(name)
    ImportError: /tmp/Work-mabshoff/sage-2.8.5.1/local/lib/
libcblas.so: undefined symbol: ATL_ctbmv
**********************************************************************
File "cython.py", line 317:
    sage: g(2,3)
Exception raised:
    Traceback (most recent call last):
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/
doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[2]>", line 1, in <module>
        g(Integer(2),Integer(3))###line 317:
    sage: g(2,3)
    NameError: name 'g' is not defined
**********************************************************************
File "cython.py", line 319:
    sage: g(0,0)
Exception raised:
    Traceback (most recent call last):
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/
doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[3]>", line 1, in <module>
        g(Integer(0),Integer(0))###line 319:
    sage: g(0,0)
    NameError: name 'g' is not defined
**********************************************************************
File "cython.py", line 324:
    sage: f = cython_lambda('double x', 'sage.math.sin(x) + sage.a')
Exception raised:
    Traceback (most recent call last):
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/
doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[5]>", line 1, in <module>
        f = cython_lambda('double x', 'sage.math.sin(x) +
sage.a')###line 324:
    sage: f = cython_lambda('double x', 'sage.math.sin(x) + sage.a')
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/site-
packages/sage/misc/cython.py", line 357, in cython_lambda
        create_local_c_file=False)
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/site-
packages/sage/server/support.py", line 303, in cython_import_all
        create_local_c_file=create_local_c_file)
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/site-
packages/sage/server/support.py", line 286, in cython_import
        return __builtin__.__import__(name)
    ImportError: /tmp/Work-mabshoff/sage-2.8.5.1/local/lib/
libcblas.so: undefined symbol: ATL_ctbmv
**********************************************************************
File "cython.py", line 325:
    sage: f(10)
Exception raised:
    Traceback (most recent call last):
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/
doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[6]>", line 1, in <module>
        f(Integer(10))###line 325:
    sage: f(10)
    TypeError: <lambda>() takes exactly 2 arguments (1 given)
**********************************************************************
File "cython.py", line 328:
    sage: f(10)
Exception raised:
    Traceback (most recent call last):
      File "/tmp/Work-mabshoff/sage-2.8.6/local/lib/python2.5/
doctest.py", line 1212, in __run
        compileflags, 1) in test.globs
      File "<doctest __main__.example_4[8]>", line 1, in <module>
        f(Integer(10))###line 328:
    sage: f(10)
    TypeError: <lambda>() takes exactly 2 arguments (1 given)
**********************************************************************
1 items had failures:
   6 of   9 in __main__.example_4

I haven't seen a ticket for this one. Should we open one?

Cheers,

Michael


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to