|
[Sponsors] |
February 13, 2017, 12:19 |
Fatal Error in compilation
|
#1 |
New Member
savita
Join Date: Feb 2017
Posts: 5
Rep Power: 9 |
I have been trying to compile a case, and it shows the following error, I went to the " /usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/combustionModels " and used wclean and wmake command {did the same for turbulentModel} and tried to compile again but the error continues. Could anyone suggest me some method for debugging?
Making dependency list for source file topoEngineFoam.C could not open file turbulentFluidThermoModel.H for source file topoEngineFoam.C due to No such file or directory could not open file psiCombustionModel.H for source file topoEngineFoam.C due to No such file or directory could not open file ct_defs.h for source file topoEngineFoam.C due to No such file or directory could not open file xml.h for source file topoEngineFoam.C due to No such file or directory could not open file VPStandardStateTP.h for source file topoEngineFoam.C due to No such file or directory could not open file MultiPhase.h for source file topoEngineFoam.C due to No such file or directory could not open file vcs_defs.h for source file topoEngineFoam.C due to No such file or directory could not open file ThermoPhase.h for source file topoEngineFoam.C due to No such file or directory could not open file ctexceptions.h for source file topoEngineFoam.C due to No such file or directory could not open file global.h for source file topoEngineFoam.C due to No such file or directory could not open file config.h for source file topoEngineFoam.C due to No such file or directory g++ -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -O3 -DNoRepository -ftemplate-depth-100 -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/finiteVolume/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/sampling/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/meshTools/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/fvOptions/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/libPoliMi/libPoliMi-dev/src/global/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/engine/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/Poli_engine/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/dynamicMesh/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/dynamicFvMesh/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/thermophysicalModels_ctc/specie/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/thermophysicalModels_ctc/reactionThermo/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/thermophysicalModels_ctc/basic/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/thermophysicalModels_ctc/chemistryModel/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/transportModels/compressible/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/ODE/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/combustionModelsctcspark/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/newspark/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/TurbulenceModels/turbulenceModels/lnInclude -I/usr/erc/people/savita/OpenFOAM/savita-dev/src/TurbulenceModels/compressible/lnInclude -I/usr/apps1/cantera/2.2.1/linux-x86_64-gcc-5.1.0/include/ -I/usr/apps1/sundials-2.5.0/linux-x86_64/include/ -pthread -IlnInclude -I. -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/OpenFOAM/lnInclude -I/usr/apps1/openfoam-ofdynmesh/OpenFOAM/OpenFOAM-dev/src/OSspecific/POSIX/lnInclude -fPIC -c topoEngineFoam.C -o Make/linux64GccDPOpt/topoEngineFoam.o topoEngineFoam.C:52:39: fatal error: turbulentFluidThermoModel.H: No such file or directory compilation terminated. |
|
February 16, 2017, 09:57 |
|
#2 |
Senior Member
Mahdi Hosseinali
Join Date: Apr 2009
Location: NB, Canada
Posts: 273
Rep Power: 18 |
I'm not sure what you are trying to do as I didn't quiet understand what you mean by "compile a case" are you compiling a solver or library? Because this seems to be the case. In that case why are you touching the source code? use the $WM_USER_PROJECT directory.
The errors are from Make/options, you should include the lnInclude directories that contain those headers in the option file and the link the correspondant libraries. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
fatal error during initialization after udf compilation | rik | Fluent UDF and Scheme Programming | 36 | February 21, 2020 15:42 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 04:18 |
[waves2Foam] Waves2Foam Related Topics | ngj | OpenFOAM Community Contributions | 660 | August 20, 2018 12:39 |
fatal error compiling OF-2.2.2 on Mac | camel_85 | OpenFOAM Installation | 0 | July 29, 2014 12:51 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |