[petsc-users] -log_view hangs unexpectedly // how to optimize my kspsolve

Jed Brown jed at jedbrown.org
Sat Jan 7 19:28:27 CST 2017


Manuel Valera <mvalera at mail.sdsu.edu> writes:

> Awesome Matt and Jed,
>
> The GCR is used because the matrix is not invertible and because this was
> the algorithm that the previous library used,
>
> The Preconditioned im aiming to use is multigrid, i thought i configured
> the hypre-boomerAmg solver for this, but i agree in that it doesn't show in
> the log anywhere, how can i be sure is being used ? i sent -ksp_view log
> before in this thread

Did you run with -pc_type hypre?

> I had a problem with the matrix block sizes so i couldn't make the petsc
> native multigrid solver to work,

What block sizes?  If the only variable is pressure, the block size
would be 1 (default).

> This is a nonhidrostatic pressure solver, it is an elliptic problem so
> multigrid is a must,

Yes, multigrid should work well.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20170107/63b6aaef/attachment.pgp>


More information about the petsc-users mailing list