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.org] OpenFOAM 3.0.x on Fedora 23 (https://www.cfd-online.com/Forums/openfoam-installation/168893-openfoam-3-0-x-fedora-23-a.html)

dfeid March 31, 2016 06:14

OpenFOAM 3.0.x on Fedora 23
 
1 Attachment(s)
I tried with no success to install OpenFOAM 3.0.x on Fedora 23 I thought at least I had managed to install OpenFOAM 3.0.x without Paraview but as you could see in the log file there are errors that I can not overcome.
I installed the CGAL library v4.7 using the dnf command (ex-yum) but It seems not to be working.

Any help will be welcome

Thanks in advance

C4l4M1TY April 3, 2016 00:24

I managed to perform a successful build of OpenFOAM-3.0.1 on Fedora 23 (x86_64) following the steps outlined in this link: https://openfoamwiki.net/index.php/Installation/Linux

It was however necessary to add an extra step at step [7] which I made a post about here: http://www.cfd-online.com/Forums/ope...ding-cgal.html

Hopefully this helps,

Steven

wyldckat April 5, 2016 17:50

Quick notes:
@Steven: Many thanks for the feedback!

@dfeid: Full installation instructions are now available here: http://openfoamwiki.net/index.php/In...M-3.0.x/Fedora

And sorry to both for not having detailed installation instructions sooner for Fedora + OpenFOAM 3.0, but I was also waiting for someone to take the step forward and state that "Fedora is not forgotten" ;)

slimak August 6, 2016 08:40

paraFOAM
 
Hello Bruno,

thank you for the post about the installation of OpenFOAM on Fedora (http://openfoamwiki.net/index.php/In...M-3.0.x/Fedora). I was partially succesfull.

I am running Fedora 23 with x86_64 architecture. In step 7 of the previously mentioned tutorial, command

source $HOME/OpenFOAM/OpenFOAM-3.0.x/etc/bashrc WM_LABEL_SIZE=64 FOAMY_HEX_MESH=yes

gives

bash: mpicc: command not found...

I did not find solution for this. Coul you please help?

I am pretty new to OpenFOAM so I am not sure if the installation went ok. My installation log is enclosed in log.make.tz

Also, during run of icoFoam for the first cavity example (http://cfd.direct/openfoam/user-guid...ty/#x5-40002.1), some results were generated, but I cannot view them since I cannot run paraFoam.

When I try to run paraFoam I get

paraFoam

FATAL ERROR: ParaView reader module libraries do not exist

Please build the reader module before continuing:
cd $FOAM_UTILITIES/postProcessing/graphics/PV4Readers
./Allwclean
./Allwmake

I do not know if the problems are connected, but any help would be a step forward.

Thanks a lot.
slimak

wyldckat August 7, 2016 17:35

Quote:

Originally Posted by slimak (Post 613004)
I am running Fedora 23 with x86_64 architecture. In step 7 of the previously mentioned tutorial, command

source $HOME/OpenFOAM/OpenFOAM-3.0.x/etc/bashrc WM_LABEL_SIZE=64 FOAMY_HEX_MESH=yes

gives

bash: mpicc: command not found...

I did not find solution for this. Coul you please help?

Quick answer: It seems that you missed the following command:
Code:

module mpi/load openmpi-x86_64 || export PATH=$PATH:/usr/lib64/openmpi/bin
which should load the environment for Open-MPI. Start a new terminal, run this line and then run the source command. If it still has problems, check steps #1 and #2 for any error messages.

The other errors you got are likely related to the same problem.


All times are GMT -4. The time now is 01:16.