[petsc-users] Preconditioner for LSQR

Matthew Knepley knepley at gmail.com
Mon Feb 28 18:29:18 CST 2022


On Mon, Feb 28, 2022 at 6:54 PM Lucas Banting <bantingl at myumanitoba.ca>
wrote:

> Hello,
>
> I have an MPIDENSE matrix of size about 200,000 x 200, using KSPLSQR on my
> machine a solution takes about 15 s. I typically run with six to eight
> processors.
> I have to solve the system several times, typically 4-30, and was looking
> for recommendations on reusable preconditioners to use with KSPLSQR to
> increase speed.
>
> Would it make the most sense to use PCCHOLESKY on the smaller system A^T *
> A?
>

Yes. However, if you only have 200 columns, it might be even better to just
use TSQR. There is an implementation of this
in SLEPc. I am Cc'ing Jose to see what would be the easiest way to call it
for a least-squares solution.

  Thanks,

     Matt


> Thanks,
> Lucas
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener

https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220228/1c19b1b8/attachment.html>


More information about the petsc-users mailing list