|
[Sponsors] |
February 27, 2024, 07:51 |
solids4Foam Build Errors
|
#1 |
New Member
Simon
Join Date: Feb 2024
Posts: 2
Rep Power: 0 |
Hi,
I'm having issues installing solids4foam following the instructions on https://www.solids4foam.com/installa...romSource.html I'm very new to openFOAM and WSL so it's likely I'm missing something simple I have followed these steps: - Starting with fresh Ubuntu Install (WSL) - Install openFOAM - v2012 following instructions here: https://develop.openfoam.com/Develop...ompiled/debian - Add openFOAM source to ~/bashrc with the following Code:
source /usr/lib/openfoam/openfoam2012/etc/bashrc Code:
sudo apt install petsc-dev Code:
export PETSC_DIR = /usr/lib/petscdir - install gfortran with Code:
sudo apt-get install gfortran Code:
sudo apt-get install gnuplot Code:
git clone --branch v2.0 https://github.com/solids4foam/solids4foam.git Code:
cd solids4foam ./Allwmake -j 2>&1 | tee log.Allwmake Any help is very much appreciated. |
|
March 4, 2024, 07:47 |
|
#2 |
New Member
Ivan Batistić
Join Date: Sep 2022
Location: Zagreb, Croatia
Posts: 14
Rep Power: 4 |
You have a problem with petsc during compilation. Skip the installation of petsc ( do not set PETSC_DIR variable) and try again.
|
|
March 5, 2024, 10:13 |
|
#3 |
New Member
Simon
Join Date: Feb 2024
Posts: 2
Rep Power: 0 |
Thank Ivan, that appears to have done the trick.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
chtMultiRegionFoam not writing any results but not giving any errors | lmw354 | OpenFOAM Running, Solving & CFD | 5 | August 29, 2021 04:04 |
pimpleDyMFoam computation randomly stops | babapeti | OpenFOAM Running, Solving & CFD | 5 | January 24, 2018 06:28 |
Stuck in a Rut- interDyMFoam! | xoitx | OpenFOAM Running, Solving & CFD | 14 | March 25, 2016 08:09 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |