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
|