[vtkusers] vtkThreadedController
Laurence Griffiths
lgriffiths.aero at gmail.com
Fri Aug 2 12:32:12 EDT 2013
Cheers for the quick reply Berk,
Actually I think i can achieve the same with pythons Queue and threading
modules. So no big problem.
I have a pipline which does something like:
1. Read unstructured grid
2. take a some slices
3. Do some processing on the slices
4. render. (offscrean, OSMesa)
5. save image to file
rendering on osmesa is slow, so I wanted to gain a small speed on the
rendering stage by rendering & saving multiple slices at once.
The threading would be more of a quick fix before ive implemented something
with mpi
Cheers,
Laurence.
On Fri, Aug 2, 2013 at 4:31 PM, Berk Geveci <berk.geveci at kitware.com> wrote:
> Hi Laurence,
>
> We deprecated vtkThreadedController quite a while ago. It wasn't being
> maintained and until now, we thought it wasn't being used. Are you using it
> in an application? What is your use case?
>
> Best,
> -berk
>
>
>
> On Fri, Aug 2, 2013 at 9:58 AM, Laurence Griffiths <
> lgriffiths.aero at gmail.com> wrote:
>
>> Does anybody know what happened to vtkThreadedController. I cannot find
>> it anywhere in vtk6.0.0.
>>
>>
>> An example seems to hint that its possible to get a vtkThreadedController
>> by using vtkMultiProcessController without MPI:
>>
>> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.cxx
>>
>> however vtkMultiProcessControler is an abstract class, so i am unable to
>> use it as shown in the exmaple.
>>
>> Another example suggests the same using vtkMPIController without MPI to
>> get a threaded controller:
>>
>> http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ParallelProcessing/Generic/Cxx/TaskParallelism.cxx
>>
>> However for me this doesnt seem to work, I get mpi errors if i try to
>> inialise the MPIController without MPI.
>>
>> Doesnt anyone have any hints on how to make a threadedcontroller work in
>> vtk6.0.0
>>
>> Cheers,
>> Laurence.
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130802/81137345/attachment.htm>
More information about the vtkusers
mailing list