Thank you for your answer. I will write it by including SILO header files directly into my code instead of using PETSC viewers. I am dealing with structured meshes, so it shouldn't be to hard.
Christophe On Tuesday 06 June 2006 01:15 pm, Matthew Knepley wrote: > 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. > > Matt > > On 6/6/06, Christophe Picard <picard2 at llnl.gov> 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
