CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] Error installing swak4Foam (https://www.cfd-online.com/Forums/openfoam-community-contributions/113239-error-installing-swak4foam.html)

macelee December 11, 2013 17:13

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.

gschaider December 11, 2013 17:40

Quote:

Originally Posted by macelee (Post 466022)
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

immortality January 5, 2014 17:32

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?

wyldckat January 5, 2014 17:39

Quote:

Originally Posted by immortality (Post 468754)
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: http://www.cfd-online.com/Forums/ope...tml#post468727 post #7 to #10)

immortality January 5, 2014 17:48

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.


wyldckat January 5, 2014 17:56

"bison++" is not used. What is used is "bison".

Installation instructions are available here: http://www.cfd-online.com/Forums/ope...tml#post464095 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.

gschaider January 5, 2014 18:11

Quote:

Originally Posted by immortality (Post 468760)
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 (Post 468760)
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

Mojtaba.a February 21, 2014 02:15

Installing Swak 0.2.3 on OF 2.3
 
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.

gschaider February 21, 2014 04:37

Quote:

Originally Posted by Mojtaba.a (Post 475973)
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

Mojtaba.a February 21, 2014 09:29

Quote:

Originally Posted by gschaider (Post 475993)
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.

wyldckat February 21, 2014 16:32

Greetings to all!

@Mojtaba:
Quote:

Originally Posted by Mojtaba.a (Post 476035)
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

Mojtaba.a February 22, 2014 02:00

Quote:

Originally Posted by wyldckat (Post 476102)
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.

gschaider February 22, 2014 11:07

Quote:

Originally Posted by wyldckat (Post 476102)
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)

billie February 26, 2014 03:48

swak4foam and openfoam-2.3
 
Quote:

Originally Posted by gschaider (Post 475993)
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.

gschaider February 26, 2014 11:34

Quote:

Originally Posted by billie (Post 476849)
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

billie February 26, 2014 12:09

Quote:

Originally Posted by gschaider (Post 476949)
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.

Aurelien Thinat February 27, 2014 04:29

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.

gschaider February 27, 2014 04:45

Quote:

Originally Posted by Aurelien Thinat (Post 477060)
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

Aurelien Thinat February 27, 2014 05:23

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
(...)


gschaider February 27, 2014 12:09

Quote:

Originally Posted by Aurelien Thinat (Post 477075)
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


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