PetscSetDisplay#

Determine and set PETSc’s X11 display string from the -display option, the DISPLAY environment variable, or the hostname of MPI rank 0 when running across multiple nodes

Synopsis#

Collective; No Fortran Support

Note#

Called automatically by PetscInitialize() so that subsequent PetscDraw X11 windows have a usable display target.

See Also#

PetscGetDisplay(), PetscDraw, PETSC_DRAW_X

Level#

developer

Location#

src/sys/utils/pdisplay.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages