forum.alglib.net
http://forum.alglib.net/

how large matrix can smatrixevdi or smatrixevd handle
http://forum.alglib.net/viewtopic.php?f=2&t=251
Page 1 of 1

Author:  juliustch [ Thu Jan 20, 2011 7:17 pm ]
Post subject:  how large matrix can smatrixevdi or smatrixevd handle

Hi, I am using smatrixevd to solve eigenvalues for a large matrix (10000 * 10000). But it reported aborted core dump. I wonder how large this algorithm can handle. Thank you very much.

Author:  Sergey.Bochkanov [ Fri Jan 21, 2011 9:48 am ]
Post subject:  Re: how large matrix can smatrixevdi or smatrixevd handle

Several thousands by several thousands is possible, but 10000x10000 is too large. It is 100 000 000 elements, 800 megabytes, and function allocates several copies of array as temporaries. I suppose that you used it on 32-bit system, so it was unable to allocate enough memory.

Author:  juliustch [ Fri Jan 21, 2011 7:01 pm ]
Post subject:  Re: how large matrix can smatrixevdi or smatrixevd handle

So how much memory do you expect to use for 10000 * 10000 matrix?

Author:  Sergey.Bochkanov [ Fri Jan 21, 2011 7:34 pm ]
Post subject:  Re: how large matrix can smatrixevdi or smatrixevd handle

If you don't need eigenvectors - then 1600 Mbytes (2x800, one for a original matrix, one for a copy). 3200 Mbytes - if you need eigenvectors.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/