{"id":401,"date":"2018-07-19T18:12:07","date_gmt":"2018-07-19T16:12:07","guid":{"rendered":"https:\/\/kszyh.kisim.eu.org\/?p=401"},"modified":"2018-07-19T18:14:06","modified_gmt":"2018-07-19T16:14:06","slug":"build-paraview-with-osmesa","status":"publish","type":"post","link":"https:\/\/kszyh.kisim.eu.org\/?p=401","title":{"rendered":"Build ParaView with OSMesa"},"content":{"rendered":"<p>Detailed manual: https:\/\/www.paraview.org\/Wiki\/ParaView\/ParaView_And_Mesa_3D<\/p>\n<p>LLVM (works only with 3.x, tested with 3.9.1):<\/p>\n<pre class=\"wrap:true lang:default decode:true\">cmake ..\/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=\/packages\/llvm\/3.9.1 -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON  -DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD:STRING=X86<\/pre>\n<p>OSMesa (works only with 13.x, tested with 13.0.6):<\/p>\n<pre class=\"wrap:true lang:default decode:true\">.\/configure --prefix=\/packages\/mesa\/13.0.6-gcc520 --enable-opengl --disable-gles1 --disable-gles2 --disable-va --disable-xvmc --disable-vdpau  --enable-shared-glapi --disable-texture-float  --enable-gallium-llvm --with-gallium-drivers=swrast,swr --disable-dri --with-dri-drivers=  --disable-egl --with-egl-platforms= --disable-gbm  --disable-glx --disable-osmesa --enable-gallium-osmesa --with-llvm-prefix=\/packages\/llvm\/3.9.1\/<\/pre>\n<p>ParaView (tested with 5.5.2)<\/p>\n<pre class=\"wrap:true lang:default decode:true\">cmake ..\/   -DPARAVIEW_BUILD_QT_GUI=OFF  -DVTK_USE_X=OFF -DOPENGL_INCLUDE_DIR=IGNORE  -DOPENGL_xmesa_INCLUDE_DIR=IGNORE -DOPENGL_gl_LIBRARY=IGNORE -DOSMESA_INCLUDE_DIR=\/packages\/mesa\/13.0.6-gcc520\/include\/ -DOSMESA_LIBRARY=\/packages\/mesa\/13.0.6-gcc520\/lib\/libOSMesa.so -DVTK_OPENGL_HAS_OSMESA=ON -DVTK_USE_OFFSCREEN=OFF -DCMAKE_INSTALL_PREFIX=\/packages\/paraview\/5.5.2\/ -DCMAKE_BUILD_TYPE=Release -DPARAVIEW_USE_MPI=ON<\/pre>\n<ul>\n<li>Works fine with MPI from Intel Parallel Studio 2018.<\/li>\n<li>Built with GCC 5.2.0<\/li>\n<li>Requires Python 2.7<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Detailed manual: https:\/\/www.paraview.org\/Wiki\/ParaView\/ParaView_And_Mesa_3D LLVM (works only with 3.x, tested with 3.9.1): cmake ..\/ -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=\/packages\/llvm\/3.9.1 -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_INSTALL_UTILS=ON -DLLVM_TARGETS_TO_BUILD:STRING=X86 OSMesa (works only with 13.x, tested with 13.0.6): .\/configure &#8211;prefix=\/packages\/mesa\/13.0.6-gcc520 &#8211;enable-opengl &#8211;disable-gles1 &#8211;disable-gles2 &#8211;disable-va &#8211;disable-xvmc &#8211;disable-vdpau &#8211;enable-shared-glapi &#8211;disable-texture-float &#8211;enable-gallium-llvm &#8211;with-gallium-drivers=swrast,swr &#8211;disable-dri &#8211;with-dri-drivers= &#8211;disable-egl &#8211;with-egl-platforms= &#8211;disable-gbm &#8211;disable-glx &#8211;disable-osmesa &#8211;enable-gallium-osmesa &#8211;with-llvm-prefix=\/packages\/llvm\/3.9.1\/ ParaView (tested&#8230; <a class=\"continue-reading-link\" href=\"https:\/\/kszyh.kisim.eu.org\/?p=401\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23,106],"tags":[45],"class_list":["post-401","post","type-post","status-publish","format-standard","hentry","category-linux","category-science","tag-paraview"],"_links":{"self":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/401","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=401"}],"version-history":[{"count":3,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions"}],"predecessor-version":[{"id":404,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=\/wp\/v2\/posts\/401\/revisions\/404"}],"wp:attachment":[{"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=401"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=401"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kszyh.kisim.eu.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=401"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}