[petsc-users] Using GAMG to speed up solving of Poisson eqn

Jed Brown jedbrown at mcs.anl.gov
Thu Jul 25 08:16:51 CDT 2013


TAY wee-beng <zonexo at gmail.com> writes:
> /**/call KSPSolve(ksp,b_rhs,xx,ierr)/**/- hang
> /**/
> /**/call KSPGetConvergedReason(ksp,reason,ierr)/*

If there was any question, this commenting style is insane.

> It hangs at */KSPSolve/*, when used with the option :
>
> -poisson_pc_gamg_agg_nsmooths 1 -poisson_pc_type gamg

Run in a debugger so you can find where it "hangs".  Add -ksp_monitor
-pc_gamg_verbose so you can get more information about what setup steps
complete successfully.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130725/538f1ca9/attachment.pgp>


More information about the petsc-users mailing list