Running sage's python on a python file gives ImportError:

sage subshell$ sage -python lp.py
Traceback (most recent call last):
  File "lp.py", line 3, in <module>
    from cvxopt import matrix
  File "/home/dima/sage/sage-4.5.1/local/lib/python2.6/site-packages/
cvxopt/__init__.py", line 30, in <module>
    import base
ImportError: /home/dima/sage/sage-4.5.1/local/lib/liblapack.so:
undefined symbol: __powidf2

--------------------------
on the other hand, load'ing this file in sage happily works:

sage subshell$ sage
----------------------------------------------------------------------
| Sage Version 4.5.1, Release Date: 2010-07-19                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: load('lp.py')
     pcost       dcost       gap    pres   dres   k/t
 0: -8.1000e+00 -1.8300e+01  4e+00  0e+00  8e-01  1e+00
[....]

This all happens on skynet's taurus:

sage subshell$ uname -a
Linux taurus 2.6.32.12-115.fc12.x86_64 #1 SMP Fri Apr 30 19:46:25 UTC
2010 x86_64 x86_64 x86_64 GNU/Linux

with Sage compiled using gcc-4.5.0

I was unable to reproduce this on systems that run gcc-4.x with x<5.

Any ideas where to look?

Thanks,
Dima

-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to