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>

Reply via email to