|
[Sponsors] |
April 14, 2010, 17:53 |
OF 1.6 installation on SUSE 11.2
|
#1 |
New Member
Eugen
Join Date: May 2009
Location: Russia, Obninsk
Posts: 10
Rep Power: 17 |
I have got some experience with Installation OF 1.6 on SUSE 11.2 and wat to share it here.
Also I have OF 1.6 Ubuntu 9.10 installation guide here on Russian for now. I hope it will be usefull. Upd http://www.extra.os-cfd.ru/ - now you coul find this guides here. Last edited by jonya; May 4, 2010 at 17:06. |
|
April 15, 2010, 02:02 |
|
#2 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
April 15, 2010, 08:25 |
|
#3 |
New Member
Eugen
Join Date: May 2009
Location: Russia, Obninsk
Posts: 10
Rep Power: 17 |
Hi, alberto!
Sorry for copy without reference to you. I've corrected the file. Sincerely, Eugen Varseev |
|
April 15, 2010, 11:15 |
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
No problem
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 1, 2010, 18:44 |
|
#6 | |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
Quote:
vishal@linux-tle1:~/OpenFOAM/OpenFOAM-1.6.x/bin> ./foamInstallationTest Executing ./foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- FATAL ERROR: OpenFOAM environment not configured. Please refer to the installation section of the README file: <OpenFOAM installation dir>/OpenFOAM-1.6/README to source the OpenFOAM environment. vishal@linux-tle1:~/OpenFOAM/OpenFOAM-1.6.x/bin> why is it happning even if i edited the bashrc file in etc dir please let me know.....
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" |
||
May 1, 2010, 21:59 |
|
#7 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
You should not modify that file if not to change the compiler (if you want to use the system compiler).
Usually the error you get comes out when you didn't source that bashrc file in your system bashrc (~/.bashrc), as explained in the README file. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 2, 2010, 05:11 |
|
#8 | |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
Quote:
you mean to say i need to put following line in my ~/.bashrc file . $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc but, when i try to open bashrc file i get following error vishal@linux-tle1:~/OpenFOAM> ~/.bashrc bash: /home/vishal/.bashrc: Permission denied i know it some ACCESS ISSUE, but i really don't know how could i get it. i guess then it should work. can you please help.
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" Last edited by vishal; May 2, 2010 at 05:28. |
||
May 2, 2010, 08:07 |
|
#9 | |
New Member
Eugen
Join Date: May 2009
Location: Russia, Obninsk
Posts: 10
Rep Power: 17 |
Quote:
Use Sudo command. Like this: Code:
sudo gedit Eugeny |
||
May 2, 2010, 12:14 |
|
#10 |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
Hi,
following is the erroe i am facing and i am using system compiler for compilation. vishal@linux-tle1:~/OpenFOAM/OpenFOAM-1.6.x> sudo kate bashrc root's password: kate: cannot connect to X server what to do now...... ???
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" |
|
May 2, 2010, 13:52 |
|
#11 | ||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Vishal,
Quote:
Quote:
Code:
. ~/.bashrc Code:
source ~/.bashrc Quote:
Quote:
Best regards, Bruno
__________________
|
|||||
May 2, 2010, 18:55 |
|
#12 |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
I tried the same but i am still having following problem.
vishal@linux-tle1:~/OpenFOAM> . $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/etc/bashrc: No such file or directory vishal@linux-tle1:~/OpenFOAM> source ~/.bashrc bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/etc/settings.sh: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/etc/aliases.sh: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/etc/apps/paraview3/bashrc: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/etc/apps/ensight/bashrc: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/vishal/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory vishal@linux-tle1:~/OpenFOAM> What am i really suppose to do when they say following in Installation README file if running bash or ksh (if in doubt type echo $SHELL), source the etc/bashrc file by adding the following line to the end of your $HOME/.bashrc file:
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" |
|
May 2, 2010, 20:01 |
|
#13 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hello Vishal,
This is starting to look very strange indeed... it seems that there is something else missing. OK, let's take a few steps back:
Bruno
__________________
|
|
May 2, 2010, 22:41 |
|
#14 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
I would suggest to get the sources from git repository, after deleting the OpenFOAM-1.6 directory. In this way you get a clean and updated source tree.
It would be better also to read some introductory guide to UNIX and Linux, so to become familiar with the environment. If you use openSUSE, there are introductory guides here: http://www.novell.com/documentation/opensuse112/ No idea about ubuntu, since I don't use it (maybe when they stop forcing wrong practices on users like sudo...) Good luck
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
May 3, 2010, 01:37 |
|
#15 |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
Hi everyone,
Finally i got the software installed the ./foamInstellationTest ran successfully for me. THanks for all your help.
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" |
|
May 3, 2010, 06:05 |
|
#16 |
Member
Vishal Jambhekar
Join Date: Mar 2009
Location: University Stuttgart, Stuttgart Germany
Posts: 90
Blog Entries: 1
Rep Power: 17 |
Hi,
I have just followed the instructions in README and did everything from the begining. This time i have used the OpenFOAM compiler for compilation. The road block i was having was, i did not know how to open ".bashrc" file and thes i was trying very sutpid attempts. finally i tried this : vishal@linux-tle1:~> sudo kate .bashrc (asked for password) kate: cannot connect to X server (This messege i got) again i put vishal@linux-tle1:~> kate .bashrc this worked and i got the file open. after this i set the environmental variables by following commend vishal@linux-tle1:~> . ~/.bashrc and filally compiled the program using vishal@linux-tle1/OpenFOAM:~> ./Allwmake OpenFOAM is working fine for me Thanks for your help.......
__________________
Cheers, Vishal Jambhekar... "Simulate the way ahead......!!!" |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OF 1.6 installation on Ubuntu 7.04 | mstfl | OpenFOAM Installation | 12 | March 29, 2010 01:18 |
OpenSuSE 11.2 installation | phsieh2005 | OpenFOAM Installation | 26 | January 8, 2010 08:31 |
OpenFOAM 1.6 installation in Ubuntu 9.1 | jsm | OpenFOAM Installation | 4 | January 3, 2010 23:53 |
OpenFOAM install on Suse 11.1 and 11.2 | mkt | OpenFOAM Installation | 5 | October 14, 2009 03:20 |
Installation OpenFoam on SuSe 101 | mephisto | OpenFOAM Installation | 1 | November 8, 2006 03:15 |