CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] install in OF 2.1 error (https://www.cfd-online.com/Forums/openfoam-community-contributions/121256-install-2-1-error.html)

psk July 24, 2013 16:14

install in OF 2.1 error
 
Good Day Folks,
I try to install swak4Foam in Openfoam 2.1, 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 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

gschaider July 24, 2013 18:13

Quote:

Originally Posted by psk (Post 441772)
Good Day Folks,
I try to install swak4Foam in Openfoam 2.1, 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 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

If it is your plan to get more answers by posting the same question every two hours in a different thread (http://www.cfd-online.com/Forums/ope...l#post441746):) won't work. Usually this annoys the people who already answered your question and they will stop answering altogether

psk July 25, 2013 01:18

Thanks for suggestion gschaider, finally I did, Now it works fine

I understand the problem, but you are telling , you didn't use Ubuntu, that the reason I start new thread, kindly let know any simple trick, to get more help without making annoying our OF folks.I am new to OF.

And also let me know which one are you using for OF.

gschaider July 25, 2013 06:13

Quote:

Originally Posted by psk (Post 441816)
Thanks for suggestion gschaider, finally I did, Now it works fine

I understand the problem, but you are telling , you didn't use Ubuntu, that the reason I start new thread, kindly let know any simple trick, to get more help without making annoying our OF folks.I am new to OF.

And also let me know which one are you using for OF.

Then you should have updated the question with the new information you've got. Something like "Have Ubuntu. How to install bison?" That way people don't have to start from scratch.

Concerning the installation of bison: http://bit.ly/144S7Pf The second link (http://en.kioskea.net/faq/30635-how-...n-under-ubuntu) looks nice (and there is a number of other links that looks promising)

psk July 25, 2013 12:48

Good Day, Thanks for your reply & information gschaider,

I already did that one, kindly see this link (http://www.cfd-online.com/Forums/ope...tml#post441825 )

Also Kindly let me know, how to convert matlab m file to python? I go through this link:[ http://ompclib.appspot.com/m2py ], while running the converted python script it shows lot of error, I am new to python. If you have any idea share me.


All times are GMT -4. The time now is 18:29.