Hi, I would like to raise this thread:
http://groups.google.com/group/sage-devel/browse_thread/thread/30ccc2ce51620c7
I am a newbie in Sage. This is the thirt time I try it. I was using
Mathematica heavily for my numerical model, and I have some experience
in Matlab. I can write C/C++ programs but development with Mathematica
was usually much faster...
Anyway, I am reading The Sage Development Team, Numerical Computing
with Sage, Release 4.6.1, and trying it with the latest official
binary Sage for Ubuntu (Sage Version 4.6.1, Release Date: 2011-01-11)
on Ubuntu laptop with Intel(R) Core(TM) i5 CPU M 430 @ 2.27GHz
I just modified code from page 7 of the pdf above and sage crashes.Can
this be fixed?
sage: sage: A=numpy.random.randn(50,50)
sage: sage: b=numpy.array(range(1,51))
sage: sage: x=linalg.solve(A,b)
sage: sage: numpy.dot(A,x)
array([ 1., 2., 3., 4., 5., 6., 7., 8., 9., 10.,
11.,
12., 13., 14., 15., 16., 17., 18., 19., 20., 21.,
22.,
23., 24., 25., 26., 27., 28., 29., 30., 31., 32.,
33.,
34., 35., 36., 37., 38., 39., 40., 41., 42., 43.,
44.,
45., 46., 47., 48., 49., 50.])
sage: sage: A=numpy.random.randn(250,250)
sage: sage: b=numpy.array(range(1,251))
sage: sage: x=linalg.solve(A,b)
------------------------------------------------------------
Unhandled SIGSEGV: A segmentation fault occurred in Sage.
This probably occurred because a *compiled* component
of Sage has a bug in it (typically accessing invalid memory)
and is not properly wrapped with sig_on(), sig_off().
You might want to run Sage under gdb with 'sage -gdb' to debug this.
Sage will now terminate (sorry).
------------------------------------------------------------
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org