CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   openfoam-2.2.2 on fedora 20 source install (https://www.cfd-online.com/Forums/openfoam-installation/127870-openfoam-2-2-2-fedora-20-source-install.html)

fedvasu December 24, 2013 04:05

openfoam-2.2.2 on fedora 20 source install
 
Hi Foamers,

I tried source install on brand new fedora 20. It doesn't go very well.

I get build errors, I don't know why anyone else has tried? Any suggestions for debugging the build and successfully installing?

(I followed all the prerequisite steps mentioned on the source install page, like installing Development tools etc)

wyldckat December 25, 2013 06:12

Greetings fedvasu,

A good starting point would be these instructions: http://openfoamwiki.net/index.php/In...dora#Fedora_18

Beyond this, I'll try to have a look into this till the end of this week.

Best regards,
Bruno

wyldckat December 25, 2013 15:06

Done! Instructions for Fedora 20 are now available here: http://openfoamwiki.net/index.php/In...dora#Fedora_20

The main issue is that a new group must be installed, which I've reported here: http://www.openfoam.org/mantisbt/view.php?id=1116

philippose December 28, 2013 08:56

Hello there,
A Good Day to everyone.

Just wanted to confirm, that I have successfully compiled and tested the latest Github version of OpenFOAM-2.2.x on a Fedora-20 x86_64 Virtual Machine.

Here are some details:
Using: OpenFOAM-2.2.x (see www.OpenFOAM.org)
Build: 2.2.x-d803bdc608f0

Kernel: 3.12.5-302.fc20.x86_64
GCC: 4.8.2 20131212 (Red Hat 4.8.2-7)
OpenMPI: 1.7.3 (System installation of OpenMPI)


The process is as explained by Bruno on the OpenFOAMwiki website. For post-processing, I directly installed the Paraview version found in the Fedora-20 repository (4.0.1) with the built-in OpenFOAM plugin.

In anyone needs any more information, or help, let me know.

Wishing everyone a great day ahead :-)

Philippose

fedvasu December 28, 2013 17:35

Quote:

Originally Posted by wyldckat (Post 467663)
Done! Instructions for Fedora 20 are now available here: http://openfoamwiki.net/index.php/In...dora#Fedora_20

The main issue is that a new group must be installed, which I've reported here: http://www.openfoam.org/mantisbt/view.php?id=1116

that is so awesome, thanks.
How did you find out, what log files you looked into?
So that I can troubleshoot myself in future?

fedvasu December 29, 2013 07:28

yep C Development Tools were missing,

I completed the openfoam install successfully.

again +1 for WyldcKat

wyldckat December 29, 2013 07:29

Quote:

Originally Posted by fedvasu (Post 467987)
that is so awesome, thanks.
How did you find out, what log files you looked into?
So that I can troubleshoot myself in future?

Step #6 details where to look at. And in this case, once you open the file, it states right in the first few lines that it was missing "g++" and "flex", if I'm not mistaken.

And you're welcome :)

fedvasu December 31, 2013 07:11

No that is not it
 
Quote:

Originally Posted by wyldckat (Post 468011)
Step #6 details where to look at. And in this case, once you open the file, it states right in the first few lines that it was missing "g++" and "flex", if I'm not mistaken.

And you're welcome :)

I am pretty sure g++ was installed in my case, mayn't be flex.
also, I guess I forgot to force load openmpi

module load mpi/openmpi-i386 || export PATH=$PATH:/usr/lib/openmpi/bin

as one of the line says mpi.h not found.


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