[petsc-users] Speeding-up petsc

Jed Brown jed at jedbrown.org
Wed Oct 7 14:25:52 CDT 2015


Bruno Ramon Batista Fernande <brbfernandes at utexas.edu> writes:

> Hello guys,
>
> I am using petsc is a solver for a finite difference PDE solver.
>
> Basically the coefficient matrix (say A in Ax = b) is well conditioned,
> symmetric, and up to 7 diagonals. Also, no pivoting is necessary for such
> problem and it is always diagonally dominant.
>
> I am using all default options of petsc but I still feel like I could get
> better results by choosing different answers. By default I mean: GMRES
> solver preconditioned on left with ILU(0) and a classical Gram-Schmidt to
> orthogonalize against krylov vector.

You have told us nothing about the performance of this solver.  Always
include -log_summary -ksp_view.

> I am using MAT_STRUCTURALLY_SYMMETRIC option and
> atol = 1.0e-30
> dtol = 1.0e5

Why these options?

How accurate of a solution do you need?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20151007/1dae2f67/attachment.pgp>


More information about the petsc-users mailing list