I just testing connecting to a running pvserver and it works ok for me - are you continuing the gdb process after you attach?<div><br></div><div>Regards,<br>Paul<br><br><div class="gmail_quote">On 27 October 2011 11:24, Adriano Gagliardi <span dir="ltr">&lt;<a href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><u></u>



<div>
<div><span><font face="Arial" color="#0000ff" size="2">Thanks, Paul. I still can&#39;t stop it hanging, but I&#39;ve resolved the bug I 
was tracking anyway.</font></span></div>
<div><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div><span><font face="Arial" color="#0000ff" size="2">We 
have some totalview licences here, but I tend to prefer gdb. I remember you 
saying you worked on DDT. Nothing like favouritism!</font></span></div><div class="im">
<div> </div>
<p><font size="2">===================================<br><br>Adriano Gagliardi 
MEng PhD<br>Business Sector Leader<br>Computational Aerodynamics<br>Aircraft 
Research Association Ltd.<br>Manton Lane<br>Bedford<br><br>Tel: 01234 32 
4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a> </font></p>
<div> </div><br>
</div><div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Paul Edwards 
[mailto:<a href="mailto:paul.m.edwards@gmail.com" target="_blank">paul.m.edwards@gmail.com</a>] <br><b>Sent:</b> 26 October 2011 
18:59<br><b>To:</b> <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br><b>Cc:</b> 
<a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br><b>Subject:</b> Re: [Paraview] ParaView GUI hanging in 
debug mode<br></font><br></div><div><div></div><div class="h5">
<div></div>
<p>When debugging in parallel you will need to start the job without gdb and 
then connect individually to  each of the pvserver processes with gdb.</p>
<p>The other option is to use a parallel debugger such as DDT or totalview - 
both are commercial but you can get a trial license. Note: I&#39;m biased towards 
DDT as I used to work for Allinea and was one of the original developers!</p>
<p>Regards,<br>Paul</p>
<div class="gmail_quote">On 26 Oct 2011 13:57, &quot;Adriano Gagliardi&quot; &lt;<a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a>&gt; wrote:<br type="attribution">
<blockquote class="gmail_quote" style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid"><br>Dear 
  All,<br><br>I&#39;m trying to debug a parallel reader I am working on. I normally 
  work with<br>gdb and ParaView in serial client-server mode, which works fine. 
  However,<br>I&#39;m now trying to debug the client-server mode when run in 
  parallel using<br>MPICH2 and I&#39;m encountering issues.<br><br>I&#39;ve tried the 
  following:<br><br>(1) Run parallel pvserver first -&gt; attach gdb to a 
  process id -&gt; start<br>paraview client -&gt; connect to server -&gt; 
  Result: client connected message<br>appears then the client 
  hangs.<br><br>&gt;&gt;&gt; mpirun -np 16 
  /path/to/ParaView-3.10.1-Debug/bin/pvserver<br>&gt;&gt;&gt; gdb --pid 
  xxxx<br>&gt;&gt;&gt; paraview<br>&gt;&gt;&gt; (connect to client)<br><br>(2) 
  Run parallel pvserver first with gdb -&gt; Result: pvserver does not 
  start<br>properly (no port message or waiting for client).<br><br>&gt;&gt;&gt; 
  mpirun -np 16 gdb /path/to/ParaView-3.10.1-Debug/bin/pvserver<br>gdb&gt;&gt; 
  run<br>&gt;&gt;&gt; (server hangs)<br><br>I tried the second option just in 
  case it worked, but I was sure (and<br>previous posts on the mailing lists 
  showed) that the first option would<br>work. I am using ParaView 3.10.1 
  Release built on CentOS5.4 using standard<br>OS libraries with 
  MPICH2.1.3.<br><br>Is there something I&#39;ve done wrong here? Any 
  suggestions?<br><br>Thanks,<br><br>Adriano<br><br>===================================<br><br>Adriano 
  Gagliardi MEng PhD<br>Business Sector Leader<br>Computational 
  Aerodynamics<br>Aircraft Research Association Ltd.<br>Manton 
  Lane<br>Bedford<br><br>Tel: 01234 32 4644<br>E-mail: <a href="mailto:agagliardi@ara.co.uk" target="_blank">agagliardi@ara.co.uk</a><br>Url: <a href="http://www.ara.co.uk" target="_blank">www.ara.co.uk</a><br><br><br>**********************************************************************<br>
This 
  email contains information that is private and confidential and is intended 
  only for the addressee.<br>If you are not the intended recipient please delete 
  it and notify us immediately by e-mailing the sender.<br>Note: All email sent 
  to or from this address may be accessed by someone other than the recipient, 
  for<br>system management and security reasons.<br>Aircraft Research 
  Association Ltd.  Registered in England, Registration No 503668 
  Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB 
  196351245<br><br>**********************************************************************<br>_______________________________________________<br>Powered 
  by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br><br>Visit other Kitware open-source 
  projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please 
  keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br><br>Follow this link to 
  subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><p>**********************************************************************<br>
This email contains information that is private and confidential and is intended only for the addressee.<br>If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br>Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br>
system management and security reasons.<br>Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:<br>Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>

</div></div></div>
</blockquote></div><br></div>