CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[] Install OpenFOAM-2.3.0 on CentOS 7 ?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2015, 05:42
Senior Member
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,922
Rep Power: 34
alexeym has a spectacular aura aboutalexeym has a spectacular aura about
Send a message via Skype™ to alexeym
They are just configuration messages. For example Q_WS_WIN is defined only on Windows, so it is perfectly normal that it was not found during configuration.
alexeym is offline   Reply With Quote

Old   December 21, 2017, 14:31
Default OpenFOAM was successfully built on CentOS 7 but paraFoam wasn't
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 7
shang is on a distinguished road
Originally Posted by wyldckat View Post
Greetings to all!

Instructions for installing OpenFOAM 2.3.0 on CentOS 7.0 are written and tested:

Best regards,
Dear Bruno,

I have followed your tutorial and successfully built OF230 onto my personal Centos 7 machine. Thank you for that. However, the PV410 can't be built even though I followed steps. Attached is the log file, please can you tell me what went wrong and how to resolve it?

Kind regards,
Attached Files
File Type: gz log.makePV.tar.gz (102.4 KB, 1 views)
shang is offline   Reply With Quote

Old   December 30, 2017, 10:53
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
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 Yeru,

I've finally managed to take a look into this. I know that this happens with some newer versions of Linux Distributions, but I haven't managed to pinpoint how to know if and when this will happen.

The fix is to the run the following commands:

sed -i -e 's=//#define GLX_GLXEXT_LEGACY=#define GLX_GLXEXT_LEGACY=' ParaView-4.1.0/VTK/Rendering/OpenGL/vtkXOpenGLRenderWindow.cxx
Then you can proceed with building ParaView by running:
./makeParaView4 -qmake $(which qmake-qt4) -mpi -python -no-config > log.makePV 2>&1
The "-no-config" option is so that it will continue building from where it stopped.

I've added a new section for CentOS 7.1, which is likely the first version where this happens. It's this one:
After ParaView has been built, hopefully with success, please don't forget to run the last commands given in step #13.

Best regards,
wyldckat is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 9 March 30, 2017 05:19
[] Problems installing OpenFOAM 2.1.0 on CentOS 6.2 svinaya OpenFOAM Installation 1 December 23, 2016 08:47
Bug for install OpenFOAM 2.3.0 under redhat 6.5 jordanjo OpenFOAM Installation 1 August 5, 2014 12:42
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 19:21
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32

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