[Paraview] pvbatch MPI error
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Mar 18 22:35:15 EDT 2013
What is the version of ParaView on the "other" Linux box? How are you
running the script? Is the mpi used to build and run the executable
same?
Utkarsh
On Mon, Mar 18, 2013 at 7:28 PM, Anton Shterenlikht <mexas at bristol.ac.uk> wrote:
> This script:
>
> from paraview.simple import *
> #Connect()
> reader=ImageReader(FilePrefix="z.raw")
> reader.DataByteOrder=1
> reader.DataExtent=[1,40,1,40,1,40]
> reader.DataScalarType=6
>
> view = GetActiveView()
> if not view:
> view = CreateRenderView()
> view.ViewSize=[600,600]
>
> Show()
>
> dp = GetDisplayProperties(reader)
> dp.LookupTable = MakeBlueToRedLT(1,64)
> dp.ColorAttributeType = 'POINT_DATA'
> dp.ColorArrayName = 'ImageFile'
> dp.Representation = "Surface"
>
> camera = GetActiveCamera()
> camera.SetViewUp(-1,0,0)
> camera.Azimuth(30)
> camera.Elevation(30)
>
> #camera.SetPosition(0,0,100)
> #camera.Roll(-90)
>
> Render()
>
> WriteImage("z.png")
>
>
> works fine on my FreeBSD desktop with pv 3.10
> with both pvpython and pvbatch, but fails
> on another linux box with pvbatch with:
>
> Generic Warning: In /home/kitware/Dashboards/MyTests/ParaView-master/VTK/Paralle
> l/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=
> 0x7fff87e5f410, array_of_subsizes=0x7fff87e5f400, array_of_starts=0x7fff87e5f3f0
> , order=57, MPI_BYTE, newtype=0x7fff87e5f428) 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, 403294732) - process 0
> -------------------------------------------------------------------------------
>
>
> Please advise
>
> Thanks
>
> Anton
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
More information about the ParaView
mailing list