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

Schlottke, Michael M.Schlottke at aia.rwth-aachen.de
Mon Apr 13 11:09:02 EDT 2015


> Well, try this: create a programmable source and try the following as
> the "Script".
> 
>     from paraview.servermanager import vtkProcessModule
>     print "rank=", vtkProcessModule.GetProcessModule().GetPartitionId()
>     print "total=",
> vtkProcessModule.GetProcessModule().GetNumberOfLocalPartitions()
> 
> What do you get?


When I do not connect to a server, I get the expected output (rank=0, total=1).

If I do connect to the server, I get the following error (once per rank) from pvserver:

Traceback (most recent call last):
  File "<string>", line 19, in <module>
  File "<string>", line 2, in RequestData
  File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3184, in <module>
    __initialize()
  File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 3175, in __initialize
    c = Connection(iter.GetCurrentSessionId(), iter.GetCurrentSession())
  File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1932, in __init__
    _createModules(self.Modules)
  File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2563, in _createModules
    m.sources = createModule('sources')
  File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 2593, in createModule
    pxm = ProxyManager()
  File "/aia/r014/home/mic/.pool/paraview/4.3.1/lib/paraview-4.3/site-packages/paraview/servermanager.py", line 1624, in __init__
    self.SMProxyManager = session.GetSessionProxyManager()
AttributeError: GetSessionProxyManager



More information about the ParaView mailing list