On Wed, 17 Feb 2010 at 03:12PM -0800, Alasdair wrote: > ---------------------------------------------------------------------- > | Sage Version 4.3.1, Release Date: 2010-01-20 | > | Type notebook() for the GUI, and license() for information. | > ---------------------------------------------------------------------- > sage: M=matrix(Zmod(26),[[22,11,19],[15,20,24],[25,21,16]]) > sage: M.inverse() > [14 25 6] > [ 2 3 11] > [21 9 25] > sage: M=matrix(Zmod(2),[[0,0,0,1],[0,0,1,0],[0,1,0,0],[1,0,0,1]]) > sage: M.inverse() > /usr/local/share/sage-4.3.1-linux-openSUSE_11.1_i586-i686-Linux/local/ > bin/sage-sage: line 206: 26441 Illegal instruction sage-ipython > "$@" -i > > Admittedly this isn't the most recent version of Sage - but why does > Sage crash rather than just give an error? And is there some way I > can invert matrices mod 2? The command det(M) also causes a crash.
It doesn't crash for me. Given that you are doing some kind of linear algebra, my guesss is that the binary you are using was compiled with a CPU that has instructions that your CPU does not. Did you delete SAGE_ROOT/local/lib/sage-flags.txt or anything like that? If not, what do you get from "cat /proc/cpuinfo"? Dan -- --- Dan Drake ----- http://mathsci.kaist.ac.kr/~drake -------
signature.asc
Description: Digital signature