<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      I did have a quick look at vtkMultiThreader, however in python
      &amp; vtk6.0, vtkMultiThreader doesnt have the attributes <span
        style="color: rgb(0, 0, 0); font-family: Roboto, sans-serif;
        font-size: 14px; font-style: normal; font-variant: normal;
        font-weight: normal; letter-spacing: normal; line-height: 19px;
        orphans: auto; text-align: start; text-indent: 0px;
        text-transform: none; white-space: normal; widows: auto;
        word-spacing: 0px; -webkit-text-stroke-width: 0px;
        background-color: rgb(249, 250, 252); display: inline
        !important; float: none;"><span class="Apple-converted-space"></span></span>SetSingleMethod&nbsp;
      or SetMultipleMethod.<br>
      <br>
      I will file a report on Mentis.<br>
      <br>
      Cheers,<br>
      Laurence.<br>
      <br>
      On 06/08/2013 03:27, Berk Geveci wrote:<br>
    </div>
    <blockquote
cite="mid:CAE32kpUbjZUR81RCPcVtwqR3G3iiZfDrc7+aYoJE3F9bh23gpQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">You can still use threads - see vtkMultiThreader.
        However, be aware that there is lots of parts of VTK that are
        not thread safe. We are working on improving VTK's thread safely
        but it is a long road.
        <div>
          <br>
        </div>
        <div>-berk</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Aug 2, 2013 at 2:40 PM,
          Laurence Griffiths <span dir="ltr">&lt;<a
              moz-do-not-send="true"
              href="mailto:lgriffiths.aero@gmail.com" target="_blank">lgriffiths.aero@gmail.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">
              <div>Just incase someone reads my previous post and thinks
                they will attempt the same with python threads:</div>
              <div>&nbsp;</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 &acute;pickelable (vtk objects are not)</div>
              <div>&nbsp;</div>
              <div>Will use MPI.</div>
              <div>&nbsp;</div>
              <div>&nbsp;</div>
              <div>&nbsp;</div>
            </div>
            <div class="gmail_extra"><br>
              <br>
              <div class="gmail_quote">
                <div class="im">
                  On Fri, Aug 2, 2013 at 4:31 PM, Berk Geveci <span
                    dir="ltr">&lt;<a moz-do-not-send="true"
                      href="mailto:berk.geveci@kitware.com"
                      target="_blank">berk.geveci@kitware.com</a>&gt;</span>
                  wrote:<br>
                </div>
                <div>
                  <div class="h5">
                    <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&nbsp;<span
                            style="font-family:arial,sans-serif;font-size:13px">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?</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
                              moz-do-not-send="true"
                              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>&nbsp;</div>
                              <div>&nbsp;</div>
                              <div>An example seems to hint that its
                                possible to get a vtkThreadedController
                                by using vtkMultiProcessController
                                without MPI:</div>
                              <div><a moz-do-not-send="true"
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>&nbsp;</div>
                              <div>however vtkMultiProcessControler is
                                an abstract class, so i am unable to use
                                it as shown in the exmaple.</div>
                              <div>&nbsp;</div>
                              <div>Another example suggests the same
                                using vtkMPIController without MPI to
                                get a threaded controller:</div>
                              <div><a moz-do-not-send="true"
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>&nbsp;</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>&nbsp;</div>
                              <div>Doesnt anyone have any hints on how
                                to make a threadedcontroller work in
                                vtk6.0.0</div>
                              <div>&nbsp;</div>
                              <div>Cheers,</div>
                              <div>Laurence.</div>
                            </div>
                            <br>
_______________________________________________<br>
                            Powered by <a moz-do-not-send="true"
                              href="http://www.kitware.com"
                              target="_blank">www.kitware.com</a><br>
                            <br>
                            Visit other Kitware open-source projects at
                            <a moz-do-not-send="true"
                              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 moz-do-not-send="true"
                              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 moz-do-not-send="true"
                              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>
                </div>
              </div>
              <br>
            </div>
            <br>
            _______________________________________________<br>
            Powered by <a moz-do-not-send="true"
              href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
            <br>
            Visit other Kitware open-source projects at <a
              moz-do-not-send="true"
              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
              moz-do-not-send="true"
              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 moz-do-not-send="true"
              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>
    <br>
  </body>
</html>