[vtkusers] vtkThreadedController

Laurence Griffiths lgriffiths.aero at gmail.com
Fri Aug 2 14:40:03 EDT 2013


Just incase someone reads my previous post and thinks they will attempt the
same with python threads:

The global interpreter lock on threads, means things wont run in parallel.
And for anything to be passed to a multiprocess, it must be ´pickelable
(vtk objects are not)

Will use MPI.





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/0b8675a5/attachment.htm>


More information about the vtkusers mailing list