<div dir="ltr"><div>Just incase someone reads my previous post and thinks they will attempt the same with python threads:</div><div> </div><div>The global interpreter lock on threads, means things wont run in parallel. </div>
<div>And for anything to be passed to a multiprocess, it must be ´pickelable (vtk objects are not)</div><div> </div><div>Will use MPI.</div><div> </div><div> </div><div> </div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Aug 2, 2013 at 4:31 PM, Berk Geveci <span dir="ltr">&lt;<a href="mailto:berk.geveci@kitware.com" target="_blank">berk.geveci@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Laurence,<div><br></div><div>We deprecated <span style="font-family:arial,sans-serif;font-size:13px">vtkThreadedController quite a while ago. It wasn&#39;t being maintained and until now, we thought it wasn&#39;t being used. Are you using it in an application? What is your use case?</span></div>


<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">Best,</font></div><div><font face="arial, sans-serif">-berk</font></div><div><font face="arial, sans-serif"><br>


</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 2, 2013 at 9:58 AM, Laurence Griffiths <span dir="ltr">&lt;<a href="mailto:lgriffiths.aero@gmail.com" target="_blank">lgriffiths.aero@gmail.com</a>&gt;</span> wrote:<br>


<blockquote style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid" class="gmail_quote"><div dir="ltr"><div>Does anybody know what happened to vtkThreadedController. I cannot find it anywhere in vtk6.0.0. </div>


<div> </div><div> </div><div>An example seems to hint that its possible to get a vtkThreadedController by using vtkMultiProcessController without MPI:</div>
<div><a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ParallelProcessing/Generic/Cxx/TaskParallelismWithPorts.cxx</a></div>



<div> </div><div>however vtkMultiProcessControler is an abstract class, so i am unable to use it as shown in the exmaple.</div><div> </div><div>Another example suggests the same using vtkMPIController without MPI to get a threaded controller:</div>



<div><a href="http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ParallelProcessing/Generic/Cxx/TaskParallelism.cxx" target="_blank">http://vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/ParallelProcessing/Generic/Cxx/TaskParallelism.cxx</a></div>



<div> </div><div>However for me this doesnt seem to work, I get mpi errors if i try to inialise the MPIController without MPI.</div><div> </div><div>Doesnt anyone have any hints on how to make a threadedcontroller work in vtk6.0.0</div>



<div> </div><div>Cheers,</div><div>Laurence.</div></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>