MantisBT - ParaView
View Issue Details
0012501ParaView(No Category)public2011-08-11 09:062016-08-12 09:58
Eelco van Vliet 
Kitware Robot 
normalminorhave not tried
closedmoved 
3.10.1 
 
Kitware
crash
0012501: PythonCalculator crashes when running on multiple core with mpirun
PythonCalculor causes a crashes when

mpirun -np 2 pvbatch --use-offscreen-rendering pythoncalcmpibug.py
is issued.

without mpirun and with mpirun with only 1 core the scripts works.

------------------- start pythoncalcmpibug.py

from paraview.simple import *

view=CreateRenderView()
view.ViewSize = [400, 400]
view.ResetCamera()
view.Background=[0.7,0.7,0.7]
view.CameraViewUp = [0,1,0]

Sphere(PhiResolution = 1024, ThetaResolution = 1024);
Elevation(LowPoint=[-0.5, -0.5, -0.5],HighPoint=[0.5, 0.5, 0.5])
PythonCalculator(Expression='Elevation*Elevation')
rep = Show()

lut = MakeBlueToRedLT(0,1)
lut.NumberOfTableValues=100
rep.LookupTable=lut
rep.ColorAttributeType='POINT_DATA'
rep.ColorArrayName='Elevation'

bar=CreateScalarBar(LookupTable=lut,Title='Elevation')
bar.TitleColor=[0,0,0]
bar.LabelColor=[0,0,0]
bar.NumberOfLabels=3

view.Representations.append(bar)

view.StillRender()
WriteImage("elevationsphere.png",view=view,Writer="vtkPNGWriter")
No tags attached.
? pythoncalcmpibug.py (732) 2011-08-11 09:06
https://www.vtk.org/Bug/file/8997/pythoncalcmpibug.py
Issue History
2011-08-11 09:06Eelco van VlietNew Issue
2011-08-11 09:06Eelco van VlietFile Added: pythoncalcmpibug.py
2016-08-12 09:58Kitware RobotNote Added: 0038036
2016-08-12 09:58Kitware RobotStatusbacklog => closed
2016-08-12 09:58Kitware RobotResolutionopen => moved
2016-08-12 09:58Kitware RobotAssigned To => Kitware Robot

Notes
(0038036)
Kitware Robot   
2016-08-12 09:58   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.