|
[Sponsors] |
[swak4Foam] Installation issue for Swak4FOAM in OFv1906 Ubuntu 20.04.4 LTS |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 23, 2022, 05:14 |
Installation issue for Swak4FOAM in OFv1906 Ubuntu 20.04.4 LTS
|
#1 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16 |
Hello All,
I am trying to install Swak4FOAM in OF v1906 (Ubuntu 20.04.4 LTS) using the following steps:
Code:
./Allwmake Code:
Current OpenFOAM version is v1906. Previously compiled for OpenFOAM (v1906) /home/xyz/OpenFOAM/xyz-v1906/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' Using our own Lua at /home/xyz/OpenFOAM/xyz-v1906/swak4Foam/privateRequirements Checking swak4Foam-version and generating file Could not get version of the sources Bison: /home/xyz/OpenFOAM/xyz-v1906/swak4Foam/privateRequirements/bin/bison Flex: /usr/bin/flex Bison at /home/xyz/OpenFOAM/xyz-v1906/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 wmake libso swak4FoamParsers g++ -std=c++11 -m64 -DOPENFOAM=1906 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -Wno-unknown-pragmas -O3 -DNoRepository -ftemplate-depth-100 -IMake/linux64GccDPInt32Opt -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/finiteVolume/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/surfMesh/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/sampling/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/fileFormats/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/triSurface/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/dynamicMesh/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/lagrangian/basic/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/surfMesh/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/meshTools/lnInclude -I../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/ -IlnInclude -I. -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/OpenFOAM/lnInclude -I/home/xyz/OpenFOAM/OpenFOAM-v1906/src/OSspecific/POSIX/lnInclude -fPIC -c ../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.C -o Make/linux64GccDPInt32Opt/../filesThatAreOnlyInSomeDistributions/OutputFilerDropin/outputFilterOutputControl.o 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 |
|
May 23, 2022, 05:37 |
|
#2 |
New Member
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 3 |
Hi, did you try to follow the guide:
https://openfoamwiki.net/index.php/I...tion/swak4Foam It was handy for me, and I could install swak in various OpenFOAM versions. Let me know if you solve the problem. |
|
May 23, 2022, 07:03 |
|
#3 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16 |
HelloAlessio,
Thanks for your prompt reply and help. Yes, indeed I used the manual, but it seems like I am using Bison 3.5.1 and in the manual it says that it may not support higher version of Bison (3 or higher). But as been given in the manual, for the newest version of swak4Foam this would be automatically taken into account by Code:
./maintainanceScripts/compileRequirements.sh |
|
May 23, 2022, 08:17 |
|
#4 |
New Member
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 3 |
If you check this site there are listed all the required part that you need to install to go on with the installation
https://openfoamwiki.net/index.php/I...g_dependencies Let me know |
|
May 23, 2022, 08:35 |
|
#5 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16 |
Hi Alessio,
Many thanks for your reply and help. I already tried with looking at these pages and found that the newest version of Swak4Foam should be able to install the pre-requisites automatically using Code:
./maintainanceScripts/compileRequirements.sh Code:
./Allwmake |
|
May 23, 2022, 09:06 |
|
#6 |
New Member
Alessio Piccolo
Join Date: May 2022
Location: Italy
Posts: 9
Rep Power: 3 |
What is written inside the script compileRequirements.sh ?
Also, what version of Bison do you have? To check write in the terminal Code:
bison --version |
|
May 23, 2022, 10:17 |
|
#7 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16 |
Thanks again for your help. Inside that script all the pre-requisites like
Code:
bison |
|
May 24, 2022, 01:43 |
|
#8 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16 |
Hello Again,
May be Python is playing an important role, could you please let me know which Python version you used to install the swak4Foam, by typing the following in terminal: Code:
python -V |
|
May 24, 2022, 08:50 |
|
#9 |
Member
Join Date: Apr 2012
Location: Trivandrum
Posts: 37
Rep Power: 14 |
Hello Chandra,
Did you download the correct tarball? Try to download the sources from the Mercurial repository again. Code:
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam swak4Foam cd swak4Foam hg update develop ./Allwmake -j Last edited by toolpost; May 25, 2022 at 01:25. |
|
May 24, 2022, 09:13 |
|
#10 |
Member
Join Date: Apr 2012
Location: Trivandrum
Posts: 37
Rep Power: 14 |
Also, in the log file
Code:
/usr/bin/env: ‘python’: No such file or directory https://stackoverflow.com/questions/...-as-executable |
|
May 24, 2022, 09:18 |
|
#11 |
Senior Member
chandra shekhar pant
Join Date: Oct 2010
Posts: 220
Rep Power: 16 |
Thanks a lot @toolpost, I will check and post the update. But I was just wondering, since I used the same OF version, same Ubuntu version and same swak4Foam directory but on different computer configuration and it haven't worked, that is what annoyed me.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] icoFoam: Command not found in OpenFOAM 3.0.1 installation on Ubuntu 16.10 | febriyan91 | OpenFOAM Installation | 2 | July 27, 2020 00:23 |
Installation of Ansys 19 on Ubuntu 18.4 | victor pira | ANSYS | 9 | October 3, 2019 10:30 |
[foam-extend.org] foam-extend 3.2 Paraview installation problem on Ubuntu 18.04 | ordinary | OpenFOAM Installation | 3 | September 1, 2018 22:01 |
[OpenFOAM.org] OpenFOAM 3.0.1 installation on Ubuntu 14.04 | Hrushi | OpenFOAM Installation | 6 | July 8, 2017 18:47 |
OF16 install on Ubuntu 12.04 LTS Precise | Ralph M | OpenFOAM Installation | 5 | February 18, 2013 18:21 |