<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<pre class="moz-signature" cols="72">
</pre>
<div class="moz-cite-prefix">On 24/2/2016 10:28 AM, Matthew Knepley
wrote:<br>
</div>
<blockquote
cite="mid:CAMYG4GmVbBSv2fuXuP19guu=ntBGhTQ5+pNJzzRsbM3ogtqu3g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Tue, Feb 23, 2016 at 7:50 PM, TAY
wee-beng <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I got this error (also attached, full) when running my
code. It happens after a few thousand time steps.<br>
<br>
The strange thing is that for 2 different clusters, it
stops at 2 different time steps.<br>
<br>
I wonder if it's related to DM since this happens after I
added DM into my code.<br>
<br>
In this case, how can I find out the error? I'm thinking
valgrind may take very long and gives too many false
errors.</blockquote>
<div><br>
</div>
<div>It is very easy to find leaks. You just run a few steps
with -malloc_dump and see what is left over.</div>
<div><br>
</div>
<div> Matt</div>
</div>
</div>
</div>
</blockquote>
Hi Matt, <br>
<br>
Do you mean running my a.out with the -malloc_dump and stop after a
few time steps?<br>
<br>
What and how should I "see" then?<br>
<br>
<blockquote
cite="mid:CAMYG4GmVbBSv2fuXuP19guu=ntBGhTQ5+pNJzzRsbM3ogtqu3g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<div> </div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
class="HOEnZb"><font color="#888888"><br>
-- <br>
Thank you<br>
<br>
Yours sincerely,<br>
<br>
TAY wee-beng<br>
<br>
</font></span></blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">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>
</div>
</blockquote>
<br>
</body>
</html>