<div dir="ltr">On Mon, Apr 1, 2013 at 1:15 AM, Michael Povolotskyi <span dir="ltr"><<a href="mailto:mpovolot@purdue.edu" target="_blank">mpovolot@purdue.edu</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>On 3/31/2013 10:03 AM, Jed Brown wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">On Sun, Mar 31, 2013 at 8:58 AM, Michael
Povolotskyi <span dir="ltr"><<a href="mailto:mpovolot@purdue.edu" target="_blank">mpovolot@purdue.edu</a>></span>
wrote:<br>
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear
PETSc developers,<br>
I have the following question.<br>
PETSc has memory reporting system. Does it report the
memory allocated inside a library (e.g MUMPS) when I call
it from PETSc program?<br>
</blockquote>
<div><br>
</div>
<div>It does not attribute it per object, though it
is part of the total memory used by a process (e.g.,
PetscMemoryGetCurrentUsage, or -malloc_info).</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Thank you,<br>
Michael.<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
Thank you.<br>
In our code we have our own linear system solver, optimized for a
distributed 3 block diagonal matrix.<br></div></blockquote><div><br></div><div style>Does it do block elimination, or is it Jacobi/GS?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
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?<br></div></blockquote><div><br></div><div style>It is automatically reported there, since we just query the OS. You can report the memory used in your solver</div>
<div style>to Petsc logging using PetscLogObjectMemory().</div><div style><br></div><div style> Thanks,</div><div style><br></div><div style> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Thank you,<br>
Michael.<br>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>