I'm having a bit of a strange issue, I'm working on something where I
need to find the rank of a somewhat large matrix over a finite field.
I recall testing sage's capabilities when I was looking at how I was
going to take the rank and remember sage taking the rank of matrices
much larger than the one that's giving me trouble. Anyway the matrix
I'm having an issue with is in the following file
https://docs.google.com/leaf?id=0B_KM7xCfSwolYmQ4YTEzYjItYTNiZC00MTAxLTkxZGUtN2I3YzQ5NjRkOThh&hl=en_US
.

The program works like a charm for matrices of smaller sizes, during
this run it will get up to around size 381*70 before crashing. If I'm
working over GF(7) then it's segfaulting for a matrix the size of 180
x 116. It's possible that the error is somehow hidden in my program,
in the off chance I've uploaded it here as well
https://docs.google.com/leaf?id=0B_KM7xCfSwolY2UxNDA4OGQtZTJhZS00ZDBlLTg4ZDAtNjNmMzkzMWQyNmVh&hl=en_US
. The offending inputs would be
Lambda(5,5,5,1)  and Lambda(7,4,7,1), of course increase the majority
of those values will also give the same error.

The error message I'm getting is:

RuntimeError                              Traceback (most recent call
last)

/media/Media/Sage/sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/
<ipython console> in <module>()

/media/Media/Sage/sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/
<string> in Lambda(q, m, k, r)

/media/Media/Sage/sage-4.7-linux-64bit-ubuntu_10.04.1_lts-x86_64-Linux/
local/lib/python2.6/site-packages/sage/matrix/matrix_modn_dense.so in
sage.matrix.matrix_modn_dense.Matrix_modn_dense.rank (sage/matrix/
matrix_modn_dense.c:11595)()

RuntimeError: Segmentation fault

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to