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

[Other] Havent found any documentation for installing on Fedora 32?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By olesen
  • 1 Post By olesen
  • 1 Post By olesen

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2020, 05:25
Default Havent found any documentation for installing on Fedora 32?
  #1
Senior Member
 
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 143
Rep Power: 11
EternalSeekerX is on a distinguished road
Dear peeps,


I have recently been trying out Fedora 32 and I am wondering if I can get Openfoam 8, Openfoam 2006 and foam extend on it? I have built from source both openfoam 7 and openfoam 1912 on manjaro and i have also compiled foam-extend 4.1 on opensuse by searching for similar pre-req packages in the repo. Similarly I have done the same for Fedora 32, however I wonder if there are additonal steps i need to take? Has anyone sucessfully compiled openfoam (all recent versions) from source? If so how and what documentation you followed?


Thanks
EternalSeekerX is offline   Reply With Quote

Old   September 22, 2020, 14:10
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
OpenFOAM 1912 and 2006 are available on copr.
However, for some unknown reason Fedora 32 (on copr) has a huge number of broken packages, including CGAL etc. Can't seem to get a clean copr build for Fedora 32.
Fedora 31 and 33, as well as CentOS 7 and 8 (with EPEL) are fine.
EternalSeekerX likes this.
olesen is offline   Reply With Quote

Old   September 22, 2020, 17:33
Default
  #3
Senior Member
 
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 143
Rep Power: 11
EternalSeekerX is on a distinguished road
Quote:
Originally Posted by olesen View Post
OpenFOAM 1912 and 2006 are available on copr.
However, for some unknown reason Fedora 32 (on copr) has a huge number of broken packages, including CGAL etc. Can't seem to get a clean copr build for Fedora 32.
Fedora 31 and 33, as well as CentOS 7 and 8 (with EPEL) are fine.
Ah!

Well fedora 33 is still testing, so I'll have to wait till release for that. I was using cent os 7 since I use a few commercial software, however every other package is too old. Thats why I chose fedora to get access to cutting edge software while still staying on rhel family.

Have you tried again recently? What specifically is missing if i do compile on f32?

Edit: i have never heard of copr before, is that a repo? What about building from source manually?

Last edited by EternalSeekerX; September 23, 2020 at 01:08.
EternalSeekerX is offline   Reply With Quote

Old   September 24, 2020, 09:38
Default
  #4
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by EternalSeekerX View Post
Edit: i have never heard of copr before, is that a repo? What about building from source manually?


https://copr.fedorainfracloud.org/co...foam/openfoam/



Also has CentOS repos for openfoam
elvis likes this.
olesen is offline   Reply With Quote

Old   September 25, 2020, 18:39
Smile Built OpenFOAM v2006 on Fedora 32 successfully from source
  #5
Senior Member
 
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 143
Rep Power: 11
EternalSeekerX is on a distinguished road
Hello again,

Quote:
Originally Posted by olesen View Post
-snip-
Great news! I have successfully compiled OpenFOAM 2006 on Fedora 32 from source! All I did was search the equivalent pre-requisites. Download the newest metis tar.gz and put it in my thirdparty folder. Also one thing about fedora to note is by default it doesn't load mpi libraries, so i had to use the module load command to load mpi. For ease of you use, just edit the bashrc with
Code:
module load 'dir where mpi is located'
And it works. Successfully ran pitzDaily, Cavity and Simplefoam motorBike.

Anyway on to compiling openfoam 8. Shouldn't be an issue i think 🤔

Last edited by EternalSeekerX; September 26, 2020 at 03:12.
EternalSeekerX is offline   Reply With Quote

Old   September 26, 2020, 18:25
Default OpenFOAM 8 successfully compiled from source on Fedora 32
  #6
Senior Member
 
Sultan Islam
Join Date: Dec 2015
Location: Canada
Posts: 143
Rep Power: 11
EternalSeekerX is on a distinguished road
Hello again!

Great news! OpenFOAM-8 compiled successfully on Fedora 32. Had most of the pre-requisites from 2006 build so yeah. Ran pitzDaily and simpleFoams mototBike tutorial as well.
EternalSeekerX is offline   Reply With Quote

Old   October 8, 2020, 03:17
Default
  #7
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
I threw out CGAL for the redhat/Fedora builds.
For whatever reasons, CGAL is not available on Fedora 32, and even with an RPM conditional to avoid the macro requirement it was still failing to build.

It now builds
https://copr.fedorainfracloud.org/co...build/1698461/

Thus should be visible via copr
https://copr.fedorainfracloud.org/co...foam/packages/
elvis likes this.
olesen is offline   Reply With Quote

Old   November 13, 2020, 09:05
Default openFOAM 8 in Fedora 32
  #8
New Member
 
Oscar
Join Date: Nov 2020
Posts: 2
Rep Power: 0
osepulve32 is on a distinguished road
Hi everyone,

I'm new in this community and I'm trying to compile from source openFOAM-8 in Fedora 32.

So far I managed to install openfoam following (and modifying accordingly) these instructions for openfoam-dev (Fedora 27): https://openfoamwiki.net/index.php/I...OAM-dev/Fedora

Everything seemed to work out smoothly. However, when executed:
Code:
mkdir -p $FOAM_RUN
cd $FOAM_RUN
cp -r $FOAM_TUTORIALS/incompressible/simpleFoam/pitzDaily
cd pitzDaily
blockMesh
simpleFoam
paraFoam
simpleFoam runs but parafoam gives:
Code:
FATAL ERROR: The official reader module for OpenFOAM data does not exist on  your system.  ...
Could someone please help me with this?
I'm attaching to this post the log.makePV file

thanks

cheers, Oscar

My Bakground: I have experience with linux but I'm a bit rusty after 4 years dealing with windows only. Although I was using mainly ubuntu.
System details:
Code:
Operating System: Fedora 32 (Workstation Edition) 
Architecture: x86-64
Attached Files
File Type: gz logmakePV.tar.gz (154.6 KB, 0 views)
osepulve32 is offline   Reply With Quote

Old   November 13, 2020, 09:32
Default
  #9
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by osepulve32 View Post
Hi everyone,

Code:
FATAL ERROR: The official reader module for OpenFOAM data does not exist on  your system.  ...

Any good reason for not using the normal ParaView/VTK reader? It works in parallel, doesn't rely on a particular version of OpenFOAM etc. I only use the additional plugin if trying to diagnose cellSets and things like that and don't want to run foamToVTK. Apart from that, and perhaps to get corner numbering when examining a blockMesh, I don't think it has much point anymore.
olesen is offline   Reply With Quote

Old   November 17, 2020, 10:37
Default
  #10
New Member
 
Oscar
Join Date: Nov 2020
Posts: 2
Rep Power: 0
osepulve32 is on a distinguished road
OK thanks I'll try that.
Although I'd still like to know what was the problem in installing parafoam.
osepulve32 is offline   Reply With Quote

Reply


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
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 2 June 24, 2017 06:29
[Other] Compiling hacFoam (Ubuntu 10.04)(OF2.0.0)(LAMMPS13Jul2010)) Henrik_E OpenFOAM Installation 3 September 29, 2016 17:16
fireFoam.1.7.x_0.4 compilation error !link OpenFOAM Installation 9 December 24, 2012 05:15
Doxygen documentation Tanay OpenFOAM Installation 9 September 23, 2011 12:40
[OpenFOAM] Problem with paraFoam on a linux-64 bit bunni ParaView 4 April 14, 2010 21:55


All times are GMT -4. The time now is 14:24.