hi, i ran into an error using sage (from the command line).
i tried this on 'ubuntu 8.10 (intrepid)' on an intel pentium. (the very same script works perfectly well on 'ubuntu 6.10 (edgy)' on an amd64.) the script test.spyx: <script> import sage.all from sage.matrix.all import matrix from sage.rings.all import Integers from sage.matrix.matrix_space import MatrixSpace from sage.misc.banner import version print version() I64 = matrix(Integers(), 64, 64, 1) MM = matrix(Integers(), 64, 64, range(64*64)) print MM CUV_smith = MM.smith_form() U = CUV_smith[1] U_inv = U.inverse() print I64 == U * U_inv </script> i run it using the command: $ /opt/sage/sage -python -u test.spyx and here is the output; the first line stands for the binaries i have downloaded; i tried several versions built for different platforms... no problem for the fedora binaries: (sage-3.1.4-fc8-i686-Linux) SAGE Version 3.1.4, Release Date: 2008-10-16 64 x 64 dense matrix over Integer Ring True (sage-3.2.3-Fedora_release_9-i686-Linux) Sage Version 3.2.3, Release Date: 2009-01-05 64 x 64 dense matrix over Integer Ring True but the ubuntu and debian binaries crash: (sage-3.2.2-ubuntu32bit-intel-i686-Linux) Sage Version 3.2.2, Release Date: 2008-12-18 64 x 64 dense matrix over Integer Ring /opt/sage/local/bin/sage-sage: line 352: 24197 Illegal instruction python "$@" (sage-3.2.3-Debian4.0-32bit-Intel-i686-Linux) Sage Version 3.2.3, Release Date: 2009-01-05 64 x 64 dense matrix over Integer Ring /opt/sage/local/bin/sage-sage: line 352: 24511 Illegal instruction python "$@" as far as i can tell, the error occurs when calling U.inverse(). any ideas? thanks in advance and best regards patrick --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
