<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br>Hi guys,<br><br>I forgot about the "paraview-real" program...that seems to be doing the trick. I'll keep your suggestions on-hand.<br><br>Thanks, Sohail<br>--- On <b>Tue, 2/15/11, David Thompson <i>&lt;dcthomp@sandia.gov&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Thompson &lt;dcthomp@sandia.gov&gt;<br>Subject: Re: [Paraview-developers] Fw: Valgrind + Paraview<br>To: "pat marion" &lt;pat.marion@kitware.com&gt;<br>Cc: "Sohail Shafii" &lt;sohailshafii@yahoo.com&gt;, "paraview-developers@paraview.org" &lt;paraview-developers@paraview.org&gt;<br>Date: Tuesday, February 15, 2011, 3:42 PM<br><br><div class="plainMail">Hi,<br><br>Try "valgrind --trace-children=yes" to have valgrind run on the spawned child process. There's also a "--child-silent-after-fork" option you might
 need to use.<br><br>&nbsp;&nbsp;&nbsp; David<br><br>On Feb 15, 2011, at 15:26 , pat marion wrote:<br><br>&gt; Under certain configurations (release builds), what you think is the paraview binary is really just a launcher that sets up the required LD_LIBRARY_PATH and spawns a new process.&nbsp; Look for another paraview binary, maybe bin/../lib/paraview.&nbsp; To run it the real binary, you may have to manually set your LD_LIBRARY_PATH.<br>&gt; <br>&gt; There could also be a way to make the launcher to play nice with valgrind that I am not aware of...<br>&gt; <br>&gt; Pat<br>&gt; <br>&gt; On Tue, Feb 15, 2011 at 6:16 PM, Sohail Shafii &lt;<a ymailto="mailto:sohailshafii@yahoo.com" href="/mc/compose?to=sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>&gt; wrote:<br>&gt; I have to re-send this message since I subscribed to the list after sending the original message. So it should go through this time around.<br>&gt; <br>&gt; Sohail<br>&gt; <br>&gt; --- On
 Tue, 2/15/11, Sohail Shafii &lt;<a ymailto="mailto:sohailshafii@yahoo.com" href="/mc/compose?to=sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>&gt; wrote:<br>&gt; <br>&gt; From: Sohail Shafii &lt;<a ymailto="mailto:sohailshafii@yahoo.com" href="/mc/compose?to=sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>&gt;<br>&gt; Subject: Valgrind + Paraview<br>&gt; To: <a ymailto="mailto:paraview-developers@paraview.org" href="/mc/compose?to=paraview-developers@paraview.org">paraview-developers@paraview.org</a><br>&gt; Date: Tuesday, February 15, 2011, 3:04 PM<br>&gt; <br>&gt; Hi,<br>&gt; <br>&gt; I'm currently debugging some of my own filters so I thought I would run valgrind with paraview.&nbsp; It appears that valgrind and paraview are entirely disconnected, even though my command line arguments appear to be correct and paraview has been built as a debug version.&nbsp; Here is the terminal output:<br>&gt;
 shodan@shodan:~/kitware/ParaView-3.8.0-bin-debug/bin$ valgrind --tool=memcheck --track-origins=yes --leak-check=full ./paraview<br>&gt; ==13652== Memcheck, a memory error detector<br>&gt; ==13652== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.<br>&gt; ==13652== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info<br>&gt; ==13652== Command: ./paraview<br>&gt; ==13652==<br>&gt; Load file /home/shodan/Code/Flow/sample_timesteps/turbine/wtbl.2040<br>&gt; Load file /home/shodan/Code/Flow/sample_timesteps/field/comp.out.2040<br>&gt; Load file /home/shodan/Code/Flow/sample_timesteps/turbine/wtbl.2040<br>&gt; Finished computing Lambda-2 and vorticity fields, it took: 0 second(s).<br>&gt; Number of negative Lambda-2s: 291072 out of 896000 tuples.<br>&gt; Values min/max: -17.3383/7.8664.<br>&gt; Lower threshold: -0.01<br>&gt; Num seeds for vortex cores: 1998.<br>&gt; <br>&gt; ....usually valgrind reports more information
 when the program exits.&nbsp; Also, paraview appears to be running way to fast, which tells me that valgrind isn't doing anything (usually the slowdowns are very noticeable).&nbsp; Has anyone used valgrind with Paraview?<br>&gt; <br>&gt; Thanks, Sohail<br>&gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________<br>&gt; Paraview-developers mailing list<br>&gt; <a ymailto="mailto:Paraview-developers@paraview.org" href="/mc/compose?to=Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>&gt; <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>&gt; <br>&gt; <br>&gt; &lt;ATT00002..txt&gt;<br><br><br></div></blockquote></td></tr></table><br>