xref: /petsc/doc/miscellaneous/saws.md (revision 49c2f9045d3a91e7be182f7f53e05380f8af9fad)
1# SAWs - Scientific Application Webserver
2
3SAWs is a software library that uses threads, sockets, and locks to
4allow a client program to read (and change when desired) variables in
5the server (PETSc) application).
6
7## Requirements and installation of the SAWs
8
9One can simply add `--download-saws` to the arguments for `./configure` when configuring PETSc.
10
11Alternately, a current version of SAWs is available from `https://bitbucket.org/saws/saws`
12and one can add the flag `--with-saws-dir=/directorywhereamsisinstalled`.
13
14## Usage from PETSc
15
16To examine options in a browser, run PETSc applications with
17`-saws_view saws -ts_view_pre saws` and point your brower to
18`http://localhost:8080` or, if you are running your application on a
19different machine, pass the name of that machine to the browser.
20