CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Fedora 10 OpenFOAM15 (

philippose December 17, 2008 14:47

Hello everyone, A Good Even
Hello everyone,

A Good Evening as always!! though it could stop snowing for a change :-)!

Lets say... its been... a long time now :-)! And as usual, its good to be back on the posting side of the forum again :-)!

Just wanted to report....

I have successfully compiled OpenFOAM-1.5 on Fedora 10... details..:

Processor: 32-bit Intel Centrino 1.6GHz
Memory: 512MB
Operating System: Fedora 10
Compiler: GCC 4.3.2 (Stock compiler on Fedora 10)
Parallel Lib: OpenMPI

The system had all the basic libraries and "devel" packages one would expect to find on any system used for C++ development.

All the installed packages were from the official Fedora repositories (no tinkering under the hood)

I had to obviously tinker with the "bashrc" file in the <openfoam>/etc folder to adapt it to my system.... but nothing major.

As for ParaView... I deleted the ParaView3.3-cvs which comes with OpenFOAM, and compiled my own...details:

ParaView Version: 3.5.0 (CVS)
Qt4 Version: 4.4.3 (Stock version on Fedora 10)
Installed into: <openfoam>/ThirdParty/ParaView3.5-cvs

I used the Serial / Parallel Reader from Takuya, which was compiled as per his instructions, and copied the resulting dynamic libraries to the "plugins" directory in my Paraview install folder.

Again, the "bashrc" file in the <openfoam>/etc/apps/ParaView3 folder had to be modified to reflect my setup.

As a footnote.... this version of OpenFOAM was so far, the first version to compile without any errors and issues.... it was a pleasant surprise to have a completely running system on the first compile attempt :-)!

Have a nice evening!


ikariya December 18, 2008 06:42

hi, got some problems in co

got some problems in compilling OF 1.5 on fedora 10, could you post here the modifications you made on the bashrc file ?

eventually post the whole procedure would be great !

thanx in advance

philippose December 18, 2008 16:11

Hello there, And again, a
Hello there,

And again, a very good evening too !!

I think it would be easier to go the other way around.... by you telling me what those "some problems" were, which you came across while trying to compile OpenFOAM 1.5 on a Fedora 10 system.

As I mentioned, the whole compilation worked on a...for all practical purposes... stock install of Fedora 10, and the changes I made in the bashrc file were extremely trivial, such as reducing the number of processors to be used for compilation from 2 to 1, etc....


velan December 19, 2008 00:04

I think for fedora, there wont
I think for fedora, there wont be any modification in bashrc. Just do the following command

cp ~/.bashrc ~/.bashrc.bak
cp ~/OpenFOAM/OpenFOAM-1.5/etc/bashrc ~/.bashrc

Still if you have any error, post it

sandy December 20, 2008 08:30

Hi guys, I could not open t
Hi guys,

I could not open the C++ source codes of OpenFOAM in fedora 9. Why? Maybe I lost to install any software packages?

Thanks for help.


nour January 29, 2009 22:17

Hi Philippose, could u tell
Hi Philippose,

could u tell us in details how did upgrade the Paraview compilation from 3.3 to 3.5 to feet the Qt's stock version of the system (it means Qt-4.4.3)

Thanks in advance

zairja February 9, 2009 22:44

Hello Djeghri, For upgrading
Hello Djeghri,
For upgrading Paraview to latest version, you can check:

GO to OpenSuSE section.

I've successfully compiled that on OpenSuSE, and i'm sure that you can apply the same to other distro also, if you load the packages and do the same steps.

Hope this helps...
PS: if you do try it, can i ask that you test it please using your data since i'm not the user of OpenFOAM.


carstentm February 18, 2009 05:37

Hello, considering the titl

considering the title, this seems like quite the appropriate topic to ask for help.
Running Fedora 10, and hoping to be using OpenFOAM..
OpenFOAM itself works fine (insofar as I've tested this)
However, Paraview doesn't, unfortunately.

Initially started with the readme file (.e suggestion on recompiling Paraview,
ran into a LOT of trouble with missing libraries and package, which I've been working on fixing.
However, I'm currently stuck on recompiling PV3FoamReader using ./Allwmake as instructed in the readme.
And I'm really at a loss as to what I might still be missing and/or where I might find that which I'm missing.

The error returned is:

[ 45%] Building CXX object CMakeFiles/PV3FoamReader.dir/qrc_PV3FoamReader.o
Linking CXX shared library /home/Carsten/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/
/usr/bin/ld: cannot find -lpqComponents
collect2: ld returned 1 exit status
make[2]: *** [/home/Carsten/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/] Error 1
make[1]: *** [CMakeFiles/PV3FoamReader.dir/all] Error 2
make: *** [all] Error 2


Any help is appreciated.


All times are GMT -4. The time now is 03:06.