Ask Your Question

invariantfactor's profile - activity

2013-06-13 13:33:05 +0200 commented answer Error when using elementary_divisors()

Thanks for the reply.

2013-06-13 13:32:53 +0200 marked best answer Error when using elementary_divisors()

You are using a binary build of Sage that uses more advanced CPU features than what your CPU supports. The simplest solution will be to build Sage from source. Feel free to post your hardware details and the binary build that you downloaded, maybe we can reduce the requirements.

2013-06-13 13:32:53 +0200 received badge  Scholar (source)
2013-06-11 14:41:06 +0200 asked a question Error when using elementary_divisors()

Can someone please tell me what this error means?

***-macbook:sage faculty1$ ./sage ../H-nqk.sage> ../test5.out

Traceback (most recent call last):
  File "../H-nqk.py", line 38, in <module>
    print A.elementary_divisors()
  File "matrix_integer_dense.pyx", line 2065, in sage.matrix.matrix_integer_dense.Matrix_integer_dense.elementary_divisors (sage/matrix/matrix_integer_dense.c:17905)
  File "gen.pyx", line 8525, in sage.libs.pari.gen.gen.matsnf (sage/libs/pari/gen.c:43676)
RuntimeError: Illegal instruction

When I execute the program using the online notebook everything runs fine, so it must be a computer issue. This error occurred when trying to compute the elementary divisors of a 125X125 matrix. Strange thing is, when running the program using a smaller matrix there was no error.

Would really appreciate any help.