Stop MATLAB worker session
stopworker
stopworker -flags
stopworker
stops a MATLAB® worker process
that is running under the mdce service.
The stopworker
executable resides in the
folder
(Windows® operating
system) or matlabroot
\toolbox\distcomp\bin
(UNIX® operating
system). Enter the following command syntax at a DOS or UNIX command-line
prompt, respectively.matlabroot
/toolbox/distcomp/bin
stopworker
accepts
the following input flags. Multiple flags can be used together on
the same command.-flags
Flag | Operation |
---|---|
-name <worker_name> | Specifies the name of the MATLAB worker to stop. The default
is the value of the DEFAULT_WORKER_NAME parameter
in the mdce_def file. |
-remotehost <hostname> | Specifies the name of the host where you want to stop the MATLAB worker. The default value is the local host. |
-clean | Deletes all checkpoint information associated with this worker name after stopping it. |
-baseport <port_number> | Specifies the base port that the mdce service on the remote
host is using. You need to specify this only if the value of BASE_PORT in
the local mdce_def file does not match the base
port being used by the mdce service on the remote host. |
-v | Verbose mode displays the progress of the command execution. |
Stop the worker with the default name on the local host.
stopworker
Stop the worker with the default name, running on the computer WorkerHost
.
stopworker -remotehost WorkerHost
Stop the workers named worker1
and worker2
,
running on the computer WorkerHost
.
stopworker -name worker1 -remotehost WorkerHost stopworker -name worker2 -remotehost WorkerHost
mdce
| nodestatus
| startjobmanager
| startworker
| stopjobmanager