ASKSAGE: Sage Q&A Forum - Individual question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 02 Sep 2020 00:17:54 -0500Fast numerical computation of eigenvalueshttp://ask.sagemath.org/question/44531/fast-numerical-computation-of-eigenvalues/I am trying to calculate the eigenvalues of a large (say, n=1000 to 10000) sparse Hermitian square matrix using SAGE
> numpy.linalg.eigvalsh(MyMatrix)
takes very long. I noticed it utilizes only a single core of my CPU.
How would one go about speeding the calculation? Specifically, I'm looking for a solution using parallel computation, or maybe something which is "more compiled".
Thank you.Sat, 01 Dec 2018 12:10:10 -0600http://ask.sagemath.org/question/44531/fast-numerical-computation-of-eigenvalues/Comment by droberts01 for <p>I am trying to calculate the eigenvalues of a large (say, n=1000 to 10000) sparse Hermitian square matrix using SAGE</p>
<blockquote>
<p>numpy.linalg.eigvalsh(MyMatrix)</p>
</blockquote>
<p>takes very long. I noticed it utilizes only a single core of my CPU.</p>
<p>How would one go about speeding the calculation? Specifically, I'm looking for a solution using parallel computation, or maybe something which is "more compiled".</p>
<p>Thank you.</p>
http://ask.sagemath.org/question/44531/fast-numerical-computation-of-eigenvalues/?comment=53259#post-id-53259I'm having a similar issue with Sage notebooks on my AMD machine! Maybe OpenBLAS is being forced to run in single-threaded mode? I wish I knew how to change this...Wed, 02 Sep 2020 00:17:54 -0500http://ask.sagemath.org/question/44531/fast-numerical-computation-of-eigenvalues/?comment=53259#post-id-53259