parallel xml writers reorder arrays improperly if process 0 doesn't have any points
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Run the following with pvbatch with more than 1 process and look at the ordering of the arrays in the output files:
try: paraview.simple except: from paraview.simple import * paraview.simple._DisableFirstRenderCameraReset()
Line1 = Sphere()
Elevation1 = Elevation()
Elevation1.LowPoint = [-50.0, 0.0, 0.0] Elevation1.HighPoint = [50., 0.0, 0.0]
Calculator1 = Calculator() Calculator1.Function = '1' Calculator1.ResultArrayName = 'b'
Calculator2 = Calculator() Calculator2.Function = '1' Calculator2.ResultArrayName = 'a'
Calculator3 = Calculator() Calculator3.Function = '1' Calculator3.ResultArrayName = 'c'
ProcessIdScalars()
Threshold1 = Threshold() Threshold1.Scalars = ['POINTS', 'ProcessId'] Threshold1.ThresholdRange = [0.79, 1.0]
w = XMLPUnstructuredGridWriter() w.FileName = 'junk.pvtu' w.UpdatePipeline()