amolgole73 |
September 2, 2022 23:04 |
Problem installing OpenFoam 2206 on WSL2 with Ubuntu 22.04 LTS
Hello all,
I am new to OpenFoam. I am facing problems while compiling OpenFoam from source. Details are as below,
OpenFoam : 2206
WSL 2
Ubuntu : 22.04 LTS
FoamInstallationTest result:
Code:
Executing foamInstallationTest
Basic setup :
-------------------------------------------------------------------------------
OpenFOAM: OpenFOAM-v2206
ThirdParty: ThirdParty-v2206
Shell: bash
Host: LAPTOP-1DPHTA5H
OS: Linux version 5.10.16.3-microsoft-standard-WSL2
-------------------------------------------------------------------------------
Main OpenFOAM env variables :
-------------------------------------------------------------------------------
Environment FileOrDirectory Valid Crit
-------------------------------------------------------------------------------
$WM_PROJECT_USER_DIR /home/nikhil/OpenFOAM/nikhil-v2206 yes no
$WM_THIRD_PARTY_DIR ...penFOAM/nikhil-v2206/ThirdParty-v2206 yes maybe
$WM_PROJECT_SITE [env variable unset] no
-------------------------------------------------------------------------------
OpenFOAM env variables in PATH :
-------------------------------------------------------------------------------
Environment FileOrDirectory Valid Path Crit
-------------------------------------------------------------------------------
$WM_PROJECT_DIR .../OpenFOAM/nikhil-v2206/OpenFOAM-v2206 yes yes yes
$FOAM_APPBIN ...06/platforms/linux64GccDPInt32Opt/bin yes yes yes
$FOAM_SITE_APPBIN ...06/platforms/linux64GccDPInt32Opt/bin no no
$FOAM_USER_APPBIN ...06/platforms/linux64GccDPInt32Opt/bin no no
$WM_DIR ...OAM/nikhil-v2206/OpenFOAM-v2206/wmake yes yes often
-------------------------------------------------------------------------------
OpenFOAM env variables in LD_LIBRARY_PATH :
-------------------------------------------------------------------------------
Environment FileOrDirectory Valid Path Crit
-------------------------------------------------------------------------------
$FOAM_LIBBIN ...06/platforms/linux64GccDPInt32Opt/lib yes yes yes
$FOAM_SITE_LIBBIN ...06/platforms/linux64GccDPInt32Opt/lib no no
$FOAM_USER_LIBBIN ...06/platforms/linux64GccDPInt32Opt/lib no no
$FOAM_EXT_LIBBIN ...v2206/platforms/linux64GccDPInt32/lib yes yes maybe
$MPI_ARCH_PATH /usr/lib/x86_64-linux-gnu/openmpi yes yes yes
-------------------------------------------------------------------------------
Software Components
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
flex *** not installed ***
make *** not installed ***
wmake *** not installed ***
gcc *** not installed ***
CRITICAL ERROR
g++ *** not installed ***
-------------------------------------------------------------------------------
icoFoam *** not installed ***
CRITICAL ERROR
Summary
-------------------------------------------------------------------------------
Base configuration ok.
The foam installation contains 2 critical error(s).
Review the output for warning messages and consult
the installation guide for troubleshooting.
Done
Please let me know, what I am doing wrong.
Can provide log file if needed.
Thanks
|