|
[Sponsors] |
April 8, 2009, 05:18 |
Installing OpenFOAM 1.5 on OpenSUSE 11.1
|
#1 |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
Hello everybody, I'm going directly to explain you my doubts.
I'm a newbie both in Linux and in OpenFOAM and I am having some troubles in trying to install this software on my new OS. I tried to follow the instructions pointed in albertopassalacqua's blog and in openFOAM's README file. Despite this, I don't understand how to manage the bash and bashrc configuration. Moreover, I would like to ask you: I didn't put the OpenFOAM files in Home folder, but in the administrator inner one. Can this be a source of problems? |
|
April 8, 2009, 06:33 |
|
#2 |
Senior Member
|
Hi,
You need to edit your ~/.bashrc file and add the following at the bottom: . <path_to_your_OpenFOAM_directory>/OpenFOAM-1.5/etc/bashrc Replace <path_to_your_OpenFOAM_directory> with your path. Save the file, close the terminal, and open a new one. Run the following command: foamInstallationTest and post here the output, if errors do exist. Regards, Jose Santos |
|
April 8, 2009, 13:26 |
|
#3 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
The exact line to add to your
~/.bashrc file is: . $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc if you are using OpenFOAM 1.5.x from git. Regards, A.
__________________
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 11, 2009, 18:46 |
|
#4 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
When I execute foamInstallationTest, I obtain this error:
Quote:
|
||
April 11, 2009, 21:40 |
|
#5 | |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Quote:
For a centralized installation see here, but it is quite useless if the machine is not shared with others: https://www.mfix.org/mwiki/index.php...l_Installation Best regards,
__________________
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 12, 2009, 04:24 |
|
#6 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
I tried to follow every single instruction, but I still get in trouble. Now, I continue to receive the preceding by foamInstallationTest and when I "update the environment variables", I obtain this message:
Quote:
|
||
April 12, 2009, 13:53 |
|
#7 |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
I've read in the forum that this problem could be solved removing the # comment sign from the bashrc file. On the contrary, this line has been always uncommented, so I can't really understand where can be the problem with the installation.
Just to be clear in the passages I followed:
|
|
April 13, 2009, 00:37 |
|
#8 |
New Member
gac
Join Date: Mar 2009
Location: Pennsylvania, USA
Posts: 2
Rep Power: 0 |
Install OpenFOAM as a user not root.
The installation instructions assume the install files are decompressed from an OpenFOAM directory in the user's home directory, i.e., /home/yourusername/OpenFOAMnot /home or /root. yourusername is your user name. After decompressing, you should find directories /home/yourusername/OpenFOAM/OpenFOAM-1.5Also, manually create a directory /home/yourusername/OpenFOAM/yourusername-1.5Another tip -- to check the setting for an environment variable varname use the command echo $varnameHope this helps. gac |
|
April 13, 2009, 03:08 |
|
#9 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi, this directory should actually be created automatically the first time you source openFOAM bash (or csh) configuration script.
__________________
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 13, 2009, 05:14 |
|
#10 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
Thank you very much gac, you gave me the chance to make a big step forward in the installation procedure. Now, what I get by foamInstallationTest is:
Quote:
Last edited by StructureITA; April 13, 2009 at 06:44. |
||
April 13, 2009, 10:36 |
|
#11 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi,
does icoFoam run on one of its tutorial (cavity, for example)? P.S. You should update to 1.5.x so to get the bugfixes. To do this, use git (see the link you posted to my blog), and recompile OpenFOAM. 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. |
|
April 25, 2009, 14:25 |
|
#12 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
I updated the program to 1.5.x through the git repository, but now I obtain 2 errors instead of 1... I show you the result of foamInstallationTest:
Quote:
|
||
April 25, 2009, 14:49 |
|
#13 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
Moreover, when I try to run the "cavity" tutorial, I obtain these results:
Quote:
Last edited by StructureITA; April 25, 2009 at 15:14. |
||
April 25, 2009, 15:49 |
|
#14 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
This is my last openFoamInstallationTest report:
Quote:
|
||
April 25, 2009, 15:54 |
|
#15 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
If you just downloaded OpenFOAM 1.5.x from the git repository, you still have to compile it, as explained in my blog post: http://albertopassalacqua.com/?p=260
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. |
|
April 25, 2009, 16:57 |
|
#16 |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
Anyway, I dowloaded "Binary pack, double precision" software and I manually copied and pasted the included files within applications, lib and wmake. I don't know if this is the right procedure, but allowed me to repair the critical error relating to icoFoam (so, finally, no critical errors at all!).
Moreover, I had to install cmake libraries (required by Paraview) and then, I passed to the compiling process: well, it has been working from half an hour or more. I hope this is normal... |
|
April 25, 2009, 17:26 |
|
#17 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Hi,
well, if you are willing to follow, I can guide you through it step by step. It seems you are a bit lost. To follow the steps, please, start from scratch, to be safe. From what you said in your last message, you mixed 1.5 and 1.5.x files. The easy way to have a working and updated installation is the following:
git clone git://repo.or.cz/OpenFOAM-1.5.x.git
MESSAGE(SEND_ERROR “Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).”)
. $HOME/OpenFOAM/OpenFOAM-1.5.x/etc/bashrc
Depending on the machine you are using, it might take some time. Let me know if you get it working. 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. |
|
April 25, 2009, 21:50 |
|
#18 | |||
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
I tried to follow as most as I could your instructions, but I still have some troubles. The compilation of ParaView is perfect, without any sort of mistakes in the log. On the contrary, in the installation of the reader, I received a certain amount of errors, that you can see after here:
Quote:
I looked around the forum and it seems to be related to libPstream.so. In fact, I typed this command: Quote:
Quote:
|
||||
April 25, 2009, 22:03 |
|
#19 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
The reader builds. You reported warnings, if I did not miss something.
Could you give more details about the errors you read when you compile OpenFOAM? Are you using a 64 bit distribution? Have you _all_ (binary and source) the third party packages installed? libPstream should be in /home/Sam/OpenFOAM/OpenFOAM-1.5.x/lib/linux64GccDPOpt/openmpi-1.2.6/libPstream.so if you have a 64 bit system, and something like that for a 32 bit version (linux instead than linux64 in the path). 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. |
|
April 25, 2009, 22:15 |
|
#20 | |
New Member
Samuele
Join Date: Apr 2009
Posts: 21
Rep Power: 17 |
I get a collection of errors like this one:
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
My experiences about Installing OpenFOAM on OPENSUSE103 32bit | coompressor | OpenFOAM Installation | 9 | February 19, 2010 00:00 |
OpenFOAM 15 with ParaView 340 on OpenSuSE 110 | zairja | OpenFOAM Installation | 7 | February 10, 2009 09:31 |
Fonts not displaying properly under openSuse 11.1 | F.P. | FLUENT | 0 | January 8, 2009 09:44 |
OpenFOAM Version 1.5 Released | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | July 14, 2008 19:22 |
Adventure of fisrst openfoam installation on Ubuntu 710 | jussi | OpenFOAM Installation | 0 | April 24, 2008 15:25 |