How to build VTK with vtkParallelTimer

Could someone please explain how to get VTK to include vtkParallelTimer?

I’ve tried building with VTK_USE_MPI and adding a BOOL entry to CMake with
VTK_RENDERINGPARALLELLIC_SURFACELICPAINTER_TIMER = ON
and
VTK_RENDERINGPARALLELLIC_LINEINTEGRALCONVLOLUTION2D_TIMER = ON
but it doesn’t seem to work.

What am I missing?

There are no flags to enable specific classes in modules (nor should there ever be). The “should it build” flag is attached to the module itself. I’ve answered on GitLab about how to enable logging for the module system to see why the module isn’t available.

I have now discovered that I had to manually add an entry to CMake for VTK_MODULE_ENABLE_VTK_RenderingParallelLIC which then automatically added boolean entries for VTK_RENDERINGPARALLELLIC_SURFACELICPAINTER_TIMER and VTK_RENDERINGPARALLELLIC_LINEINTEGRALCONVLOLUTION2D_TIMER

It seems there’s a typo in that name. Are you sure?

With these options ticked I can at least force vtkPLineIntegralConvolution2D and vtkPSurfaceLICComposite to build with vtkParallelTimer.

1 Like

Fixed here: https://gitlab.kitware.com/vtk/vtk/-/merge_requests/6579