Thanks for your reply
Sorry gschaider, I cant understand ( Install them via the package manager of your distro) please be little brief. I am newbie |
Quote:
|
Good Day gschaider,
I install openFoam 2.1 in ubuntu 11.01 in that i try to install swak4Foam, i got error like this, I follow these steps Step 1: [ svn checkout svn://svn.code.sf.net/p/openfoam-extend/svn/trunk/Breeder_2.0/libraries/swak4Foam/ ], copy & paste in terminal window step 2: [ hg clone http://hg.code.sf.net/p/openfoam-extend/swak4Foam ] copy & paste in terminal window upto this step it works step 3: [ hg update port_2.0.x ] copy & paste in terminal, I got error like this, toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/swak4Foam$ hg update port_2.0.x abort: no repository found in '/home/toshiba/OpenFOAM/toshiba-2.1.0/swak4Foam' (.hg not found)! kindly let me know the step 3 is necessary? just I tried. step4: ./Allwmake --->copy & paste in terminal window, I got error like, toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/swak4Foam$ ./Allwmake No 'swakConfiguration'. Python etc won't work Checking swak4Foam-version and generating file abort: no repository found in '/home/toshiba/OpenFOAM/toshiba-2.1.0/swak4Foam' (.hg not found)! Swak version is 0.2.4 No 'bison' found. This is absolutely essential for swak4Foam. Can't go on Requirements for Library not satisfied. I see no sense in going on toshiba@ubuntu:~/OpenFOAM/toshiba-2.1.0/swak4Foam$ Kindly help me, then next step what i have to do? |
Quote:
Something like Code:
sudo apt-get install bison |
Thanks for your response gschaider
I install bison, but it won't work, anyhow I try my best |
Quote:
|
Good Day gschaider,
swak4Foam, right now it works( ubuntu 11.01 with OF 2.1) I follow these commands (A) Install flex from terminal: sudo apt-get install flex (B) Install bison from terminal: sudo apt-get install bison (C) If you dont have gcc installed, you can get it using sudo apt-get install gcc |
Hi Bruno,
I am also trying to install funkySetFields on my server. I found your post but stuck on the 1st step. Specifically, it showed 'svn: command not found' when I input svn checkout https://openfoam-extend.svn.sourcefo...ies/swak4Foam/ Since I am not superuser of the server, 'yum install svn' doesn't work for my case. Do you have any idea on solving this problem?:confused: Thank you! Yijiu Quote:
|
Quote:
|
Thank you Bruno! I have already downloaded the pack. I think it should be installed into FOAM_USER_LIBBIN.
What I did is: echo $FOAM_USER_LIBBIN it gave me: /home/myname/OpenFOAM/myname-2.2.0/platforms/linux64Gcc45DPOpt/lib but, there was no such directory before. Then, I created it. My question is that, is this the right path? or I have to put it into /home/myname/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64Gcc45DPOpt/lib ? What's the difference? It makes me a little bit confused... Yijiu |
Hi Yijiu,
Looks like you've never built source code in OpenFOAM. My advice is that you follow this tutorial to get to know how to build custom source code for OpenFOAM: http://openfoamwiki.net/index.php/Ho...ure_to_icoFoam Regarding swak4Foam, run these commands: Code:
mkdir -p $FOAM_RUN And then rename the folder that was created when you unpacked the swak4Foam package, to the simpler folder name "swak4Foam". And finally, follow the instructions given here: http://openfoamwiki.net/index.php/Co...4Foam#Building Best regards, Bruno |
I made it as your advice. Thank you Bruno!
|
Hello to everyone,
I would like to ask you a question about the installation of swak4foam. First of all, i wrote this command to the terminal : "sudo apt-get install build-essential bison flex subversion git mercurial wget", then i download the files of swak4foam and i put them into the home directory. After that, i was into the file swak4foam with :"cd swak4foam" and then i wrote the above commands: "./Allwmake > make.log 2>&1".Finally i wrote again "./Allwmake" to see if everythink is ok and i had this message;what do you think?what is the problem? Thank you Code:
Previously compiled for OpenFOAM 2.2.2 |
Greetings Tasos,
Quick answer, please read this page: http://openfoamwiki.net/index.php/In...Error_Messages If after reading that page you are still unable to figure out if the output you got is OK or not, please state what specific lines you are concerned about. Best regards, Bruno |
Mr Bruno ,
First of i would like to thank you for your quick response.I read the page you told and helped me a lot, but as a very new user i am not sure about some lines. "SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Most people are fine without it" "If you have your own function-plugins you can specify them using the SWAK_USER_PLUGINS environment variable and they would be compiled now. If you don't know what this means: don't bother. You propably don't need it" "SWAK_PYTHON_INCLUDE not defined .... no Python-Integration. Utility funkyPythonPostproc not compiled" "If you want to use swakCoded-function object or compile software based on swak set the environment variable SWAK4FOAM_SRC to /home/tasos/OpenFOAM/tasos-2.2.2/swak4Foam/Libraries (most people will be fine without setting that variable)" You may find some of them silly but all of these stuff are very new for me. Thanks a lot |
Quote:
I didn't add more information about these lines in the wiki because:
So, to detail each line:
|
Mr Bruno thank you very much, you were very helpful :)
|
Illegal instruction
Dear Bruno and All,
I got an Code:
Illegal instruction It seems to me the compiling process is okay. as see bellow for the second ./Allwmake; Code:
./Allwmake Code:
/*---------------------------------------------------------------------------*\ Code:
icoFoam Code:
libs ( |
Quote:
a) removing "libOpenFOAM.so" (this is only needed for paraFoam) b) ./Allclean and ./Allwmake in swak4Foam The OF 2.2.2-installation: is that a precompiled binary or did you compile it yourself? |
Quote:
Thanks for your kind help. With steps a) and b), the problem persists. The OF2.2.2 was compiled by myself. There were some errors popped-out during installation, which never influences my daily use, but may cause the error to swak4Foam. I will try to re-install OF. Thank you. |
All times are GMT -4. The time now is 12:00. |