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, 06:42
Default
  #21
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,887
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, 15: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: 7
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, 11:53
Default
  #23
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,943
Blog Entries: 42
Rep Power: 121
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
Map of the OpenFOAM Forum - Understanding where to post your questions! wyldckat OpenFOAM 9 March 30, 2017 06:19
[OpenFOAM.org] Problems installing OpenFOAM 2.1.0 on CentOS 6.2 svinaya OpenFOAM Installation 1 December 23, 2016 09:47
Bug for install OpenFOAM 2.3.0 under redhat 6.5 jordanjo OpenFOAM Installation 1 August 5, 2014 13:42
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
OpenFOAM Install problem masb OpenFOAM 3 May 25, 2009 12:32


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