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

Debug OpenFAM applications with ddd

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debug mode with UDF ?? Thierry FLUENT 1 October 9, 2018 22:57
About "debug=T" sammi Phoenics 0 June 14, 2008 08:18
Debug switch pierre OpenFOAM Running, Solving & CFD 5 July 5, 2007 20:38
Debug of UDF in FLUENT summer FLUENT 1 August 29, 2006 18:54
debug program zhujianguo Phoenics 0 July 21, 2003 05:36


All times are GMT -4. The time now is 14:35.