[Paraview] MPI-aware reader plugin only has rank 0

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Apr 13 17:38:28 EDT 2015


My bad -- can't believe I made such a rookie mistake. Here's the correct script:

from vtkPVClientServerCoreCorePython import vtkProcessModule
print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId()
print "total=", vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions()


More information about the ParaView mailing list