[vtkusers] invoking multiple CPU's to run a vtk appliaction

David E DeMarle dave.demarle at kitware.com
Thu Jun 21 08:13:26 EDT 2012


Many imaging filters will use multiple threads by default. For the
rest of VTK the only option is to use MPI. See the ParallelIso.cxx
test in the source code for an example.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Jun 20, 2012 at 5:31 PM, Luke Hetrick <lhetrick at nnu.edu> wrote:
> Hello All,
>
>     I am running a fairly simple isosurface algorithm that reads in many
> files and extracts contours from them. Everything works and vtk produces a
> result that is acceptabel for now, the only thing I do not like is the
> amount of time it takes. To generate a surface with only 50 isosurfaces is
> taking around 15mins to do but I noticed vtk is only working on a single CPU
> of my computer. Is there a way to allow  vtk to  invoke more of the CPU of
> the computer to lesson the amount of time it takes to run?
>
> Thanks for your thoughts,
> Luke H
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list