|
[Sponsors] |
January 30, 2013, 08:56 |
Error bulding swak4Foam
|
#1 |
Senior Member
|
Hi Foamers,
I cannot install the swak4Foam in the last repository version of OpenFOAM. I have compiled it two times. The second output message is: No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Traceback (most recent call last): File "./maintainanceScripts/makeSwakVersionFile.py", line 8, in <module> output = Popen(["hg", "branch"], stdout=PIPE).communicate()[0] File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 13] Permission denied Bison is version 2.5 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 1 Patch x No change to swak4FoamParsers/foamVersion4swak.H SOURCE=CommonValueExpressionDriver.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/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/sampling/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/triSurface/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/lagrangian/basic/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/CommonValueExpressionDriver.o CommonValueExpressionDriver.C:1309:7: error: template argument required for ‘class lessOp’ CommonValueExpressionDriver.C: In member function ‘Foam::vector Foam::CommonValueExpressionDriver::getPositionOfMi nimum(const scalarField&, const vectorField&) const’: CommonValueExpressionDriver.C:1374:37: error: missing template arguments before ‘(’ token CommonValueExpressionDriver.C: In member function ‘Foam::word Foam::CommonValueExpressionDriver::getHex(const void*) const’: CommonValueExpressionDriver.C:1389:35: warning: use of old-style cast [-Wold-style-cast] CommonValueExpressionDriver.C: In member function ‘Foam::vector Foam::CommonValueExpressionDriver::getPositionOfMi nimum(const scalarField&, const vectorField&) const’: CommonValueExpressionDriver.C:1375:1: warning: control reaches end of non-void function [-Wreturn-type] make: *** [Make/linux64GccDPOpt/CommonValueExpressionDriver.o] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libgroovyBC.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so] Fehler 1 '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakTopoSources.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakSourceFields.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lgroovyBC /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so] Fehler 1 SWAK_PYTHON_INCLUDE not defined .... no Python-Integration /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so] Fehler 1 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so] Fehler 1 make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/funkyDoCalc' 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/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkyDoCalc.o -L/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkyDoCalc /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make[1]: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkyDoCalc] Fehler 1 make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/funkyDoCalc' make: *** [funkyDoCalc] Fehler 2 make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/funkySetBoundaryField' 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/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetBoundaryField.o -L/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkySetBoundaryField /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make[1]: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkySetBoundaryField] Fehler 1 make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/funkySetBoundaryField' make: *** [funkySetBoundaryField] Fehler 2 make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/funkySetFields' 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/OpenFOAM/OpenFOAM-2.1.x/src/finiteVolume/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/meshTools/lnInclude -I../../Libraries/swak4FoamParsers/lnInclude/ -IlnInclude -I. -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OpenFOAM/lnInclude -I/opt/OpenFOAM/OpenFOAM-2.1.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/funkySetFields.o -L/opt/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib \ -lfiniteVolume -lmeshTools -L/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib -lswak4FoamParsers -lOpenFOAM -ldl -lm -o /home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkySetFields /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lswak4FoamParsers collect2: error: ld returned 1 exit status make[1]: *** [/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkySetFields] Fehler 1 make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/funkySetFields' make: *** [funkySetFields] Fehler 2 make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/replayTransientBC' make[1]: »/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/replayTransientBC« ist bereits aktualisiert. make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Utilities/replayTransientBC' make: Das Target »application« wurde wegen Fehlern nicht aktualisiert. If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4Foam_2.x_release_0.2.1/Libraries (most people will be fine without setting that variable Anyone Can help me? Regards MARCO |
|
January 30, 2013, 09:25 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
http://sourceforge.net/apps/mantisbt...iew.php?id=163 The Python-thing in the beginning does not concern you (that file is up-to-date for you 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 |
||
January 30, 2013, 09:33 |
|
#3 |
Senior Member
|
Hallo Bernhard,
I did not understand. I downloaded the last release that there is in OpenFoamWiki. It is not the last one? Can I download the real lst from the link that you post? Greets MARCO |
|
January 30, 2013, 09:52 |
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
That IS the latest Release. It will be fixed in the next (in fact: the development version in the Mercurial repository already has it. But I don't call that a release until I'm sure nothing is broken - stuff I push to the public should at least compile and have no problems that I know of - but I don't vouch for it)
__________________
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 |
|
January 30, 2013, 09:55 |
|
#5 |
Senior Member
|
HI,
I am here again!! I cannot understand how to use the patch in the link to fix the problem! Can you briefly describe the procedure? Thx Marco |
|
January 30, 2013, 09:58 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
You can download a version with the patch already applied from here: https://github.com/wyldckat/swak4foam/archive/OF21X.zip It's from the repository that I keep for assisting in fixing some occasional details on swak4Foam : https://github.com/wyldckat/swak4foam/tree/OF21X Best regards, Bruno
__________________
|
|
January 30, 2013, 10:06 |
|
#7 |
Senior Member
|
Hi Bruno,
thank you very much! I will do it!..The last question! I have installed OpenFoam in root/opt/ directory. Do I need to compile swak in root mode or I can compile it like a normal user (I prefear it!!)? Regards MARCO |
|
January 30, 2013, 10:12 |
|
#8 |
Senior Member
|
I compiled the new version and this is the output. There is a deneid permission. If I compile it in root mode I have a OpenFOAM folder in my root directory and I want to avoid it. What can I do?
Regards MARCO ifas@lg-208-linux:~/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X> ./Allwmake No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Traceback (most recent call last): File "./maintainanceScripts/makeSwakVersionFile.py", line 8, in <module> output = Popen(["hg", "branch"], stdout=PIPE).communicate()[0] File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 13] Permission denied Bison is version 2.5 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 1 Patch -1 (-1 == x) No swak4FoamParsers/foamVersion4swak.H. Generated wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file helpers/printSwakVersion.C Making dependency list for source file repositories/SurfacesRepository.C Making dependency list for source file repositories/SetsRepository.C Making dependency list for source file repositories/GlobalVariablesRepository.C Making dependency list for source file ExpressionDriverWriter.C Making dependency list for source file ExpressionResult/ExpressionResult.C Making dependency list for source file ExpressionResult/StoredExpressionResult.C Making dependency list for source file ExpressionResult/DelayedExpressionResult.C Making dependency list for source file setsAndSurfaces/swakRegistryProxySurface.C Making dependency list for source file setsAndSurfaces/swakRegistryProxySet.C Making dependency list for source file FieldValueExpressionParser.yy could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionParser.yy could not open file directMappedFvPatch.H for source file FieldValueExpressionParser.yy could not open file directMappedWallFvPatch.H for source file FieldValueExpressionParser.yy could not open file FixedValuePointPatchField.H for source file FieldValueExpressionParser.yy could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionParser.yy could not open file CalculatedPointPatchField.H for source file FieldValueExpressionParser.yy Making dependency list for source file PatchValueExpressionParser.yy could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy Making dependency list for source file SubsetValueExpressionParser.yy could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionParser.yy Making dependency list for source file CommonValueExpressionDriver.C Making dependency list for source file makeSwakDataEntry.C Making dependency list for source file FieldValueExpressionLexer.ll could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionLexer.ll could not open file directMappedFvPatch.H for source file FieldValueExpressionLexer.ll could not open file directMappedWallFvPatch.H for source file FieldValueExpressionLexer.ll could not open file FixedValuePointPatchField.H for source file FieldValueExpressionLexer.ll could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionLexer.ll could not open file CalculatedPointPatchField.H for source file FieldValueExpressionLexer.ll Making dependency list for source file FieldValueExpressionDriver.C could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionDriver.C could not open file directMappedFvPatch.H for source file FieldValueExpressionDriver.C could not open file directMappedWallFvPatch.H for source file FieldValueExpressionDriver.C could not open file FixedValuePointPatchField.H for source file FieldValueExpressionDriver.C could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionDriver.C could not open file CalculatedPointPatchField.H for source file FieldValueExpressionDriver.C Making dependency list for source file PatchValueExpressionLexer.ll could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll Making dependency list for source file PatchValueExpressionDriver.C could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C could not open file FieldValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C could not open file directMappedFvPatch.H for source file PatchValueExpressionDriver.C could not open file directMappedWallFvPatch.H for source file PatchValueExpressionDriver.C could not open file FixedValuePointPatchField.H for source file PatchValueExpressionDriver.C could not open file ZeroGradientPointPatchField.H for source file PatchValueExpressionDriver.C could not open file CalculatedPointPatchField.H for source file PatchValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C Making dependency list for source file SubsetValueExpressionLexer.ll could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionLexer.ll Making dependency list for source file SubsetValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionDriver.C Making dependency list for source file SetSubsetValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file SetSubsetValueExpressionDriver.C Making dependency list for source file CellSetValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file CellSetValueExpressionDriver.C Making dependency list for source file FaceSetValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file FaceSetValueExpressionDriver.C Making dependency list for source file CellZoneValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file CellZoneValueExpressionDriver.C Making dependency list for source file FaceZoneValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file FaceZoneValueExpressionDriver.C Making dependency list for source file SampledSurfaceValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file SampledSurfaceValueExpressionDriver.C Making dependency list for source file SampledSetValueExpressionDriver.C could not open file SubsetValueExpressionParser.tab.hh for source file SampledSetValueExpressionDriver.C Making dependency list for source file initSwakFunctionObject.C Making dependency list for source file plugins/CommonPluginFunction.C Making dependency list for source file plugins/FieldValuePluginFunction.C could not open file FieldValueExpressionParser.tab.hh for source file plugins/FieldValuePluginFunction.C could not open file directMappedFvPatch.H for source file plugins/FieldValuePluginFunction.C could not open file directMappedWallFvPatch.H for source file plugins/FieldValuePluginFunction.C could not open file FixedValuePointPatchField.H for source file plugins/FieldValuePluginFunction.C could not open file ZeroGradientPointPatchField.H for source file plugins/FieldValuePluginFunction.C could not open file CalculatedPointPatchField.H for source file plugins/FieldValuePluginFunction.C Making dependency list for source file plugins/PatchValuePluginFunction.C could not open file PatchValueExpressionParser.tab.hh for source file plugins/PatchValuePluginFunction.C Making dependency list for source file plugins/CellSetValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellSetValuePluginFunction.C Making dependency list for source file plugins/CellZoneValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellZoneValuePluginFunction.C Making dependency list for source file plugins/FaceSetValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceSetValuePluginFunction.C Making dependency list for source file plugins/FaceZoneValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceZoneValuePluginFunction.C Making dependency list for source file plugins/SampledSetValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSetValuePluginFunction.C Making dependency list for source file plugins/SampledSurfaceValuePluginFunction.C could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSurfaceValuePluginFunction.C |
|
January 30, 2013, 10:19 |
|
#9 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Like Bernhard said, you can ignore this line:
Quote:
__________________
|
||
January 30, 2013, 10:29 |
|
#10 |
Senior Member
|
It seems to work!
Guys, you are amazing!! How can I check if everything is fine?? Thanks Again! Marco |
|
January 30, 2013, 10:41 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Run Allwmake again
__________________
|
|
January 30, 2013, 10:45 |
|
#12 |
Senior Member
|
I think that it is fine!!
No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Traceback (most recent call last): File "./maintainanceScripts/makeSwakVersionFile.py", line 8, in <module> output = Popen(["hg", "branch"], stdout=PIPE).communicate()[0] File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child raise child_exception OSError: [Errno 13] Permission denied Bison is version 2.5 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 1 Patch -1 (-1 == x) No change to swak4FoamParsers/foamVersion4swak.H '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date . '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/funkyDoCalc' make[1]: »/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkyDoCalc« ist bereits aktualisiert. make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/funkyDoCalc' make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/funkySetBoundaryField' make[1]: »/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkySetBoundaryField« ist bereits aktualisiert. make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/funkySetFields' make[1]: »/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/funkySetFields« ist bereits aktualisiert. make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/funkySetFields' make[1]: Entering directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/replayTransientBC' make[1]: »/home/ifas/OpenFOAM/ifas-2.1.x/platforms/linux64GccDPOpt/bin/replayTransientBC« ist bereits aktualisiert. make[1]: Leaving directory `/home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Utilities/replayTransientBC' If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/ifas/OpenFOAM/ifas-2.1.x/applications/utilities/swak4foam-OF21X/Libraries (most people will be fine without setting that variable) Grazieee Marco |
|
January 30, 2013, 11:13 |
|
#13 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
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 |
||
January 30, 2013, 11:34 |
|
#14 |
Senior Member
|
Hi
I am so sorry to disturb you again but I got a new installation problem. It seems harder than before (I heva already checked some old Bruno`s post). When I type paraFoam & on my terminal , it dispalys:FATAL ERROR: ParaView reader module libraries do not exist Please build the reader module before continuing: cd $FOAM_UTILITIES/postProcessing/graphics/PV3Readers ./Allwclean ./Allwmake Pleaseee help me again...I try to setup properly OpenFOAM! Regards Marco |
|
January 30, 2013, 16:53 |
|
#15 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
FYI for future readers, Marco's latest question is being answered here: http://www.cfd-online.com/Forums/ope...se-12-2-a.html
__________________
|
|
August 22, 2013, 09:02 |
|
#16 |
Member
|
Dear Bruno,
I am using OF2.1.x and I installed Swak4Foam_0.2.3. It seems that installing is OK (after ./Allwmake twice): Code:
mohammad@ubuntu:~/Swak4Foam_2.x_release_0.2.3$ ./Allwmake No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file Bison is version 2.5 Flex is version 2.5.35 (Minor version: 35) OpenFOAM-version: Major 2 Minor 1 Patch -1 (-1 == x) No change to swak4FoamParsers/foamVersion4swak.H '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswak4FoamParsers.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libgroovyBC.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakFunctionObjects.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libsimpleFunctionObjects.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakTopoSources.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakSourceFields.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libgroovyStandardBCs.so' is up to date. SWAK_PYTHON_INCLUDE not defined .... no Python-Integration '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date. '/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date. make[1]: Entering directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/calcNonUniformOffsetsForMapped' make[1]: `/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/bin/calcNonUniformOffsetsForMapped' is up to date. make[1]: Leaving directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/calcNonUniformOffsetsForMapped' make[1]: Entering directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/funkyDoCalc' make[1]: `/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/bin/funkyDoCalc' is up to date. make[1]: Leaving directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/funkyDoCalc' make[1]: Entering directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/funkySetBoundaryField' make[1]: `/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/bin/funkySetBoundaryField' is up to date. make[1]: Leaving directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/funkySetBoundaryField' make[1]: Entering directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/funkySetFields' make[1]: `/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/bin/funkySetFields' is up to date. make[1]: Leaving directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/funkySetFields' make[1]: Entering directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/replayTransientBC' make[1]: `/home/mohammad/OpenFOAM/mohammad-2.1.x/platforms/linuxGccDPOpt/bin/replayTransientBC' is up to date. make[1]: Leaving directory `/home/mohammad/Swak4Foam_2.x_release_0.2.3/Utilities/replayTransientBC' If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/mohammad/Swak4Foam_2.x_release_0.2.3/Libraries (most people will be fine without setting that variable) Code:
In file included from /home/mohammad/Swak4Foam_2.x_release_0.2.3/Libraries/swakSourceFields/expressionSource.H:48:0, from FGM2DWithSources.C:24: /home/mohammad/Swak4Foam_2.x_release_0.2.3/Libraries/swak4FoamParsers/FieldValueExpressionDriver.H:49:45: fatal error: FieldValueExpressionParser.tab.hh: No such file or directory compilation terminated. Regards, Hossein |
|
August 22, 2013, 09:12 |
|
#17 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Hossein,
Solver? From the error message you're providing, it looks like you are trying to modify one of swak4Foam's libraries, not a solver!? Can you please provide more information on how you got to that error message? Best regards, Bruno
__________________
|
|
August 22, 2013, 10:13 |
|
#18 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
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 |
||
August 22, 2013, 13:41 |
|
#19 | |
Member
|
Quote:
After modifying according your suggestion in the above post, finally, I could solve the problem. I added two addresses (sampling/lnInclude and meshTools/lnInclude) and lmeshTools to Make/option and compile the new solver. Thanks Bruno and Bernhard, your advises have always been helpful for me. Hossein Last edited by atoof; August 22, 2013 at 16:08. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterDyMFoam+simpleFunctionObject | Elham | OpenFOAM Running, Solving & CFD | 5 | July 10, 2017 12:59 |
[swak4Foam] and twoPhaseEulerFoam | mnikku | OpenFOAM Community Contributions | 1 | February 19, 2016 06:21 |
source term in near wall cell | rajcfd | OpenFOAM Pre-Processing | 5 | February 1, 2016 11:31 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 14:00 |