CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Howto install OpenFOAM on mandriva2009qt44 with Qt435 in home directory (

gzy_1228 November 15, 2008 15:31

Hi everyone, Here is my exp
Hi everyone,
Here is my experience on howto install OpenFOAM on mandriva2009(qt4.4) with Qt4.3.5 in home directory.

1. do the steps 1-6 in except running paraFoam.

2. download libmpfr-dev package and all its related packages

Next steps we need follow Tammo's 1-3:

3. follow Tammo's steps 1-3:
Download qt-x11-opensource-src-4.3.5.tar.gz (approx. 40MB)
and unpack it in your /tmp folder. There now should be a folder called /tmp/qt-x11-opensource-src-4.3.5 on your system

Go to that folder

cd /tmp/qt-x11-opensource-src-4.3.5

set the path you want to install Qt-4.3.5 in, e.g.

./configure -prefix ~/OpenFOAM/ThirdParty/Qt-4.3.5

you may have to accept the GNU-license. Now compile (takes some time...)


and install

make install

add the following lines to your ~/OpenFOAM/OpenFOAM-1.5/etc/bashrc at the very end

# set QT related variables
export PATH=$QT/bin:$PATH

4. Compiling Paraview 3.3:
cd $FOAM_INST_DIR/ThirdParty
rm -rf ParaView3.3-cvs/platforms

5. Compiling PV3FoamReader module:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader

It will take several hours I think, but it will work perfect in mandriva2009 and kubuntu8.10 (which i have tried). At the end I will thank Tammo's help in his

All times are GMT -4. The time now is 05:17.