int PetscViewerSocketOpen(MPI_Comm comm,const char machine[],int port,PetscViewer *lab)Collective on MPI_Comm
comm | - the MPI communicator | |
machine | - the machine the server is running on | |
port | - the port to connect to, use PETSC_DEFAULT for the default |
PetscViewerSocketOpen(MPI_Comm comm, char *machine,int port,PetscViewer &viewer)
MatView(Mat matrix,PetscViewer viewer)
or
PetscViewerSocketOpen(MPI_Comm comm,char *machine,int port,PetscViewer &viewer)
VecView(Vec vector,PetscViewer viewer)
-viewer_socket_machine <machine>
-viewer_socket_port <port>
Currently the only socket client available is Matlab. See src/dm/da/examples/tests/ex12.c and ex12.m for an example of usage.
Level:intermediate
Location:src/sys/src/viewer/impls/socket/send.c
Index of all Viewer routines
Table of Contents for all manual pages
Index of all manual pages
PETSC_VIEWER_SOCKET_PORT portnumber | - - PETSC_VIEWER_SOCKET_MACHINE machine name |