[Paraview] Problems with large VTR files on Windows

Cory Quammen cory.quammen at kitware.com
Thu Jul 14 09:30:19 EDT 2016


Vyacheslav,

I believe you are running into problems with files > 4 GB on Windows.
Special functions for randomly accessing files of this size are
required on Windows, but they are not used in the ParaView, VTK, or
supporting libraries in a consistent way. See
http://www.firstobject.com/fseeki64-ftelli64-in-vc++.htm for some
background.

I'm not aware of current plans to address this problem, unfortunately.
If someone in the community wanted to take up this challenge, I would
be happy to review a patch.

Best regards,
Cory

On Thu, Jul 14, 2016 at 5:40 AM, Vyacheslav Olshevsky
<sya.olshevsky at gmail.com> wrote:
> I can successfully open a large (4556MB, 1200x450x300 cells) VTR (or a
> PVTR file that consists of only 1 piece) on a 64-it Linux (CentOS)
> machine.
>
> However, on my Windows 8 64-bit machine I encounter this error:
>
> ERROR: In C:\bbd\df0abce0\source-paraview\VTK\IO\XML\vtkXMLPDataReader.cxx,
> line 362
> vtkXMLPRectilinearGridReader (000000BBB2228080): File for piece 0
> cannot be read.
>
>
> When I am trying to open this file in Python using
> vtkXMLRectilinearGridReader (VTK version 6.3.0):
>
> reader = vtk.vtkXMLRectilinearGridReader()
> reader.SetFileName(fname)
> reader.Update()
> rtg = reader.GetOutputAsDataSet()
>
> When I "print rtg", everything is zero there...:
> vtkRectilinearGrid (00000000024318E0)
>   Debug: Off
>   Modified Time: 1046
>   Reference Count: 2
>   Registered Events: (none)
>   Information: 0000000013F5C300
>   Data Released: False
>   Global Release Data: Off
>   UpdateTime: 1050
>   Field Data:
>     Debug: Off
>     Modified Time: 1033
>     Reference Count: 1
>     Registered Events: (none)
>     Number Of Arrays: 0
>     Number Of Components: 0
>     Number Of Tuples: 0
>   Number Of Points: 0
>   Number Of Cells: 0
>   Cell Data:
>     Debug: Off
>     Modified Time: 1041
>     Reference Count: 1
>     Registered Events:
>       Registered Observers:
>         vtkObserver (0000000015364E50)
>           Event: 33
>           EventName: ModifiedEvent
>           Command: 0000000013F61560
>           Priority: 0
>           Tag: 1
>     Number Of Arrays: 0
>     Number Of Components: 0
>     Number Of Tuples: 0
>     Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
>     Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
>     Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
>     Scalars: (none)
>     Vectors: (none)
>     Normals: (none)
>     TCoords: (none)
>     Tensors: (none)
>     GlobalIds: (none)
>     PedigreeIds: (none)
>     EdgeFlag: (none)
>   Point Data:
>     Debug: Off
>     Modified Time: 1045
>     Reference Count: 2
>     Registered Events:
>       Registered Observers:
>         vtkObserver (0000000015365120)
>           Event: 33
>           EventName: ModifiedEvent
>           Command: 0000000013F61560
>           Priority: 0
>           Tag: 1
>     Number Of Arrays: 0
>     Number Of Components: 0
>     Number Of Tuples: 0
>     Copy Tuple Flags: ( 1 1 1 1 1 0 1 1 )
>     Interpolate Flags: ( 1 1 1 1 1 0 0 1 )
>     Pass Through Flags: ( 1 1 1 1 1 1 1 1 )
>     Scalars: (none)
>     Vectors: (none)
>     Normals: (none)
>     TCoords: (none)
>     Tensors: (none)
>     GlobalIds: (none)
>     PedigreeIds: (none)
>     EdgeFlag: (none)
>   Bounds:
>     Xmin,Xmax: (1, -1)
>     Ymin,Ymax: (1, -1)
>     Zmin,Zmax: (1, -1)
>   Compute Time: 0
>   Dimensions: (0, 0, 0)
>   X Coordinates: 0000000000000000
>   Y Coordinates: 0000000000000000
>   Z Coordinates: 0000000000000000
>   Extent: 0, -1, 0, -1, 0, -1
>
>
> ParaView versions: 4.3, 5.0.1, 5.1.0 64 bit.
> Windows 8, file system NTFS.
>
> Can this problem be related to the way ParaView binaries are compiled
> for Windows?
>
> Thank you for your help,
> Vyacheslav
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview



-- 
Cory Quammen
R&D Engineer
Kitware, Inc.


More information about the ParaView mailing list