|
[Sponsors] |
[OpenFOAM.org] OF-2.4: Some solvers not compiled in Debian 9.5 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 30, 2018, 06:01 |
OF-2.4: Some solvers not compiled in Debian 9.5
|
#1 |
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9 |
Hi,
I installed OpenFOAM-2.4 on my workstation a while back and now that I need to use the pimpleFoam solver I've realised that not all solvers and utilities were compiled successfully. The output of foamSystemCheck is gives me a PASS. After my initial installation the foamInstallationTest provides this output. Code:
Checking basic setup... ------------------------------------------------------------------------------- Shell: bash OS: Linux version 4.9.0-8-amd64 ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /scratch/marrs/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/mech/marrs/OpenFOAM/marrs-2.4.0 yes no $WM_THIRD_PARTY_DIR /scratch/marrs/OpenFOAM/ThirdParty-2.4.0 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /scratch/marrs/OpenFOAM/OpenFOAM-2.4.0 yes yes yes $FOAM_APPBIN ...-2.4.0/platforms/linux64GccDPOpt/bin yes yes yes $FOAM_SITE_APPBIN .../2.4.0/platforms/linux64GccDPOpt/bin no no $FOAM_USER_APPBIN ...-2.4.0/platforms/linux64GccDPOpt/bin yes yes no $WM_DIR .../marrs/OpenFOAM/OpenFOAM-2.4.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...-2.4.0/platforms/linux64GccDPOpt/lib yes yes yes $FOAM_SITE_LIBBIN .../2.4.0/platforms/linux64GccDPOpt/lib no no $FOAM_USER_LIBBIN ...-2.4.0/platforms/linux64GccDPOpt/lib yes yes no $MPI_ARCH_PATH /usr/lib/x86_64-linux-gnu/openmpi yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.6.1 /usr/bin/flex gcc 6.3.0 /usr/bin/gcc g++ 6.3.0 /usr/bin/g++ gzip 1.6 /bin/gzip tar 1.29 /bin/tar icoFoam 2.4.0 ...M/OpenFOAM-2.4.0/platforms/linux64GccDPOpt/bin/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Done To shorten things up, I've looked at what the installation tells me it cannot find. I believe these are the ones giving problems in, for instance, the compilation of pimpleFOAM. The output of grep "cannot find" log.make | sort -u is: Code:
/usr/bin/ld: cannot find -lcoalCombustion /usr/bin/ld: cannot find -lconversion /usr/bin/ld: cannot find -lfieldFunctionObjects /usr/bin/ld: cannot find -lfvOptions /usr/bin/ld: cannot find -llagrangianIntermediate /usr/bin/ld: cannot find -llagrangianSpray /usr/bin/ld: cannot find -llagrangianTurbulence /usr/bin/ld: cannot find -llagrangianTurbulentSubModels /usr/bin/ld: cannot find -lsampling /usr/bin/ld: cannot find -lutilityFunctionObjects |
|
September 1, 2018, 18:46 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: The main problem is that GCC 6 is not supported for OpenFOAM 2.4. You should use GCC 5 instead.
I haven't written/tested instructions for building OpenFOAM 2.4 on the more recent Ubuntu/Debian versions, but you should be able to roughly follow the same instructions provided for OpenFOAM 2.3.1 and Ubuntu 18.04 here: https://openfoamwiki.net/index.php/I...u#Ubuntu_18.04 - there you will find step-by-step instructions on how to build with GCC 5. Since it's Ubuntu, it should essentially be the same for Debian.
__________________
|
|
October 18, 2018, 10:52 |
|
#3 |
Member
Marc
Join Date: May 2017
Posts: 42
Rep Power: 9 |
Hi Bruno,
Thanks for the insight but unluckily this issue is happening on a workstation in my university, so I have no root access. I have tried to install the g++5 compiler locally but it's a damn mess. |
|
October 20, 2018, 16:25 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: I don't have time to go over the steps on how you can build OpenFOAM 2.4.0 with a custom GCC build, so my best suggestion is that you install Debian 9.5 within a virtual machine, build OpenFOAM within it and then transfer the OpenFOAM installation folders into the workstation.
|
|
February 26, 2021, 08:59 |
|
#5 | |
Member
Join Date: Nov 2009
Posts: 43
Rep Power: 17 |
Quote:
Would it be possible to kindly specify which installation folders to copy over from 9.5 to 10? Thanks in advance! |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] blueCFD-Core-2016 user compiled solvers not running in parallel | sbence | OpenFOAM Installation | 10 | December 5, 2018 09:44 |
complex eigenvalues detected for tensor | thegauravonline | OpenFOAM Pre-Processing | 3 | January 14, 2017 06:18 |
flapping console "inverted" on icoFsiElasticNonLinULSolidFoam: FPE | thegauravonline | OpenFOAM Running, Solving & CFD | 3 | May 9, 2016 06:13 |
FSI solvers - best solvers | steven123 | OpenFOAM Running, Solving & CFD | 0 | July 8, 2014 11:26 |
OpenFOAM Debian packaging current status problems and TODOs | oseen | OpenFOAM Installation | 9 | August 26, 2007 14:50 |