CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OpenFOAM15 on Ubuntu810 (https://www.cfd-online.com/Forums/openfoam-installation/57253-openfoam15-ubuntu810.html)

kumar December 23, 2008 05:49

Hello, This is the rig
 
Hello,
This is the right link i was talking about. Use the second script as it is updated one. I used the same script to install OF-1.5 on 8.10 Ubuntu. So it should work for you as well well. But the installation will take long time, so i suggest you to wait till it asks for restarting the system.

Note: before running the script make sure to install sudo and apt from the synaptics package manager.

bye
K.Suresh kumar

maruthamuthu_venkatraman December 23, 2008 06:40

Hello Suresh, Thanks for you
 
Hello Suresh,
Thanks for your feedback. Actually i dont know about this sudo and apt . If you can send me the link where shall i find this packages in web and in which directory should i install it will help me.

Also to run the script, should i run in terminal by typing " bash <file> " from the home directory. pls clarify.

kumar December 23, 2008 08:21

Hello, I will explain
 
Hello,
I will explain the installation in steps:

1. Go to system (menu) on your Ubuntu desktop sidebar and then select (Synaptic package Manager) (it may ask for your password), this tool is used to install packages in Ubuntu. I suggest you to always use this package manager to install packages.

2. search for sudo (this package allows you to provide super user privileges to specific users). Just click it and install it.

3.similarly search for apt . You will find it, and click it for install.

Regarding the script:

1.Just copy all the contents and put it in to a file.

2. then change the file to an executable file using chmod a+x file name.

3.then execute the file from the command line as this

./filename

this will go to the corresponding website and download the software and will ask you for password before installing it.

bye
K.Suresh kumar

maruthamuthu_venkatraman December 25, 2008 17:39

Dear Suresh, Tha
 
Dear Suresh,
Thanks a Lot for your vivid illustration of OPENFOAM 1.5 installation in UBUNTU 8.10. The script file works when i followed your instructions. Also the src directory i deleted before running this script. Then QT 4.3.5 is installed properly and paraview also executes correctly.Cavity tutorial is working fine.

This Discussion Forum really works.

Regards,
Muthu

canfield January 6, 2009 21:16

hi foamers! thanks also for t
 
hi foamers!
thanks also for the installation script. it makes installing 1.5 version much simpler. i have been working with v1.5 already, but i really want to use the coupling utilities in the development version. i am now getting close to successfully compiling the 1.5-dev version. but after unpacking the openfoam-1.5-dev.tar file and compiling twice i still get one error after executing foamInstallationTest:

************************************************** *********
Third party software
-------------------------------------------------------------------------------
Software Version Location
-------------------------------------------------------------------------------
WARNING: gcc version does not match gcc supplied with this release of OpenFOAM
Supplied version: 4.3.1
User version : ../src/configure
Minimum required: 4.2.0

gcc ...figure
WARNING: Conflicting installations:
OpenFOAM settings : /bin/gcc
current path : /usr/bin/gcc
CRITICAL ERROR

gzip 1.3.12 /bin/gzip
tar 1.20 /bin/tar
Segmentation fault
icoFoam 1.5 ...penFOAM-1.5-dev/applications/bin/linuxGccDPOpt/icoFoam
-------------------------------------------------------------------------------


Checking networking...
-------------------------------------------------------------------------------
Action Result Crit
-------------------------------------------------------------------------------
Pinging_peter-laptop Successful yes
Pinging_localHost Successful yes
Test_rsh: Unsuccessful_connection_refused* yes
Test_ssh: Successful yes
(*) Only one of rsh or ssh is required by the OpenFOAM enviroment.

-------------------------------------------------------------------------------

Base configuration ok.

The foam installation contains 1 critical error(s).
************************************************** ************************

any help would be great.

PC

zairja January 12, 2009 06:33

all it means is that OpenFOAM
 
all it means is that OpenFOAM is looking for gcc at /bin/gcc by default and your path is /usr/bin/gcc.

to ensure that both are identical try setting the following in the terminal before you run the foamInstallationTest command:

export WM_COMPILER_DIR <path>

Path is where you have actually compiled or installed gcc.

Hope this will help you....cheers

kprzysowagmailcom January 16, 2009 14:41

Hi, I have solved Qt problem
 
Hi,
I have solved Qt problem as written on:
http://www.opencfd.co.uk/openfoam/doc/README.html#Qt

The crucial is the following sentence:

Compilation and running of ParaView has been successful using the libraries downloaded in the "libqt4-dev" package on ubuntu.

mavimo January 25, 2009 08:01

@PC: Open ~/OpenFOAM/OpneFOAM
 
@PC:
Open ~/OpenFOAM/OpneFOAM-1.5/etc/bashrc and find:
. export WM_COMPILER_ARCH=
. export WM_COMPILER_LIB_ARCH=

After that add this line:
. export WM_COMPILER_DIR=/usr

save, close shell and reopen it.

Bye
MVM

mavimo January 25, 2009 08:05

ok, i find correct package: .
 
ok, i find correct package:
. libmpfr-dev
. libmpfi-dev

(and their dependences)

Bye
MVM


All times are GMT -4. The time now is 15:50.