CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

is this pattern and message of compiling groovyBC 0.2.1 ok?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree1Likes
  • 1 Post By gschaider

Reply
 
LinkBack Thread Tools Display Modes
Old   February 16, 2013, 18:50
Default is this pattern and message of compiling groovyBC 0.2.1 ok?
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,209
Rep Power: 18
immortality is on a distinguished road
i have some problems with new groovyBC that wan't in previous one.
does this part of compilation for instance seems ok?
Code:
../../swak4FoamParsers/lnInclude/FieldValueExpressionParser_location.hh:44:0,
could not open file FixedValuePointPatchField.H for source file LagrangianCloudSourcePluginFunction.C
could not open file ZeroGradientPointPatchField.H for source file LagrangianCloudSourcePluginFunction.C
could not open file CalculatedPointPatchField.H for source file LagrangianCloudSourcePluginFunction.C
SOURCE=LagrangianCloudSourcePluginFunction.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100  	 -I../../swak4FoamParsers/lnInclude -../../swak4FoamParsers/lnInclude/FieldValueExpressionParser_location.hh:44:0,
                 from FieldValueExpressionParser.tab.hh:65,
                 from ../../swak4FoamParsers/lnInclude/FieldValueExpressionDriver.H:19,
                 from LagrangianCloudSourcePluginFunction.C:35:
position.hh: In function ‘bool parserField::operator==(const parserField::position&, const parserField::position&)’:
position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]

SOURCE=lcsMassFractionPluginFunction.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100  	 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I/opt/openfoam211/src/sampling/lnInclude -I/opt/openfoam211/src/triSurface/lnInclude -I/opt/openfoam211/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam211/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam211/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam211/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam211/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam211/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam211/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam211/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam211/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam211/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/solidProperties/lnInclude -I../../swak4FoamParsers/lnInclude -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I/opt/openfoam211/src/sampling/lnInclude -I/opt/openfoam211/src/triSurface/lnInclude -I/opt/openfoam211/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam211/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam211/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam211/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam211/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam211/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam211/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam211/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam211/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam211/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam211/src/regionModels/regionModel/lnInclude -I/opt/openfoam211/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam211/src/lagrangian/basic/lnInclude -I/opt/openfoam211/src/lagrangian/intermediate/lnInclude -I/opt/openfoam211/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/lcsMassSourcePluginFunction.o
SOURCE=lcsSpeciesSourcePluginFunction.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100  	 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I/opt/openfoam211/src/sampling/lnInclude -I/opt/openfoam211/src/triSurface/lnInclude -I/opt/openfoam211/src/thermophysicalModels/pdfs/lnInclude -I/opt/openfoam211/src/thermophysicalModels/specie/lnInclude -I/opt/openfoam211/src/thermophysicalModels/basic/lnInclude -I/opt/openfoam211/src/thermophysicalModels/liquids/lnInclude -I/opt/openfoam211/src/thermophysicalModels/liquidMixture/lnInclude -I/opt/openfoam211/src/thermophysicalModels/solids/lnInclude -I/opt/openfoam211/src/thermophysicalModels/solidMixture/lnInclude -I/opt/openfoam211/src/thermophysicalModels/reactionThermo/lnInclude -I/opt/openfoam211/src/thermophysicalModels/radiation/lnInclude -I/opt/openfoam211/src/thermophysicalModels/SLGThermo/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/solidMixtureProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/liquidMixtureProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/solidProperties/lnInclude -I/opt/openfoam211/src/thermophysicalModels/properties/liquidProperties/lnInclude -I/opt/openfoam211/src/regionModels/regionModel/lnInclude -I/opt/openfoam211/src/regionModels/surfaceFilmModels/lnInclude -I/opt/openfoam211/src/lagrangian/basic/lnInclude -I/opt/openfoam211/src/lagrangian/intermediate/lnInclude -I/opt/openfoam211/src/lagrangian/solidParticle/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/lcsSpeciesSourcePluginFunction.o
'/home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
Making dependency list for source file courantCompressiblePluginFunction.C
could not open file FixedValuePointPatchField.H for source file courantCompressiblePluginFunction.C
could not open file ZeroGradientPointPatchField.H for source file courantCompressiblePluginFunction.C
could not open file CalculatedPointPatchField.H for source file courantCompressiblePluginFunction.C
Making dependency list for source file courantIncompressiblePluginFunction.C
could not open file FixedValuePointPatchField.H for source file courantIncompressiblePluginFunction.C
could not open file ZeroGradientPointPatchField.H for source file courantIncompressiblePluginFunction.C
could not open file CalculatedPointPatchField.H for source file courantIncompressiblePluginFunction.C
SOURCE=courantIncompressiblePluginFunction.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100  	 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/courantIncompressiblePluginFunction.o
In file included from ../../swak4FoamParsers/lnInclude/FieldValueExpressionParser_location.hh:44:0,
                 from FieldValueExpressionParser.tab.hh:65,
                 from ../../swak4FoamParsers/lnInclude/FieldValueExpressionDriver.H:19,
                 from courantIncompressiblePluginFunction.C:35:
position.hh: In function ‘bool parserField::operator==(const parserField::position&, const parserField::position&)’:
position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
SOURCE=courantCompressiblePluginFunction.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100  	 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/courantCompressiblePluginFunction.o
In file included from ../../swak4FoamParsers/lnInclude/FieldValueExpressionParser_location.hh:44:0,
                 from FieldValueExpressionParser.tab.hh:65,
                 from ../../swak4FoamParsers/lnInclude/FieldValueExpressionDriver.H:19,
                 from courantCompressiblePluginFunction.C:35:
position.hh: In function ‘bool parserField::operator==(const parserField::position&, const parserField::position&)’:
position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
'/home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkyDoCalc'
Making dependency list for source file funkyDoCalc.C
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkyDoCalc'
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkyDoCalc'
SOURCE=funkyDoCalc.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/funkyDoCalc.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkyDoCalc.o -L/opt/openfoam211/platforms/linux64GccDPOpt/lib \
	     -lfiniteVolume 	-lmeshTools 	-L/home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/lib 	-lswak4FoamParsers -lOpenFOAM -ldl   -lm -o /home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/bin/funkyDoCalc
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkyDoCalc'
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetBoundaryField'
Making dependency list for source file funkySetBoundaryField.C
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetBoundaryField'
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetBoundaryField'
SOURCE=funkySetBoundaryField.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/funkySetBoundaryField.o
In file included from ../../Libraries/swak4FoamParsers/lnInclude/PatchValueExpressionParser_location.hh:44:0,
                 from PatchValueExpressionParser.tab.hh:65,
                 from ../../Libraries/swak4FoamParsers/lnInclude/PatchValueExpressionDriver.H:60,
                 from funkySetBoundaryField.C:41:
position.hh: In function ‘bool parserPatch::operator==(const parserPatch::position&, const parserPatch::position&)’:
position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetBoundaryField.o -L/opt/openfoam211/platforms/linux64GccDPOpt/lib \
	     -lfiniteVolume 	-lmeshTools 	-L/home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/lib 	-lswak4FoamParsers -lOpenFOAM -ldl   -lm -o /home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/bin/funkySetBoundaryField
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetBoundaryField'
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetFields'
Making dependency list for source file funkySetFields.C
could not open file FixedValuePointPatchField.H for source file funkySetFields.C
could not open file ZeroGradientPointPatchField.H for source file funkySetFields.C
could not open file CalculatedPointPatchField.H for source file funkySetFields.C
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetFields'
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetFields'
SOURCE=funkySetFields.C ;  g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt  	 -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -c $SOURCE -o Make/linux64GccDPOpt/funkySetFields.o
In file included from ../../Libraries/swak4FoamParsers/lnInclude/FieldValueExpressionParser_location.hh:44:0,
                 from FieldValueExpressionParser.tab.hh:65,
                 from ../../Libraries/swak4FoamParsers/lnInclude/FieldValueExpressionDriver.H:19,
                 from funkySetFields.C:41:
position.hh: In function ‘bool parserField::operator==(const parserField::position&, const parserField::position&)’:
position.hh:136:69: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3  -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt  	 -I/opt/openfoam211/src/finiteVolume/lnInclude -I/opt/openfoam211/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam211/src/OpenFOAM/lnInclude -I/opt/openfoam211/src/OSspecific/POSIX/lnInclude   -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetFields.o -L/opt/openfoam211/platforms/linux64GccDPOpt/lib \
	     -lfiniteVolume 	-lmeshTools 	-L/home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/lib 	-lswak4FoamParsers -lOpenFOAM -ldl   -lm -o /home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/bin/funkySetFields
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/funkySetFields'
make[1]: Entering directory `/home/ehsan/Downloads/swak4Foam/Utilities/replayTransientBC'
make[1]: `/home/ehsan/OpenFOAM/ehsan-2.1.1/platforms/linux64GccDPOpt/bin/replayTransientBC' is up to date.
make[1]: Leaving directory `/home/ehsan/Downloads/swak4Foam/Utilities/replayTransientBC'


If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ehsan/Downloads/swak4Foam/Libraries (most people will be fine without setting that variable)
immortality is offline   Reply With Quote

Old   February 17, 2013, 07:04
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,934
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
i have some problems with new groovyBC that wan't in previous one.
does this part of compilation for instance seems ok?
Where do you see a problem? I only see warnings (technical note: these are only in code generated by bison. There is nothing that can be done about it)
immortality 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   May 13, 2013, 10:04
Default
  #3
New Member
 
Anselme Bonnet
Join Date: Apr 2013
Location: France
Posts: 14
Rep Power: 5
OpenF is on a distinguished road
Hi gschaider,

I'm trying to install Swak4Foam_2.x_release_0.2.1.tar.gz. I did "wmake all" but I think I got some errors during the installation. When I try to use the new functions OpenFOAM doesn't know the librairies.

Could you give me a piece of advice ? I don't think this is normal.

Best regards,
Anselme

This is a part of the installation process (the end):

Code:
 

make[1]: *** [Make/linux64GccDPOpt/lcsScatteringFactorPluginFunction.o] Error 1
SOURCE=lcsEnthalpySourcePluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -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/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/linux64GccDPOpt/lcsEnthalpySourcePluginFunction.o
lcsEnthalpySourcePluginFunction.C:38:30: fatal error: basicThermoCloud.H: No such file or directory
compilation terminated.
make[1]: *** [Make/linux64GccDPOpt/lcsEnthalpySourcePluginFunction.o] Error 1
SOURCE=lcsMassSourcePluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -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/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/linux64GccDPOpt/lcsMassSourcePluginFunction.o
SOURCE=lcsSpeciesSourcePluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -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/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/linux64GccDPOpt/lcsSpeciesSourcePluginFunction.o
make[1]: Target `libso' not remade because of errors.
make[1]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Libraries/functionPlugins/swakLagrangianCloudSourcesFunctionPlugin'
wmakeLnInclude: linking include files to ./lnInclude
Making dependency list for source file courantIncompressiblePluginFunction.C
could not open file FixedValuePointPatchField.H for source file courantIncompressiblePluginFunction.C
could not open file ZeroGradientPointPatchField.H for source file courantIncompressiblePluginFunction.C
could not open file CalculatedPointPatchField.H for source file courantIncompressiblePluginFunction.C
Making dependency list for source file courantCompressiblePluginFunction.C
could not open file FixedValuePointPatchField.H for source file courantCompressiblePluginFunction.C
could not open file ZeroGradientPointPatchField.H for source file courantCompressiblePluginFunction.C
could not open file CalculatedPointPatchField.H for source file courantCompressiblePluginFunction.C
make[1]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Libraries/functionPlugins/swakVelocityFunctionPlugin'
SOURCE=courantIncompressiblePluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/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/linux64GccDPOpt/courantIncompressiblePluginFunction.o
SOURCE=courantCompressiblePluginFunction.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I../../swak4FoamParsers/lnInclude -I/opt/openfoam220/src/finiteVolume/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/linux64GccDPOpt/courantCompressiblePluginFunction.o
/usr/bin/ld: cannot find -lswak4FoamParsers
collect2: ld returned 1 exit status
make[1]: *** [/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so] Error 1
make[1]: Target `libso' not remade because of errors.
make[1]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Libraries/functionPlugins/swakVelocityFunctionPlugin'
make[1]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities'
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkyDoCalc'
Making dependency list for source file funkyDoCalc.C
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkyDoCalc'
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkyDoCalc'
SOURCE=funkyDoCalc.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/funkyDoCalc.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkyDoCalc.o -L/opt/openfoam220/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lmeshTools -L/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/funkyDoCalc
/usr/bin/ld: cannot find -lswak4FoamParsers
collect2: ld returned 1 exit status
make[2]: *** [/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/funkyDoCalc] Error 1
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkyDoCalc'
make[1]: *** [funkyDoCalc] Error 2
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetBoundaryField'
Making dependency list for source file funkySetBoundaryField.C
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetBoundaryField'
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetBoundaryField'
SOURCE=funkySetBoundaryField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/funkySetBoundaryField.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetBoundaryField.o -L/opt/openfoam220/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lmeshTools -L/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/funkySetBoundaryField
/usr/bin/ld: cannot find -lswak4FoamParsers
collect2: ld returned 1 exit status
make[2]: *** [/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/funkySetBoundaryField] Error 1
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetBoundaryField'
make[1]: *** [funkySetBoundaryField] Error 2
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetFields'
Making dependency list for source file funkySetFields.C
could not open file FixedValuePointPatchField.H for source file funkySetFields.C
could not open file ZeroGradientPointPatchField.H for source file funkySetFields.C
could not open file CalculatedPointPatchField.H for source file funkySetFields.C
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetFields'
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetFields'
SOURCE=funkySetFields.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/funkySetFields.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPOpt -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetFields.o -L/opt/openfoam220/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lmeshTools -L/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/funkySetFields
/usr/bin/ld: cannot find -lswak4FoamParsers
collect2: ld returned 1 exit status
make[2]: *** [/home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/funkySetFields] Error 1
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/funkySetFields'
make[1]: *** [funkySetFields] Error 2
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/replayTransientBC'
Making dependency list for source file replayTransientBC.C
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/replayTransientBC'
make[2]: Entering directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/replayTransientBC'
SOURCE=replayTransientBC.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/cfdTools/lnInclude -I/opt/openfoam220/src/cfdTools/general/lnInclude -I/opt/openfoam220/src/finiteVolume/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/linux64GccDPOpt/replayTransientBC.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/opt/openfoam220/src/cfdTools/lnInclude -I/opt/openfoam220/src/cfdTools/general/lnInclude -I/opt/openfoam220/src/finiteVolume/lnInclude -I/opt/openfoam220/src/meshTools/lnInclude -IlnInclude -I. -I/opt/openfoam220/src/OpenFOAM/lnInclude -I/opt/openfoam220/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/replayTransientBC.o -L/opt/openfoam220/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lmeshTools -lOpenFOAM -ldl -lm -o /home/aerodynamics/OpenFOAM/aerodynamics-2.2.0/platforms/linux64GccDPOpt/bin/replayTransientBC
make[2]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities/replayTransientBC'
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/tmp/swak4Foam_2.x_release_0.2.1/Utilities'
 
If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /tmp/swak4Foam_2.x_release_0.2.1/Libraries (most people will be fine without setting that variable)
OpenF is offline   Reply With Quote

Old   May 13, 2013, 10:15
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,934
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by OpenF View Post
Hi gschaider,

I'm trying to install Swak4Foam_2.x_release_0.2.1.tar.gz. I did "wmake all" but I think I got some errors during the installation. When I try to use the new functions OpenFOAM doesn't know the librairies.

Could you give me a piece of advice ? I don't think this is normal.

Best regards,
Anselme

This is a part of the installation process (the end):
The first version of swak4Foam to work with OF 2.2 is 0.2.3. Go to
http://openfoamwiki.net/index.php/Co...am#Downloading
to download the tarballs. If you're using OF 2.2.0 you'll have to apply a little change because that one differs from 2.2.x (pointer to the fix is found in the paragraph)
__________________
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

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 18:29.