Ask Your Question
0

Error when using elementary_divisors()

asked 11 years ago

anonymous user

Anonymous

updated 11 years ago

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.

Preview: (hide)

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 ( 11 years ago )

1 Answer

Sort by » oldest newest most voted
0

answered 11 years ago

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.

Preview: (hide)
link

Comments

Thanks for the reply.

invariantfactor gravatar imageinvariantfactor ( 11 years ago )

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: 11 years ago

Seen: 374 times

Last updated: Jun 12 '13