Rustem,

I doubt the multiprocessing module will every play nicely with the
Python interpreter built into ParaView. As you have noticed,
multiprocessing works by spawning additional instances of the Python
interpreter, in this case, ParaView. If you can live with that and
make it work for your use case, great, but I don't know that ParaView
would be able to change the multiprocessing module's behavior.

Out of curiosity, what is your use case for using the multiprocessing module?

Thanks,
Cory

On Wed, Apr 12, 2017 at 9:43 AM, Rustem Khabetdinov
<rustem.khabetdi...@gmail.com> wrote:
> Hello,
> There was a bug in python shell running this code:
> from multiprocessing import Pool
> p = Pool()
>
> It created multiple paraview instances but there was a patch that could
> help. Now when I try to run the same code the issue is still there. Is it a
> bug or should I try to change something in build variables to get this code
> work?
>
> Thank you,
> Rustem
>
> _______________________________________________
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to