|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 5 installation on Ubuntu 20.04 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 15, 2020, 07:22 |
OpenFOAM 5 installation on Ubuntu 20.04
|
#1 |
New Member
Azamat Salamat
Join Date: May 2020
Posts: 1
Rep Power: 0 |
Hello!
I am trying to install OpenFOAM 5 to use it with CFDEM-coupling on my laptop that is running Ubuntu 20.04. I have copied the github repo, added the following line to the .bashrc: source $HOME/OpenFOAM/OpenFOAM-5.x/etc/bashrc Followed the instructions from https://www.cfdem.com/media/CFDEM/do...ng_Manual.html. Compiled using Allwmake and then I am receiving the error in the attached file. (I believe this is an error, as I am not able to run the tutorial cases in OpenFOAM folder) I am wondering is it even possible to install OpenFOAM 5 on latest Ubuntu since it is not available as apt package anymore. Thank you, Azamat |
|
July 23, 2020, 00:50 |
I have the same problem...
|
#2 |
New Member
Vitor Geraldes
Join Date: Dec 2009
Location: Lisbon, Portugal
Posts: 26
Rep Power: 17 |
I had the same problem. I solved it by installing OpenFOAM5.x instead of the version 5.0. Then in the thirdParty-5.x folder I replaced scotch_6.0.3 by the newer version scotch_6.0.9 (it is available on the more recent versions of OF). On the file scotch in the directory OpenFOAM-5.x/etc/config.sh/, the new version of scotch must be added (export SCOTCH_VERSION=scotch_6.0.9). Now both the thirdParty-5.x and the openFoam5.x compile well.
Last edited by vitor.geraldes@ist.utl.pt; July 23, 2020 at 22:36. |
|
September 24, 2020, 02:52 |
|
#3 |
New Member
Ashutosh
Join Date: Apr 2020
Posts: 2
Rep Power: 0 |
Hello friend
I also installed 3 party of 6 on Ubuntu 20 allbthings run well but it's not running parallel and showing environment variable key_buffer_size please help |
|
October 29, 2020, 16:08 |
|
#4 |
New Member
Benico
Join Date: Jan 2020
Posts: 2
Rep Power: 0 |
I want Helyx and Sim-Flow working on Xubuntu 20.04. This means that OF 4.1 has to be installed (which are not in the bionic or the focal repositories)
so although my distro is "focal" I enabled the following repositories - and I got OF 4.1 working. Using synaptic I added: deb http://dl.openfoam.org/ubuntu xenial main (in order to install OF4.1) as well as deb http://archive.ubuntu.com/ubuntu xenial main (in order to satisfy the dependencies) After installing OF4.1 I disabled the xenial repositories again. Paraview did not work due to a 2011 intel integrated GPU on a hp 8440 laptop. I enabled the oibaf repositories and got Paraview 5.4.1 going with : /opt/ParaView-541/bin/paraview --mesa-llvm hths Last edited by benico; November 1, 2020 at 16:22. Reason: new info |
|
October 31, 2020, 04:02 |
|
#5 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
Quote:
They didn't get noticed originally, but the newer compilers (like you have on ubuntu 20.04) do find them and flag them as an error. So you will need to fix these manually. Another possibility is to get the software working with a newer version of OpenFOAM. If you use the openfoam.com version, it always provides a version macro that you can use while updating your code. For example, Code:
#if OPENFOAM > 1906 ...updated code #else ... old code #endif If you want to try OpenFOAM-v1912 or v2006 on Ubuntu 20.04 see these instructions : https://develop.openfoam.com/Develop...ompiled/debian |
||
November 24, 2021, 06:33 |
|
#6 | |
New Member
Biku
Join Date: Nov 2021
Posts: 11
Rep Power: 5 |
Quote:
Thank you this worked! |
||
November 28, 2022, 08:04 |
|
#7 | |
New Member
Altaf lone
Join Date: Nov 2022
Posts: 3
Rep Power: 4 |
Quote:
Dear Tobias Holzmann, Will this work as a rule of thumb for any other lower versions like v4. kindly suggest how to make lower versions like v4 work on ubuntu 22.04 or so |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
[OpenFOAM.org] OpenFOAM 3.0.1 installation on Ubuntu 14.04 | Hrushi | OpenFOAM Installation | 6 | July 8, 2017 19:47 |
[OpenFOAM.org] OpenFoam 3.0 installation on Ubuntu 14.04.3 | tab2001ng | OpenFOAM Installation | 3 | March 8, 2016 02:38 |
[OpenFOAM.org] installation of openfoam version of 2.3.0 and 2.0.0 together in ubuntu 14.0.4 | Hamzeh_Mirab | OpenFOAM Installation | 1 | November 21, 2014 06:16 |
openFOAM installation in ubuntu 11.10 | kirubhakaran | OpenFOAM Installation | 5 | February 17, 2012 03:16 |