|
[Sponsors] |
[OpenFOAM.com] Lib. files issues with OF2206/Ubuntu 22.04/WSL2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 13, 2022, 10:41 |
Lib. files issues with OF2206/Ubuntu 22.04/WSL2
|
#1 |
New Member
Join Date: Sep 2022
Posts: 1
Rep Power: 0 |
Hi,
I am running into a compilation issue on OF2206/WSL2/Ubuntu22.04 that I have dragging for now couple days. I get the following error when I tried to compile a solver with wmake (any solver, even unmodified, e.g., laplacianFoam): Code:
/usr/bin/ld: warning: libfileFormats.so, needed by /usr/lib/openfoam/openfoam2206/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so, not found (try using -rpath or -rpath-link) In my understanding, OF checks the library by using the env. variable $LD_LIBRARY_PATH. Once echoed, I get: Code:
/home/flori/OpenFOAM/flori-v2206/platforms/linux64GccDPInt32Opt/lib:/usr/lib/openfoam/openfoam2206/site/2206/platforms/linux64GccDPInt32Opt/lib:/usr/lib/openfoam/openfoam2206/platforms/linux64GccDPInt32Opt/lib/sys-openmpi:/usr/lib/openfoam/openfoam2206/platforms/linux64GccDPInt32Opt/lib:/usr/lib/x86_64-linux-gnu/openmpi/lib:/usr/lib/openfoam/openfoam2206/platforms/linux64GccDPInt32Opt/lib/dummy So, the library files exist, and the path indicates them correctly. Is there anything else I should check to find out what is wrong? Details about the build. I am running OF 2206 installed by following the instruction from OpenFOAM.com for ubuntu. It is installed on WSL2 with Win.11. OpenFoam works and I run some tutorial codes, simpleFoam with meshing/running/post-processing, and everything is ok. I tried different build like OpenFoam v10 (from openfoam.org) and get the same issue. Strange quirk, to compile my file, I use the following command Code:
sudo -E env "PATH=$PATH" wmake Openfoam is currently installed in, Code:
/usr/lib/openfoam/openfoam2206 Thank you, Flo |
|
Tags |
openfoam 2206, solver compilation error |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reading Geometry Files & CAD Configuration Manager (17.2) Issues - Student Edition | Sirsh | ANSYS | 0 | July 31, 2017 02:06 |
issues with importing of .stl files | Domy | enGrid | 0 | May 22, 2016 17:52 |
problem compiling with header files | jreiter164 | Fluent UDF and Scheme Programming | 2 | August 14, 2015 18:31 |
Multigrid Stability Issues | ThomasHermann | SU2 | 1 | November 5, 2014 17:18 |
Batch issues to get results from a transient simulation | aero | ANSYS | 0 | November 10, 2009 07:32 |