SAWs is a software library that uses threads, sockets, and locks to allow a client program to read (and change when desired) variables in the server (PETSc) application).

Requirements and installation of the SAWs (if not using the --download-saws PETSc ./configure option)

Usage from PETSc