CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

My experiences about Installing OpenFOAM on OPENSUSE103 32bit

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   November 14, 2008, 21:50
Default Dear guys, Even I've faced
  #1
New Member
 
Chuang Gao
Join Date: Mar 2009
Posts: 12
Rep Power: 17
coompressor is on a distinguished road
Dear guys,
Even I've faced many of the same problems posted on this forum, but finally I've successfully compiled both the openfoam and paraview without any errors. In order to check my understanding and so called experiences, I've reinstalled the Opensuse 10.3 and openfoam today, also no erros. So I'd like to share some of the lessons with you.
Steps,
1. downloading the packages from the openfoam official website; for 32bit, I've 4 packages;
2. Decompressing these packages into the installation folder, I prefer the directory, home/<user-name>/OpenFOAM.
3. Following the readmefile in the folder and adding the line .$HOME/OpenFOAM/OpenFOAM-1.5/etc/bashrc
4. Before doing the ./Allwmake command, you should check whether you've installed the GCC and QT correctly with proper version. using gcc --version and qmake --version. Actually, if you don't want to recompile the paraview or pvm3reader, you don't need to install the gcc on system as their is a gcc package in the thirdparty folder. But if you want to solve the problem that the openfoam always asks for the reader, you need to install the gcc on your system.
5. Besides, GCC, you should be sure that all the related QT softwares are installed. You could just click the computer ico at the bottom left corner and then install system. And use "qt" as the key words for searching, then install all the searched software packages. Also, "gmp" and "mpfr" packages must be installed.
6. Those who meet the problem of asking "a reader couldn't be found" should recompile pvm3reader following the next instructions.

enter the system folder /usr/lib with root account and run this command in the terminal.
ln -s libpython2.5.so.1.0 libpython2.5.so

then log out and using your former accout,and execute these commandlines.

cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader
./Allwclean
./Allwmake

***************************************
The lessons that I learned during this process are that all the problems are caused by improper system installation, ie. not all the packages related to QT and gmp and mpfr related to new versions of gcc are installed.

Never try the command ./Allwmake before installing the above-mentioned packages. Because the problems or errors occur during the compilation are so diversal.
*****************************************

Hope this help you!

Thx all the foamers who helped me on this forum.
***********************************************
coompressor is offline   Reply With Quote

 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anybody help me to solve the list errors while compiling Openfoam 15 on Opensuse 103 32bit coompressor OpenFOAM Installation 0 November 12, 2008 19:53
Installing OpenFOAM without Paraview quartzian OpenFOAM Installation 0 September 8, 2008 09:29
Installing OpenFOAM honcho OpenFOAM Installation 1 April 9, 2008 06:29
Problem installing OpenFOAM 141 sachin OpenFOAM Installation 2 February 22, 2008 10:20
OpenFOAM installation problem on Linux 32bit kumar OpenFOAM Installation 0 April 27, 2007 05:41


All times are GMT -4. The time now is 19:23.