Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failure on OpenFoam 9 #5

Open
sandrobilbeisi opened this issue Oct 8, 2021 · 4 comments
Open

Compilation failure on OpenFoam 9 #5

sandrobilbeisi opened this issue Oct 8, 2021 · 4 comments

Comments

@sandrobilbeisi
Copy link

The compilation fails severely on OpenFoam 9... I have not had the opportunity to try running it on OpenFoam 7

c42a99d9b9c2: openInjMoldSim>> ./Allwmake

  • wmake
    wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/compressible/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/interfaceProperties/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/turbulenceModels/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/compressible/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/twoPhaseMixture/ does not exist
    Making dependency list for source file mojTurbulentFluidThermoModels.C
    could not open file CompressibleTurbulenceModel.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file ThermalDiffusivity.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file EddyDiffusivity.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file laminarModel.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file RASModel.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file LESModel.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file Stokes.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file Maxwell.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmaras.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kEpsilon.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file RNGkEpsilon.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file realizableKE.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file buoyantKEpsilon.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file LaunderSharmaKE.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kOmega.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kOmegaSST.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kOmegaSSTSAS.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file v2f.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file LRR.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SSG.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file Smagorinsky.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file WALE.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file dynamicLagrangian.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kEqn.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file dynamicKEqn.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmarasDES.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmarasDDES.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmarasIDDES.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file DeardorffDiffStress.H for source file mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    Making dependency list for source file openInjMoldSim.C
    could not open file interfaceProperties.H for source file openInjMoldSim.C due to No such file or directory
    could not open file twoPhaseMixture.H for source file openInjMoldSim.C due to No such file or directory
    could not open file CompressibleTurbulenceModel.H for source file openInjMoldSim.C due to No such file or directory
    could not open file ThermalDiffusivity.H for source file openInjMoldSim.C due to No such file or directory
    could not open file EddyDiffusivity.H for source file openInjMoldSim.C due to No such file or directory
    could not open file laminarModel.H for source file openInjMoldSim.C due to No such file or directory
    could not open file RASModel.H for source file openInjMoldSim.C due to No such file or directory
    could not open file LESModel.H for source file openInjMoldSim.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file openInjMoldSim.C due to No such file or directory
    Making dependency list for source file mojPsiThermo.C
    could not open file compressibleTransportModel.H for source file mojTwoPhaseMixtureThermo/mojPsiThermo.C due to No such file or directory
    Making dependency list for source file mojBasicThermo.C
    Making dependency list for source file mojFluidThermo.C
    could not open file compressibleTransportModel.H for source file crossWlfInSorodno/mojFluidThermo.C due to No such file or directory
    Making dependency list for source file mojRhoThermo.C
    could not open file compressibleTransportModel.H for source file crossWlfInSorodno/mojRhoThermo.C due to No such file or directory
    Making dependency list for source file mojTwoPhaseMixtureThermo.C
    could not open file twoPhaseMixture.H for source file mojTwoPhaseMixtureThermo/mojTwoPhaseMixtureThermo.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file mojTwoPhaseMixtureThermo/mojTwoPhaseMixtureThermo.C due to No such file or directory
    Making dependency list for source file mojThermos.C
    could not open file interpolation2DTable.H for source file mojThermos.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file mojThermos.C due to No such file or directory
    could not open file kinematicTransportModel.H for source file mojThermos.C due to No such file or directory
    could not open file dynamicTransportModel.H for source file mojThermos.C due to No such file or directory
    g++ -std=c++14 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I./mojTwoPhaseMixtureThermo -I./crossWlfInSorodno -I./mojConstTransport -I./mojTurbulentFluidThermoModel -I./polymerPVT -I./CfdOL/hTabular -I./mojThermo -I/opt/openfoam9/src/transportModels/compressible/lnInclude -I/opt/openfoam9/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam9/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam9/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam9/src/TurbulenceModels/compressible/lnInclude -I/opt/openfoam9/src/finiteVolume/lnInclude -I/opt/openfoam9/src/meshTools/lnInclude -I/opt/openfoam9/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam9/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/opt/openfoam9/src/OpenFOAM/lnInclude -I/opt/openfoam9/src/OSspecific/POSIX/lnInclude -fPIC -c mojThermos.C -o Make/linux64GccDPInt32Opt/mojThermos.o
    In file included from ./crossWlfInSorodno/mojRhoThermo.H:38,
    from mojThermos.C:27:
    ./crossWlfInSorodno/mojFluidThermo.H:39:10: fatal error: compressibleTransportModel.H: No such file or directory
    39 | #include "compressibleTransportModel.H"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [/opt/openfoam9/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/mojThermos.o] Error 1
  • wmake openInjMoldSimF
    wmake openInjMoldSimF
    wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/compressible/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/interfaceProperties/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/turbulenceModels/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/compressible/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/twoPhaseMixture/ does not exist
    Making dependency list for source file openInjMoldSimF.C
    could not open file interfaceProperties.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file twoPhaseMixture.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file CompressibleTurbulenceModel.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file ThermalDiffusivity.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file EddyDiffusivity.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file laminarModel.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file RASModel.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file LESModel.H for source file openInjMoldSimF.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file openInjMoldSimF.C due to No such file or directory
    Making dependency list for source file mojTurbulentFluidThermoModels.C
    could not open file CompressibleTurbulenceModel.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file ThermalDiffusivity.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file EddyDiffusivity.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file laminarModel.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file RASModel.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file LESModel.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file Stokes.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file Maxwell.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmaras.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kEpsilon.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file RNGkEpsilon.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file realizableKE.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file buoyantKEpsilon.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file LaunderSharmaKE.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kOmega.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kOmegaSST.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kOmegaSSTSAS.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file v2f.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file LRR.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SSG.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file Smagorinsky.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file WALE.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file dynamicLagrangian.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file kEqn.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file dynamicKEqn.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmarasDES.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmarasDDES.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file SpalartAllmarasIDDES.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    could not open file DeardorffDiffStress.H for source file ../mojTurbulentFluidThermoModel/mojTurbulentFluidThermoModels.C due to No such file or directory
    Making dependency list for source file mojPsiThermo.C
    could not open file compressibleTransportModel.H for source file ../mojTwoPhaseMixtureThermo/mojPsiThermo.C due to No such file or directory
    Making dependency list for source file mojBasicThermo.C
    Making dependency list for source file mojFluidThermo.C
    could not open file compressibleTransportModel.H for source file ../crossWlfInSorodno/mojFluidThermo.C due to No such file or directory
    Making dependency list for source file mojRhoThermo.C
    could not open file compressibleTransportModel.H for source file ../crossWlfInSorodno/mojRhoThermo.C due to No such file or directory
    Making dependency list for source file mojTwoPhaseMixtureThermo.C
    could not open file twoPhaseMixture.H for source file ../mojTwoPhaseMixtureThermo/mojTwoPhaseMixtureThermo.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file ../mojTwoPhaseMixtureThermo/mojTwoPhaseMixtureThermo.C due to No such file or directory
    Making dependency list for source file mojThermos.C
    could not open file interpolation2DTable.H for source file ../mojThermos.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file ../mojThermos.C due to No such file or directory
    could not open file kinematicTransportModel.H for source file ../mojThermos.C due to No such file or directory
    could not open file dynamicTransportModel.H for source file ../mojThermos.C due to No such file or directory
    g++ -std=c++14 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I.. -I../mojTwoPhaseMixtureThermo -I../crossWlfInSorodno -I../mojConstTransport -I../mojTurbulentFluidThermoModel -I../polymerPVT -I../CfdOL/hTabular -I../mojThermo -I/opt/openfoam9/src/transportModels/compressible/lnInclude -I/opt/openfoam9/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam9/src/transportModels/interfaceProperties/lnInclude -I/opt/openfoam9/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam9/src/TurbulenceModels/compressible/lnInclude -I/opt/openfoam9/src/finiteVolume/lnInclude -I/opt/openfoam9/src/meshTools/lnInclude -I/opt/openfoam9/src/transportModels/twoPhaseMixture/lnInclude -I/opt/openfoam9/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/opt/openfoam9/src/OpenFOAM/lnInclude -I/opt/openfoam9/src/OSspecific/POSIX/lnInclude -fPIC -c ../mojThermos.C -o Make/linux64GccDPInt32Opt/../mojThermos.o
    In file included from ../crossWlfInSorodno/mojRhoThermo.H:38,
    from ../mojThermos.C:27:
    ../crossWlfInSorodno/mojFluidThermo.H:39:10: fatal error: compressibleTransportModel.H: No such file or directory
    39 | #include "compressibleTransportModel.H"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [/opt/openfoam9/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/../mojThermos.o] Error 1
  • wmake libso mojLibForces
    wmake libso mojLibForces
    wmakeLnIncludeAll: running wmakeLnInclude on dependent libraries:
    wmakeLnInclude error: base directory /opt/openfoam9/src/transportModels/compressible/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/turbulenceModels/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/incompressible/ does not exist
    wmakeLnInclude error: base directory /opt/openfoam9/src/TurbulenceModels/compressible/ does not exist
    wmakeLnInclude: linking include files to ./lnInclude
    Making dependency list for source file mojFluidThermo.C
    could not open file compressibleTransportModel.H for source file ../crossWlfInSorodno/mojFluidThermo.C due to No such file or directory
    Making dependency list for source file mojBasicThermo.C
    Making dependency list for source file forceCoeffs.C
    Making dependency list for source file mojForces.C
    could not open file turbulentTransportModel.H for source file forces/mojForces.C due to No such file or directory
    could not open file CompressibleTurbulenceModel.H for source file forces/mojForces.C due to No such file or directory
    could not open file ThermalDiffusivity.H for source file forces/mojForces.C due to No such file or directory
    could not open file EddyDiffusivity.H for source file forces/mojForces.C due to No such file or directory
    could not open file laminarModel.H for source file forces/mojForces.C due to No such file or directory
    could not open file RASModel.H for source file forces/mojForces.C due to No such file or directory
    could not open file LESModel.H for source file forces/mojForces.C due to No such file or directory
    could not open file compressibleTransportModel.H for source file forces/mojForces.C due to No such file or directory
    g++ -std=c++14 -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 -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I.. -I../crossWlfInSorodno -I../mojTurbulentFluidThermoModel -I/opt/openfoam9/src/fileFormats/lnInclude -I/opt/openfoam9/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam9/src/transportModels -I/opt/openfoam9/src/transportModels/compressible/lnInclude -I/opt/openfoam9/src/TurbulenceModels/turbulenceModels/lnInclude -I/opt/openfoam9/src/TurbulenceModels/incompressible/lnInclude -I/opt/openfoam9/src/TurbulenceModels/compressible/lnInclude -I/opt/openfoam9/src/finiteVolume/lnInclude -I/opt/openfoam9/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam9/src/OpenFOAM/lnInclude -I/opt/openfoam9/src/OSspecific/POSIX/lnInclude -fPIC -c forces/mojForces.C -o Make/linux64GccDPInt32Opt/forces/mojForces.o
    forces/mojForces.C:29:10: fatal error: turbulentTransportModel.H: No such file or directory
    29 | #include "turbulentTransportModel.H"
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [/opt/openfoam9/wmake/rules/General/transform:26: Make/linux64GccDPInt32Opt/forces/mojForces.o] Error 1
@16-1895
Copy link

16-1895 commented Jan 26, 2022

Hi, I have the same problem. Have you solved it?

@iamketank
Copy link

Hi, I have the same issue in compiling FSI solver in openFoam9. How did you solve it?

@iamketank
Copy link

I have solved this issue. I have checked src folder, where I have installed openFOAM 9 and 'options' inside make folder where I have installed openFOAM-adapter-v1.2.3-OpenFOAM9. Both of them have different address of transportModels. Thus, I got wmakeLnInclude error as mentioned above by sandrobilbeisi. While extracting .zip, the files might not have been extracted correctly. So, I have followed a following video to reinstall and compile adapter. https://www.youtube.com/watch?v=xT_wr33tj0A

@Pisolino85
Copy link

Pisolino85 commented Nov 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants