[petsc-users] Very slow SVD with SLEPC

Rakesh Halder rhalder at umich.edu
Sun Nov 15 13:18:05 CST 2020


Hi all,

A program I'm writing involves calculating the SVD of a large, dense N by n
matrix (N ~= 150,000, n ~=10,000). I've used the different SVD solvers
available through SLEPc, including the cross product, lanczos, and method
available through the LAPACK library. The cross product and lanczos methods
take a very long time to compute the SVD (around 7-8 hours on one
processor) while the solver using the LAPACK library runs out of memory. If
I write this matrix to a file and solve the SVD using MATLAB or python
(numPy) it takes around 10 minutes. I'm wondering if there's a much cheaper
way to solve the SVD.

Thanks,

Rakesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20201115/d57bec66/attachment.html>


More information about the petsc-users mailing list