[petsc-users] amg from hypre
Matthew Knepley
knepley at gmail.com
Sat Mar 6 15:46:48 CST 2010
On Sat, Mar 6, 2010 at 3:41 PM, <hxie at umn.edu> wrote:
> Hi,
>
> I am solving incompressible navier-stokes equations. The code implements
> the Newton iteration and just uses the KSP solver for each iteration. It
> takes 14 nonlinear iterations (~8min) to converge using the default solver
> in PETSc. But it takes 6 nonlinear iterations (~30min) using boomeramg from
> hypre. The amg taks less iterations but takes too much cputime. Is this
> normal? One friend told me the reason may be that I did not call the destroy
> function to free the memory in each Newton iteration (I called PetscFinalize
> after all the Newton iterations). How can I call the PCDestroy_HYPRE from a
> fortran code? Will there be significant difference in cputime to call amg
> directly from hypre? Thanks for any help.
>
This has nothing to do with the memory.BoomerAMG does a lot of processing.
Matt
> Bests,
> Hui
--
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/20100306/4a642ed2/attachment.htm>
More information about the petsc-users
mailing list