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

Error bulding swak4Foam

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 30, 2013, 07:56
Default Error bulding swak4Foam
  #1
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 08:25
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,107
Rep Power: 30
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by sfigato View Post
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

<snip>


Anyone Can help me
?



Regards
MARCO
I think we can promote this problem to rank classic but bound to be extinct (because the next release fixes it):
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
gschaider is online now   Reply With Quote

Old   January 30, 2013, 08:33
Default
  #3
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 08:52
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,107
Rep Power: 30
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by sfigato View Post
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
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
gschaider is online now   Reply With Quote

Old   January 30, 2013, 08:55
Default
  #5
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 08:58
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
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
wyldckat is offline   Reply With Quote

Old   January 30, 2013, 09:06
Default
  #7
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 09:12
Default
  #8
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 09:19
Default
  #9
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Like Bernhard said, you can ignore this line:
Quote:
Code:
OSError: [Errno 13] Permission denied
wyldckat is offline   Reply With Quote

Old   January 30, 2013, 09:29
Default
  #10
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
It seems to work!

Guys, you are amazing!!
How can I check if everything is fine??

Thanks Again!
Marco
sfigato is offline   Reply With Quote

Old   January 30, 2013, 09:41
Default
  #11
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
Run Allwmake again
wyldckat is offline   Reply With Quote

Old   January 30, 2013, 09:45
Default
  #12
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 10:13
Default
  #13
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,107
Rep Power: 30
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by sfigato View Post
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)

<snip>

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
This looks like a successful build
__________________
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 online now   Reply With Quote

Old   January 30, 2013, 10:34
Default
  #14
Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 86
Rep Power: 2
sfigato is on a distinguished road
Send a message via Skype™ to sfigato
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
sfigato is offline   Reply With Quote

Old   January 30, 2013, 15:53
Default
  #15
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45
wyldckat has a spectacular aura aboutwyldckat has a spectacular aura about
FYI for future readers, Marco's latest question is being answered here: Paraview Compiling Error (OpenFOAM 2.1.x + openSUSE 12.2)
wyldckat 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
swak4foam newbie29 OpenFOAM Installation 39 May 4, 2013 06:21
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 146 April 16, 2013 09:50
swak4foam callahance OpenFOAM 25 December 20, 2012 04:53
About installation of swak4Foam mmkr825 OpenFOAM Programming & Development 10 December 14, 2012 01:24
swak4Foam for calculating velocity transformations santoshgoku OpenFOAM 4 June 20, 2012 05:39


All times are GMT -4. The time now is 07:36.