petsc-3.3-p7 2013-05-11

PetscWebServe

start up the PETSc web server and respond to requests

Synopsis

PetscErrorCode  PetscWebServe(MPI_Comm comm,int port)
Not collective - only does something on process zero of the communicator

Input Parameters

comm - the MPI communicator
port - port to listen on

Options Database Key

-server <port> - start PETSc webserver (default port is 8080)
-ams_publish_objects -

Notes: Point your browser to http://hostname:8080 to access the PETSc web server, where hostname is the name of your machine. If you are running PETSc on your local machine you can use http://localhost:8080

If the PETSc program completes before you connect with the browser you will not be able to connect to the PETSc webserver.

Read the top of $PETSC_DIR/include/web/AMSJavascript.py before running.

See Also

PetscViewerSocketOpen()

Level:developer
Location:
src/sys/viewer/impls/socket/send.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/sys/examples/tutorials/ex7.c.html