CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

How to activate debugging

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

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

In many places in the code, there is a code of the type
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 is offline   Reply With Quote

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


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
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 09:55
Different case files activate ALE Eq. kevin FLUENT 0 November 2, 2006 14: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 04:45.