[Paraview] Paraview Python Multiprocessing

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Tue May 26 13:20:37 EDT 2015


Bruce,

Alas, you'll need to build from source (or wait till the changes land
in ParaView nightly binaries). It's indeed a bug in the code that
needs to be compiled.

Utkarsh

On Tue, May 26, 2015 at 1:16 PM, Bruce Jones
<bruce.david.jones at gmail.com> wrote:
> Thanks for the quick response Utkarsh. However, I am using the windows
> binaries and have not built paraview from scratch.
>
> Cheers,
> Bruce
>
> On Tue, 26 May 2015 at 12:00 Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
> wrote:
>>
>> Bruce,
>>
>> Try the attached patch. You'll need to apply it to the VTK subdir
>> under ParaView.
>>
>> Utkarsh
>>
>> On Tue, May 26, 2015 at 11:29 AM, Bruce Jones
>> <bruce.david.jones at gmail.com> wrote:
>> > 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
>> >
>> > _______________________________________________
>> > 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
>> >


More information about the ParaView mailing list