[Paraview] Multiprocessing lib in python shell
Rustem Khabetdinov
rustem.khabetdinov at gmail.com
Wed Apr 12 10:50:44 EDT 2017
I wanted to use it to download multiple frames from remote server using
websockets and creating vtp files. Or to create multiple vtp files.
Thank you,
Rustem
2017-04-12 17:09 GMT+03:00 Cory Quammen <cory.quammen at kitware.com>:
> 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.khabetdinov at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170412/f6befabf/attachment.html>
More information about the ParaView
mailing list