Skip to content

Commit 1034093

Browse files
committed
oops, forgot to save the added comments to my last commit, fixed now
1 parent 8002bf4 commit 1034093

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

scripts/build_deps_ubuntu_2404.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,16 @@ make -j$(nproc)
4848
sudo make install
4949
cd ..
5050

51+
## bad luck trying to build OpenFOAM 8 and 9 from source, they compiled fine, but they had weird runtime IO errors that imply the need to build with an older compiler
52+
## https://openfoam.org/download/8-source/, https://openfoam.org/download/9-source/
53+
## I did find a workaround though: went to the .deb package from the openfoam website, downloaded it, and unpacked it.
54+
## https://dl.openfoam.org/ubuntu/dists/focal/main/binary-amd64/openfoam9_20211122_amd64.deb
55+
## dpkg-deb -x openfoam9_20211122_amd64.deb .
56+
## sudo mv opt/openfoam9/ /opt/
57+
## source /opt/openfoam9/etc/bashrc <-- I usually put this in my /home/<usr>/.bashrc, then "source /home/<usr>/.bashrc"
58+
##
59+
## Note, to get the dependencies, I did the following, from https://openfoam.org/download/source/software-for-compilation/
60+
## sudo apt-get install build-essential cmake git ca-certificates flex
61+
## sudo sh -c "wget -O - https://dl.openfoam.org/gpg.key > /etc/apt/trusted.gpg.d/openfoam.asc"
62+
## sudo add-apt-repository http://dl.openfoam.org/ubuntu
63+
## sudo apt install openfoam-nopv-deps <--- well, technically I tried the full paraview "openfoam-deps" version, alongside "paraview-dev", but in theory just the no-paraview version should be enough of the dependencies.

0 commit comments

Comments
 (0)