[vtkusers] vtkXMLPImageDataReader + vtkXMLPImageDataWriter

Berk Geveci berk.geveci at kitware.com
Mon Jul 28 09:12:36 EDT 2003


Hi Paul,

I am assuming you are writing to a local disk on each processor
not a shared disk. If yes, this is a bug we have already fixed.
If you download the nightly VTK and compile, it should work.

-Berk

On Thu, 2003-07-24 at 13:26, Paul McGuinness wrote:
> 
> Hi All,
> 
> I am creating an vtkImageData object and using vtkXMLPImageDataWriter to
> write it to a file(*.pvti). Using a data parallel program (similar to
> ParallelIso.cxx) to read in the using vtkXMLPImageDataReader and visual it
> but I am I getting errors like:
> 
> Hi from Processor 2
> ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
> 297
> vtkXMLPImageDataReader (0x847d0a0): File for piece 1 cannot be read.
> 
> ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
> 297
> vtkXMLPImageDataReader (0x847d0a0): File for piece 2 cannot be read.
> 
> Hi from Processor 3
> ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
> 297
> vtkXMLPImageDataReader (0x847d0a0): File for piece 1 cannot be read.
> 
> ERROR: In /home/VTK/VTK-4.2.2/IO/vtkXMLPDataReader.cxx, line
> 297
> vtkXMLPImageDataReader (0x847d0a0): File for piece 3 cannot be read.
> 
> I am not sure that I am using these classes correctly I am wondering if it
> is possible that someone could email me an example of using both
> vtkXMLPImageDataWriter and vtkXMLPImageDataReader.
> 
> Thanks,
> Paul.
> 
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers






More information about the vtkusers mailing list