|
[Sponsors] |
September 22, 2022, 07:16 |
foam-extend 5 compile error
|
#1 |
Member
Hyun Ko
Join Date: Jun 2009
Posts: 35
Rep Power: 17 |
Hi Foamers, I have tried to compile foam-extend 5.0. During the compiling, I have met following errors. Does anyone know the reason of error and remedies? It happens only for "dbnsFoam" and "dbnsTurbFoam". For other applications, all the compiles seem to be successful. Thanks. Code:
SOURCE=MGridGenGAMGAgglomerate.C ; g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/hero/foam/foam-extend-5.0/src/finiteVolume/lnInclude -I/Lib -I/IMlib -IlnInclude -I. -I/home/hero/foam/foam-extend-5.0/src/foam/lnInclude -I/home/hero/foam/foam-extend-5.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/MGridGenGAMGAgglomerate.o MGridGenGAMGAgglomerate.C:35:13: fatal error: mgridgen.h: No such file or directory 35 | # include "mgridgen.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [MGridGenGAMGAgglomerate.dep:449: Make/linux64GccDPInt32Opt/MGridGenGAMGAgglomerate.o] Error 1 + wmake libso pairPatchAgglomeration '/home/hero/foam/foam-extend-5.0/lib/linux64GccDPInt32Opt/libpairPatchAgglomeration.so' is up to date. + wmake libso engine '/home/hero/foam/foam-extend-5.0/lib/linux64GccDPInt32Opt/libengine.so' is up to date. + wmake libso equationReader '/home/hero/foam/foam-extend-5.0/lib/linux64GccDPInt32Opt/libequationReader.so' is up to date. + wmake libso multiSolver '/home/hero/foam/foam-extend-5.0/lib/linux64GccDPInt32Opt/libmultiSolver.so' is up to date. + wmake libso solidModels '/home/hero/foam/foam-extend-5.0/lib/linux64GccDPInt32Opt/libsolidModels.so' is up to date. + wmake libso dbns SOURCE=multigrid/mgMeshLevel/mgMeshLevel.C ; g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/hero/foam/foam-extend-5.0/src/finiteVolume/lnInclude -I/home/hero/foam/foam-extend-5.0/src/meshTools/lnInclude -I/home/hero/foam/foam-extend-5.0/src/thermophysicalModels/basic/lnInclude -I/home/hero/foam/foam-extend-5.0/src/turbulenceModels/compressible/turbulenceModel -I/IMlib -I/Lib -IlnInclude -I. -I/home/hero/foam/foam-extend-5.0/src/foam/lnInclude -I/home/hero/foam/foam-extend-5.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/mgMeshLevel.o multigrid/mgMeshLevel/mgMeshLevel.C:31:13: fatal error: mgridgen.h: No such file or directory 31 | # include "mgridgen.h" | ^~~~~~~~~~~~ compilation terminated. make: *** [multigrid/mgMeshLevel/mgMeshLevel.dep:430: Make/linux64GccDPInt32Opt/mgMeshLevel.o] Error 1 + wmake libso immersedBoundary/immersedBoundary |
|
September 23, 2022, 06:39 |
|
#2 |
Member
Hyun Ko
Join Date: Jun 2009
Posts: 35
Rep Power: 17 |
[solved]
This was related to dependancies not installed correctly. I have successfully install following the instruction. Thanks. |
|
March 27, 2023, 19:21 |
|
#3 |
New Member
H. C.
Join Date: Dec 2022
Posts: 5
Rep Power: 3 |
Hi, Hyun,
Hope you are doing well! I'm trying to install foam-extend 5.0 now yet failed to find the installation instruction. Could you please share the instruction you used? Thanks! |
|
March 29, 2023, 01:01 |
|
#4 |
Member
Hyun Ko
Join Date: Jun 2009
Posts: 35
Rep Power: 17 |
Hi cfdforum4hyc,
As I remember, I have followed the instruction from this link. https://openfoamwiki.net/index.php/I...end-4.1/Ubuntu |
|
March 29, 2023, 11:13 |
|
#5 |
New Member
H. C.
Join Date: Dec 2022
Posts: 5
Rep Power: 3 |
Thank you so much for letting me know! I tried the same yet failed to find the fsiFoam in the source code so I assume I compiled it in the wrong way.
|
|
July 4, 2024, 06:45 |
|
#6 |
Member
Hyun Ko
Join Date: Jun 2009
Posts: 35
Rep Power: 17 |
I have compiled again and got three fatal errors (metis.h, parmetis.h, scotch.h).
1. metis.h >> sudo apt install libmetis-dev 2. parmetis.h >> sudo apt install libparmetis-dev 3. scotch.h >> sudo apt install libscotch-dev All errors are cleared by those installation. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] swak4foam openfoam 7 installation problem | Andrea23 | OpenFOAM Community Contributions | 1 | February 17, 2020 19:11 |
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh | gschaider | OpenFOAM Community Contributions | 300 | October 29, 2014 19:00 |
CGNS lib and Fortran compiler | manaliac | Main CFD Forum | 2 | November 29, 2010 07:25 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |
Installation OF1.5-dev | ttdtud | OpenFOAM Installation | 46 | May 5, 2009 03:32 |