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

[swak4Foam] Having trouble compiling swak4Foam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2022, 16:29
Default Having trouble compiling swak4Foam
  #1
New Member
 
Join Date: Jul 2021
Posts: 7
Rep Power: 3
Legacy is on a distinguished road
Hello!

I am trying to compile swak4Foam and facing some problems. I couldn't find a way to fix it. here is the output of the make. Any ideas how to fix this? Thanks.


Code:
This script is rather crude. If it doesn't work try the steps by hand. And be sure to run it from the root of the swak-installation (as ./maintainanceScripts/compileRequirements.sh). Otherwise it probably won't work

Bison already installed/compiled
Bison successfully compiled
Lua already installed/compiled
Lua successfully compiled

Add /home/nazari/openfoam/OpenFOAM-v2006/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically

Current OpenFOAM version is v2006.
Previously compiled for OpenFOAM (v2006)

/home/nazari/openfoam/OpenFOAM-v2006/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison)

Reading variables from 'swakConfiguration'
Looking for Python 2
Found Python 2.7
Configuring Python 2.7
Using python2.7 at /usr/bin/python2.7-config for python2
Looking for Python 3
Found Python 3.8
Configuring Python 3.8
Using python3.8 at /usr/local/packages/python/3.8.5-anaconda/bin/python3.8-config for python3
Using our own Lua at /home/nazari/openfoam/OpenFOAM-v2006/swak4Foam/privateRequirements
Checking swak4Foam-version and generating file
Swak version is 2021.05.0
hg info: af74ec7e1714+
Using /home/nazari/tools/bin/bear to build compilation database
Bison: /home/nazari/openfoam/OpenFOAM-v2006/swak4Foam/privateRequirements/bin/bison
Flex: /usr/bin/flex
Bison at /home/nazari/openfoam/OpenFOAM-v2006/swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4)
Flex is version 2.5.37 (Minor version: 37)
OpenFOAM-version: Major 2006 Minor 0 Patch 0 (-1 == x / 0) Fork: com
No change to swak4FoamParsers/foamVersion4swak.H

Please include the output above when reporting a problem in the compilation. It helps diagnosing the problem


wmake libso swak4FoamParsers
/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/options:38: /home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../../../rules/versionOptions: No such file or directory
/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/options:48: /home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../mybison: No such file or directory
/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/options:49: /home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../myflex: No such file or directory
make: *** No rule to make target `/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../myflex'.  Stop.
/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/options:38: /home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../../../rules/versionOptions: No such file or directory
/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/options:48: /home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../mybison: No such file or directory
/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/options:49: /home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../myflex: No such file or directory
make: *** No rule to make target `/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/../myflex'.  Stop.
wmake error: file '/home/nazari/openfoam/OpenFOAM-v2006/build/linux64GccDPInt32Opt/swak4Foam/Libraries/swak4FoamParsers/sourceFiles' could not be created in /home/nazari/openfoam/OpenFOAM-v2006/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 occurred to 5 other people before and has been solved on the MessageBoard
Legacy is offline   Reply With Quote

Reply

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
[swak4Foam] swak4Foam compiling issues for tab.hh dependencies stewaj5 OpenFOAM Community Contributions 1 February 7, 2020 02:29
[swak4Foam] Compiling swak4Foam and sedFoam with OpenFOAM version 5 Akter Uz Zaman OpenFOAM Community Contributions 1 July 28, 2019 06:15
Trouble with compiling UDFs in FLUENT cp703 Fluent UDF and Scheme Programming 28 June 1, 2018 04:22
[OpenFOAM.org] Trouble Compiling OpenFOAM-dev using Intel Compiler 15 for use on Xeon Phi foamer123 OpenFOAM Installation 9 August 20, 2015 15:03
[swak4Foam] compiling swak4foam on an IBM Dataplex running 64-bit RedHat 6.3 jianni OpenFOAM Community Contributions 22 January 5, 2014 17:49


All times are GMT -4. The time now is 06:48.