|
[Sponsors] |
[OpenFOAM.com] OF-1.4 Installation on Ubuntu 12.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 28, 2015, 09:44 |
OF-1.4 Installation on Ubuntu 12.04
|
#1 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
HI, everyone.
I got my binary packages on http://sourceforge.net/projects/foam/files/foam/1.4/ . and i installed openfoam-1.4, gcc-4.1.2 and paraview-2.4.4 successfully with the help of the readme guide (STEP BY STEP). the foamInstallationTest scrip also told that everything is ok, so i tried to compile it. unfortunately, './Allwmake' always gives me lots of elusive errors that beyond my experience. partial like this: Code:
+ cd wmake + ./makeWmake make: Nothing to be done for `all'. + cd src + ./Allwmake + cd /home/wzy/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM + wmakeLnInclude . + wmake libso zlib-1.2.1 SOURCE=crc32.c ; gcc -m64 -Dlinux64 -DDP -Wall -march=opteron -O3 -fno-gcse -IlnInclude -I. -I/home/wzy/OpenFOAM/OpenFOAM-1.4/src/OpenFOAM/lnInclude -fPIC -c $SOURCE -o Make/linux64Gcc4DPOpt/crc32.o In file included from /usr/include/string.h:27, from zutil.h:21, from crc32.c:21: /usr/include/features.h:324:26: error: bits/predefs.h: No such file or directory /usr/include/features.h:357:25: error: sys/cdefs.h: No such file or directory /usr/include/features.h:389:23: error: gnu/stubs.h: No such file or directory In file included from zutil.h:21, from crc32.c:21: /usr/include/string.h:42: error: expected =, ,, ;, asm or __attribute__ before __BEGIN_NAMESPACE_STD /usr/include/string.h: In function memmove: /usr/include/string.h:50: error: expected declaration specifiers before __THROW /usr/include/string.h:51: error: expected declaration specifiers before __END_NAMESPACE_STD /usr/include/string.h:63: error: expected declaration specifiers before __BEGIN_NAMESPACE_STD /usr/include/string.h:69: error: expected =, ,, ;, asm or __attribute__ before __THROW /usr/include/string.h:96: error: expected =, ,, ;, asm or __attribute__ before __THROW /usr/include/string.h:98: error: expected declaration specifiers before __END_NAMESPACE_STD ...... thanks for the attention. |
|
March 29, 2015, 04:08 |
|
#2 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
greeting to everyone!
i know that the problem lies i do not know what exact packages i must install on ubuntu for installation of OF-1.4. so i googled it and tried a lot, but failed . may i get some suggestions on which linux distribution i should choose or which packages i need to install on ubuntu 12.04? thanks for the attention. |
|
March 29, 2015, 04:47 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings "cfdopenfoam",
The closest I've got are these instructions: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04 - namely for compiling OpenFOAM 1.5 on Ubuntu 12.04. Older than that will take some considerable time to figure out. So please don't expect answers within a 24-48h period. It will possibly take a month or more for someone to be able to get back to your question. But there is another thing I was remembering... you shouldn't need to build OpenFOAM 1.4 from source code, because it provides a binary package among those files... for example, the instructions can be found here: http://web.archive.org/web/200706021...m/linux64.html Best regards, Bruno
__________________
|
|
March 29, 2015, 05:09 |
|
#4 |
Member
Karelke Yu
Join Date: Dec 2014
Posts: 96
Rep Power: 11 |
hi Bruno,
i very much appreciate your timely reply. actually, i really want to normally Allwmake the source code and then develop my own Apps, of which i've got the preliminary code (OF-1.4 version). so i very much need to test it first. now i just want to know that which packages i need install on ubuntu 12.04 for OF-1.4. any help or suggestion will make my day. thanks for your attention. |
|
April 4, 2015, 08:50 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 |
Greetings "cfdopenfoam",
I had a look into OpenFOAM's source code for versions 1.4 and 1.4.1 and I have to say that this is seriously something that cannot be easily done. The way I see it, there are only 3 possible solutions for this problem:
In other words, being "new to Linux" is something you will have to overcome, as well as being able to properly program C++. The last solution I can think of is that you hire professional help, because this takes a lot of time that most people won't be willing to spare from their free time Good luck! Best regards, Bruno |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS) | vbchris | OpenFOAM Community Contributions | 8 | March 25, 2021 20:11 |
FLUENT installation on UBUNTU 12.04 (LTS) | teymourj | FLUENT | 2 | March 1, 2017 22:24 |
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS | eddykendo | OpenFOAM Installation | 1 | July 18, 2015 17:38 |
Trouble shooting about OpenFOAM installation in Ubuntu 12.04 | Nait | OpenFOAM Installation | 2 | December 12, 2012 10:20 |
Openfoam 2.1 installation in ubuntu 12.04 | jsm | OpenFOAM Installation | 11 | May 7, 2012 04:56 |