CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS)

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By vbchris
  • 1 Post By vbchris
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 7, 2016, 19:41
Default Swak4foam installation error with OF 2.2.0 (Ubuntu 12.04 LTS)
  #1
Member
 
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 13
vbchris is on a distinguished road
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
ssk likes this.
vbchris is offline   Reply With Quote

Old   September 7, 2016, 20:13
Default
  #2
Member
 
Chris L
Join Date: Sep 2012
Posts: 53
Rep Power: 13
vbchris is on a distinguished road
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.
silviliril likes this.
vbchris is offline   Reply With Quote

Old   April 4, 2019, 11:56
Default
  #3
Member
 
Join Date: Feb 2018
Posts: 91
Rep Power: 8
charles4allme is on a distinguished road
Have you been able to resolve the error
charles4allme is offline   Reply With Quote

Old   January 15, 2020, 16:30
Default I am trying to install OF 2.4.0 with swak4Foam 0.4 and am getting the same error
  #4
Member
 
Saurabh Tandon
Join Date: Nov 2015
Location: Austin
Posts: 43
Rep Power: 10
STutexas is on a distinguished road
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
STutexas is offline   Reply With Quote

Old   May 27, 2020, 21:30
Default I get the same question when I install swak4Foam in openfoam2.2.2, ubuntu18.04
  #5
New Member
 
Jiayin Wei
Join Date: May 2020
Posts: 1
Rep Power: 0
Weilina is on a distinguished road
/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!
Attached Files
File Type: gz logs.tar.gz (10.0 KB, 0 views)
Weilina is offline   Reply With Quote

Old   March 18, 2021, 12:43
Default
  #6
ssk
New Member
 
Sampath
Join Date: Feb 2021
Posts: 2
Rep Power: 0
ssk is on a distinguished road
Quote:
Originally Posted by vbchris View Post
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
ssk is offline   Reply With Quote

Old   March 23, 2021, 03:20
Default
  #7
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ssk View Post
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 likes this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 25, 2021, 04:35
Default
  #8
ssk
New Member
 
Sampath
Join Date: Feb 2021
Posts: 2
Rep Power: 0
ssk is on a distinguished road
Quote:
Originally Posted by gschaider View Post
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
ssk is offline   Reply With Quote

Old   March 25, 2021, 20:11
Default
  #9
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by ssk View Post
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
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FLUENT installation on UBUNTU 12.04 (LTS) teymourj FLUENT 2 March 1, 2017 22:24
[swak4Foam] Installing swak4Foam on ubuntu 12.04 fluidflowsteel OpenFOAM Community Contributions 1 June 28, 2016 14:02
[OpenFOAM.org] OpenFOAM 2.40 installation on Ubuntu 12.04 LTS eddykendo OpenFOAM Installation 1 July 18, 2015 17:38
Installation on Ubuntu 12.04 LTS samiam1000 OpenFOAM Installation 11 May 26, 2012 05:54
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56


All times are GMT -4. The time now is 02:19.