I am having trouble trying to compile swak4foam for Openfoam 2.1.1 (please see below). I have Openfoam 2.1.1 running in parallel using openmpi with gcc4.4. Now I need to get swak4foam to compile. Any suggestions?

Code:

60 pershing-login04> ./Allwmake
Reading variables from 'swakConfiguration'
Checking swak4Foam-version and generating file
Swak version is 0.2.4
Bison is version 2.4.1
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 1 Patch 1 (-1 == x)
swak4FoamParsers/foamVersion4swak.H changed
wmakeLnInclude: linking include files to ./lnInclude
make: *** No rule to make target `/usr/cta/unsupported/swak/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude/debugName.H', needed by `plugins/SampledSurfaceValuePluginFunction.dep'. Stop.
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

Last edited by wyldckat; December 25, 2013 at 08:57.
Reason: Added [CODE][/CODE]

./Allwclean corrected the issue!
Now I need to find out how to pass PYTHONINCLUDE to swak build (it cannot find Python.h):

142 pershing-login04> ./Allwmake | tee view.txt
Reading variables from 'swakConfiguration'
Checking swak4Foam-version and generating file
Swak version is 0.2.4
Bison is version 2.4.1
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 1 Patch 1 (-1 == x)
No change to swak4FoamParsers/foamVersion4swak.H
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.
SOURCE=pythonInterpreterWrapper.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/usr/cta/CSE.20130926/Release/python-2.7.5/include -I../swak4FoamParsers/lnInclude -I../simpleFunctionObjects/lnInclude -IlnInclude -I. -I/usr/cta/unsupported/swak/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/usr/cta/unsupported/swak/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/pythonInterpreterWrapper.o
In file included from pythonInterpreterWrapper.C:37:
pythonInterpreterWrapper.H:52:20: error: Python.h: No such file or directory
In file included from pythonInterpreterWrapper.C:37:
pythonInterpreterWrapper.H:79: error: ISO C++ forbids declaration of ‚PyThreadState‚ with no type
pythonInterpreterWrapper.H:79: error: expected ‚;‚ before ‚*‚ token

Never mind. They changed the Python paths on me. I'm now getting this error:

Code:

178 pershing-login04> ./Allwmake | tee view.txt
Reading variables from 'swakConfiguration'
Checking swak4Foam-version and generating file
Swak version is 0.2.4
Bison is version 2.4.1
Flex is version 2.5.35 (Minor version: 35)
OpenFOAM-version: Major 2 Minor 1 Patch 1 (-1 == x)
No change to swak4FoamParsers/foamVersion4swak.H
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswak4FoamParsers.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libgroovyBC.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleLagrangianFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleSearchableSurfaces.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libsimpleSwakFunctionObjects.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakTopoSources.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakSourceFields.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libgroovyStandardBCs.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakPythonIntegration.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakMeshQualityFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakLocalCalculationsFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakRandomFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakFvcSchemesFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakThermoTurbFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakTransportTurbFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakSurfacesAndSetsFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakLagrangianCloudSourcesFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakVelocityFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakChemistryModelFunctionPlugin.so' is up to date.
'/usr/people/ianni/OpenFOAM/ianni-2.1.1/platforms/linux64GccDPOpt/lib/libswakRadiationModelFunctionPlugin.so' is up to date.
Compiling user function-plugin ../Examples/UserPlugins/swakTestFunctionPlugins
wmake error: file 'Make/files' does not exist in /usr/cta/unsupported/swak/OpenFOAM-2.1.1/swak4Foam/Examples/UserPlugins/swakTestFunctionPlugins
Requirements for Library not satisfied. I see no sense in going on

I checked the zip file given to me and those files are NOT there. I think the person who gave me the swak zip file may have inadvertently not included them. I really, REALLY wish you guys would create a gzipped tar file to download instead of utilizing SVN as all SVN ports are blocked.
-James

I noticed that SWAK placed the shared libraries in my home directory. Can I simply copy these to a common area for anyone to link to? I'm assuming there are no hard coded paths inside these shared libraries?
-James

Bruno,
Your git repository also does NOT have the Examples/UserPlugins/* area, the SVN repository is blocked and I cannot create tar images from SourceForce. Any other suggestions where I can get the full swak version for Openfoam 2.x ?
-James

Both pages have the big ZIP button on the right of the page, but the ZIP links are also provided in the list above. Both of those repositories only have the master branch, so there is no confusion with the branches.