This offering is not approved or endorsed by Silicon Graphics International Corp.,
the producer of the OpenFOAM® software and owner of the OpenFOAM® trade mark.
top
logo


Welcome, Guest
Please Login or Register.  Lost Password?
Integrated Development Environment (IDE) for OpenFOAM® development Group Forum: All about using IDEs for OpenFOAM® development and debugging in a faster and more comfortable way
Go to bottomPage: 1
TOPIC: parallel debugging
#130
parallel debugging 1 Year, 5 Months ago Karma: 0
Hello,

did somebody already debugging in parallel with a graphical frontend? I just tested the mpirunDebug script which is installed under OF/bin/ , this is useful to get a backtrace for each process. A better interaction while debugging with breakpoints etc. would be nice. Has anybody a suggestion how to do this?

Thanks
Oliver Borm
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#131
Re: parallel debugging 1 Year, 5 Months ago Karma: 1
The closest thing to effective parallel debugging is the TotalView or DDT debugger, but they're both commercial offerings, so they're not free (pretty expensive actually).

One approach is to have GDB connect to each process manually at some user-specified point in the code, and debug in lock-step from there. This is a real pain-in-the-ass approach, and it usually gets frustrating quick enough to dump it altogether.

In the end, printfs, couts and sound programming practices are your best friends.
Sandeep Menon
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Sandeep Menon
University of Massachusetts Amherst
The administrator has disabled public write access.
 
#134
Re: parallel debugging 1 Year, 5 Months ago Karma: 0
Thank you very much. I've pimped the mpirunDebug bash script in order to start a graphical frontend for gdb, instead of gdb itself, for each process. You could find it here:

openfoamwiki.net/index.php/HowTo_debugging

It is not as comfortable as Totalview, especially not yet when it comes to restarting, but even much nicer than plain gdb. Maybe one could use the session functionality of the GUI's in order to remember the breakpoints when restarting with mpirunDebug.
Oliver Borm
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#143
Re: parallel debugging 1 Year, 5 Months ago Karma: 1
Incidentally, since we're on the subject, has anyone heard about the Eclipse Parallel Tools Platform?

eclipse.org/ptp/

This would be nice to try out.
Sandeep Menon
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Sandeep Menon
University of Massachusetts Amherst
The administrator has disabled public write access.
 
#167
Re: parallel debugging 1 Year, 2 Months ago Karma: 0
Just wondering about the ptp.. have you tried it out yet?
Nils Bruenggel
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
Joomla SEO powered by JoomSEF


bottom
top

OpenFOAM®-Extend World

You need to upgrade your Flash Player

bottom
Legal | Imprint
©Copyright 2012 The OpenFOAM® Extend Project 

Powered by Joomla! Designed by Joomla Templates, ecommerce web hosting, Thanks to J! Developer Goran Gligorin for support! Joomla SEF URLs by Artio. Powered by Staff Master v0.9.8 Valid: XHTML and CSS

Friends Online