I've made a matrix, and now I want to draw it on the screen to make a basic check of correctness. The documentation for MatAssemblyEnd() states that I can pass an option to do this:
-mat_view_draw - PetscDraws nonzero structure of matrix, using MatView() and PetscDrawOpenX().
But when I run my program with this option, I get the following error:
[0]PETSC ERROR: --------------------- Error Message ------------------------------------
[0]PETSC ERROR: No support for this operation for this object type!
[0]PETSC ERROR: Viewer type draw not supported!
[0]PETSC ERROR: ------------------------------------------------------------------------
Does PETSc still support drawing to X terminals? Or is this just an indication of a bug somewhere in my code?