Support for viewers

Matthew Knepley knepley at
Tue Jun 6 15:15:52 CDT 2006

I wrote the SILO viewer long ago when I had an experimental mesh
format, but I stopped supporting it. We could try and help you get
it coded yourself, but since it depends on a mesh and we are really
busy, it is unlikely it will get done by us anytime soon.


On 6/6/06, Christophe Picard <picard2 at> wrote:
> Hello,
> I am new to PETSC. I am writting a 3D code based on PETSC, and I
> would like to output the data to SILO format to use with VISIT
> (visualization
> tool). How do I
> compile my code to do that?
> I have SILO installed in some custom directory. But I don't know how to
> tell
> PETSC where to find SILO.
> This is the error message I have now:
> [0]PETSC ERROR: Unknown PetscViewer type given: silo!
> [0]PETSC ERROR: VecView_MPI() line 778 in src/vec/vec/impls/mpi/pdvec.c
> [0]PETSC ERROR: No support for this operation for this object type!
> [0]PETSC ERROR: Viewer type (null) not supported for this object!
> [0]PETSC ERROR: VecView() line 708 in src/vec/vec/interface/vector.c
> [0]PETSC ERROR: VecView_MPI_DA() line 424 in src/dm/da/src/gr2.c
> [0]PETSC ERROR: VecView() line 708 in src/vec/vec/interface/vector.c
> [0]PETSC ERROR: PetscViewerSetType() line 91
> insrc/sys/viewer/interface/viewreg .c
> Actually, the same question is valid for HDF and NETCDF formats.
> Thank you for your help.
> Christophe

"Failure has a thousand explanations. Success doesn't need one" -- Sir Alec
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the petsc-users mailing list