|
[Sponsors] |
[OpenFOAM.org] problem with instaling openfoam-2.0.0 on ubuntu 18.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2018, 12:18 |
problem with instaling openfoam-2.0.0 on ubuntu 18.04
|
#1 |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Dear users
I am new in Open Foam and Ubuntu. I want to install the OpenFOAM-2.0.0 from source pack on Ubuntu 18.04 but i am failed in it. I do it according to below link: https://openfoam.org/download/2-0-0-source/ I attached the Log_Allwmake file to see all of the errors. can any one help me to solve the problem??? thanks a lot |
|
November 6, 2018, 20:17 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Very interesting... I'm only seeing issues with compiling with Flex... try running the following commands:
Code:
#Go into OpenFOAM's main source folder cd $WM_PROJECT_DIR #Change how the flex version is checked find src applications -name "*.L" -type f | xargs sed -i -e 's=\(YY\_FLEX\_SUBMINOR\_VERSION\)=YY_FLEX_MINOR_VERSION < 6 \&\& \1='
__________________
|
|
November 10, 2018, 07:00 |
|
#3 | |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Quote:
Thanks a lot for your reply I run the commands and i still see a lot of error. The new errors have been reported in the attached file. I want to run the HACFOAM program and it is the reason why I should install the OpenFoam2.0.0. can anyone help me how to solve this problem?? I have searched in the web a lot but i can not find any things. Thanks a lot |
||
November 11, 2018, 18:19 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: I didn't notice it on the first log file (edit: the first log did have it), but this:
Code:
no ThirdParty sources found - skipping
Last edited by wyldckat; November 11, 2018 at 18:20. Reason: see "edit:" |
|
November 12, 2018, 04:32 |
|
#5 | |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Quote:
Dear Bruno I am very appreciative of your notification.I did it but I did not make the source again from the first because it take a lot of time (about 4h). I make the source on the previous one (about 5 minute) but also i have a lot of error. |
||
November 12, 2018, 18:26 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OK, what at first seemed like a fairly simple fix with OpenFOAM 2.0.x, is now an ever expanding list of problems with compiling 2.0.0...
I will not have time before the upcoming weekend to test this myself and work through the issues to write a wiki page on this topic. My best suggestion right now is that you install Ubuntu 14.04 inside a virtual machine and follow the instructions given here: https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 It's not a great solution, but it's the quickest one I'm able to provide right now. If you can wait until this upcoming weekend (17-18 of November 2018), I may be able to look into this myself in more detail. |
|
November 14, 2018, 03:04 |
|
#7 | |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Quote:
Dear Bruno I appreciate your prompt response to my question. If it is possible for you to write a wiki page on this topic, i prefer to wait until 18 of November but I also try to install it on Ubuntu 14.04 as you suggested. thanks a lot |
||
November 18, 2018, 03:17 |
|
#8 | |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Quote:
According to your previous post, I run the Openfoam-2.0.0 on ubuntu14.04. But it is necessary for me to run it on Ubuntu 18.04 I would appreciate if you help me Thanks a lot |
||
November 22, 2018, 06:12 |
problem with instaling openfoam-2.0.0 on ubuntu 14.04
|
#9 |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Dear users
I tried to make the openfoam-2.0.0 on ubuntu 14.04. At first I tried to do it on ubuntu for i386 in virtual Box and it worked correctly. I follow:https://openfoamwiki.net/index.php/I...u#Ubuntu_14.04 After that i decided to make openfoam-2.0.0 on ubuntu 14.04 for x86_64 on a real machine. But I got the errors. can any one help me to solve the problem??? Thanks a lot |
|
November 22, 2018, 06:35 |
|
#10 |
Senior Member
Daniel
Join Date: Mar 2013
Location: Noshahr, Iran
Posts: 348
Rep Power: 21 |
just looking at the first line:
Code:
gcc-4.4-4.4-4.4 -m64 -Wall -O3 -fPIC dirToString.c -o /home/alireza/OpenFOAM/OpenFOAM-2.0.0/wmake/platforms/linux64Gcc44/dirToString Code:
gcc-4.4 Code:
gcc-4.4-4.4-4.4 check these two files here: Code:
OpenFOAM-2.0.0/wmake/rules/linux*Gcc44/c OpenFOAM-2.0.0/wmake/rules/linux*Gcc44/c++ |
|
November 22, 2018, 11:46 |
|
#11 |
Member
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15 |
See the first two lines of your log file:
Code:
gcc-4.4-4.4-4.4 -m64 -Wall -O3 -fPIC dirToString.c -o /home/alireza/OpenFOAM/OpenFOAM-2.0.0/wmake/platforms/linux64Gcc44/dirToString make: gcc-4.4-4.4-4.4: Command not found |
|
November 22, 2018, 12:09 |
|
#12 | |
New Member
Alireza
Join Date: Nov 2018
Posts: 8
Rep Power: 8 |
Quote:
It is working. Tanks a lot |
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[waves2Foam] waves2Foam on an Ubuntu 18.04 with OpenFOAM 1712 | JGadelho | OpenFOAM Community Contributions | 36 | April 27, 2024 17:46 |
Map of the OpenFOAM Forum - Understanding where to post your questions! | wyldckat | OpenFOAM | 10 | September 2, 2021 06:29 |
Wigley Hull with OpenFoam 2.0.0 problem | Stephy | OpenFOAM Bugs | 19 | October 12, 2020 11:22 |
[OpenFOAM.org] Problem of openFOAM 2.3.1 installation in Ubuntu 14.04LTS | mukut | OpenFOAM Installation | 9 | January 19, 2015 01:48 |
[Commercial meshers] Handling cyclic BC from gambit to openfoam for a cascade airfoil problem - OF 1.6 | maverick | OpenFOAM Meshing & Mesh Conversion | 2 | June 18, 2011 05:36 |