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

openfoam-2.2.2 on fedora 20 source install

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 2 Post By wyldckat
  • 1 Post By philippose

Reply
 
LinkBack Thread Tools Display Modes
Old   December 24, 2013, 05:05
Default openfoam-2.2.2 on fedora 20 source install
  #1
Member
 
Join Date: Oct 2013
Posts: 44
Rep Power: 5
fedvasu is on a distinguished road
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)
fedvasu is offline   Reply With Quote

Old   December 25, 2013, 07:12
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,736
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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 is offline   Reply With Quote

Old   December 25, 2013, 16:06
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,736
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
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
JonW and igpaec like this.
__________________
wyldckat is offline   Reply With Quote

Old   December 28, 2013, 09:56
Default
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 537
Rep Power: 17
philippose will become famous soon enough
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
wyldckat likes this.
philippose is offline   Reply With Quote

Old   December 28, 2013, 18:35
Default
  #5
Member
 
Join Date: Oct 2013
Posts: 44
Rep Power: 5
fedvasu is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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 is offline   Reply With Quote

Old   December 29, 2013, 08:28
Default
  #6
Member
 
Join Date: Oct 2013
Posts: 44
Rep Power: 5
fedvasu is on a distinguished road
yep C Development Tools were missing,

I completed the openfoam install successfully.

again +1 for WyldcKat
fedvasu is offline   Reply With Quote

Old   December 29, 2013, 08:29
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,736
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quote:
Originally Posted by fedvasu View Post
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
wyldckat is offline   Reply With Quote

Old   December 31, 2013, 08:11
Default No that is not it
  #8
Member
 
Join Date: Oct 2013
Posts: 44
Rep Power: 5
fedvasu is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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.
fedvasu is offline   Reply With Quote

Reply

Tags
fedora20, installation, openfoam

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Pre-Processing 24 August 23, 2015 22:41
OpenFOAM Installation for navalFoam sachinlb OpenFOAM Installation 21 June 23, 2014 08:07
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 12:44
install OpenFoam 1.6 by building source: how? niudie OpenFOAM Installation 13 April 26, 2011 00:48
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 19:15.