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

[swak4Foam] Error bulding swak4Foam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2013, 08:56
Default Error bulding swak4Foam
  #1
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 09:25
Default
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by 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 offline   Reply With Quote

Old   January 30, 2013, 09:33
Default
  #3
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 09:52
Default
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by 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 offline   Reply With Quote

Old   January 30, 2013, 09:55
Default
  #5
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 09:58
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 10:06
Default
  #7
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 10:12
Default
  #8
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 10:19
Default
  #9
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 10:29
Default
  #10
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 10:41
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Run Allwmake again
__________________
wyldckat is offline   Reply With Quote

Old   January 30, 2013, 10:45
Default
  #12
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 11:13
Default
  #13
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by 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 offline   Reply With Quote

Old   January 30, 2013, 11:34
Default
  #14
Senior Member
 
sfigato's Avatar
 
Marco Longhitano
Join Date: Jan 2013
Location: Aachen
Posts: 103
Rep Power: 13
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, 16:53
Default
  #15
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
FYI for future readers, Marco's latest question is being answered here: http://www.cfd-online.com/Forums/ope...se-12-2-a.html
__________________
wyldckat is offline   Reply With Quote

Old   August 22, 2013, 09:02
Default
  #16
Member
 
Hossein
Join Date: Apr 2010
Posts: 65
Rep Power: 15
atoof is on a distinguished road
Send a message via Yahoo to atoof
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)
I want to add a source term to a solver, but when I compile my own solver, I encounter an error:
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.
How to solve it?

Regards,

Hossein
atoof is offline   Reply With Quote

Old   August 22, 2013, 09:12
Default
  #17
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   August 22, 2013, 10:13
Default
  #18
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by atoof View Post
Dear Bruno,


I want to add a source term to a solver, but when I compile my own solver, I encounter an error:
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.
How to solve it?

Regards,

Hossein
I think you added the path to swak4FoamParsers to your Make/options. It should be swak4FoamParsers/lnInclude (that's where this file is)
__________________
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   August 22, 2013, 13:41
Default
  #19
Member
 
Hossein
Join Date: Apr 2010
Posts: 65
Rep Power: 15
atoof is on a distinguished road
Send a message via Yahoo to atoof
Quote:
Originally Posted by gschaider View Post
I think you added the path to swak4FoamParsers to your Make/options. It should be swak4FoamParsers/lnInclude (that's where this file is)
Yes, It is true, but I do not want to change swak4foam libraries.

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.
atoof is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


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


All times are GMT -4. The time now is 05:24.