mdce

Install, start, stop, or uninstall mdce service

Syntax

mdce install
mdce uninstall
mdce start
mdce stop
mdce console
mdce restart
mdce ... -mdcedef <mdce_defaults_file>
mdce ... -clean
mdce status
mdce -version
mdce -usemhlm

Description

The mdce service ensures that all other processes are running and that it is possible to communicate with them. Once the mdce service is running, you can use the nodestatus command to obtain information about the mdce service and all the processes it maintains.

The mdce executable resides in the folder matlabroot\toolbox\distcomp\bin (Windows® operating system) or matlabroot/toolbox/distcomp/bin (UNIX® operating system). Enter the following commands at a DOS or UNIX command-line prompt, respectively.

mdce install installs the mdce service in the Microsoft® Windows Service Control Manager. This causes the service to automatically start when the Windows operating system boots up. The service must be installed before it is started.

mdce uninstall uninstalls the mdce service from the Windows Service Control Manager. Note that if you wish to install mdce service as a different user, you must first uninstall the service and then reinstall as the new user.

mdce start starts the mdce service. This creates the required logging and checkpointing directories, and then starts the service as specified in the mdce defaults file.

mdce stop stops running the mdce service. This automatically stops all job managers and workers on the computer, but leaves their checkpoint information intact so that they will start again when the mdce service is started again.

mdce console starts the mdce service as a process in the current terminal or command window rather than as a service running in the background.

mdce restart performs the equivalent of mdce stop followed by mdce start. This command is available only on UNIX and Macintosh operating systems.

mdce ... -mdcedef <mdce_defaults_file> uses the specified alternative mdce defaults file instead of the one found in matlabroot/toolbox/distcomp/bin. This file is provided for Linux (mdce_def.sh) and Windows (mdce_def.bat). Also see the Backwards Compatibility Note in Install Products and Choose Cluster Configuration.

QQQ

mdce ... -clean performs a complete cleanup of all service checkpoint and log files before installing or starting the service, or after stopping or uninstalling it. This deletes all information about any job managers or workers this service has ever maintained.

mdce status reports the status of the mdce service, indicating whether it is running and with what PID. Use nodestatus to obtain more detailed information about the mdce service. The mdce status command is available only on UNIX and Macintosh operating systems.

mdce -version prints version information of the mdce process to standard output, then exits.

mdce -usemhlm ensures that workers use MathWorks® Hosted License Manager. Unless you specify –usemhlm, mdce uses FlexLM-based licensing.

Was this topic helpful?