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

[swak4Foam] Installation Problem with OF 6 version

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

Like Tree14Likes
  • 10 Post By cyss38
  • 1 Post By olesen
  • 3 Post By gschaider

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 29, 2018, 11:49
Default Installation Problem with OF 6 version
  #1
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 13
Aurel is on a distinguished road
Dear all,


I've got problems with the installation of swak4Foam for the OpenFoam 6 version.

May I get some assistance how to fix it?
Attached please find the errors after command './Allwmake' .


I'm using:
Ubuntu 16.04
OF 6
Swak version 0.4.1
Bison is version 2.7.12
Flex is version 2.6.0

Regards
Marc
Attached Files
File Type: docx swak4Foam_Installation_Problem.docx (6.5 KB, 109 views)
Aurel is offline   Reply With Quote

Old   July 30, 2018, 07:47
Default
  #2
Member
 
Jeff
Join Date: May 2016
Posts: 42
Rep Power: 6
jf_vt is on a distinguished road
Hi

According to https://twitter.com/swakpyfoam?lang=en
posted on July 15:
your swak version (0.4.1) is too old to compile with OF6.
You should use the development version (0.4.2 as of now) instead

JF
jf_vt is offline   Reply With Quote

Old   July 30, 2018, 09:46
Smile
  #3
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 62
Rep Power: 7
cyss38 is on a distinguished road
You can download and install the new swak4foam version compatible with openfoam-6 with the following command lines :
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop
cd swak4Foam
./maintainanceScripts/compileRequirements.sh
./Allwmake
cyss38 is offline   Reply With Quote

Old   July 30, 2018, 16:29
Thumbs up
  #4
New Member
 
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 13
Aurel is on a distinguished road
Now swak4Foam it's working.
Thank you very much for your support!!!


Marc
Aurel is offline   Reply With Quote

Old   November 29, 2018, 11:08
Default
  #5
New Member
 
Arthur
Join Date: Oct 2018
Location: Glasgow
Posts: 20
Rep Power: 4
amdk136 is on a distinguished road
Hi,



I am having problems installing swak4FOAM for openFOAM 6. I am using version 0.4.2 of Swak.


The maintenanceScripts folder is compiling correctly, however swak isnät compiling properly and I have the following errors.
Quote:
Reading variables from 'swakConfiguration'
Checking swak4Foam-version and generating file
Swak version is 0.4.2
hg info: 3ee52640067a (develop) tip
Bison: /home/stss2/OpenFOAM/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison is version 3.0.4
Flex is version 2.5.37 (Minor version: 37)
OpenFOAM-version: Major 6 Minor 0 Patch -1 (-1 == x / 98) Fork: org
No swak4FoamParsers/foamVersion4swak.H. Generated

Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem


wmakeLnInclude: linking include files to simpleFunctionObjects/lnInclude
wmake libso swak4FoamParsers
make: Warning: File 'Make/linux64GccDPInt32Opt/options' has modification time 39 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File 'Make/linux64GccDPInt32Opt/options' has modification time 39 s in the future
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File 'Make/linux64GccDPInt32Opt/sourceFiles' has modification time 39 s in the future
wmakeLnInclude: linking include files to ./lnInclude
make: warning: Clock skew detected. Your build may be incomplete.
make: Warning: File 'Make/linux64GccDPInt32Opt/sourceFiles' has modification time 38 s in the future
Making dependency list for source file SampledSurfaceValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSurfaceValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/SampledSurfaceValuePluginFunction.C due to No such file or directory
Making dependency list for source file SampledSetValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/SampledSetValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/SampledSetValuePluginFunction.C due to No such file or directory
Making dependency list for source file FaceZoneValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceZoneValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/FaceZoneValuePluginFunction.C due to No such file or directory
Making dependency list for source file FaceSetValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/FaceSetValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/FaceSetValuePluginFunction.C due to No such file or directory
Making dependency list for source file CellZoneValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellZoneValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/CellZoneValuePluginFunction.C due to No such file or directory
Making dependency list for source file CellSetValuePluginFunction.C
could not open file SubsetValueExpressionParser.tab.hh for source file plugins/CellSetValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/CellSetValuePluginFunction.C due to No such file or directory
Making dependency list for source file PatchValuePluginFunction.C
could not open file PatchValueExpressionParser.tab.hh for source file plugins/PatchValuePluginFunction.C due to No such file or directory
could not open file directMappedPatchBase.H for source file plugins/PatchValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/PatchValuePluginFunction.C due to No such file or directory
Making dependency list for source file FieldValuePluginFunction.C
could not open file FieldValueExpressionParser.tab.hh for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file foamString.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file directMappedFvPatch.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file directMappedWallFvPatch.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file directMappedPointPatch.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file FixedValuePointPatchField.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file ZeroGradientPointPatchField.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
could not open file CalculatedPointPatchField.H for source file plugins/FieldValuePluginFunction.C due to No such file or directory
Making dependency list for source file CommonPluginFunction.C
could not open file foamString.H for source file plugins/CommonPluginFunction.C due to No such file or directory
Making dependency list for source file initSwakFunctionObject.C
could not open file foamTime.H for source file initSwakFunctionObject.C due to No such file or directory
could not open file foamString.H for source file initSwakFunctionObject.C due to No such file or directory
Making dependency list for source file SampledSetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SampledSetValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file SampledSetValueExpressionDriver.C due to No such file or directory
Making dependency list for source file SampledSurfaceValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SampledSurfaceValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file SampledSurfaceValueExpressionDriver.C due to No such file or directory
Making dependency list for source file FaceZoneValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file FaceZoneValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file FaceZoneValueExpressionDriver.C due to No such file or directory
Making dependency list for source file CellZoneValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file CellZoneValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file CellZoneValueExpressionDriver.C due to No such file or directory
Making dependency list for source file FaceSetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file FaceSetValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file FaceSetValueExpressionDriver.C due to No such file or directory
Making dependency list for source file CellSetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file CellSetValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file CellSetValueExpressionDriver.C due to No such file or directory
Making dependency list for source file SetSubsetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SetSubsetValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file SetSubsetValueExpressionDriver.C due to No such file or directory
Making dependency list for source file SubsetValueExpressionDriver.C
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file SubsetValueExpressionDriver.C due to No such file or directory
Making dependency list for source file SubsetValueExpressionLexer.ll
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionLexer.ll due to No such file or directory
could not open file foamString.H for source file SubsetValueExpressionLexer.ll due to No such file or directory
Making dependency list for source file PatchValueExpressionDriver.C
could not open file directMappedFvPatch.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file FieldValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file SubsetValueExpressionParser.tab.hh for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file directMappedPatchBase.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file directMappedWallFvPatch.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file directMappedPointPatch.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file FixedValuePointPatchField.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file ZeroGradientPointPatchField.H for source file PatchValueExpressionDriver.C due to No such file or directory
could not open file CalculatedPointPatchField.H for source file PatchValueExpressionDriver.C due to No such file or directory
Making dependency list for source file PatchValueExpressionLexer.ll
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionLexer.ll due to No such file or directory
could not open file directMappedPatchBase.H for source file PatchValueExpressionLexer.ll due to No such file or directory
could not open file foamString.H for source file PatchValueExpressionLexer.ll due to No such file or directory
Making dependency list for source file FieldValueExpressionDriver.C
could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file foamString.H for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file directMappedFvPatch.H for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file directMappedWallFvPatch.H for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file directMappedPointPatch.H for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file FixedValuePointPatchField.H for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionDriver.C due to No such file or directory
could not open file CalculatedPointPatchField.H for source file FieldValueExpressionDriver.C due to No such file or directory
Making dependency list for source file FieldValueExpressionLexer.ll
could not open file FieldValueExpressionParser.tab.hh for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file foamString.H for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file directMappedFvPatch.H for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file directMappedWallFvPatch.H for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file directMappedPointPatch.H for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file FixedValuePointPatchField.H for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file ZeroGradientPointPatchField.H for source file FieldValueExpressionLexer.ll due to No such file or directory
could not open file CalculatedPointPatchField.H for source file FieldValueExpressionLexer.ll due to No such file or directory
Making dependency list for source file CommonValueExpressionDriver.C
could not open file foamString.H for source file CommonValueExpressionDriver.C due to No such file or directory
Making dependency list for source file SubsetValueExpressionParser.yy
could not open file SubsetValueExpressionParser.tab.hh for source file SubsetValueExpressionParser.yy due to No such file or directory
could not open file foamString.H for source file SubsetValueExpressionParser.yy due to No such file or directory
Making dependency list for source file PatchValueExpressionParser.yy
could not open file PatchValueExpressionParser.tab.hh for source file PatchValueExpressionParser.yy due to No such file or directory

This continues on for much longer than this, I've just taken a portion of what I get. A fresh download and compile has been tried, with the same errors occurring every time.



Could anyone shed any light on this?



Thank you
Arthur
amdk136 is offline   Reply With Quote

Old   November 29, 2018, 11:44
Default
  #6
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 62
Rep Power: 7
cyss38 is on a distinguished road
Do you have DL swak4foam with the '-u develop' option?



hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop
cyss38 is offline   Reply With Quote

Old   November 29, 2018, 12:10
Default
  #7
New Member
 
Arthur
Join Date: Oct 2018
Location: Glasgow
Posts: 20
Rep Power: 4
amdk136 is on a distinguished road
Quote:
Originally Posted by cyss38 View Post
Do you have DL swak4foam with the '-u develop' option?



hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop

Hi,


yes, that is the version I was using that got the errors.


Arthur
amdk136 is offline   Reply With Quote

Old   November 29, 2018, 12:50
Default
  #8
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 62
Rep Power: 7
cyss38 is on a distinguished road
There is no error in your log. There is only warning...


The "could not open.... " lines are not a problem
cyss38 is offline   Reply With Quote

Old   November 30, 2018, 08:22
Default
  #9
New Member
 
Arthur
Join Date: Oct 2018
Location: Glasgow
Posts: 20
Rep Power: 4
amdk136 is on a distinguished road
Hi,


Once I let it finish the compiling and I run a file using swak libraries, it tells me that it cannot access swak libraries "...swak...blahblah.so". This is surely to do with those messages saying it cannot open files no?


Thank you for your quick reply!


Arthur
amdk136 is offline   Reply With Quote

Old   November 30, 2018, 11:20
Default
  #10
Member
 
cyss38's Avatar
 
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 62
Rep Power: 7
cyss38 is on a distinguished road
i think not... I have the same messages and i have no problems.
Can you send the log output of the compilation?


Perhaps a problem with your $FOAM_USER_LIBBIN $FOAM_USER_APPBIN?


try "ls $FOAM_USER_LIBBIN" and "ls $FOAM_USER_APPBIN" to check if swak4foam is correctly compiled.
cyss38 is offline   Reply With Quote

Old   November 7, 2020, 20:05
Default swak4Foam installation error
  #11
New Member
 
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 9
Rep Power: 2
prakashPra is on a distinguished road
Hello Everyone,
I have been trying to create a ono-rectangular alpha.water field fow which I am trying to install swak4Foam. But I guess there is some problem in its installation. I have attached the log.make file with this. It will be really helpful if you could take a look at it.
Thank you
Attached Files
File Type: gz logs.tar.gz (2.7 KB, 2 views)
prakashPra is offline   Reply With Quote

Old   November 8, 2020, 10:39
Default
  #12
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 1,055
Rep Power: 27
olesen will become famous soon enougholesen will become famous soon enough
Can also use setExprField instead of swak funky fields if you have access to OpenFOAM-v1912 or v2006
prakashPra likes this.
olesen is offline   Reply With Quote

Old   November 8, 2020, 19:35
Default
  #13
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,169
Rep Power: 46
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by prakashPra View Post
Hello Everyone,
I have been trying to create a ono-rectangular alpha.water field fow which I am trying to install swak4Foam. But I guess there is some problem in its installation. I have attached the log.make file with this. It will be really helpful if you could take a look at it.
Thank you
The problem is that in the latest release the compilation script tries to compile funkySetAreaFields which is not supported on the Foundation-flavour of OpenFOAM (OF6, OF7, OF8, not sure about OF9)


The good news is that all the libraries are already compiled (so groovyBC and all functionObjects are already usable) but some utilities (basically those that are alphabetically after funkySetAreaFields). The simplest thing to do is to compile them like this:
Code:
wmake Utilities/funkySetFields
one by one
The problem is already fixed for the next release
cyss38, sxpsxp007 and prakashPra like this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   November 17, 2020, 16:35
Default setExprField: command not found
  #14
New Member
 
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 9
Rep Power: 2
prakashPra is on a distinguished road
Quote:
Originally Posted by olesen View Post
Can also use setExprField instead of swak funky fields if you have access to OpenFOAM-v1912 or v2006
Thank you Mark for the reply.
I have been trying to the same thing but unfortunately I can't find it. An error appears, 'command not found'. I am using blueCFD 5.X on windows as well as openfoam7 on ubuntu wsl. I checked into the src/ulitiles folder as well, I couldn't find the file there.

Any help or suggestion would be much appreciated as I have been trying over it for quite good time.
prakashPra is offline   Reply With Quote

Old   November 18, 2020, 17:18
Default
  #15
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 1,055
Rep Power: 27
olesen will become famous soon enougholesen will become famous soon enough
Quote:
Originally Posted by prakashPra View Post
Thank you Mark for the reply.
I have been trying to the same thing but unfortunately I can't find it. An error appears, 'command not found'. I am using blueCFD 5.X on windows as well as openfoam7 on ubuntu wsl. I checked into the src/ulitiles folder as well, I couldn't find the file there.

Any help or suggestion would be much appreciated as I have been trying over it for quite good time.

openfoam7 (from openfoam.org) will not have this capability, you need openfoam1912 or openfoam2006 (openfoam.com). There is a mingw cross-compiled version for windows (I don't have a link for you, but should be possible to find). Or the ubuntu packages: https://develop.openfoam.com/Develop...ompiled/debian
olesen 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
installation Problem - Linux distribution (Not a meshing problem) v_herw Pointwise & Gridgen 2 June 20, 2016 15:47
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits cookcaptain OpenFOAM Installation 7 May 26, 2015 12:22
engrid 1.4 installation problem in openSUSE 12.3 and 13.1 taxalian enGrid 4 March 4, 2014 14:36
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 21:55
OF Installation Problem - Gcc Error Daniel Pilatti OpenFOAM Installation 11 April 19, 2009 23:07


All times are GMT -4. The time now is 14:22.