[Paraview] Process id from within pvbatch

Fabian, Nathan ndfabia at sandia.gov
Fri Apr 9 14:45:14 EDT 2010


That did it.  Thanks

On 4/9/10 12:40 PM, "Andy Bauer" <andy.bauer at kitware.com> wrote:

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 <http://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/4a83915b/attachment.htm>


More information about the ParaView mailing list