how does install swak4foam with OpenFOAM 3.0?
Hi
I wanna install swak4foam on openfoam 3 but It doesn't. when I try to install, I saw an error massage " the swak4foam doesn't install with bison 3 and upper'. can anyone help me for solving that problem? thanks, :) |
Hi,
I had the same problems- solution is found in openfoamwiki: "Note bison>=3.x is not compatible. Therefore, after you download the file from the link above and unpacked it, then go into the command line and run ./maintainanceScripts/compileRequirements.sh ./Allwmake " source: https://openfoamwiki.net/index.php/Contrib/swak4Foam Hope that will help you :) |
Quote:
Thanks I do that but have problem again. I don't know what to do. do you install swak4foam on openfoam 3??? |
No, i did it on OpenFoam 2.4- thought it would work on OF3.0 too :/
|
Quote:
excuse, do you install openfoam 2.4 and swak4foam on ubuntu 14.04 LTS? |
Yes, OF 240 and ubuntu 14.04
|
Quick note on how to install swak4Foam with OpenFOAM 3.0: you will have to use the latest development version of swak4Foam.
Available installation instructions for swak4Foam:
|
Quote:
Thanks, I have one question. I have a sample openfoam with swakexpression in contoldict. when I use openfoam 2.1, it runs completely but when i use openfoam 2.2, see an error that: --> FOAM FATAL ERROR: Unknown function type swakExpression Valid functions are : 4 ( patchProbes probes sets surfaces ) also I install swak4Foam in of2.1 and of2.2. can you tell me what to do? |
Hi Milad,
Quote:
In addition, what does the following command give you when you have OpenFOAM 2.2 actived? Code:
ls -l $FOAM_USER_LIBBIN Bruno |
Hi Bruno
I followed the instructions on OpenFoamWiki but it seems that something went wrong when I tried funkySetFeilds the terminal replied that there is no such command. versions: Ubuntu 15.10 OpenFoam 3.0.0 and I used 4th swak4Foam link |
Quote:
Code:
gzip < make.log > make.log.gz |
unable to install swak4foam on OF3.0.0
Dear All,
I am using OF3.0.0 on ubuntu 15.10 firstly is there any compatible SWAK4FOAM with this system? then, I downloaded following addressed file and followed the instruction on openfoamwiki to install it: "4 swak4Foam development version for OpenFOAM 2.x/3.x/dev and foam-extend 3.x" is it right choice for my OF version? :confused: using funkySetFeilds command has no result and terminal replies: Code:
funkySetFeilds make.log first lines is like bellow: Code:
Previously compiled for OpenFOAM 3.0.0 |
Quote:
|
Quote:
But the command was typed correct in terminal window Still not being recognized!!! Code:
funkySetFields |
1 Attachment(s)
Quote:
plz find the attached file |
edit 2:
Hi Shahabeddin, What does this command give you? Code:
ld --version Bruno Below is what I had posted originally. ________ Then I ask again: Please run the following command within the folder "swak4Foam": Code:
gzip < make.log > make.log.gz edit: Wow, we posted a few seconds apart. Give me a few minutes to test this with Ubuntu 15.10. |
Hi Bruno
the result is: Code:
ld --version |
Hi Shahabeddin,
I tested yesterday in a clean installation of Ubuntu 15.10 i386, with OpenFOAM 3.0 installed from the Deb package and I was able to build swak4Foam without any problems. My guess is that something happened while swak4Foam was being built and resulted in some files disappearing or becoming incompatible due to some strange reason. I asked about the version for ld, because "gold" variant of ld is notable for triggering the kind of error you got, but from the output you provided it seems that you are using the "bfd" variant of ld. Please try the following steps:
Bruno PS: I will only be able to answer again in ~21h from now. |
2 Attachment(s)
Hi dear Bruno,
Code:
funkySetFields make.log and export.log is attached. and result of those two command is shown below: Code:
ls -l $(which mpicc) Code:
ls -l /etc/alternatives/mpicc |
Hi Shahabeddin,
This is really strange :confused:. There is no clear indication of another OpenFOAM version interfering with your installation. And I'm not able to reproduce the same error message that you are getting. A few more questions:
Best regards, Bruno |
All times are GMT -4. The time now is 21:12. |