<div dir="ltr"><div>I wanted to use it to download multiple frames from remote server using websockets and creating vtp files. Or to create multiple vtp files.<br></div><div><br></div><div>Thank you,</div><div>Rustem</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-12 17:09 GMT+03:00 Cory Quammen <span dir="ltr"><<a href="mailto:cory.quammen@kitware.com" target="_blank">cory.quammen@kitware.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Rustem,<br>
<br>
I doubt the multiprocessing module will every play nicely with the<br>
Python interpreter built into ParaView. As you have noticed,<br>
multiprocessing works by spawning additional instances of the Python<br>
interpreter, in this case, ParaView. If you can live with that and<br>
make it work for your use case, great, but I don't know that ParaView<br>
would be able to change the multiprocessing module's behavior.<br>
<br>
Out of curiosity, what is your use case for using the multiprocessing module?<br>
<br>
Thanks,<br>
Cory<br>
<div><div class="h5"><br>
On Wed, Apr 12, 2017 at 9:43 AM, Rustem Khabetdinov<br>
<<a href="mailto:rustem.khabetdinov@gmail.com">rustem.khabetdinov@gmail.com</a>> wrote:<br>
> Hello,<br>
> There was a bug in python shell running this code:<br>
> from multiprocessing import Pool<br>
> p = Pool()<br>
><br>
> It created multiple paraview instances but there was a patch that could<br>
> help. Now when I try to run the same code the issue is still there. Is it a<br>
> bug or should I try to change something in build variables to get this code<br>
> work?<br>
><br>
> Thank you,<br>
> Rustem<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/<wbr>opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/<wbr>ParaView</a><br>
><br>
> Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/paraview</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
Cory Quammen<br>
Staff R&D Engineer<br>
Kitware, Inc.<br>
</font></span></blockquote></div><br></div>