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

Paraview - CentOS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2013, 11:52
Default Paraview - CentOS
  #1
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15
Aurelien Thinat is on a distinguished road
Hi everyone,

I'm trying to compile OpenFOAM/Paraview from the source files on CENTOS.
For OpenFOAM : everything is fine.

For Paraview :
I compiled qt and cmake in the ThirdParty directory. I modify the path in the makeParaview script.


Then during the configure part, I get this error :

Code:
Performing Test GLX_DEFINES_MACRO_GLX_VERSION_1_1 - failed
(...)
CMake Error at VTK/CMake/vtkTestGLX.cmake:212 (file):
file STRINGS file
"/home/trap/OpenFOAM/ThirdParty-2.2.2/Paraview-3.12.0/VTK/Rendering/OPENGL_INCLUDE_DIR-NOTFOUND/GL/glx.h" cannt be read.
Call Stack (most recent call first):
VTK/Rendering/CMakeLists.txt:506 (INCLUDE)
I reinstalled NVIDIA drivers. I checked the mesa library installation and the opengl installation with "yum". Everything seems up to date.

Does anyone know where it comes from ?

Thank you.
Aurelien Thinat is offline   Reply With Quote

Old   October 31, 2013, 03:31
Default
  #2
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15
Aurelien Thinat is on a distinguished road
Few more information :

- glx.h is in the folder "/usr/include/xcb/glx.h"
- I opened the file vtkTestGLX.cmake : it says that OPENGL_INCLUDE_DIR is defined within the function/file "FindOpenGL.cmake"which I don't understand how it works.
Aurelien Thinat is offline   Reply With Quote

Old   October 31, 2013, 06:46
Default
  #3
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 165
Rep Power: 15
Aurelien Thinat is on a distinguished road
Well, I updated the system but the compilation is still bugging.
If someone has any idea, I'd take it.

Error 1 :
Code:
[  6%] [  6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayExtents.cxx.o
Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayExtentsList.cxx.o
[  6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayRange.cxx.o
[  6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArraySort.cxx.o
[  6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkArrayWeights.cxx.o
[  6%] Building CXX object VTK/Common/CMakeFiles/vtkCommon.dir/vtkCommonInstantiator.cxx.o
Linking CXX shared library ../../bin/libvtkCommon.so
[  6%] Built target vtkCommon
make: *** [all] Error 2
Error 2 :
Code:
Linking CXX shared library ../../../bin/libCosmo.so
[ 12%] Built target Cosmo
make[2]: *** No rule to make target `/usr/lib64/libGL.so', needed by `bin/libvtkftgl.so.pv3.12'.  Stop.
make[1]: *** [VTK/Utilities/ftgl/CMakeFiles/vtkftgl.dir/all] Error 2
make: *** [all] Error 2
The full log is enclosed.
Attached Files
File Type: zip log-error.zip (13.6 KB, 1 views)
Aurelien Thinat is offline   Reply With Quote

Old   November 2, 2013, 17:59
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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 Aurelien,

According to this blog post: http://techtidings.blogspot.pt/2012/...it-ubuntu.html - the problem might be because the file "/usr/lib64/libGL.so" is pointing to a dead link.
Try running this command to check to which file it's pointing:
Code:
ls -l /usr/lib64/libGL.so
Then check that file it is pointing to. In the blog page, it was pointing to something like "/usr/lib64/libGL.so.1", which was pointing to a non-existent file.

By the way, are you following the installation instructions from this page: http://openfoamwiki.net/index.php/In...CentOS_SL_RHEL ?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply


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
Installing OpenFOAM and ParaView in VirtualBox(Ubuntu on Win8) chrisb2244 OpenFOAM Installation 2 August 21, 2013 13:24
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 02:32
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
Paraview problem on centOS danielle OpenFOAM Installation 2 February 12, 2009 13:11


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