On Sun, Nov 28, 2010 at 21:18, Jed Brown
<jed@59a2.org> wrote:
PetscViewer viewer = PETSC_VIEWER_BINARY(PETSC_COMM_WORLD);
This line should read: PetscViewer viewer = PETSC_VIEWER_BINARY_(PETSC_COMM_WORLD);
You can use PetscViewerBinaryOpen for more control, and to specify the filename.
Jed