<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 3/31/2013 10:19 AM, Jed Brown wrote:<br>
</div>
<blockquote
cite="mid:CAM9tzSm5aT437U5v8auqrgHoz_E6TrPXoAroa-BnJhz_SR2a1g@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true" 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>
</blockquote>
Hi,<br>
I'm a bit confused:<br>
The web page about PetscMemoryGetCurrentUsage says: gets the current
amount of memory used that was PetscMalloc()ed <br>
<br>
So, how then it can include the external memory if it is not
allocated by PetscMalloc() ?<br>
Thank you.<br>
</body>
</html>