OpenFOAM v2112 Installation, Critical error, Base configuration ok. gcc and icoFoam not installed
I am running WSL2 on Windows 10 Pro with Ubuntu 20.04 (LTS). To install, compile, and test OpenFOAM v2112 I ran the following sequence of commands in my Ubuntu shell:
cp -a -r /mnt/c/Users/domin/Downloads/OpenFOAM-v2112.tgz .
sudo tar -xvzf OpenFOAM-v2112.tgz -C /opt/
sudo chown -R $USER /opt/
sudo apt install bison flex m4
echo "source /opt/OpenFOAM-v2112/etc/bashrc" >> ~/.bashrc
source $HOME/.bashrc
foamSystemCheck
foam
./Allwmake -j -s -q -l
foamInstallationTest
Much of this was adapted from my previous v2012 install, for which I followed these instructions: https://www.openfoam.com/download/openfoam-installation-on-windows-10, and the quick build guide: https://develop.openfoam.com/Development/openfoam/-/blob/master/doc/Build.md
The installation passed the foamSystemCheck pre-compile, but after compiling alerted me that Base configuration ok. The foam installation contains 2 critical error(s).
and that gcc and icoFoam were not installed.
If I run gcc --version
however I see that I have version 9.4.0 installed, so I'm unsure what the issue is there. I am however concerned that icoFoam did not install. I'm not certain what I need to do at the moment, whether I need a fresh install, another compile pass, or a clean rebuild.
Any help would be greatly appreciated.