|
[Sponsors] |
[OpenFOAM.org] Install OpenFOAM-2.4.0 in Ubuntu 18.04? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: May 2019
Posts: 4
Rep Power: 7 ![]() |
Hi All,
Did anyone install OpenFOAM-2.4.0 successfully in Ubuntu 18..04? Instructions for OpenFOAM-2.3.0 are posted in Wiki, but not for OpenFOAM-2.4.0. In the OpenFOAM-2.4.0 installation Wiki, the latest post is for Ubuntu 16.04, which I tried to follow but did not work for Ubuntu 18.04. |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Mattia
Join Date: May 2014
Location: Eindhoven/Bologna
Posts: 2
Rep Power: 0 ![]() |
Dear luckyraymond,
why do you need that version in place of a more recent one? |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
|
Hi,
Could you elaborate about "I tried to follow but did not work"? At what stage did you fail? |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answers:
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#5 | |
New Member
Join Date: May 2019
Posts: 4
Rep Power: 7 ![]() |
Quote:
Thank you for helping! I tried your new post. It seems that CGAL version should be fixed to 4.6 instead of 4.3? == Generating build files == Configuring libCGAL -- Requested component: MPFR -- Requested component: GMP libCGAL is configured -- Sources for CGAL component library 'CGAL_Core/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/home/ubuntu/OpenFOAM/ThirdParty-2.4.0/CGAL-4.6/src/CGAL_Core/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) |
||
![]() |
![]() |
![]() |
![]() |
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,978
Blog Entries: 45
Rep Power: 128 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: Yes, you're correct, I didn't remember that the CGAL version being used had changed. I've corrected the wiki page. Here are the commands you need to run in order to fix this:
Code:
of240 foam sed -i -e 's/\(cgal_version=\)CGAL-4.6/\1cgal-system/' etc/config/CGAL.sh of240 edit: The log file will then indicate this: Code:
Build CGAL optional component was not found Last edited by wyldckat; May 18, 2019 at 13:06. Reason: see "edit:" |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
|
Hello Bruno,
If the instructions in "https://openfoamwiki.net/index.php/Installation/Linux/OpenFOAM-2.4.0/Ubuntu#Ubuntu_18.04" is suitable for OpenFOAM-2.4.0 in Ubuntu_20.04? I meet the problems and failed. I attach the log file below. How to build OpenFOAM-2.4.0 in Ubuntu 20.4? |
|
![]() |
![]() |
![]() |
![]() |
#8 | |||
Member
|
Quote:
Quote:
Quote:
Hello Bruno, This is the log file when I use instructions from :https://openfoamwiki.net/index.php/I...u#Ubuntu_18.04 |
||||
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
Jaymeen Patel
Join Date: Jan 2023
Location: Chennai
Posts: 7
Rep Power: 3 ![]() |
Can anyone help me in same thread for installing OF 2.4.0 over ubuntu 22.04?
Thanks |
|
![]() |
![]() |
![]() |
![]() |
#10 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 ![]() ![]() |
Quote:
OpenFOAM-2.4.0 in now almost 8 years old (was released in 2015) and there have been numerous improvements in compilers and tightening of the standard since then, both of which have necessitated corresponding code changes. Thus there are a large number of things that would need to be adjusted to get it working with the system compilers on Ubuntu 22.04. |
||
![]() |
![]() |
![]() |
![]() |
#11 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 7 ![]() |
||
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Installation of openfoam 6 on Ubuntu 18.04 | EMurphy | OpenFOAM Installation | 1 | March 7, 2019 18:32 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
How to install two version openfoam on ubuntu? | MAHDI1366 | OpenFOAM Installation | 1 | July 1, 2014 14:25 |
How to Install Openfoam 2.2.2 in Ubuntu 14.04? | satty_00 | OpenFOAM Installation | 7 | May 18, 2014 10:04 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |