<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 31, 2013 at 9:15 AM, Michael Povolotskyi <span dir="ltr"><<a href="mailto:mpovolot@purdue.edu" target="_blank">mpovolot@purdue.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div text="#000000" bgcolor="#FFFFFF">In our code we have our own linear system solver, optimized for a
distributed 3 block diagonal matrix.<br>
We are testing its performance against MUMPS and SUPERLU_dist.<br>
We interfaced this solver with PETSc matrix and vector for the left
and right hand sides of a linear system.<br>
My question: what can I do to make the memory allocated inside the
solver to be reported by PetscMemoryGetCurrentUsage?</div></blockquote></div><br>This function just uses the process resident size (like getrusage(3)) so that external memory is automatically included. If those packages had their own memory profiling support, we could use it, but they do not so we can't give finer grained information about the memory they are using.</div>
</div>