<div dir="ltr">Great! Glad it's working for you now.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 30, 2015 at 5:01 PM, Ganesh Vijayakumar <span dir="ltr"><<a href="mailto:ganesh.iitm@gmail.com" target="_blank">ganesh.iitm@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Thanks all. This is super awesome and now allows me to get real time updates on the status of simulations instead of wheeling the data out to some other place.. tarring, scping, untarring.... phew!<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">ganesh<br></font></span></div><div class="HOEnZb"><div class="h5"><br><div class="gmail_quote"><div dir="ltr">On Wed, Jul 29, 2015 at 12:00 PM Utkarsh Ayachit <<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Check this out:<br>
<a href="http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Configuring_ParaView_for_use_with_OSMesa" rel="noreferrer" target="_blank">http://www.paraview.org/Wiki/ParaView/ParaView_And_Mesa_3D#Configuring_ParaView_for_use_with_OSMesa</a><br>
<br>
You're missing several other flags needed for ParaView to use OSMesa<br>
e.g. VTK_OPENGL_HAS_OSMESA. Also, your CMakeCache.txt shows that<br>
OPENGL_gl_LIBRARY, OPENGL_glu_LIBRARY, OPENGL_INCLUDE_DIR are set to<br>
use system OpenGL. That will cause runtime issues. The Wiki indicates<br>
the values that these should be set to.<br>
<br>
On Tue, Jul 28, 2015 at 11:39 PM, Ganesh Vijayakumar<br>
<<a href="mailto:ganesh.iitm@gmail.com" target="_blank">ganesh.iitm@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
> I'm trying to install paraview using off-screen rendering on a cluster. I<br>
> attached my CMakeCache. It configures just fine. However, I'm unable to<br>
> progress beyond this error during the compile. Could anyone please help?<br>
> I load the required modules first<br>
><br>
> module load gcc/4.9.2<br>
> module load cmake/3.1.0<br>
> module load python/2.7.9<br>
> module load hdf5/1.8.14<br>
> export HDF5_ROOT=/opt/aci/sw/gcc/hdf5/1.8.14_gcc-4.9.2/<br>
> export PYTHON_INCLUDE_DIRS=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/include/<br>
> export<br>
> PYTHON_LIBRARY=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/lib/<a href="http://libpython2.7.so" rel="noreferrer" target="_blank">libpython2.7.so</a><br>
> export PYTHON_EXECUTABLE=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/bin/python<br>
><br>
> Then, I configured as<br>
><br>
> ccmake ~/software/ParaView-v4.3.1-source<br>
> -DOSMESA_INCLUDE_DIR:PATH=/storage/home/guv106/software/mesa-10.5.4/include<br>
> -DOSMESA_LIBRARY:FILEPATH=/storage/home/guv106/software/mesa-10.5.4/lib/gallium/libOSMesa.so<br>
> -DVTK_USE_X:BOOL=OFF -DVTK_USE_SYSTEM_HDF5:BOOL=ON<br>
> -DPYTHON_INCLUDE_DIRS=/opt/aci/sw/python27/2.7.9_gcc-4.9.2-1/include/python2.7/<br>
><br>
> The error during the make process is<br>
><br>
> [ 11%] Building CXX object<br>
> VTK/Rendering/OpenGL/CMakeFiles/vtkRenderingOpenGL.dir/vtkOSOpenGLRenderWindow.cxx.o<br>
> cd /storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Rendering/OpenGL<br>
> && /usr/bin/c++ -DVTK_IN_VTK -DvtkRenderingO<br>
> penGL_EXPORTS -O3 -DNDEBUG -fPIC<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build<br>
> -I/storage/home/guv106/software/mes<br>
> a-10.5.4/include<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Imaging/Hybrid<br>
> -I/storage/home/guv106/software/<br>
> ParaView-v4.3.1-source/VTK/Imaging/Hybrid<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/IO/Image<br>
> -I/storage/ho<br>
> me/guv106/software/ParaView-v4.3.1-source/VTK/IO/Image<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Da<br>
> taModel<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/DataModel<br>
> -I/storage/home/guv106/software/ParaVi<br>
> ew-v4.3.1-build/VTK/Common/Math<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Math<br>
> -I/storage/home/guv<br>
> 106/software/ParaView-v4.3.1-build/VTK/Common/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/KWSys<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-<br>
> source/VTK/Utilities/KWSys<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Misc<br>
> -I/storage/home/guv106/so<br>
> ftware/ParaView-v4.3.1-source/VTK/Common/Misc<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/System -I/s<br>
> torage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/System<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build<br>
> /VTK/Common/Transforms<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Transforms<br>
> -I/storage/home/guv106<br>
> /software/ParaView-v4.3.1-build/VTK/Common/ExecutionModel<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Commo<br>
> n/ExecutionModel<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/DICOMParser<br>
> -I/storage/home/guv106/so<br>
> ftware/ParaView-v4.3.1-source/VTK/Utilities/DICOMParser<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/IO/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/IO/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/zlib<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/zlib<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/MetaIO/vtkmetaio<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/MetaIO<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Utilities/MetaIO<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/jpeg<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/jpeg<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/png<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/png<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/tiff<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/tiff<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Imaging/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Imaging/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/ParseOGLExt<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Utilities/ParseOGLExt<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Rendering/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/Color<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/Color<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Filters/Extraction<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Filters/Extraction<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Filters/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Filters/Core<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Filters/General<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Filters/General<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Common/ComputationalGeometry<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Common/ComputationalGeometry<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Filters/Statistics<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Filters/Statistics<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Imaging/Fourier<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Imaging/Fourier<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/ThirdParty/alglib<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/ThirdParty/alglib<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Filters/Geometry<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Filters/Geometry<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Filters/Sources<br>
> -I/storage/ home/guv106/software/ParaView-v4.3.1-source/VTK/Filters/Sources<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Utilities/EncodeString<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Utilities/EncodeString<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-build/VTK/Rendering/OpenGL<br>
> -I/storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL<br>
> -fvisibility=hidden -fvisibility-inlines-hidden -o<br>
> CMakeFiles/vtkRenderingOpenGL.dir/vtkOSOpenGLRenderWindow.cxx.o -c<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:52:<br>
> error: ‘OSMesaContext’ does not name a type<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:<br>
> In constructor<br>
> ‘vtkOSOpenGLRenderWindowInternal::vtkOSOpenGLRenderWindowInternal(vtkRenderWindow*)’:<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:64:<br>
> error: ‘class vtkOSOpenGLRenderWindowInternal’ has no member named<br>
> ‘OffScreenContextId’<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:<br>
> In member function ‘virtual void<br>
> vtkOSOpenGLRenderWindow::SetStereoCapableWindow(int)’:<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:128:<br>
> error: ‘class vtkOSOpenGLRenderWindowInternal’ has no member named<br>
> ‘OffScreenContextId’<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:<br>
> In member function ‘void vtkOSOpenGLRenderWindow::CreateOffScreenWindow(int,<br>
> int)’:<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:185:<br>
> error: ‘class vtkOSOpenGLRenderWindowInternal’ has no member named<br>
> ‘OffScreenContextId’<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:187:<br>
> error: ‘class vtkOSOpenGLRenderWindowInternal’ has no member named<br>
> ‘OffScreenContextId’<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:187:<br>
> error: ‘OSMesaCreateContext’ was not declared in this scope<br>
> /storage/home/guv106/software/ParaView-v4.3.1-source/VTK/Rendering/OpenGL/vtkOSOpenGLRenderWindow.cxx:<br>
> In member function ‘void vtkOSOpenGLRenderWindow::DestroyOffScreenWindow()’:<br>
><br>
><br>
> ganesh<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview</a><br>
><br>
</blockquote></div>
</div></div></blockquote></div><br></div>