<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><dcthomp@sandia.gov></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: David Thompson <dcthomp@sandia.gov><br>Subject: Re: [Paraview-developers] Fw: Valgrind + Paraview<br>To: "pat marion" <pat.marion@kitware.com><br>Cc: "Sohail Shafii" <sohailshafii@yahoo.com>, "paraview-developers@paraview.org" <paraview-developers@paraview.org><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> David<br><br>On Feb 15, 2011, at 15:26 , pat marion wrote:<br><br>> 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. Look for another paraview binary, maybe bin/../lib/paraview. To run it the real binary, you may have to manually set your LD_LIBRARY_PATH.<br>> <br>> There could also be a way to make the launcher to play nice with valgrind that I am not aware of...<br>> <br>> Pat<br>> <br>> On Tue, Feb 15, 2011 at 6:16 PM, Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="/mc/compose?to=sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>> wrote:<br>> 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>> <br>> Sohail<br>> <br>> --- On
Tue, 2/15/11, Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="/mc/compose?to=sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>> wrote:<br>> <br>> From: Sohail Shafii <<a ymailto="mailto:sohailshafii@yahoo.com" href="/mc/compose?to=sohailshafii@yahoo.com">sohailshafii@yahoo.com</a>><br>> Subject: Valgrind + Paraview<br>> To: <a ymailto="mailto:paraview-developers@paraview.org" href="/mc/compose?to=paraview-developers@paraview.org">paraview-developers@paraview.org</a><br>> Date: Tuesday, February 15, 2011, 3:04 PM<br>> <br>> Hi,<br>> <br>> I'm currently debugging some of my own filters so I thought I would run valgrind with paraview. 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. Here is the terminal output:<br>>
shodan@shodan:~/kitware/ParaView-3.8.0-bin-debug/bin$ valgrind --tool=memcheck --track-origins=yes --leak-check=full ./paraview<br>> ==13652== Memcheck, a memory error detector<br>> ==13652== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.<br>> ==13652== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info<br>> ==13652== Command: ./paraview<br>> ==13652==<br>> Load file /home/shodan/Code/Flow/sample_timesteps/turbine/wtbl.2040<br>> Load file /home/shodan/Code/Flow/sample_timesteps/field/comp.out.2040<br>> Load file /home/shodan/Code/Flow/sample_timesteps/turbine/wtbl.2040<br>> Finished computing Lambda-2 and vorticity fields, it took: 0 second(s).<br>> Number of negative Lambda-2s: 291072 out of 896000 tuples.<br>> Values min/max: -17.3383/7.8664.<br>> Lower threshold: -0.01<br>> Num seeds for vortex cores: 1998.<br>> <br>> ....usually valgrind reports more information
when the program exits. Also, paraview appears to be running way to fast, which tells me that valgrind isn't doing anything (usually the slowdowns are very noticeable). Has anyone used valgrind with Paraview?<br>> <br>> Thanks, Sohail<br>> <br>> <br>> <br>> _______________________________________________<br>> Paraview-developers mailing list<br>> <a ymailto="mailto:Paraview-developers@paraview.org" href="/mc/compose?to=Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>> <a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>> <br>> <br>> <ATT00002..txt><br><br><br></div></blockquote></td></tr></table><br>