|
[Sponsors] |
[OpenFOAM.org] Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 7, 2017, 04:36 |
Can't find installation instruction for Openfoam 2.4.x , on Ubuntu 16.04
|
#1 |
New Member
shashank
Join Date: May 2017
Posts: 1
Rep Power: 0 |
Hi everyone,
I want to work with OpenFoam 2.4.x. I have ubuntu 16.04.2 LTS installed on my machine. I looked for installation instructions for openfoam 2.4.x on ubuntu 16.04, but I couldn't find one. The nearest ones I found were : Openfoam 2.4.0 for ubuntu 16.04 Openfoam 2.4.x for ubuntu 15.04 and ubuntu 14.04 I want to avoid going back to ubuntu 14.04 to run openFoam 2.4.x. I request everyone to kindly look into this issue. Thanks |
|
May 7, 2017, 07:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: The following instructions that are written specifically for Ubuntu 15.04 should also work on Ubuntu 16.04: https://openfoamwiki.net/index.php/I...u#Ubuntu_15.04
__________________
|
|
September 26, 2018, 17:10 |
|
#3 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8 |
Hello, did this work for you? I get the following errors while running ./Allwmake in $WM_THIRD_PARTY_DIR at step 9:
Code:
== Generating build files == Configuring libCGAL -- Requested component: MPFR -- Requested component: GMP libCGAL is configured -- Sources for CGAL component library 'CGAL_ImageIO/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/home/hconel/OpenFOAM/ThirdParty-2.4.x/CGAL-4.6/src/CGAL_ImageIO/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component library 'CGAL_Qt4/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/home/hconel/OpenFOAM/ThirdParty-2.4.x/CGAL-4.6/src/CGAL_Qt4/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component library 'CGAL_Core/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/home/hconel/OpenFOAM/ThirdParty-2.4.x/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) -- Sources for CGAL component library 'CGAL_Qt3/CMakeLists.txt' detected CMake Error at src/CMakeLists.txt:81 (add_subdirectory): add_subdirectory given source "/home/hconel/OpenFOAM/ThirdParty-2.4.x/CGAL-4.6/src/CGAL_Qt3/CMakeLists.txt" which is not an existing directory. Call Stack (most recent call first): src/CMakeLists.txt:140 (configure_component) -- Sources for CGAL component libraries 'CGAL_Core/CMakeLists.txt;CGAL_ImageIO/CMakeLists.txt;CGAL_Qt3/CMakeLists.txt;CGAL_Qt4/CMakeLists.txt' detected == Generating build files (DONE) == -- Configuring incomplete, errors occurred! See also "/home/hconel/OpenFOAM/ThirdParty-2.4.x/build/linux64Gcc/CGAL-4.6/CMakeFiles/CMakeOutput.log". See also "/home/hconel/OpenFOAM/ThirdParty-2.4.x/build/linux64Gcc/CGAL-4.6/CMakeFiles/CMakeError.log". + exit 1 ======================================== Done ThirdParty Allwmake ======================================== |
|
September 26, 2018, 18:01 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: My guesses are that either:
|
|
September 27, 2018, 07:30 |
|
#5 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8 |
Yes, it is Ubuntu 16.04.5 LTS. Also, CGAL-4.6/src/CGAL_Core directory also exists. I have gedit'ed all these files from terminal by copy-pasting the paths and they exist. Couldn't figure out the problem yet...
|
|
September 27, 2018, 19:47 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: OK, I've got good news... we don't need to build CGAL 4.6, we can use CGAL 4.7 that comes with Ubuntu 16.04. So from the instructions that I wrote a few years ago then for OpenFOAM 2.4.0: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 - you can use the following commands to fix the current issue:
For future reference, CMake 3.5 that comes with Ubuntu 16.04 does not work properly with CGAL 4.6, hence the weird error messages. The workaround for building with CGAL 4.6 is to build the custom version of CMake 2.8.12, as explained here: OpenFOAM 2.4.0 and Fedora 22: error building CGAL - post #2. |
|
September 28, 2018, 03:04 |
|
#7 |
Member
Hüseyin Can Önel
Join Date: Sep 2018
Location: Ankara, Turkey
Posts: 47
Rep Power: 8 |
While I was digging the problem last night, I came across that step you mentioned in 2.4.0 installation but it was too late to give it a shot. Today I'll try and refresh the post.
Thanks so much Mr. Santos. Whenever I have a problem about installing OF, it is always you who show at the top of a search. You surely make world a better place to live for foamers. |
|
September 30, 2018, 08:28 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Many thanks to you as well! I've now added the section for 16.04: https://openfoamwiki.net/index.php/I...u#Ubuntu_16.04 - I haven't tested it myself, but I'm ~95% certain it should work
|
|
October 20, 2018, 21:53 |
|
#9 | |
Member
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12 |
Quote:
is there any installation instructions for openfoam 2.4.x on Ubuntu 18? I have searched the posts here and can only find 2.3.1 on ubuntu 18. Thanks. Bests, Peng |
||
October 24, 2018, 18:17 |
|
#10 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Sorry for not creating the wiki page right now for it, but I don't have time to test it... if it works or not for you, please let me know! |
||
January 10, 2020, 05:20 |
|
#11 |
Member
Callum Guy
Join Date: Dec 2019
Location: Scotland
Posts: 44
Rep Power: 6 |
Hi, I know this is an old thread but I followed your instructions wyldckat to get 2.4.x on ubuntu 18.04 and it works for the most part, but I don't think it compiles ParaView properly.
On running the cavity tutorial after blockMesh and icoFoam commands, if I run paraFoam it returns: Code:
FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers ./Allwclean ./Allwmake Code:
ERROR: ParaView not found in /home/callum/OpenFOAM/ThirdParty-2.4.x/platforms/linux64Gcc/ParaView-4.1.0 Cheers Callum Last edited by CallumG; January 29, 2020 at 14:42. |
|
February 19, 2020, 13:42 |
|
#12 |
New Member
Colin Bettini
Join Date: Feb 2020
Posts: 1
Rep Power: 0 |
I have the exact same issue
|
|
February 19, 2020, 18:36 |
|
#13 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
avoid installing 10+ year old technology (i.e. 2.4)?
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
February 20, 2020, 04:19 |
|
#14 |
New Member
Stu
Join Date: May 2016
Location: Prague
Posts: 6
Rep Power: 10 |
It was released in 2015. Avoid littering legitimate questions with snarky, lazy comments.
Last edited by fluidstu; February 20, 2020 at 05:26. |
|
February 20, 2020, 12:46 |
|
#15 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
So you raid, and harrass the threads I write...
Copy-pasted: Its engine is based on 2.x - which was first released in 2011. What you don't understand is there is a reason why the version 3.0 was called 3.0, but not 2.5, as it underwent huge change.
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX-Pre problem, pls help!!! | cth_yao | CFX | 0 | February 17, 2012 01:52 |
OpenFOAM 1.6-ext git installation on Ubuntu 11.10 x64 | Attesz | OpenFOAM Installation | 45 | January 13, 2012 13:38 |
Problem Building OF on Centos cluster (no admin rights) | CKH | OpenFOAM Installation | 5 | November 13, 2011 07:32 |
OpenFOAM Installation Ubuntu 9.04 Problems | Sumontro | OpenFOAM Installation | 8 | July 21, 2009 22:40 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 21:30 |