How to install swak4Foam in OF 2.3?
Greetings Everyone
I am trying to download and install swak4Foam for my simulation but i cannot find a swak4Foam.tar.gz file anywhere. Please provide me with a link? Also it would be helpful if you could provide a brief install method of swak4foam, like where to unzip and compile. Should i unzip it in Thirdparty folder? Thannks in advance..:) Sreetej |
swak4Foam for of 2.3 is still in progress, latest version works with ofv222
|
Thanks for the reply.
Oh... So should In install OF 2.2.2 now.. I recently installed OF 2.3 . I am new to OPENFOAM platform, what do I need to do in order to roll back to 2.2.2? Or should I install all over again? |
Quick news: I've updated the "Downloading" section for swak4Foam, on what to do in regards to OpenFOAM 2.3.0: http://openfoamwiki.net/index.php/Co...am#Downloading
|
Greetings Once again..
I followed the link provided in the last reply and downloaded the 6.3.1 unofficial-extend-project-mirror.github.io ---- master.tar.gz. When i unzipped and did ./Allwmake I got this error message.. [sreetej001@hpclogin1 openfoam-extend-Breeder2.0-libraries-swak4Foam-master]$ ./Allwmake This is a clean install No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file Swak version is 0.3.0 Bison is version 3.0 swak4Foam only confirmed to work with Bison 2.x Set the environment variable DEVELOPE_FOR_NEW_BISON if you want to continue anyway. Any help regarding how to set the environment variable? Thanks in advance..:) |
@preacher: I think you downloaded the wrong file. If you want swak4Foam in package format, then you should have downloaded from this link: http://sourceforge.net/p/openfoam-ex..._2.0.x/tarball
Either way, the problem is that Bison 3.0 is not compatible. Therefore, after you download the file from the link above and unpacked it, then go into the command line and run: Code:
maintainanceScripts/compileRequirements.sh |
Greetings wyldckat
Thanks for the help. I downloaded and unzipped openfoam extended file from the link. I also installed bison 2.7 as per your code. After all this and ./Allwmake. I got this error again. [sreetej001@hpclogin1 openfoam-extend-swak4Foam-f537bda3865306a8110e8c7434911f352ce1ffcc]$ ./Allwmake Previously compiled for OpenFOAM 2.3.x /home/sreetej001/OpenFOAM/ThirdParty-2.3.x/openfoam-extend-swak4Foam-f537bda3865306a8110e8c7434911f352ce1ffcc/privateRequirements/bin existing. Prepending to PATH-variable (private version of Bison) No file 'swakConfiguration'. Python etc won't work. See README for details Checking swak4Foam-version and generating file Swak version is 0.3.1 Bison is version 2.3 swak4Foam only confirmed to work with Bison >= 2.4 Compiles with 2.3 but has offset-problems with locations which break the Plugin-functionality Consider running ./maintainanceScripts/compileRequirements.sh for a local bison-installation Set the environment variable USE_OLD_BISON if you want to continue anyway It says bison 2.3, I dont get it. I just installed a bison 2.7.1 and still it says 2.3. I guess there is some problem when I edited the path using gedit ~/.bashrc. Could you help me with the bash file edit? Attached is the bashrc file: # .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions source $HOME/OpenFOAM/OpenFOAM-2.3.x/etc/bashrc PATH=$home/sreetej001/OpenFOAM/ThirdParty-2.3.x/openfoam-extend-swak4Foam-f537bda3865306a8110e8c7434911f352ce1ffcc/privateRequirements/bin/:$HOME/OpenFOAM/ThirdParty-2.3.x/flex/bin/:$HOME/OpenFOAM/ThirdParty-2.3.x/platforms/linux64Gcc/qt-4.7.3/bin:$PATH Thanks in advance for the help...:) |
Quote:
|
Hi
What I mean is the compiler is saying it has only Bison 2.3 version installed but in actual there is a Bison 2.7.1 version installed. I we can see in the quote above it say bison>=2.4. So how do I change the environmental variables?? thanks Sreetej |
Quote:
But since it's not working for you, then have a look into this post: http://www.cfd-online.com/Forums/ope...tml#post477609 post #46 It has complete details on how to install a custom Bison version and making sure it's ready to be used. |
Thanks for your reply...
The problem was in the path specified in the .bashrc file. I got that fixed and now it works fine. Regards Preacher |
Quote:
Is there another way to download this tarball? cheers peter |
Greetings Peter,
This link is both broken and not broken... Then again, now it is completely broken. The problem is that Sourceforge.net needs us to follow the correct steps in order for the tarball to be generated... which was as follows:
In the meantime, I'll see if I can create a git mirror of the swak4Foam Mercurial repository. Best regards, Bruno |
Greetings to all!
I've finally managed to take care of setting up an automated mirror at Github of the Mercurial repository of swak4Foam: https://github.com/Unofficial-Extend...-swak4Foam-dev Instructions on how to use it have been added to the section "OpenFOAM 2.3.0 to 2.3.x" in this wiki page: http://openfoamwiki.net/index.php/In...am/Downloading Best regards, Bruno |
problems installing swak4foam on OF-2.3.0
Hi there,
I've been bashing my head against the brick wall that is openFoam for a week and a half now trying to install swak4foam. I'm on a linux distribution, and I believe (to the best of my ability it is RHEL) and running openFOAM-2.3.0 using 'module load openfoam/2.3.0.intel' and with a PBS queuing system. I'm using this version of swak4foam: Code:
git clone https://github.com/Unofficial-Extend...-swak4Foam-dev swak4Foam Below is my second ./Allwmake log: Code:
Previously compiled for OpenFOAM 2.3.0 Kind regards, Kit |
Greetings Kit,
Mmm... I've seen this issue before. The "module load" feature is a nice thing to have, but the problem is that sometimes it's missing certain environment variables. The situation I can remember is discussed around this post: http://www.cfd-online.com/Forums/ope...tml#post477786 #62 and beyond. Essentially, since it does seem to have been successfully been built in your personal user folder for OpenFOAM applications, then the missing commands to load the necessary paths into memory are these two: Code:
export PATH=$PATH:$FOAM_USER_APPBIN Best regards, Bruno |
Quote:
Gschaider, can you help me with this problem? It's different from this post, but my problem is similar to this posting, see: http://www.cfd-online.com/Forums/ope...n-problem.html thanks gschaider :) |
Hi Bruno,
That worked a treat. Thanks very much, lost so much time over this. Muchly appreciated, regards, Kit |
Hello Sreetej,
It seems you have perfectly solved your problem about installation of swak4foam. Could you please answer the following question? After arriving the wiki page: https://openfoamwiki.net/index.php/I...am/Downloading It firstly ask for:
For example, if I want to run icoFoam with changeable boundary conditions, where I need to install it, inside icoFoam or somewhere else? I spend pretty long time at the very first step. Thanks in advance. Tom |
Greetings Tom,
I've updated the wiki page in question. Back when I wrote it, made perfect sense to me, but I guess that it won't make much sense to someone new to Linux. The updated text is as follows: Quote:
Best regards, Bruno |
All times are GMT -4. The time now is 03:58. |