Thanks, Paul. I still can't stop it hanging, but I've resolved the bug I was
tracking anyway.
 
We have some totalview licences here, but I tend to prefer gdb. I remember
you saying you worked on DDT. Nothing like favouritism!
 

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk 

 

  _____  

From: Paul Edwards [mailto:paul.m.edwa...@gmail.com] 
Sent: 26 October 2011 18:59
To: agaglia...@ara.co.uk
Cc: paraview@paraview.org
Subject: Re: [Paraview] ParaView GUI hanging in debug mode



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.

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'm biased
towards DDT as I used to work for Allinea and was one of the original
developers!

Regards,
Paul

On 26 Oct 2011 13:57, "Adriano Gagliardi" <agaglia...@ara.co.uk> wrote:



Dear All,

I'm trying to debug a parallel reader I am working on. I normally work with
gdb and ParaView in serial client-server mode, which works fine. However,
I'm now trying to debug the client-server mode when run in parallel using
MPICH2 and I'm encountering issues.

I've tried the following:

(1) Run parallel pvserver first -> attach gdb to a process id -> start
paraview client -> connect to server -> Result: client connected message
appears then the client hangs.

>>> mpirun -np 16 /path/to/ParaView-3.10.1-Debug/bin/pvserver
>>> gdb --pid xxxx
>>> paraview
>>> (connect to client)

(2) Run parallel pvserver first with gdb -> Result: pvserver does not start
properly (no port message or waiting for client).

>>> mpirun -np 16 gdb /path/to/ParaView-3.10.1-Debug/bin/pvserver
gdb>> run
>>> (server hangs)

I tried the second option just in case it worked, but I was sure (and
previous posts on the mailing lists showed) that the first option would
work. I am using ParaView 3.10.1 Release built on CentOS5.4 using standard
OS libraries with MPICH2.1.3.

Is there something I've done wrong here? Any suggestions?

Thanks,

Adriano

===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: agaglia...@ara.co.uk
Url: www.ara.co.uk


**********************************************************************
This email contains information that is private and confidential and is
intended only for the addressee.
If you are not the intended recipient please delete it and notify us
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone
other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



**********************************************************************
This email contains information that is private and confidential and is 
intended only for the addressee.
If you are not the intended recipient please delete it and notify us 
immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other 
than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 
503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to