|
[Sponsors] |
December 6, 2011, 14:25 |
Building Sources Failed (Running Debian)
|
#1 |
New Member
Kristina
Join Date: May 2011
Location: Seattle, WA
Posts: 7
Rep Power: 15 |
Hi! I've scoured a bit on this forum for an answer to my problem, but it seems the best solution is to post my log and ask for help. I should add the disclaimer that I'm fairly new to command-line interface and Linux, and I've only done very simple installations (gcc, fortran). Installing OpenFOAM is, by far, the most intensive procedure I've seen...so, your patience is extremely appreciated!
I'm following the steps posted here: http://www.openfoam.com/download/source.php I've done the system check and passed, and I've attached my log to .Allwmake. Please let me know if you need any other information. Thank you for your help! Kristina |
|
December 6, 2011, 15:21 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Kristina,
Which Debian and Gcc versions are you using? For knowing which Gcc version, run: Code:
gcc -v Bruno
__________________
|
|
December 6, 2011, 16:15 |
|
#3 |
New Member
Kristina
Join Date: May 2011
Location: Seattle, WA
Posts: 7
Rep Power: 15 |
Hi Bruno,
I'm running Debian 5.0 and Gcc 4.3.2. Thanks! Kristina |
|
December 6, 2011, 19:25 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Kristina,
Uuu... Gcc 4.3.2 has a few glitches Gcc 4.3.3 is the bare minimum required for building OpenFOAM Weird thing is that I can't find any specific reference about this detail. OK, a month or so ago I wrote the following blog post: Building OpenFOAM 2.0.1 on old Linux OSes - test case Ubuntu 8.04 - this might help you, if you are using a Debian 5.0 i386 or i686; to know which one, run: Code:
uname -m Quote:
So, if you are using a Debian 5.0 x86_64, things are going to get very complicated If you could upgrade to Debian 6.0, things would be a lot easier. Or at the very least, somehow get an upgraded version of gcc 4.3 or 4.4. Good luck! Bruno
__________________
|
||
December 6, 2011, 19:43 |
|
#5 |
New Member
Kristina
Join Date: May 2011
Location: Seattle, WA
Posts: 7
Rep Power: 15 |
Hi Bruno,
As my luck would have it, I am running Debian 5.0 x86_64. I'm going to try a newer version of Gcc (any version of 4.4.x will work?), since it will be faster than upgrading the entire OS. I'm afraid I don't entirely understand the repercussions of miscompiling; what are the limitations of using OpenFOAM on Debian 5.0 on a 64-bit machine? Will these issues go away with upgrading to a newer version of Gcc? Thank you for your speedy response. I'll let you know how this goes. Kristina |
|
December 12, 2011, 17:55 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Kristina,
Sorry for taking so long to reply, but basically I think I had already given you the answer: if you had at least Gcc 4.3.3, you probably wouldn't have had any problems! Best regards, Bruno
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[foam-extend.org] Error compiling OpenFOAM-1.6-ext | Canesin | OpenFOAM Installation | 137 | January 20, 2016 15:56 |
[OpenFOAM] ParaView/Parafoam error when making animation | Disco_Caine | ParaView | 6 | September 28, 2010 10:54 |
Compilation error OF1.5-dev on Suse10.3 | darenyang | OpenFOAM Installation | 0 | April 29, 2009 05:55 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 07:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 11:58 |