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

[foam-extend.org] compiling foam-extend-4.0 after switching to debug mode failed

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2018, 12:38
Default compiling foam-extend-4.0 after switching to debug mode failed
  #1
New Member
 
Join Date: Jan 2018
Posts: 12
Rep Power: 8
Pfiffikus is on a distinguished road
After a successful installation on an Debian 3.16.51-3+deb8u1 for opt mode from git we get into trouble after switching to debug mode. Neither a simple './Allwmake' nor a preparatory './Allwclean' ended up in a complete compilation!
On a first glance the generation/compilation of global.c and/or debug.c caused definition doubles ... thus missing libfoam.so at least.
If useful for bug-fixing I could add some error messages ...

Currently I recommend to start from a fresh git copy (as described in https://openfoamwiki.net/index.php/H..._and_debugging) and integrate the essential parts into the first installation afterwards!

Hth
Thomas

Last edited by Pfiffikus; February 5, 2018 at 04:18. Reason: adding some details answering quick question
Pfiffikus is offline   Reply With Quote

Old   February 3, 2018, 11:04
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by Pfiffikus View Post
After a successful installation on an Debian 3.16.51-3+deb8u1 for opt mode we get into trouble after switching to debug mode.
Neither a simple './Allwmake' nor a preparatory './Allwclean' ended up in a complete compilation!
Quick question: Your non-debug installation was done from Deb package or from git?
__________________
wyldckat is offline   Reply With Quote

Old   February 9, 2018, 10:00
Wink Please notice: from git
  #3
New Member
 
Join Date: Jan 2018
Posts: 12
Rep Power: 8
Pfiffikus is on a distinguished road
Hi Bruno, may I ask you to notice my added details considering your question? Tia TL
Pfiffikus is offline   Reply With Quote

Reply

Tags
debug mode, foam extend 4.0


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
[mesh manipulation] RefineMesh Error and Foam warning jiahui_93 OpenFOAM Meshing & Mesh Conversion 4 March 3, 2018 12:32
Switching to debug mode? NJG OpenFOAM Installation 4 March 4, 2013 19:08
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
Compiling in debug mode Marc10 OpenFOAM Programming & Development 1 February 17, 2010 12:13
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51


All times are GMT -4. The time now is 00:42.