Re: [sage-support] identity_matrix(103).det() fails?

2010-12-29 Thread Iwao Kimura
Hi Volker and lists, I compiled Sage from v4.6's tar ball, and I had no trouble with this issue. So the problem seems, as you said, a mismatch of the environment on which Sage-binary is built and is ran. Thank you for your advice. BTW, in this brand new binary, I had {{{ sage:

Re: [sage-support] identity_matrix(103).det() fails?

2010-12-29 Thread Volker Braun
Note that your command is equivalent to timeit('identity_matrix(1009).det()') Things could of course always be faster; Though the different algorithms for determinants of integral matrices seems to be similarly fast. The only thing thats really a lot faster is computing with floating point

Re: [sage-support] identity_matrix(103).det() fails?

2010-12-28 Thread Dan Drake
On Tue, 28 Dec 2010 at 03:41PM +0900, Iwao Kimura wrote: On Save v4.6, (Ubuntu 10.04, 64bit), I found that {{{ p = 103; identity_matrix(p).det() Traceback (most recent call last): Hrm, that works fine for me -- using Ubuntu 10.10, 64bit, and on Ubuntu 10.04, 32 bit. I increased p up to about

Re: [sage-support] identity_matrix(103).det() fails?

2010-12-28 Thread Iwao Kimura
Hi Dan, Thank you for your interest. My Ubuntu box has 3GB memory. I tried several times (via Web interface, via terminal, exit Sage and invoke new Sage session...), and I always can reproduce same run-time error. I can install more 3GB memory after holiday and I'll try again. Best regards. On

Re: [sage-support] identity_matrix(103).det() fails?

2010-12-28 Thread Volker Braun
You are not running out of memory in that computation if you have 3GB of ram. It seems like something in linbox (which is used for matrices of that size) dies during the computation. I also recently ran into some issues with linbox and blas, and was wondering if they are related. Can you run

Re: [sage-support] identity_matrix(103).det() fails?

2010-12-28 Thread Iwao Kimura
Hi Volker, Thank you for your message. I followed your suggestion and run Sage with gdb. I agree with you that linbox and blas (ATLAS) are suspected. Best regards -- | Sage Version 4.6, Release Date: 2010-10-30

Re: [sage-support] identity_matrix(103).det() fails?

2010-12-28 Thread Volker Braun
The fact that this dies somewhere deep in the atlas internals probably means that your CPU doesn't support one of the SSE instructions that atlas was compiled with. I'd bet that if you compile Sage from sources on your machine then it'll work. -- To post to this group, send email to

[sage-support] identity_matrix(103).det() fails?

2010-12-27 Thread Iwao Kimura
Hi all, On Save v4.6, (Ubuntu 10.04, 64bit), I found that {{{ p = 103; identity_matrix(p).det() Traceback (most recent call last): File stdin, line 1, in module File _sage_input_132.py, line 10, in module exec compile(u'open(___code___.py,w).write(# -*- coding: utf-8 -*-\\n +