[Paraview-developers] adding parallel writers

Fisk, Lee Ann lafisk at sandia.gov
Fri Sep 17 13:34:00 EDT 2004


I want to add two writers to ParaView, and Exodus writer and an
EnSight writer.  They would be included if PARAVIEW_USE_EXODUS
is on. Both take a vtkUnstructuredGrid as input, and both can work
in parallel or serial mode.  All they need is an output file base
name.  The EnSight writer could also use a ghost level request.

First problem:

If I don't specify "parallel = 1" in Writers.xml, the writers show up in
single process ParaView but not multiprocess ParaView.  If I *do*
specify this, the writers show up in multiprocess ParaView but not
single process ParaView.  I want them to be available in both cases.  I
listed them twice each in Writers.xml, which solved that, but I have
other problems now.

Second problem:

If I specify "parallel = 1", vtkPVWriter tries to invoke things like
SetNumberOfPieces (which is not defined in these writers which are
subclasses of vtkWriter), or SetWriter, which seems to be an XML thing.

Also, after fixing vtkPVWriter to not invoke methods my writers don't
have, it still ended up writing files with a .vtk extension.  Is there
something on the server side, analygous to Writers.xml, to get the
server side to invoke the Exodus or EnSight writers?

Thank you...

Lee Ann Fisk
-- 
Lee Ann Fisk, Department 9227
Data Analysis and Visualization
Sandia National Laboratories
505-844-2059




More information about the Paraview-developers mailing list