[Paraview] Process id from within pvbatch

Andy Bauer andy.bauer at kitware.com
Fri Apr 9 14:40:14 EDT 2010


I think what you want is:
pid = servermanager.vtkProcessModule.GetProcessModule().GetPartitionId()

Andy

On Fri, Apr 9, 2010 at 2:34 PM, Fabian, Nathan <ndfabia at sandia.gov> wrote:

> Hi,
>
> Is there any way to get the local process id from within a python script?
>  I
> can't seem to get hold of vtkMultiProcessController and can't find any
> other
> way through the modules...
>
> Thanks,
> Nathan.
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100409/f07caf79/attachment.htm>


More information about the ParaView mailing list