[petsc-users] performance issue solving multiple linear systems of the same size with the different preconditioning methods

Jed Brown jedbrown at mcs.anl.gov
Wed Aug 24 17:53:02 CDT 2011


On Tue, Aug 23, 2011 at 02:37, Алексей Рязанов <ram at ibrae.ac.ru> wrote:

> When i delete the 4-5-6 part of 2nd, 1-2-3 works great! with exact like 1st
> results.
> When i delete the 1-2-3 part of 2nd, 4-5-6 works great! with exact like 1st
> results.
> All program (1-2-3-4-5-6) works badly.
>

>From the -log_summary, you have a memory leak (many more vector creations
than destructions). Try running with -malloc_dump to debug it. Perhaps you
are creating a vector every time one of your functions is called? You should
also build --with-debugging=0 when looking at timing results. (You can keep
it in PETSC_ARCH=linux-gnu-opt.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110824/c2eca655/attachment.htm>


More information about the petsc-users mailing list