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)
- This is currently only supported with petsc-master
-
A current version of SAWs available from
https://bitbucket.org/saws/saws
Usage from PETSc
-
./configure PETSc with the option --with-saws-dir=/directorywhereamsisinstalled (or --download-saws)
-
To examine options in a browser, run PETSc applications with
-server <port> -saws_view saws -ts_view_pre saws
and point your brower tohttp://localhost:8080