Discussion:
[vtkusers] How to configure cmake to include /Accelerators/Vtkm classes
Trinian Gordon
2018-11-16 21:28:15 UTC
Permalink
Hello,

I have read that it is possible to include a select number of VTKm classes into a VTK pipeline. I see that there are a few of those classes included in the vtk repository under /Accelerators/Vtkm, but are not found by cmake. How do I build VTK so I can use the VTKm filters?

Building vtk with the cmake gui, changing only the basic options for output filepaths and using TBB for the VTK_SMP_IMPLEMENTATION_TYPE works fine. When I try to use the accelerators, they appear to be missing from my build.

Thanks,
Trinian
Robert Maynard
2018-11-19 13:45:45 UTC
Permalink
Hi Trinian,

To enable the VTK-m algorithms you will need to enable
`Module_vtkAcceleratorsVTKm`. The option can be enabled on the command line
with '-DModule_vtkAcceleratorsVTKm:BOOL=ON ' or found under advanced in
the GUI.
Post by Trinian Gordon
Hello,
I have read that it is possible to include a select number of VTKm classes
into a VTK pipeline. I see that there are a few of those classes included
in the vtk repository under /Accelerators/Vtkm, but are not found by cmake.
How do I build VTK so I can use the VTKm filters?
Building vtk with the cmake gui, changing only the basic options for
output filepaths and using TBB for the VTK_SMP_IMPLEMENTATION_TYPE works
fine. When I try to use the accelerators, they appear to be missing from my
build.
Thanks,
Trinian
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
https://public.kitware.com/mailman/listinfo/vtkusers
Loading...