[Paraview] ImageReader fails with pvbatch: MPI_Type_create_subarray(124): Argument array_of_starts has value 4 but must be within [0, 0] on 3.12, 3.98 linux

Anton Shterenlikht mexas at bristol.ac.uk
Fri Mar 22 08:33:24 EDT 2013


I've isolated the problem to this small script:

from paraview.simple import *

reader=ImageReader(FilePrefix= "z9end.raw" )
reader.DataByteOrder=1
reader.DataExtent=[1,80,1,80,1,640]
reader.DataScalarType=5

view = GetRenderView()
Show()

It works with:

- 3.10 pvbatch on FreeBSD
- 3.10 pvpython on FreeBSD
- 3.12 pvpython on linux
- 3.98 pvpython on linux

It fails with:

- 3.98 pvbatch on linux
- 3.12 pvbatch on linux

3.98 error:

Generic Warning: In /home/utkarsh/Dashboards/MyTests/NightlyMaster/ParaViewSuperbuild-Release/paravi
ew/src/paraview/VTK/Parallel/MPI/vtkMPICommunicator.cxx, line 72
MPI had an error
------------------------------------------------
Invalid argument, error stack:
MPI_Type_create_subarray(334): MPI_Type_create_subarray(ndims=3, array_of_sizes=0x7fffe7f4d760, arra
y_of_subsizes=0x7fffe7f4d750, array_of_starts=0x7fffe7f4d740, order=57, MPI_BYTE, newtype=0x7fffe7f4
d778) failed
MPI_Type_create_subarray(124): Argument array_of_starts has value 4 but must be within [0,0]
------------------------------------------------

application called MPI_Abort(MPI_COMM_WORLD, 805947916) - process 0

3.12 error:

Generic Warning: In /work/z03/z03/markr/xe6il/pv_3.12.0/ParaView-3.12.0/VTK/Parallel/vtkMPICommunica
tor.cxx, line 72
MPI had an error
------------------------------------------------
Invalid argument, error stack:
MPI_Type_create_subarray(340): MPI_Type_create_subarray(ndims=3, array_of_sizes=0x7fffffff9600, arra
y_of_subsizes=0x7fffffff9610, array_of_starts=0x7fffffff9620, order=57, MPI_BYTE, newtype=0x7fffffff
9634) failed
MPI_Type_create_subarray(124): Argument array_of_starts has value 2 but must be within [0,0]


I started this PR:

http://paraview.org/Bug/view.php?id=13953

Please advise

anton




More information about the ParaView mailing list