The PETSC_VIEWER_STDOUT_(comm) construct doesn't work in Fortran. Only
PETSC_VIEWER_STDOUT_WORLD or PETSC_VIEWER_STDOUT_SELF work. This is also true
draw see src/ksp/ksp/examples/tutorials/ex100f.F90
Note that you can use PetscViewerDrawOpen() to get a draw to open on any
communicator you like.
Does this answer your question or did I misunderstand?
> On Mar 6, 2018, at 9:02 AM, Tim Steinhoff <kandanov...@gmail.com> wrote:
> Hi all,
> it seems like the routine PETSC_VIEWER_DRAW_(comm) is not available
> in Fortran, while PETSC_VIEWER_STDOUT_(comm) is.
> Is there anything I can do about it? (I am using the current maint
> branch of PETSc)
> Thank you very much and kind regards,