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

Error installing swak4Foam

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

Like Tree17Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   December 11, 2013, 18:13
Default
  #81
New Member
 
Join Date: Nov 2013
Posts: 9
Rep Power: 3
macelee is on a distinguished road
Just to report back, I actually just made swak4Foam to work with Intel compiler. I used version 13.0 of the Intel compiler. I first built the base OpenFOAM 2.1.1 using this Intel compiler (my user specifically asked for this older version). This wasn't easy but once that was done, the only additional change I needed was to comment out in the swak4Foam Allwmake script a line switching to GNU compiler when building the utilities. There is a comment there saying:

#revert back to the default Gcc compiler, due to some problems that Icc has
#with overly complex classes

I found that the Intel compiler v 13.0 can build the utilities without any problem.
macelee is offline   Reply With Quote

Old   December 11, 2013, 18:40
Default
  #82
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by macelee View Post
Just to report back, I actually just made swak4Foam to work with Intel compiler. I used version 13.0 of the Intel compiler. I first built the base OpenFOAM 2.1.1 using this Intel compiler (my user specifically asked for this older version). This wasn't easy but once that was done, the only additional change I needed was to comment out in the swak4Foam Allwmake script a line switching to GNU compiler when building the utilities. There is a comment there saying:

#revert back to the default Gcc compiler, due to some problems that Icc has
#with overly complex classes

I found that the Intel compiler v 13.0 can build the utilities without any problem.
On hand this is good news (not everything is getting worse. At least the Intel-compiler is improving). On the other hand this means that when I remove this fix then half the Icc-users will be unhappy. Hmmm
__________________
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 5, 2014, 18:32
Default
  #83
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
Hi dear Bernhard,I used :
Code:
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam_2.x
but it showed a lot of information the last part is:
Code:
A    swak4Foam_2.x/Examples/tests/testAliasesRhoPimpleFoam/constant/turbulenceProperties
A    swak4Foam_2.x/Examples/tests/testAliasesRhoPimpleFoam/constant/thermophysicalProperties
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/snappyHexMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/controlDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/decomposeParDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/system/fvSolution
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/dynamicMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTest/constant/transportProperties
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/snappyHexMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/controlDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/decomposeParDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/system/fvSolution
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/dynamicMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/scaledIglooWithFridges/constant/transportProperties
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/snappyHexMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/controlDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/decomposeParDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/system/fvSolution
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/dynamicMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/operationsTestRotated/constant/transportProperties
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/snappyHexMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/controlDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/decomposeParDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/system/fvSolution
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/dynamicMeshDict
A    swak4Foam_2.x/Examples/tests/SearchableSurfaces/objectTests/constant/transportProperties
A    swak4Foam_2.x/Examples/tests/pythonIntegration
A    swak4Foam_2.x/Examples/tests/pythonIntegration/0
A    swak4Foam_2.x/Examples/tests/pythonIntegration/0/rand
A    swak4Foam_2.x/Examples/tests/pythonIntegration/0/randFixed
A    swak4Foam_2.x/Examples/tests/pythonIntegration/0/randNumpyByRef
A    swak4Foam_2.x/Examples/tests/pythonIntegration/0/randNumpy
A    swak4Foam_2.x/Examples/tests/pythonIntegration/printPaths.py
A    swak4Foam_2.x/Examples/tests/pythonIntegration/system
A    swak4Foam_2.x/Examples/tests/pythonIntegration/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/pythonIntegration/system/controlDict
A    swak4Foam_2.x/Examples/tests/pythonIntegration/system/fvSolution
A    swak4Foam_2.x/Examples/tests/pythonIntegration/system/replayTransientBCDict
A    swak4Foam_2.x/Examples/tests/pythonIntegration/executePyFoam.py
A    swak4Foam_2.x/Examples/tests/pythonIntegration/checkMpi4Py.py
A    swak4Foam_2.x/Examples/tests/pythonIntegration/startMpi4Py.py
A    swak4Foam_2.x/Examples/tests/pythonIntegration/constant
A    swak4Foam_2.x/Examples/tests/pythonIntegration/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/pythonIntegration/constant/polyMesh/boundary
A    swak4Foam_2.x/Examples/tests/pythonIntegration/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/pythonIntegration/constant/transportProperties
A    swak4Foam_2.x/Examples/tests/pythonIntegration/executeMpi4Py.py
A    swak4Foam_2.x/Examples/tests/pythonIntegration/checkPythonFlu.py
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/0
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/0/var1
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/0/var2
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/system
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/controlDict
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/fvSolution
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/system/replayTransientBCDict
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/customRegexp
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/constant
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/delayedVariableChannel/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/mappingChannels
A    swak4Foam_2.x/Examples/tests/mappingChannels/0
A    swak4Foam_2.x/Examples/tests/mappingChannels/0/T
A    swak4Foam_2.x/Examples/tests/mappingChannels/prepareCase.sh
A    swak4Foam_2.x/Examples/tests/mappingChannels/system
A    swak4Foam_2.x/Examples/tests/mappingChannels/system/funkySetFieldsDict
A    swak4Foam_2.x/Examples/tests/mappingChannels/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/mappingChannels/system/controlDict
A    swak4Foam_2.x/Examples/tests/mappingChannels/system/fvSolution
A    swak4Foam_2.x/Examples/tests/mappingChannels/system/replayTransientBCDict
A    swak4Foam_2.x/Examples/tests/mappingChannels/customRegexp
A    swak4Foam_2.x/Examples/tests/mappingChannels/constant
A    swak4Foam_2.x/Examples/tests/mappingChannels/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/mappingChannels/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/mappingChannels/constant/transportProperties
A    swak4Foam_2.x/Examples/tests/APITests
A    swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults
A    swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/testReadingAndWritingExpressionResults.C
A    swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/Make
A    swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/Make/files
A    swak4Foam_2.x/Examples/tests/APITests/testReadingAndWritingExpressionResults/Make/options
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/0
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/0/p
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/0/U
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system/fvSchemes
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system/controlDict
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/system/fvSolution
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/polyMesh
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/polyMesh/boundary
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/tests/directionMixedBendPipe/constant/transportProperties
A    swak4Foam_2.x/Examples/FunkySetBoundaryFields
A    swak4Foam_2.x/Examples/FunkySetBoundaryFields/funkySetBoundaryDict.dambreak
A    swak4Foam_2.x/Examples/Lagrangian
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/p
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/T
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/U
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/mut
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/alphat
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/epsilon
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/0/k
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system/fvSchemes
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system/controlDict
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/system/fvSolution
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh/boundary
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh/blockMeshDict.m4
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/RASProperties
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/hotParticleCloudProperties
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/turbulenceProperties
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/porousZones
A    swak4Foam_2.x/Examples/Lagrangian/angledDuctWithBalls/constant/thermophysicalProperties
A    swak4Foam_2.x/Examples/Lagrangian/hotStream
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/prepareCase.sh
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/system
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/system/funkySetFieldsDict
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/system/fvSchemes
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/system/controlDict
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/system/fvSolution
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/system/replayTransientBCDict
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/thermo.compressibleGas
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/injectFromTopProperties
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/particleProperties
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/polyMesh
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/polyMesh/boundary
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/g
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/reactions
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/injectFromLeftProperties
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/constant/thermophysicalProperties
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/p
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/O2
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/mu
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/T
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle/d
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle/U
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/lagrangian/injectSolidParticle/positions
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/U
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/H2O
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/rhoPseudo
A    swak4Foam_2.x/Examples/Lagrangian/hotStream/0.orig/Ydefault
A    swak4Foam_2.x/Examples/FiniteArea
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/createVolFields.H
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/swakSurfactantFoam.C
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/createFaFields.H
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/Make
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/Make/files
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/Make/options
A    swak4Foam_2.x/Examples/FiniteArea/swakSurfactantFoam/createFaMesh.H
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/YTransient
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/YSteady
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/Cs
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/Us
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/TTransient
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/0/TSteady
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/system
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/faSolution
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/fvSchemes
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/controlDict
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/fvSolution
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/system/faSchemes
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/customRegexp
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/surfactantSourceDict
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/polyMesh
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/polyMesh/boundary
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/polyMesh/blockMeshDict
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/faMesh
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/faMesh/faMeshDefinition
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/transportProperties
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/constant/surfactantForceDict
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/Allclean
A    swak4Foam_2.x/Examples/FiniteArea/planeTransport/Allrun
A    swak4Foam_2.x/swakConfiguration.debian
Checked out revision 2025.
and funkysetFields can't be recognized :
Code:
ehsan@Ehsan:/media/Education/WR_kOmegaSST$ funkySetFields
funkySetFields: command not found
why is isn't downloaded well?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   January 5, 2014, 18:39
Default
  #84
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by immortality View Post
and funkysetFields can't be recognized :
Code:
ehsan@Ehsan:/media/Education/WR_kOmegaSST$ funkySetFields
funkySetFields: command not found
why is isn't downloaded well?
The download went well, but this is the source code release, not the binary release. You still have to run Allwmake.

(edit: we had a discussion about source vs binary here: installing paraview 4.0.1 post #7 to #10)

Last edited by wyldckat; January 5, 2014 at 18:42. Reason: see "edit:"
wyldckat is online now   Reply With Quote

Old   January 5, 2014, 18:48
Default
  #85
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,205
Rep Power: 17
immortality is on a distinguished road
thanks dear Bruno,
but its the results:
Code:
ehsan@Ehsan:~/swak4Foam_2.x$ /Allwmake
bash: /Allwmake: No such file or directory
ehsan@Ehsan:~/swak4Foam_2.x$ wmake all
No 'swakConfiguration'. Python etc won't work
Checking swak4Foam-version and generating file
Swak version is 0.2.4
No 'bison' found. This is absolutely essential for swak4Foam. Can't go on
Requirements for Library not satisfied. I see no sense in going on
ehsan@Ehsan:~/swak4Foam_2.x$ Allwmake
Allwmake: command not found
I wanted to install bison++ that seems be newer than bison and maybe better,but it want to delete 357MB! why?
Code:
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libsm-dev libtorque2 libice-dev libptscotch-5.1 binutils-dev g++-4.6 g++
  libopenmpi-dev libreadline6-dev libscotch-dev libtinfo-dev csh blcr-util
  libopenmpi1.3 libxt-dev openmpi-checkpoint libstdc++6-4.6-dev zlib1g-dev
  libcr0 libnuma1 openmpi-bin libibverbs1 libscotch-5.1 libibverbs-dev
  mpi-default-dev openmpi-common libreadline-dev
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  flex-old
Suggested packages:
  bison
The following packages will be REMOVED:
  flex libfl-dev openfoam221
The following NEW packages will be installed:
  bison++ flex-old
0 upgraded, 2 newly installed, 3 to remove and 222 not upgraded.
Need to get 566 kB of archives.
After this operation, 357 MB disk space will be freed.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   January 5, 2014, 18:56
Default
  #86
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
"bison++" is not used. What is used is "bison".

Installation instructions are available here: Foam warnings - related to swak4Foam post #4. You can skip the step #2, since you have already downloaded the source code.

By the way, which exact OpenFOAM version are you using?
edit: Never mind, it's 2.2.1. Then the instructions should work just fine.
immortality likes this.

Last edited by wyldckat; January 5, 2014 at 18:57. Reason: see "edit:"
wyldckat is online now   Reply With Quote

Old   January 5, 2014, 19:11
Default
  #87
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by immortality View Post
thanks dear Bruno,
but its the results:
Code:
ehsan@Ehsan:~/swak4Foam_2.x$ /Allwmake
bash: /Allwmake: No such file or directory
ehsan@Ehsan:~/swak4Foam_2.x$ wmake all
No 'swakConfiguration'. Python etc won't work
Checking swak4Foam-version and generating file
Swak version is 0.2.4
No 'bison' found. This is absolutely essential for swak4Foam. Can't go on
Requirements for Library not satisfied. I see no sense in going on
ehsan@Ehsan:~/swak4Foam_2.x$ Allwmake
Allwmake: command not found
Dot before Allwmake:
Code:
./Allwmake
or
Code:
wmake all
the way it is described in the README

Quote:
Originally Posted by immortality View Post
I wanted to install bison++ that seems be newer than bison and maybe better,but it want to delete 357MB! why?
Even if it is better I'm pretty sure that it won't work with the swak-sources. Stick with bison
immortality likes 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   February 21, 2014, 03:15
Default Installing Swak 0.2.3 on OF 2.3
  #88
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 233
Rep Power: 7
Mojtaba.a is on a distinguished road
Send a message via Yahoo to Mojtaba.a
Hi,
I have some problems downloading the new version of swak, 0.3. Whenever I use
Quote:
svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam_2.x
I get the following error:

Quote:
svn: E000111: Unable to connect to a repository at URL 'svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam'
svn: E000111: Can't connect to host 'svn.code.sf.net': Connection refused
Therefore I tried compiling the old version of swak (0.2.3) on OF 2.3, but I am facing some errors and compilation stops.
Code:
In file included from repositories/MeshesRepository.H:54:0,
                 from repositories/MeshesRepository.C:37:
lnInclude/MeshInterpolationOrder.H:67:13: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type
     typedef meshToMesh::order value;
             ^
lnInclude/MeshInterpolationOrder.H:70:28: error: ‘value’ was not declared in this scope
     static const NamedEnum<value, 3> names;
                            ^
lnInclude/MeshInterpolationOrder.H:70:36: error: template argument 1 is invalid
     static const NamedEnum<value, 3> names;
                                    ^
In file included from repositories/MeshesRepository.C:37:0:
repositories/MeshesRepository.H:75:15: error: ‘order’ is not a member of ‘Foam::meshToMesh’
     HashTable<meshToMesh::order,word> interpolationOrder_;
               ^
repositories/MeshesRepository.H:75:15: error: ‘order’ is not a member of ‘Foam::meshToMesh’
repositories/MeshesRepository.H:75:37: error: template argument 1 is invalid
     HashTable<meshToMesh::order,word> interpolationOrder_;
                                     ^
repositories/MeshesRepository.H:143:21: error: ‘Foam::meshToMesh::order’ has not been declared
         meshToMesh::order val
                     ^
repositories/MeshesRepository.H:147:5: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type
     meshToMesh::order getInterpolationOrder(
     ^
repositories/MeshesRepository.C: In member function ‘Foam::meshToMesh& Foam::MeshesRepository::getMeshToMesh(const Foam::word&, const Foam::fvMesh&)’:
repositories/MeshesRepository.C:239:14: error: no matching function for call to ‘Foam::meshToMesh::meshToMesh(Foam::fvMesh&, const Foam::fvMesh&)’
              )
              ^
repositories/MeshesRepository.C:239:14: note: candidates are:
In file included from repositories/MeshesRepository.H:52:0,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:242:5: note: Foam::meshToMesh::meshToMesh(const Foam::polyMesh&, const Foam::polyMesh&, const Foam::meshToMesh::interpolationMethod&, const Foam::HashTable<Foam::word>&, const wordList&)
     meshToMesh
     ^
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:242:5: note:   candidate expects 5 arguments, 2 provided
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:232:5: note: Foam::meshToMesh::meshToMesh(const Foam::polyMesh&, const Foam::polyMesh&, const Foam::meshToMesh::interpolationMethod&, bool)
     meshToMesh
     ^
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:232:5: note:   candidate expects 4 arguments, 2 provided
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:219:9: note: Foam::meshToMesh::meshToMesh(const Foam::meshToMesh&)
         meshToMesh(const meshToMesh&);
         ^
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:219:9: note:   candidate expects 1 argument, 2 provided
repositories/MeshesRepository.C: In member function ‘Foam::scalar Foam::MeshesRepository::setTime(const Foam::word&, Foam::scalar, Foam::label)’:
repositories/MeshesRepository.C:299:59: error: no matching function for call to ‘Foam::HashTable<const Foam::regIOobject*>::HashTable(Foam::HashTable<Foam::regIOobject*>)’
         regIOTable content(mesh.lookupClass<regIOobject>());
                                                           ^
repositories/MeshesRepository.C:299:59: note: candidates are:
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555:0,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38,
                 from repositories/MeshesRepository.H:50,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:79:1: note: Foam::HashTable<T, Key, Hash>::HashTable(const Foam::Xfer<Foam::HashTable<T, Key, Hash> >&) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash]
 Foam::HashTable<T, Key, Hash>::HashTable
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:79:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘const Foam::Xfer<Foam::HashTable<const Foam::regIOobject*> >&’
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:55:1: note: Foam::HashTable<T, Key, Hash>::HashTable(const Foam::HashTable<T, Key, Hash>&) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash]
 Foam::HashTable<T, Key, Hash>::HashTable(const HashTable<T, Key, Hash>& ht)
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:55:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘const Foam::HashTable<const Foam::regIOobject*>&’
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:612:0,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38,
                 from repositories/MeshesRepository.H:50,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTableIO.C:33:1: note: Foam::HashTable<T, Key, Hash>::HashTable(Foam::Istream&, Foam::label) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash; Foam::label = int]
 Foam::HashTable<T, Key, Hash>::HashTable(Istream& is, const label size)
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTableIO.C:33:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘Foam::Istream&’
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555:0,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38,
                 from repositories/MeshesRepository.H:50,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:35:1: note: Foam::HashTable<T, Key, Hash>::HashTable(Foam::label) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash; Foam::label = int]
 Foam::HashTable<T, Key, Hash>::HashTable(const label size)
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:35:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘Foam::label {aka int}’
repositories/MeshesRepository.C: At global scope:
repositories/MeshesRepository.C:322:17: error: ‘Foam::meshToMesh::order’ has not been declared
     meshToMesh::order val
                 ^
repositories/MeshesRepository.C: In member function ‘void Foam::MeshesRepository::setInterpolationOrder(const Foam::word&, int)’:
repositories/MeshesRepository.C:325:25: error: request for member ‘set’ in ‘((Foam::MeshesRepository*)this)->Foam::MeshesRepository::interpolationOrder_’, which is of non-class type ‘int’
     interpolationOrder_.set(name,val);
                         ^
repositories/MeshesRepository.C: At global scope:
repositories/MeshesRepository.C:328:1: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type
 meshToMesh::order MeshesRepository::getInterpolationOrder(
 ^
make: *** [Make/linux64GccDPOpt/MeshesRepository.o] Error 1
Parser library did not compile OK. No sense continuing as everything else depends on it
Requirements for Library not satisfied. I see no sense in going on
I will be so thankful if you can help me
Best wishes

P.S: Uncommenting #define FOAM_LOOKUPCLASS_NO_CONST didn't work.
__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   February 21, 2014, 05:37
Default
  #89
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Mojtaba.a View Post
Hi,
I have some problems downloading the new version of swak, 0.3. Whenever I use
I get the following error:

Therefore I tried compiling the old version of swak (0.2.3) on OF 2.3, but I am facing some errors and compilation stops.
Code:
In file included from repositories/MeshesRepository.H:54:0,
                 from repositories/MeshesRepository.C:37:
lnInclude/MeshInterpolationOrder.H:67:13: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type
     typedef meshToMesh::order value;
             ^
lnInclude/MeshInterpolationOrder.H:70:28: error: ‘value’ was not declared in this scope
     static const NamedEnum<value, 3> names;
                            ^
lnInclude/MeshInterpolationOrder.H:70:36: error: template argument 1 is invalid
     static const NamedEnum<value, 3> names;
                                    ^
In file included from repositories/MeshesRepository.C:37:0:
repositories/MeshesRepository.H:75:15: error: ‘order’ is not a member of ‘Foam::meshToMesh’
     HashTable<meshToMesh::order,word> interpolationOrder_;
               ^
repositories/MeshesRepository.H:75:15: error: ‘order’ is not a member of ‘Foam::meshToMesh’
repositories/MeshesRepository.H:75:37: error: template argument 1 is invalid
     HashTable<meshToMesh::order,word> interpolationOrder_;
                                     ^
repositories/MeshesRepository.H:143:21: error: ‘Foam::meshToMesh::order’ has not been declared
         meshToMesh::order val
                     ^
repositories/MeshesRepository.H:147:5: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type
     meshToMesh::order getInterpolationOrder(
     ^
repositories/MeshesRepository.C: In member function ‘Foam::meshToMesh& Foam::MeshesRepository::getMeshToMesh(const Foam::word&, const Foam::fvMesh&)’:
repositories/MeshesRepository.C:239:14: error: no matching function for call to ‘Foam::meshToMesh::meshToMesh(Foam::fvMesh&, const Foam::fvMesh&)’
              )
              ^
repositories/MeshesRepository.C:239:14: note: candidates are:
In file included from repositories/MeshesRepository.H:52:0,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:242:5: note: Foam::meshToMesh::meshToMesh(const Foam::polyMesh&, const Foam::polyMesh&, const Foam::meshToMesh::interpolationMethod&, const Foam::HashTable<Foam::word>&, const wordList&)
     meshToMesh
     ^
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:242:5: note:   candidate expects 5 arguments, 2 provided
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:232:5: note: Foam::meshToMesh::meshToMesh(const Foam::polyMesh&, const Foam::polyMesh&, const Foam::meshToMesh::interpolationMethod&, bool)
     meshToMesh
     ^
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:232:5: note:   candidate expects 4 arguments, 2 provided
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:219:9: note: Foam::meshToMesh::meshToMesh(const Foam::meshToMesh&)
         meshToMesh(const meshToMesh&);
         ^
/opt/openfoam230/src/sampling/lnInclude/meshToMesh.H:219:9: note:   candidate expects 1 argument, 2 provided
repositories/MeshesRepository.C: In member function ‘Foam::scalar Foam::MeshesRepository::setTime(const Foam::word&, Foam::scalar, Foam::label)’:
repositories/MeshesRepository.C:299:59: error: no matching function for call to ‘Foam::HashTable<const Foam::regIOobject*>::HashTable(Foam::HashTable<Foam::regIOobject*>)’
         regIOTable content(mesh.lookupClass<regIOobject>());
                                                           ^
repositories/MeshesRepository.C:299:59: note: candidates are:
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555:0,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38,
                 from repositories/MeshesRepository.H:50,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:79:1: note: Foam::HashTable<T, Key, Hash>::HashTable(const Foam::Xfer<Foam::HashTable<T, Key, Hash> >&) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash]
 Foam::HashTable<T, Key, Hash>::HashTable
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:79:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘const Foam::Xfer<Foam::HashTable<const Foam::regIOobject*> >&’
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:55:1: note: Foam::HashTable<T, Key, Hash>::HashTable(const Foam::HashTable<T, Key, Hash>&) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash]
 Foam::HashTable<T, Key, Hash>::HashTable(const HashTable<T, Key, Hash>& ht)
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:55:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘const Foam::HashTable<const Foam::regIOobject*>&’
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:612:0,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38,
                 from repositories/MeshesRepository.H:50,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTableIO.C:33:1: note: Foam::HashTable<T, Key, Hash>::HashTable(Foam::Istream&, Foam::label) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash; Foam::label = int]
 Foam::HashTable<T, Key, Hash>::HashTable(Istream& is, const label size)
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTableIO.C:33:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘Foam::Istream&’
In file included from /opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.H:555:0,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/HashPtrTable.H:39,
                 from /opt/openfoam230/src/OpenFOAM/lnInclude/PtrMap.H:38,
                 from repositories/MeshesRepository.H:50,
                 from repositories/MeshesRepository.C:37:
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:35:1: note: Foam::HashTable<T, Key, Hash>::HashTable(Foam::label) [with T = const Foam::regIOobject*; Key = Foam::word; Hash = Foam::string::hash; Foam::label = int]
 Foam::HashTable<T, Key, Hash>::HashTable(const label size)
 ^
/opt/openfoam230/src/OpenFOAM/lnInclude/HashTable.C:35:1: note:   no known conversion for argument 1 from ‘Foam::HashTable<Foam::regIOobject*>’ to ‘Foam::label {aka int}’
repositories/MeshesRepository.C: At global scope:
repositories/MeshesRepository.C:322:17: error: ‘Foam::meshToMesh::order’ has not been declared
     meshToMesh::order val
                 ^
repositories/MeshesRepository.C: In member function ‘void Foam::MeshesRepository::setInterpolationOrder(const Foam::word&, int)’:
repositories/MeshesRepository.C:325:25: error: request for member ‘set’ in ‘((Foam::MeshesRepository*)this)->Foam::MeshesRepository::interpolationOrder_’, which is of non-class type ‘int’
     interpolationOrder_.set(name,val);
                         ^
repositories/MeshesRepository.C: At global scope:
repositories/MeshesRepository.C:328:1: error: ‘order’ in ‘class Foam::meshToMesh’ does not name a type
 meshToMesh::order MeshesRepository::getInterpolationOrder(
 ^
make: *** [Make/linux64GccDPOpt/MeshesRepository.o] Error 1
Parser library did not compile OK. No sense continuing as everything else depends on it
Requirements for Library not satisfied. I see no sense in going on
I will be so thankful if you can help me
Best wishes

P.S: Uncommenting #define FOAM_LOOKUPCLASS_NO_CONST didn't work.
The SVN works for me. If the problem persists I suspect a firewall that blocks unknown protocols on your side. Talk to the admin of your company/university/government whether anything can be done about this. Otherwise go to the SourceForge-site surf to relevant directory in the SVN. There is a link to download a tarball (don't attempt to download the whole SVN as a tarball!)

Concerning the compilation error: you don't say which OF-version you use. Probably one that is too new for the old swak-version
__________________
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   February 21, 2014, 10:29
Default
  #90
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 233
Rep Power: 7
Mojtaba.a is on a distinguished road
Send a message via Yahoo to Mojtaba.a
Quote:
Originally Posted by gschaider View Post
The SVN works for me. If the problem persists I suspect a firewall that blocks unknown protocols on your side. Talk to the admin of your company/university/government whether anything can be done about this. Otherwise go to the SourceForge-site surf to relevant directory in the SVN. There is a link to download a tarball (don't attempt to download the whole SVN as a tarball!)

Concerning the compilation error: you don't say which OF-version you use. Probably one that is too new for the old swak-version
Dear Gschaider,

Unfortunately there is no link to download the tarball for that specific folder. There is a link named download snapshop which downloads the whole SVN.
Well, I use the latest version of OpenFOAM, which is 2.3.
Is it possible to upload the mentioned tarball here to download?

With all the best.
__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   February 21, 2014, 17:32
Default
  #91
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,507
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

@Mojtaba:
Quote:
Originally Posted by Mojtaba.a View Post
Well, I use the latest version of OpenFOAM, which is 2.3.
Is it possible to upload the mentioned tarball here to download?
You can (try to) download from one these links:
They are both for an unofficial mirror repository of the swak4Foam, in git format.
The problem might be that these two links use the HTTPS protocol, which you might not be able to access from Iran. If they don't work for you, let us know.


In the mean time, the following command should work without any problems:
Code:
svn checkout http://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam_2.x
This is because instead of using the "svn://" protocol, it uses the "http://" one, therefore it should not have any port related problems.


Oh, by the way, I think swak4Foam 0.3.0 doesn't support yet OpenFOAM 2.3.0. This was reported here: http://sourceforge.net/apps/mantisbt...iew.php?id=209

Best regards,
Bruno
wyldckat is online now   Reply With Quote

Old   February 22, 2014, 03:00
Default
  #92
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 233
Rep Power: 7
Mojtaba.a is on a distinguished road
Send a message via Yahoo to Mojtaba.a
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@Mojtaba:

You can (try to) download from one these links:
Dear Bruno thank you for your detailed answer.
Well HTTPS protocols worked just fine, Thanks.
But the second SVN link with HTTP protocol gave the same error.

Thank you for your information about the compatibility issues. I will try using OF 2.2 to continue.

Gschnaider, Thanks to you, too.

With all the best.
Mojtaba.
wyldckat likes this.
__________________
Complex Heat & Flow Simulation Research Group
If you can't explain it simply, you don't understand it well enough. "Richard Feynman"
Mojtaba.a is offline   Reply With Quote

Old   February 22, 2014, 12:07
Default
  #93
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

@Mojtaba:

You can (try to) download from one these links:
They are both for an unofficial mirror repository of the swak4Foam, in git format.
The problem might be that these two links use the HTTPS protocol, which you might not be able to access from Iran. If they don't work for you, let us know.


In the mean time, the following command should work without any problems:
Code:
svn checkout http://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ swak4Foam_2.x
This is because instead of using the "svn://" protocol, it uses the "http://" one, therefore it should not have any port related problems.
Other possibilities to download tarballs are "Download Snapshot" at

http://sourceforge.net/p/openfoam-ex...ies/swak4Foam/

(that is the last release) and

http://sourceforge.net/p/openfoam-ex...rt_2.0.x/tree/

(this is the head of the 2.x-branch)
__________________
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   February 26, 2014, 04:48
Thumbs up swak4foam and openfoam-2.3
  #94
Member
 
Daniel Pielmeier
Join Date: Apr 2012
Posts: 96
Rep Power: 5
billie is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Concerning the compilation error: you don't say which OF-version you use. Probably one that is too new for the old swak-version
Just want to say thank you for quickly adapting swak4foam to openfoam-2.3.x. port_2.0.x compiles and works fine for my use cases here.
billie is offline   Reply With Quote

Old   February 26, 2014, 12:34
Default
  #95
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by billie View Post
Just want to say thank you for quickly adapting swak4foam to openfoam-2.3.x. port_2.0.x compiles and works fine for my use cases here.
Thanks for the feedback. Your cases don't involve the LagrangianParser, simpleSearchableSurfaces or meshToMesh-interpolation I suppose? These are the regions which still need testing because they changed most
__________________
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   February 26, 2014, 13:09
Default
  #96
Member
 
Daniel Pielmeier
Join Date: Apr 2012
Posts: 96
Rep Power: 5
billie is on a distinguished road
Quote:
Originally Posted by gschaider View Post
Thanks for the feedback. Your cases don't involve the LagrangianParser, simpleSearchableSurfaces or meshToMesh-interpolation I suppose? These are the regions which still need testing because they changed most
You are right I just did some quick tests which involved the use of libsimpleSwakFunctionObjects and libgroovyBC.
billie is offline   Reply With Quote

Old   February 27, 2014, 05:29
Default
  #97
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7
Aurelien Thinat is on a distinguished road
Hi Billie,

Can I ask you where you downloaded the version of swak ?

I tried this one :
Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam
but it doesn't compile ("missing file *.H" error style).

EDIT :

Ok for the record :
Code:
cd openfoam-extend-swak4Foam
hg update port_2.0.x
./Allwmake
There still are errors at the beginning, but then it compiles.
Aurelien Thinat is offline   Reply With Quote

Old   February 27, 2014, 05:45
Default
  #98
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Aurelien Thinat View Post
Hi Billie,

Can I ask you where you downloaded the version of swak ?

I tried this one :
Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam openfoam-extend-swak4Foam
but it doesn't compile ("missing file *.H" error style).

EDIT :

Ok for the record :
Code:
cd openfoam-extend-swak4Foam
hg update port_2.0.x
./Allwmake
There still are errors at the beginning, but then it compiles.
The actual "error messages" would be helpful but I guess I know what it is: to support multiple OF-versions swak relies on #ifdefs and wmkdeps doesn't like that. Nothing I can do about 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   February 27, 2014, 06:23
Default
  #99
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7
Aurelien Thinat is on a distinguished road
Well I'm not sure if it's really errors or just standard outputs since it does compile at the end (everything "up to date at the second launch of Allwmake).
The errors are all like :
Code:
Making dependency list for source file swakExplicitSources.C
could no open file directMappedFvPatch.H for source file swakExplicitSources.C due to No such file or directory
(...)
Aurelien Thinat is offline   Reply With Quote

Old   February 27, 2014, 13:09
Default
  #100
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Aurelien Thinat View Post
Well I'm not sure if it's really errors or just standard outputs since it does compile at the end (everything "up to date at the second launch of Allwmake).
The errors are all like :
Code:
Making dependency list for source file swakExplicitSources.C
could no open file directMappedFvPatch.H for source file swakExplicitSources.C due to No such file or directory
(...)
Yep. That is what I'm talking about. This is a header that was renamed in newer versions and now and the utility that generates the dep-files does not find it. This is not a problem for the actual compilation
__________________
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

Reply

Tags
compile error, swak4foam

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 82 July 18, 2015 17:16
groovyBC and funkySetFields married and got a kid named swak4Foam gschaider OpenFOAM 164 January 13, 2015 03:52
Installing swak4Foam to OpenFOAM in mac Kaquesang OpenFOAM Installation on Windows, Mac and other Unsupported Platforms 22 January 21, 2013 12:51
About installation of swak4Foam mmkr825 OpenFOAM Programming & Development 10 December 14, 2012 02:24
swak4Foam for calculating velocity transformations santoshgoku OpenFOAM 4 June 20, 2012 05:39


All times are GMT -4. The time now is 15:32.