|
[Sponsors] |
[swak4Foam] Problems with compilation of swak4foam on Debian with OpenFOAM-7 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 1, 2019, 16:11 |
Problems with compilation of swak4foam on Debian with OpenFOAM-7
|
#1 |
New Member
Francesca Mangani
Join Date: Oct 2019
Posts: 7
Rep Power: 6 |
Good evening,
I'm trying to install swak4foam downloading the source codes but I have problems with the compilation. I'm following instructions from https://openfoamwiki.net/index.php/I...tion/swak4Foam When I run the compilation with ./Allwmake > log.make 2>&1 what I obtain in my log file is: Current OpenFOAM version is . Previously compiled for OpenFOAM () Reading variables from 'swakConfiguration' Using python2.7 at /usr/bin/python2.7-config for python2 swakConfiguration: riga 34: pkg-config: comando non trovato Checking swak4Foam-version and generating file Swak version is 0.4.3 hg info: e7c2de483937 (develop) tip ./Allwmake: riga 70: wmake: comando non trovato 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 (I'm installing swak4foam development version because I think that the others won't work in the latest openfoam-7, but I'm not sure) If someone help me in some way I would be very grateful to him! Please ask any information if necessary. Thanks Francesca |
|
October 2, 2019, 07:24 |
|
#2 | |
Member
Piotr Ładyński
Join Date: Apr 2017
Posts: 55
Rep Power: 9 |
Quote:
Check if you have your bulding dependecies satisfied. All libraries with version not older, than required https://openfoamwiki.net/index.php/I...g_dependencies E.g. required version of Bison for development version is not often available in linux repos by default (especialy in outdated debian repos), so you have to download it e.g. from gnu bison project website. |
||
October 2, 2019, 07:55 |
|
#3 | |
New Member
Francesca Mangani
Join Date: Oct 2019
Posts: 7
Rep Power: 6 |
Quote:
Thanks for your reply, I've just solved simply running openfoam before running the ./Allwmake command! However I have some errors maybe due to some wrong directory.... so maybe now the compilation is done but not perfectly complete. (I uploaded the new Log file) Maybe this is due to the fact that I have OpenFoam 7 ? and some directories have changed? |
||
October 22, 2019, 15:39 |
Error : wmake: command not found
|
#4 |
New Member
Ali_Rahnama
Join Date: Jul 2019
Posts: 2
Rep Power: 0 |
Hi everyone!
I'm a newcomer. I installed OF6 and OF7 on Ubuntu 18.04LTS. I've tried many times to install swak4foam. I faced an error like Francesca's first post: Previously compiled for OpenFOAM () Reading variables from 'swakConfiguration' swakConfiguration: line 1: cygpath: command not found swakConfiguration: line 1: cygpath: command not found sed: -e expression #1, char 0: no previous regular expression Checking swak4Foam-version and generating file Swak version is 0.4.2 ./Allwmake: line 63: wmake: command not found Version of bison is 3.4 What should I do? |
|
October 23, 2019, 03:35 |
Installed after lots of attempts
|
#5 |
New Member
Ali_Rahnama
Join Date: Jul 2019
Posts: 2
Rep Power: 0 |
After many times attempts, it has installed.
I don't know what was the matter, but prior to install, I restart Ubuntu and only run the OpenFoam. I installed on OF6. I will try to install on OF7 later. |
|
October 22, 2022, 18:14 |
|
#6 |
Member
|
Hi All,
I am trying to follow the advice out here and am running openfoam 6 from Ubuntu 18_04 Installed bison (GNU Bison) 3.0.4, flex 2.6.4, and mercurial (/snap/bin/mercurial) then: >>hg clonehttp://hg.code.sf.net/p/openfoam-extend/swak4Foam-u develop >>cd swak4Foam >>./maintainanceScripts/compileRequirements.sh >>./Allwmake (or ./AllwmakeAll > log.AllwmakeAll) log.AllwmakeAll portions include: Bison already installed/compiled Bison successfully compiled Lua already installed/compiled Lua successfully compiled Add /home/ltholmes/OpenFOAM/ltholmes-6/swak4Foam/privateRequirements/bin to PATH-variable. The ./Allwmake-script will use this directory automatically Current OpenFOAM version is 6. This is a clean install /home/ltholmes/OpenFOAM/ltholmes-6/swak4Foam/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) Reading variables from 'swakConfiguration' Looking for Python 2 Looking for Python 3 Using our own Lua at /home/ltholmes/OpenFOAM/ltholmes-6/swak4Foam/privateRequirements Checking swak4Foam-version and generating file Swak version is 202x.yy.0 hg info: 481d96f16780 (develop) tip No 'bear' installed Bison: /home/ltholmes/OpenFOAM/ltholmes-6/swak4Foam/privateRequirements/bin/bison Flex: /usr/bin/flex Bison at /home/ltholmes/OpenFOAM/ltholmes-6/swak4Foam/privateRequirements/bin/bison is version 3.4 (Major 3 Minor 4) Flex is version 2.6.4 (Minor version: 4) No swak4FoamParsers/foamVersion4swak.H. Generated << Make/linux64GccDPInt32Opt/repositories/SetsRepository.o /opt/openfoam6/wmake/rules/General/transform:25: recipe for target 'Make/linux64GccDPInt32Opt/repositories/SetsRepository.o' failed Parser library did not compile OK. No sense continuing as everything else depends on it >> Troubleshooting included multiple attempts and several restarting of Ubuntu and running an openfoam6 case. Also >>wmake Utilities/funkySetFields > log.Util_funkySetF >>ls $FOAM_USER_APPBIN" to check if swak4foam is correctly compiled. (no swak4foam listed) >>ls $FOAM_USER_LIBBIN" gives: ls: cannot access '/home/ltholmes/OpenFOAM/ltholmes-6/platforms/linux64GccDPInt32Opt/lib and ls': No such file or directory PS: I installed bear 2.3.11 after posting and re-installed but errors in log remain the same. Would anyone be able to see the error of my installing ways? I'd love to get funkySetFields working. Thank you, LTH Last edited by lth; October 22, 2022 at 20:01. Reason: after original post, I went and installed bear but errrors remain -lth |
|
October 23, 2022, 18:45 |
|
#7 |
Member
|
For anyone who faces this issue, it was answered/solved here: [post #172] -LTH
Error installing swak4Foam |
|
Tags |
installation issue, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Swak4FOAM installation for OpenFOAM v1806 | exx110 | OpenFOAM Community Contributions | 1 | July 5, 2021 20:07 |
[waves2Foam] Problems with the compilation of the third party dependencies | chia87 | OpenFOAM Community Contributions | 7 | May 20, 2017 06:04 |
[foam-extend.org] problems with openFoam extend 3.0 installation | AmirBaqa1987 | OpenFOAM Installation | 1 | December 20, 2016 19:17 |
OpenFOAM Training, London, Chicago, Munich, Houston 2016-2017 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | September 14, 2016 03:19 |
[waves2Foam] Problems in Operating waveDyMFoam in openfoam 2.3.1 | zhxter | OpenFOAM Community Contributions | 2 | May 18, 2015 20:57 |