CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Error installing swak4Foam

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

Like Tree26Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2023, 14:26
Default
  #181
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by JinshiC View Post
Hi all,

I am trying to install swak4foam on OpenFOAM v1812. I have downloaded swak4foam from mercurial and installed the required version of m4 and bison. However when I compiled it I got the following error:

Code:
 funkyPythonPostproc.C:41:10: fatal error: pythonInterpreterWrapper.H: No such file or directory
 #include "pythonInterpreterWrapper.H"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [/vortexfs1/home/jinshichen/OpenFOAM/OpenFOAM-v1812/wmake/rules/General/transform:35: Make/linux64GccDPInt32Opt/funkyPythonPostproc.o] Error 1
wmake funkySetLagrangianField
wmake funkyWarpMesh
wmake makeAxialMesh
wmake writeBoundarySubfields
It seems to tell me that I am missing a python interpreterWrapper file. Does anyone know how to solve it? Thanks a lot!

Best,
Jinshi

Hi Jinshi!


If that is the only error then I'd say you don't have a problem unless you want to play with the Python-integration (very few people do)


It is possible that the compilation of the library failed because there are no development headers for python installed (some systems don't install them as they are not strictly necessary).


I'll adapt the compilation process so that there is no attempt to compiel that utility if the necessary headers are missing


Bernhard
__________________
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 7, 2024, 16:22
Default swak4Foam error installing
  #182
New Member
 
Κάντε μία επιλογή
Join Date: Nov 2022
Posts: 4
Rep Power: 3
othonas20 is on a distinguished road
Hi!
I cannot install swak4Foam. Im using windows 10 and WSL. Here is the log file after wmake.

Code:
Current OpenFOAM version is v2312.
Previously compiled for OpenFOAM (v2312)

/home/othonas/OpenFOAM/othonas-v2312/platforms/linux64GccDPInt32Opt/lib/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Automatic settings from ./swakConfiguration.automatic
Looking for Python 2
Looking for Python 3
Using our own Lua at /home/othonas/OpenFOAM/othonas-v2312/platforms/linux64GccDPInt32Opt/lib/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 202x.yy.0
hg info: fde145032783 (develop) tip
No 'bear' installed
Bison: /home/othonas/OpenFOAM/othonas-v2312/platforms/linux64GccDPInt32Opt/lib/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison at /home/othonas/OpenFOAM/othonas-v2312/platforms/linux64GccDPInt32Opt/lib/swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4)
Flex is version 2.6.4 (Minor version: 4)
No change to swak4FoamParsers/foamVersion4swak.H

Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem
Attached Files
File Type: txt log.wmake.txt (32.8 KB, 0 views)
othonas20 is offline   Reply With Quote

Old   February 8, 2024, 10:36
Default
  #183
Member
 
Shravan
Join Date: Mar 2017
Posts: 63
Rep Power: 9
Severus is on a distinguished road
Hello,
I am not fully sure of the solution. But since you are using a recent release, you can try using the following command:

HTML Code:
hg update develop
Reference: https://openfoamwiki.net/index.php/Contrib/swak4Foam

Thanks
Severus is offline   Reply With Quote

Reply

Tags
compile error, swak4foam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
InterDyMFoam+simpleFunctionObject Elham OpenFOAM Running, Solving & CFD 5 July 10, 2017 11:59
[swak4Foam] and twoPhaseEulerFoam mnikku OpenFOAM Community Contributions 1 February 19, 2016 05:21
source term in near wall cell rajcfd OpenFOAM Pre-Processing 5 February 1, 2016 10:31
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Community Contributions 2 January 5, 2014 17:33
[swak4Foam] fails in parallel with -otherTime? Phicau OpenFOAM Community Contributions 3 June 26, 2013 13:00


All times are GMT -4. The time now is 10:36.