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

[OpenFOAM.org] Install OpenFOAM-2.3.0 on CentOS 7 ?

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 13, 2015, 05:42
Default
  #21
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,930
Rep Power: 38
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
  #22
Member
 
Yeru
Join Date: Jul 2014
Location: UK
Posts: 36
Rep Power: 11
shang is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings to all!

Instructions for installing OpenFOAM 2.3.0 on CentOS 7.0 are written and tested: http://openfoamwiki.net/index.php/In...HEL#CentOS_7.0

Best regards,
Bruno
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,
Yeru
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
Default
  #23
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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 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:
Code:
cd $WM_THIRD_PARTY_DIR

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:
Code:
./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: https://openfoamwiki.net/index.php/I...HEL#CentOS_7.1
After ParaView has been built, hopefully with success, please don't forget to run the last commands given in step #13.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 10 September 2, 2021 05:29
[OpenFOAM.org] 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
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 11:32


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