hi, OpenMP and OpenGL2 features are always disabled when building ParaView 5.1. Many VTK filters use OpenMP and most commodity hardware have several cores now. Thus, it'd be nice to be able to control the activation of this feature. ParaView 5 introduces several nice screen-space rendering features that can only be supported with OpenGL2 enabled. Also, I suspect the legacy rendering backend (used currently by default in Gentoo) will be marked deprecated pretty soon upstream. Here's a short fix to apply in the src_configure() function (the variable IUSE should be updated accordingly): [code] if use openmp; then mycmakeargs+=( -DVTK_SMP_IMPLEMENTATION_TYPE=OpenMP ) fi if use opengl2; then mycmakeargs+=( -DVTK_RENDERING_BACKEND=OpenGL2 ) mycmakeargs+=( -DVTK_USE_SYSTEM_GL2PS=OFF ) fi [/code] Several things here: - I don't believe such a thing as the opengl2 use flag exists (maybe it should?) - for some reason, I can't get OpenGL2 support to compile in conjunction with gl2ps (hence I disabled the latter). Please ping me if you need any further information. best,
I have pushed an ebuild for 5.1.2 to the tree that enables opengl2 as backed (unconditionally). Further the ebuild got an "openmp" use flag. Thanks a lot for the suggestion! commit d4d698ee89d2dd6931f726dd77a710daad36b33c Author: Matthias Maier <tamiko@gentoo.org> Date: Thu Aug 18 22:05:55 2016 -0500 sci-visualization/paraview: ver bump, enable openmp support, bug #590746 - version bump to 5.1.0 - add USE=openmp to control openmp support - switch to OpenGL2 rendering engine. Package-Manager: portage-2.2.28