[Paraview] Paraview Python Multiprocessing

Bruce Jones bruce.david.jones at gmail.com
Tue May 26 11:29:00 EDT 2015


Hi,

I am trying to do some parallel programming within paraviews python shell
and have encountered a problem. If I run the following two lines of code in
the python shell, the result is that a whole bunch of new paraview sessions
will be started...

from multiprocessing import Pool
pool = Pool();

It appears that a new paraview session is being created for each thread of
the thread pool. Unfortunately, I am not able to then use the thread pool
to run functions assynchronously.

Regards,
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20150526/70aa5ba9/attachment.html>


More information about the ParaView mailing list