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] Compiling the swak4Foam for OpenFOAM-dev (https://www.cfd-online.com/Forums/openfoam-community-contributions/158163-compiling-swak4foam-openfoam-dev.html)

ehsan_madadi August 17, 2015 11:00

Compiling the swak4Foam for OpenFOAM-dev
 
Dear all,

Hello,

I wanted to use the swak4Foam with the current -dev version of the OpenFOAM, but when I want to compile it, it comes back with this error message:

Code:

./Allwmake
This is a clean install

/home/ehsan/OpenFOAM/ehsan-dev/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
swakConfiguration: line 1: python-config: command not found
swakConfiguration: line 2: python-config: command not found
swakConfiguration: line 13: [: : integer expression expected
Checking swak4Foam-version and generating file
Swak version is 0.3.2
Bison is version 2.7.12-4996
Flex is version 2.5.37 (Minor version: 37)
OpenFOAM-version: Major  Minor dev Patch dev (-1 == x / dev)
No swak4FoamParsers/foamVersion4swak.H. Generated
wmakeLnInclude: linking include files to simpleFunctionObjects/lnInclude
make: *** No rule to make target 'Make/linux64GccDPInt32Opt/SubsetValueExpressionParser.o', needed by 'Make/linux64GccDPInt32Opt/CellSetValueExpressionDriver.o'.  Stop.
wmake error: file 'Make/linux64GccDPInt32Opt/sourceFiles' could not be created in /home/ehsan/OpenFOAM/ehsan-dev/swak4Foam/Libraries/swak4FoamParsers
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
Check the README before you go on to ask. And search: Most likely your problem occured to 5 other people before and has been solved on the MessageBoard

I downloaded it from the main website http://openfoamwiki.net/index.php/Co...am#Downloading, and it compiles and works fine with OpenFOAM-2.4.x, however I could not succeed in making it work for -dev version. I need it to do volume averaging for an internalField. I appreciate in advance for any help and suggestion about this problem or any suggestion for better way to do the volume averaging. :o

I am using OpenSuse 13.2 btw.

Best regards,
Ehsan

wyldckat August 17, 2015 11:59

Quick answer: https://twitter.com/swakPyFoam/statu...42774468964352
Quote:

Development repository of #swak4foam now supports OpenFOAM-dev. Changes for that port happen in branch feature/port_of-dev
Development repository of #swak4foam ==> mercurial repository for swak4Foam.

ehsan_madadi August 17, 2015 13:01

Hi Bruno,

Thank you for your quick and very useful answer. I appreciate for it. I try it and if I faced a problem, I will ask your kind help again. Have a great time. :)

Best regards,
Ehsan


All times are GMT -4. The time now is 19:07.