Ask Your Question
0

Error when using elementary_divisors()

asked 2013-06-11 14:41:06 +0100

anonymous user

Anonymous

updated 2013-06-11 19:18:46 +0100

tmonteil gravatar image

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.

edit retag flag offensive close merge delete

Comments

1

Can you share the file H-nqk.py by uploading it somewhere or copy-pasting it on pastebin? This would help people investigate the error you encountered. Also, which version of Sage are you using?

slelievre gravatar imageslelievre ( 2013-06-11 14:50:42 +0100 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-06-12 09:29:13 +0100

Volker Braun gravatar image

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.

edit flag offensive delete link more

Comments

Thanks for the reply.

invariantfactor gravatar imageinvariantfactor ( 2013-06-13 13:33:05 +0100 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-06-11 14:41:06 +0100

Seen: 335 times

Last updated: Jun 12 '13