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

OpenFOAM Debugging in kDBg

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 24, 2012, 10:35
Default OpenFOAM Debugging in kDBg
  #1
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 5
vmsandip2011 is on a distinguished road
Hi all,
I was trying to debugg the OpenFOAM code in KDBg.
it is similar to GDB, I have compiled the OpenFoam Debug version by making change in bashrc file.
And then I have the linuxGccDPDebug folder which has all executables present .
If I try to run the gdb it is working properly , but while running the KDBg
I am getting the error:
/home/sandip/OpenFOAM/OpenFOAM-2.1.0/platforms/linuxGccDPDebug/bin/icoFoam: error while loading shared libraries:
libfiniteVolume.so cannot open shared object file : No such file or directory .

Actually this libfiniteVolume.so file is present in linuxGccDPDebug/lib folder.
But still this error is comeing.
Anybody is having any idea about how to resolve this issue, previously
I was able to debug the OpenFOAM in KDBg.
Please see the attached bashrc file for more information.


with regards.
vmsandip2011 is offline   Reply With Quote

Old   April 24, 2012, 19:04
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Sandip,

You're having the same problem that others have had with Eclipse IDE. A few solutions have been posted by me in the following posts:
In summary, it should be as easy as launching kDBg from the same terminal where you can run the debug version of icoFoam.

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   April 25, 2012, 09:44
Default Default OpenFOAM Debugging in kDBg
  #3
New Member
 
sandip
Join Date: Jan 2012
Posts: 20
Rep Power: 5
vmsandip2011 is on a distinguished road
Thanks for the reply
If KDBg is launched through the terminal then it is working fine.
But not if launched directly Applications->Programming Tools->KDBg

with regards.
vmsandip2011 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
gdbOF: A debugging Tool for OpenFOAM nisi OpenFOAM Announcements from Other Sources 18 August 20, 2015 11:43
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 3 September 8, 2010 06:25
Modified OpenFOAM Forum Structure and New Mailing-List pete Site News & Announcements 0 June 29, 2009 05:56


All times are GMT -4. The time now is 13:32.