[Paraview] Cannot Read Binary Unstr Legacy VTK with 2.4.2
Dominik Szczerba
domi at vision.ee.ethz.ch
Wed Mar 1 03:43:42 EST 2006
I am succesful reading legacy binary unstructured files in PV 2.4.2.
Your error looks like some n.elem. is not set right. Send me an example
file.
DS
Kent Eschenberg wrote:
> ParaView 2.4.2 crashes when it reads a file using the VTK legacy binary
> format for an unstructured grid. In my test case there is one hexahedron
> and no data. A similar file in ASCII works fine. The error:
>
> "There was a VTK Error in file: .../VTK/Common/vtkDataArrayTemplate.txx
> (105)
> vtkDoubleArray (0xd11fff8): Unable to allocate 402653184 elements of
> size 8: St9bad_alloc"
>
> I'm working from the document "File Formats for VTK Version 4.2" from
> the Kitware site. ParaView and the C program writing the binary VTK file
> were compiled on my Pentium 4 system using gcc 4.0.2. The system runs
> Redhat Fedora Core 4.
>
> The binary data is written to the file directly from memory, i.e., it is
> in this system's native format. Is that what VTK and ParaView expect?
>
> TIA.
>
> Kent
> Pittsburgh Supercomputing Center
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
--
Dominik Szczerba, Dr.
Computer Vision Lab CH-8092 Zurich
http://www.vision.ee.ethz.ch/~domi
More information about the ParaView
mailing list