CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Debug OpenFAM applications with ddd

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 12, 2007, 04:08
Default Hi all, could anyone tell m
  #1
New Member
 
Miriam
Join Date: Mar 2009
Posts: 15
Rep Power: 8
shrina is on a distinguished road
Hi all,

could anyone tell me what I have to do to debug my OpenFOAM applications with ddd (that has a graphical interface)?
Could you please tell me in detail all the changes I have to do and how to launch it?
Thank you very much in advance

Miriam
shrina is offline   Reply With Quote

Old   January 16, 2007, 14:26
Default In order of complexity: 1.
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
mattijs is on a distinguished road
In order of complexity:

1. have a look at using valgrind instead.
2. compile your application with

-g -O0 -DFULLDEBUG

Search this forum on how to do this.

3. set your WM_COMPILE_OPTION in .OpenFOAM-1.3/bashrc to Debug and recompile the whole of OpenFOAM. This will compile everything with debug info.
mattijs is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
About "debug=T" sammi Phoenics 0 June 14, 2008 07:18
Debug switch pierre OpenFOAM Running, Solving & CFD 5 July 5, 2007 19:38
Debug of UDF in FLUENT summer FLUENT 1 August 29, 2006 17:54
debug program zhujianguo Phoenics 0 July 21, 2003 04:36
Debug mode with UDF ?? Thierry FLUENT 0 November 4, 2002 05:31


All times are GMT -4. The time now is 18:15.