<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks Burlen, I am running locally and am able to get gdb attached and a backtrace. I’m getting a __strlen_sse2_pminub error for std::string::operator=, which googling seems to indicate that I’ve probably got
a memory leak somewhere. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Mark<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span style="color:windowtext"> Burlen Loring [mailto:bloring@lbl.gov]
<br>
<b>Sent:</b> Sunday, March 23, 2014 10:44 PM<br>
<b>To:</b> Vanmoer, Mark W; paraview<br>
<b>Subject:</b> Re: [Paraview] Using vtkIntegrateAttributes in an internal pipeline and multiple processes<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi Mark,<br>
<br>
Crashes that only occur in parallel can be hard to debug. The memory inspector makes it easy to attach gdb to any of ParaView's processes. After you've connected to the parallel pvserver, open the memory inspector, right click on the process of interest, select
remote command. If your local then use local gdb template. There's a remote gdb template to support remote debugging where the remote system provides ssh access to compute nodes. It works for most clusters, I've never been able to make it work the Cray. A
second option is to pass --enable-bt on the command line when you start pvserver. Again on Cray it's problematic, but Cray provides it's own solution called ATP. You just link against it and set their special environment variable when you submit your job.
All of these options require a Debug or RelWithDebInfo build. <br>
<br>
Hope this helps!<br>
Burlen<br>
<br>
On 3/22/2014 2:04 PM, Vanmoer, Mark W wrote:<span style="font-size:12.0pt"><o:p></o:p></span></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi paraview,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I have a custom filter that takes two input connections and then uses vtkIntegrateAttributes on both to find the ratio of their volumes. This is output as an unstructured grid, following the example of vtkIntegrateAttributes. The custom
filter works fine in ParaView 4.0.1 when running as a single process. However, when I try to run on multiple processes, it crashes the pvserver with
<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">=====================================================================================<o:p></o:p></p>
<p class="MsoNormal">= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<o:p></o:p></p>
<p class="MsoNormal">= EXIT CODE: 139<o:p></o:p></p>
<p class="MsoNormal">= CLEANING UP REMAINING PROCESSES<o:p></o:p></p>
<p class="MsoNormal">= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<o:p></o:p></p>
<p class="MsoNormal">=====================================================================================<o:p></o:p></p>
<p class="MsoNormal">APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">while in the client terminal I get dozens of errors relating to broken pipes and not being able to send or receive tags (which I take as a consequence of the pvserver crashing)<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I see that vtkIntegrateAttributes uses vtkMultiProcessController. Should I be using this class and implementing a SetController?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Mark<o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Powered by <a href="http://www.kitware.com">www.kitware.com</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Follow this link to subscribe/unsubscribe:<o:p></o:p></pre>
<pre><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
</div>
</body>
</html>