[vtkusers] problem with vtu binary file on 64-bit computer
fred
fredmfp at gmail.com
Sun Nov 4 16:54:14 EST 2007
Sreejith Pulloor a écrit :
> Dear Group,
>
> I have a problem that getting an error as below when trying to view a
> generated (using
> a c++ code) VTK XML unstructured grid file (binary appended raw
> format) on a 64bit machine. But when i generate similar file on 32bit
> machine, using the same code i have no problem in viewing with paraview.
> the error is like :
> ERROR: In /../Build/ParaView3/VTK/IO/vtkXMLUnstructuredDataReader.cxx, line 583
> vtkXMLUnstructuredGridReader (0x1acabb0): Cannot read cell offsets
> from Cells in piece 0 because the "offsets" array is not long enough.
>
> attached the vtu file. Any help is appreciated in finding the problem
>
I'm afraid I can't be of any help, but
I think there is something wrong in your VTK file.
paraview 3.2 (and mayavi2) fail to load it, under both i686 & x86_64 archs,
with the same error message you get.
Could you write in legacy VTK file format, in ascii,
to try to see what's wrong ?
Cheers,
--
http://scipy.org/FredericPetit
More information about the vtkusers
mailing list