[petsc-users] Minimum size of sparse or dense matrix to use PETSc

Matthew Knepley knepley at gmail.com
Sun Apr 10 06:56:50 CDT 2011


On Sun, Apr 10, 2011 at 2:13 AM, TAY wee-beng <zonexo at gmail.com> wrote:

> Hi,
>
> I am already using PETSc to solve my momentum and poisson equations.
> However in some parts of my code, I need to solve a dense (usually) or
> sparse matrix, which arises from the radial basis function interpolation.
> Depending on the problem, it can be a big or small matrix.
>
> I am thinking whether to use PETSc or just a simple solver.
>
> Can you recommend the minimum size of sparse or dense matrix to use PETSc?
>

For a dense matrix, we just call LAPACK in serial. And you can can change
from dense to sparse if it is
sparse enough by changing the matrix type. The only regime to worry about is
very large, dense matrices,
but I do not think you have those.

   Matt


> Thank you.
>
> --
> Yours sincerely,
>
> TAY wee-beng
>
>


-- 
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110410/7f4a6359/attachment.htm>


More information about the petsc-users mailing list