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

openfoam-2.2.2 on fedora 20 source install

Register Blogs Community New Posts Updated Threads Search

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

Reply
 
LinkBack Thread Tools Search this Thread 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: 92
Rep Power: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: 552
Rep Power: 25
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: 92
Rep Power: 13
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: 92
Rep Power: 13
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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: 92
Rep Power: 13
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


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] OpenFOAM Installation for navalFoam sachinlb OpenFOAM Community Contributions 22 July 28, 2017 06:26
[swak4Foam] groovyBC in openFOAM-2.0 for parabolic velocity bc ofslcm OpenFOAM Community Contributions 25 March 6, 2017 11:03
"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 01: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 05:10.