<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">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:<br>
    </div>
    <blockquote
cite="mid:7F781841FF1E044388AFA42B70703A7A7E15509D@CHIMBX6.ad.uillinois.edu"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri","sans-serif";}
@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]-->
      <div class="WordSection1">
        <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>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Powered by <a class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the ParaView Wiki at: <a class="moz-txt-link-freetext" href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a>

Follow this link to subscribe/unsubscribe:
<a class="moz-txt-link-freetext" href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>