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

How to activate debugging

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2011, 16:34
Default How to activate debugging
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 17
mirko is on a distinguished road
Hi,

In many places in the code, there is a code of the type
Code:
if (debug) {...}
How can I turn on the debug flag? I tried setting it in the system/controlDict, but to no avail.

Thank you,

Mirko
mirko is offline   Reply With Quote

Old   September 12, 2011, 17:12
Default
  #2
Senior Member
 
Sandeep Menon
Join Date: Mar 2009
Location: Amherst, MA
Posts: 403
Rep Power: 25
deepsterblue will become famous soon enough
Set the debug switches in etc/controlDict, and re-source your bashrc.
__________________
Sandeep Menon
University of Massachusetts Amherst
https://github.com/smenon
deepsterblue is offline   Reply With Quote

Reply


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
gdbOF: A debugging Tool for OpenFOAM nisi OpenFOAM Announcements from Other Sources 18 August 20, 2015 11:43
Debugging a segmentation fault? hansel OpenFOAM Bugs 3 July 31, 2010 13:13
How to activate the turbulence transition CFX 5.7. Santiago Orrego. CFX 0 January 15, 2007 08:55
Different case files activate ALE Eq. kevin FLUENT 0 November 2, 2006 13:39
Debugging Udfs in Fluent 5.x Greg Perkins FLUENT 0 April 2, 2001 03:03


All times are GMT -4. The time now is 20:27.