|
[Sponsors] |
[swak4Foam] Installation Problem with OF 6 version |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 29, 2018, 11:49 |
Installation Problem with OF 6 version
|
#1 |
New Member
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17 |
Dear all,
I've got problems with the installation of swak4Foam for the OpenFoam 6 version. May I get some assistance how to fix it? Attached please find the errors after command './Allwmake' . I'm using: Ubuntu 16.04 OF 6 Swak version 0.4.1 Bison is version 2.7.12 Flex is version 2.6.0 Regards Marc |
|
July 30, 2018, 07:47 |
|
#2 |
Member
Jeff
Join Date: May 2016
Posts: 44
Rep Power: 10 |
Hi
According to https://twitter.com/swakpyfoam?lang=en posted on July 15: your swak version (0.4.1) is too old to compile with OF6. You should use the development version (0.4.2 as of now) instead JF |
|
July 30, 2018, 09:46 |
|
#3 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 |
You can download and install the new swak4foam version compatible with openfoam-6 with the following command lines :
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop cd swak4Foam ./maintainanceScripts/compileRequirements.sh ./Allwmake |
|
July 30, 2018, 16:29 |
|
#4 |
New Member
Join Date: Oct 2009
Location: Germany
Posts: 20
Rep Power: 17 |
Now swak4Foam it's working.
Thank you very much for your support!!! Marc |
|
November 29, 2018, 11:08 |
|
#5 | |
New Member
Arthur
Join Date: Oct 2018
Location: Glasgow
Posts: 20
Rep Power: 8 |
Hi,
I am having problems installing swak4FOAM for openFOAM 6. I am using version 0.4.2 of Swak. The maintenanceScripts folder is compiling correctly, however swak isnät compiling properly and I have the following errors. Quote:
This continues on for much longer than this, I've just taken a portion of what I get. A fresh download and compile has been tried, with the same errors occurring every time. Could anyone shed any light on this? Thank you Arthur |
||
November 29, 2018, 11:44 |
|
#6 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 |
Do you have DL swak4foam with the '-u develop' option?
hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam -u develop |
|
November 29, 2018, 12:10 |
|
#7 | |
New Member
Arthur
Join Date: Oct 2018
Location: Glasgow
Posts: 20
Rep Power: 8 |
Quote:
Hi, yes, that is the version I was using that got the errors. Arthur |
||
November 29, 2018, 12:50 |
|
#8 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 |
There is no error in your log. There is only warning...
The "could not open.... " lines are not a problem |
|
November 30, 2018, 08:22 |
|
#9 |
New Member
Arthur
Join Date: Oct 2018
Location: Glasgow
Posts: 20
Rep Power: 8 |
Hi,
Once I let it finish the compiling and I run a file using swak libraries, it tells me that it cannot access swak libraries "...swak...blahblah.so". This is surely to do with those messages saying it cannot open files no? Thank you for your quick reply! Arthur |
|
November 30, 2018, 11:20 |
|
#10 |
Member
Cyrille Bonamy
Join Date: Mar 2015
Location: Grenoble, France
Posts: 86
Rep Power: 11 |
i think not... I have the same messages and i have no problems.
Can you send the log output of the compilation? Perhaps a problem with your $FOAM_USER_LIBBIN $FOAM_USER_APPBIN? try "ls $FOAM_USER_LIBBIN" and "ls $FOAM_USER_APPBIN" to check if swak4foam is correctly compiled. |
|
November 7, 2020, 20:05 |
swak4Foam installation error
|
#11 |
New Member
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6 |
Hello Everyone,
I have been trying to create a ono-rectangular alpha.water field fow which I am trying to install swak4Foam. But I guess there is some problem in its installation. I have attached the log.make file with this. It will be really helpful if you could take a look at it. Thank you |
|
November 8, 2020, 10:39 |
|
#12 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Can also use setExprField instead of swak funky fields if you have access to OpenFOAM-v1912 or v2006
|
|
November 8, 2020, 19:35 |
|
#13 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
The good news is that all the libraries are already compiled (so groovyBC and all functionObjects are already usable) but some utilities (basically those that are alphabetically after funkySetAreaFields). The simplest thing to do is to compile them like this: Code:
wmake Utilities/funkySetFields The problem is already fixed for the next release
__________________
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 |
||
November 17, 2020, 16:35 |
setExprField: command not found
|
#14 | |
New Member
A P
Join Date: Feb 2020
Location: Indiana, USA
Posts: 10
Rep Power: 6 |
Quote:
I have been trying to the same thing but unfortunately I can't find it. An error appears, 'command not found'. I am using blueCFD 5.X on windows as well as openfoam7 on ubuntu wsl. I checked into the src/ulitiles folder as well, I couldn't find the file there. Any help or suggestion would be much appreciated as I have been trying over it for quite good time. |
||
November 18, 2020, 17:18 |
|
#15 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
openfoam7 (from openfoam.org) will not have this capability, you need openfoam1912 or openfoam2006 (openfoam.com). There is a mingw cross-compiled version for windows (I don't have a link for you, but should be possible to find). Or the ubuntu packages: https://develop.openfoam.com/Develop...ompiled/debian |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
installation Problem - Linux distribution (Not a meshing problem) | v_herw | Pointwise & Gridgen | 2 | June 20, 2016 15:47 |
[foam-extend.org] A smooth installation of foam-3.0-extend on OpenSUSE 13.1 64-bits | cookcaptain | OpenFOAM Installation | 7 | May 26, 2015 12:22 |
engrid 1.4 installation problem in openSUSE 12.3 and 13.1 | taxalian | enGrid | 4 | March 4, 2014 14:36 |
[OpenFOAM] Problem with paraFoam on a linux-64 bit | bunni | ParaView | 4 | April 14, 2010 21:55 |
OF Installation Problem - Gcc Error | Daniel Pilatti | OpenFOAM Installation | 11 | April 19, 2009 23:07 |