|
[Sponsors] |
[OpenFOAM.com] Issues Installing dsmcFOAM+ (OpenFoam-v1706) on Ubuntu 20.04LTS |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 27, 2022, 05:50 |
Issues Installing dsmcFOAM+ (OpenFoam-v1706) on Ubuntu 20.04LTS
|
#1 |
New Member
Kyle
Join Date: Apr 2021
Posts: 2
Rep Power: 0 |
I am installing dsmcFOAM+ found on the hyStrath GitHub repository (https://hystrath.github.io/). I have been following the installation instructions on the same repository https://hystrath.github.io/installation/:
One note is that Code:
sudo apt-get install qt4-dev-tools libqt4-dev libqt4-opengl-dev freeglut3-dev libqtwebkit-dev Before doing Step #5. I add OpenFoam-v1706's bashrc by adding Code:
source $HOME/OpenFOAM/OpenFOAM-v1706/etc/bashrc When I first did Step #5 as direct, the installation Step #6 failed, because wmkdep could not find the header files. When using foamInstallationTest, I get the icoFoam not installed error. Using this forum HTML Code:
https://www.cfd-online.com/Forums/openfoam-installation/229950-icofoam-not-installed.html ./Allwmake -j -s -l but the icoFoam error still persists. I also installed the relevant Qt packages/libraries for Ubuntu 20.04LTS and there is no difference. I am not sure what else to do. |
|
July 19, 2022, 11:52 |
|
#2 |
New Member
Alexander Cushen
Join Date: Jul 2022
Posts: 6
Rep Power: 4 |
I recently went through the same installation process and ran into some problems, but not the same as these. For me, installing the correct version of gcc was the largest barrier -- when you type "gcc --version" into terminal, does it show a correct installation?
It also sounds like you may have read these instructions, but if not, I would recommend verifying each step of this guide before moving onto the later steps on Hystrath. Let me know how it goes! |
|
July 20, 2022, 17:29 |
|
#3 |
New Member
Kyle
Join Date: Apr 2021
Posts: 2
Rep Power: 0 |
I forgot about this post. Vincent at the hyStrath Github was able to help. It was the wrong version of the GCC. However, Vincent gave me the following commands to get QT4 packages/libraries installed:
Code:
sudo add-apt-repository ppa:rock-core/qt4 sudo apt update Code:
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 7 sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 7 sudo update-alternatives --config gcc sudo update-alternatives --config g++ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM on AWS Ubuntu EC2 Instance | mcc12 | OpenFOAM Programming & Development | 1 | October 28, 2021 14:22 |
[OpenFOAM.org] Errors in installing OpenFOAM 2.2.2 on Ubuntu 18.04 LTS | xixiuqi | OpenFOAM Installation | 3 | December 12, 2019 11:03 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 10:04 |
Trouble with installing OpenFOAM on Ubuntu | Milos | OpenFOAM Installation | 16 | November 16, 2009 03:44 |