CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS) (https://www.cfd-online.com/Forums/openfoam-community-contributions/177207-swak4foam-installation-error-2-2-0-ubuntu-12-04-lts.html)

vbchris September 7, 2016 19:41

Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS)
 
Does anyone know how to solve the installation error I am receiving?

Swak4foam retrieved from (version 0.4.0):

https://github.com/Unofficial-Extend...-swak4Foam.git

Openfoam version 2.2.0 was installed in /opt/ directory running Ubuntu 12.04 LTS.

Looks like it cant find basicThermoCloud.H or symmetryPlanePolyPatch.H

I looked in /opt/openfoam220

find -name basicThermoCloud.H

Which returns nothing. So my guess is that it wasn't part of the openfoam install.

./Allwmake log file output:

Code:

Previously compiled for OpenFOAM 2.2.0
No file 'swakConfiguration'. Python etc won't work. See README for details
Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems
Checking swak4Foam-version and generating file
abort: no repository found in '/home/chris/OpenFOAM/chris-2.2.0/swak4Foam' (.hg not found)!
Swak version is 0.4.0
Bison is version 2.5
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 2 Patch 0 (-1 == x / 0) Fork: openfoam
No change to swak4FoamParsers/foamVersion4swak.H
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLagrangianParser.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libgroovyBC.so' is up to date.
SOURCE=solverPerformanceToGlobalVariables.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/solverPerformanceToGlobalVariables.o
SOURCE=addForeignMeshes.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/addForeignMeshes.o
SOURCE=addForeignMeshesFunctionObject.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/addForeignMeshesFunctionObject.o
SOURCE=foreignMeshesFollowTime.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/foreignMeshesFollowTime.o
solverPerformanceToGlobalVariables.C:48:9: error: ‘lduMatrix’ in namespace ‘Foam’ does not name a type
make: *** [Make/linuxGccDPOpt/solverPerformanceToGlobalVariables.o] Error 1
make: *** Waiting for unfinished jobs....
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakTopoSources.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakSourceFields.so' is up to date.
Compiling swakFvOptions
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakFvOptions.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libgroovyStandardBCs.so' is up to date.

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it

'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakDynamicMeshFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMRFFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
SOURCE=streamFunctionPluginFunction.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/streamFunctionPluginFunction.o
streamFunctionPluginFunction.C:41:36: fatal error: symmetryPlanePolyPatch.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/streamFunctionPluginFunction.o] Error 1
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date.

If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it

SOURCE=CloudMoveStatisticsInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/CloudMoveStatisticsInstances.o
SOURCE=EliminateCaughtParcelsInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateCaughtParcelsInstances.o
SOURCE=EliminateOutsideParticlesInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateOutsideParticlesInstances.o
SOURCE=CorrectParticleCellInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/CorrectParticleCellInstances.o
In file included from CloudMoveStatisticsInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
In file included from EliminateOutsideParticlesInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
In file included from EliminateCaughtParcelsInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
In file included from CorrectParticleCellInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/EliminateOutsideParticlesInstances.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Make/linuxGccDPOpt/CorrectParticleCellInstances.o] Error 1
make: *** [Make/linuxGccDPOpt/EliminateCaughtParcelsInstances.o] Error 1
make: *** [Make/linuxGccDPOpt/CloudMoveStatisticsInstances.o] Error 1
SOURCE=EliminateBySwakExpressionInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I../simpleCloudFunctionObjects/lnInclude -I../swakLagrangianParser/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o
In file included from EliminateBySwakExpressionInstances.C:38:0:
../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o] Error 1

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard


vbchris September 7, 2016 20:13

UPDATE: Not fixed yet, but looks like it was an old bug that was fixed?
https://sourceforge.net/p/openfoam-e...swak4foam/228/

I tried applying the patch provided using
Code:

  patch -p1 < ~/Downloads/writeFieldsGeneralFunctionObject.C.patch
output
Code:

patching file Libraries/simpleFunctionObjects/writeFields/writeFieldsGeneral/writeFieldsGeneralFunctionObject.C
Reversed (or previously applied) patch detected!  Assume -R? [n] y
Hunk #1 succeeded at 58 (offset 1 line).
Hunk #2 succeeded at 162 with fuzz 1 (offset 1 line).

However, the installation error is persistent.

charles4allme April 4, 2019 11:56

Have you been able to resolve the error

STutexas January 15, 2020 16:30

I am trying to install OF 2.4.0 with swak4Foam 0.4 and am getting the same error
 
Hi

I am trying to install OF 2.4.0 with swak4Foam from the link

https://openfoamwiki.net/index.php/I....3.1_and_newer

I am getting the same error.

SOURCE=EliminateBySwakExpressionInstances.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I../simpleCloudFunctionObjects/lnInclude -I../swakLagrangianParser/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o
In file included from EliminateBySwakExpressionInstances.C:38:0:
../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o] Error 1

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard



Has this error been rectified and is there a patch that works for this?

Any help would be really valuable.

Thanks

Weilina May 27, 2020 21:30

I get the same question when I install swak4Foam in openfoam2.2.2, ubuntu18.04
 
1 Attachment(s)
/home/wjy/OpenFOAM/wjy-2.2.2/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Checking swak4Foam-version and generating file
abort: no repository found in '/home/wjy/OpenFOAM/wjy-2.2.2/swak4Foam' (.hg not found)!
Swak version is 0.4.1
Bison is version 2.7.12-4996
Flex is version 2.6.4 (Minor version: 4)
OpenFOAM-version: Major 2 Minor 2 Patch 2 (-1 == x / 2) Fork: openfoam


solverPerformanceToGlobalVariables.C:48:9: error: ‘lduMatrix’ in namespace ‘Foam’ does not name a type


OpenFOAM-2.2.2/src/regionModels/surfaceFilmModels/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/basic/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/intermediate/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/OpenFOAM/lnInclude -I/home/wjy/OpenFOAM/OpenFOAM-2.2.2/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o
In file included from EliminateBySwakExpressionInstances.C:38:0:
../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: 没有那个文件或目录
#include "basicThermoCloud.H"
^
compilation terminated.
EliminateBySwakExpressionInstances.dep:848: recipe for target 'Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o' failed
make: *** [Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o] Error 1

Have you solve the problem? I would appreciate it if you could help me!

ssk March 18, 2021 12:43

Quote:

Originally Posted by vbchris (Post 617022)
Does anyone know how to solve the installation error I am receiving?

Swak4foam retrieved from (version 0.4.0):

https://github.com/Unofficial-Extend...-swak4Foam.git

Openfoam version 2.2.0 was installed in /opt/ directory running Ubuntu 12.04 LTS.

Looks like it cant find basicThermoCloud.H or symmetryPlanePolyPatch.H

I looked in /opt/openfoam220

find -name basicThermoCloud.H

Which returns nothing. So my guess is that it wasn't part of the openfoam install.

./Allwmake log file output:

Code:

Previously compiled for OpenFOAM 2.2.0
No file 'swakConfiguration'. Python etc won't work. See README for details
Try 'ln -s swakConfiguration.automatic swakConfiguration' for automatic configuration. BEWARE: this does not work on some systems
Checking swak4Foam-version and generating file
abort: no repository found in '/home/chris/OpenFOAM/chris-2.2.0/swak4Foam' (.hg not found)!
Swak version is 0.4.0
Bison is version 2.5
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 2 Patch 0 (-1 == x / 0) Fork: openfoam
No change to swak4FoamParsers/foamVersion4swak.H
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLagrangianParser.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libgroovyBC.so' is up to date.
SOURCE=solverPerformanceToGlobalVariables.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/solverPerformanceToGlobalVariables.o
SOURCE=addForeignMeshes.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/addForeignMeshes.o
SOURCE=addForeignMeshesFunctionObject.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/addForeignMeshesFunctionObject.o
SOURCE=foreignMeshesFollowTime.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/fileFormats/lnInclude -I/opt/openfoam220/src/fvOptions/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src//postProcessing/functionObjects/utilities/lnInclude -I/opt/openfoam220/src/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/dynamicMesh/dynamicFvMesh/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/foreignMeshesFollowTime.o
solverPerformanceToGlobalVariables.C:48:9: error: ‘lduMatrix’ in namespace ‘Foam’ does not name a type
make: *** [Make/linuxGccDPOpt/solverPerformanceToGlobalVariables.o] Error 1
make: *** Waiting for unfinished jobs....
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakTopoSources.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakSourceFields.so' is up to date.
Compiling swakFvOptions
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakFvOptions.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libgroovyStandardBCs.so' is up to date.

SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it

'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakDynamicMeshFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMeshWaveFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakMRFFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
SOURCE=streamFunctionPluginFunction.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100          -I../../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/streamFunctionPluginFunction.o
streamFunctionPluginFunction.C:41:36: fatal error: symmetryPlanePolyPatch.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/streamFunctionPluginFunction.o] Error 1
'/home/chris/OpenFOAM/chris-2.2.0/platforms/linuxGccDPOpt/lib/libswakCoalCloudAdaptor.so' is up to date.

If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it

SOURCE=CloudMoveStatisticsInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/CloudMoveStatisticsInstances.o
SOURCE=EliminateCaughtParcelsInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateCaughtParcelsInstances.o
SOURCE=EliminateOutsideParticlesInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateOutsideParticlesInstances.o
SOURCE=CorrectParticleCellInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/CorrectParticleCellInstances.o
In file included from CloudMoveStatisticsInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
In file included from EliminateOutsideParticlesInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
In file included from EliminateCaughtParcelsInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
In file included from CorrectParticleCellInstances.C:38:0:
makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/EliminateOutsideParticlesInstances.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Make/linuxGccDPOpt/CorrectParticleCellInstances.o] Error 1
make: *** [Make/linuxGccDPOpt/EliminateCaughtParcelsInstances.o] Error 1
make: *** [Make/linuxGccDPOpt/CloudMoveStatisticsInstances.o] Error 1
SOURCE=EliminateBySwakExpressionInstances.C ;  g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3  -DNoRepository -ftemplate-depth-100  -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -I../simpleCloudFunctionObjects/lnInclude -I../swakLagrangianParser/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I/opt/openfoam220/src/sampling/lnInclude -I/opt/openfoam220/src/triSurface/lnInclude -I/opt/openfoam220/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam220/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam220/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam220/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam220/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam220/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam220/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam220/src/regionModels/regionModel/lnInclude -I/opt/openfoam220/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam220/src/lagrangian/basic/lnInclude  -I/opt/openfoam220/src/lagrangian/intermediate/lnInclude -I/opt/openfoam220/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude  -fPIC -c $SOURCE -o Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o
In file included from EliminateBySwakExpressionInstances.C:38:0:
../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
make: *** [Make/linuxGccDPOpt/EliminateBySwakExpressionInstances.o] Error 1

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard


Dear Vbchris,

I also encountered the same swak4Foam installation error. Is your problem solved?

Thank you

gschaider March 23, 2021 03:20

Quote:

Originally Posted by ssk (Post 799247)
Dear Vbchris,

I also encountered the same swak4Foam installation error. Is your problem solved?

Thank you


swak4foam is currently only tested back to OF 2.3 so it is possible that it doesn't compile with 2.2


The good news is that of the 3 errors I see 2 concern rather obscure/special) Libraries so you can ignore them (stream function and lagrangian stuff). What is more important is the first error message in swakFunctionObjects. But the file that fails there is also not important for other things. Open Make/files in that directory and remove the line with solverPerformanceToGlobalVariables.C and try compiling again

ssk March 25, 2021 04:35

Quote:

Originally Posted by gschaider (Post 799573)
swak4foam is currently only tested back to OF 2.3 so it is possible that it doesn't compile with 2.2


The good news is that of the 3 errors I see 2 concern rather obscure/special) Libraries so you can ignore them (stream function and lagrangian stuff). What is more important is the first error message in swakFunctionObjects. But the file that fails there is also not important for other things. Open Make/files in that directory and remove the line with solverPerformanceToGlobalVariables.C and try compiling again



Dear Gschaider,

Thank you very much for your quick reply.

I tried your suggestion. but it did not solve the error.

I am getting the following error.

Please kindly help me




In file included from EliminateBySwakExpressionInstances.C:38:0:
../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
#include "basicThermoCloud.H"
^
compilation terminated.
EliminateBySwakExpressionInstances.dep:844: recipe for target 'Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o' failed
make: *** [Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o] Error 1

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard

gschaider March 25, 2021 20:11

Quote:

Originally Posted by ssk (Post 799816)
Dear Gschaider,

Thank you very much for your quick reply.

I tried your suggestion. but it did not solve the error.

I am getting the following error.

Please kindly help me




In file included from EliminateBySwakExpressionInstances.C:38:0:
../simpleCloudFunctionObjects/lnInclude/makeFunctionObjectsForKnownClouds.H:46:30: fatal error: basicThermoCloud.H: No such file or directory
#include "basicThermoCloud.H"
^
compilation terminated.
EliminateBySwakExpressionInstances.dep:844: recipe for target 'Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o' failed
make: *** [Make/linux64GccDPOpt/EliminateBySwakExpressionInstances.o] Error 1

Requirements for Library not satisfied. I see no sense in going on
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard


Comment the library that does this out in the Allwmake file (put a # in front of it). It has to do with Lagrangian particles and the API for those changed so often in OpenFOAM that you probably won't get it to compile with 2.2. And if you don't use Lagrangian particles you won't miss it anyway


All times are GMT -4. The time now is 06:50.