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

Using GDB to Debug InterDyMFoam Application

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2016, 12:39
Default Using GDB to Debug InterDyMFoam Application
  #1
New Member
 
Evan
Join Date: May 2016
Posts: 23
Rep Power: 9
k13113y is on a distinguished road
I am trying to get more information as to why my simulation is crashing by using the debugger gdb; however, I cannot seem to get the command right for implementing it.

So far I have tried:

$ gdb interDyMFoam
$ mpirunDebug -np 4 interDyMFoam -parallel

But nothing has worked. I really would just like more information in my log.interDyMFoam problem so I can see exactly where I've gone awry.

Any suggestions?
k13113y is offline   Reply With Quote

Old   August 16, 2016, 12:49
Default
  #2
New Member
 
Evan
Join Date: May 2016
Posts: 23
Rep Power: 9
k13113y is on a distinguished road
Right now the log file says:

Rerun with processor debug flag set for more information.

So a better way to phrase my question would be: what is the syntax for doing this?
k13113y is offline   Reply With Quote

Old   August 18, 2016, 14:10
Default
  #3
Member
 
Darko Radenkovic
Join Date: Oct 2015
Posts: 38
Rep Power: 10
dradenkovic is on a distinguished road
Maybe you can find something here

https://openfoamwiki.net/index.php/H...ng#mpirunDebug

Regards,
Darko
dradenkovic 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
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
index out of range when accessing boundaryField in debug mode sr_tenedor OpenFOAM Bugs 5 April 14, 2013 11:17
how to use gdb to debug openfoam? houkensjtu OpenFOAM Programming & Development 2 October 16, 2012 02:05
Eclipse - case debug error Bufacchi OpenFOAM 1 February 7, 2012 15:15
Debug OpenFOAM-1.6 with Netbeans or GDB? alundilong OpenFOAM Installation 7 January 22, 2012 17:15


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