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 Tree9Likes
  • 9 Post By cyss38

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: 12
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, 82 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: 5
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: 55
Rep Power: 6
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: 12
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: 3
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: 55
Rep Power: 6
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: 3
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: 55
Rep Power: 6
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: 3
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: 55
Rep Power: 6
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

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 09:18.