- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs
How do I configure the mdce service to start automatically at boot on Linux/Unix cluster nodes?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 14 Jul 2010
Edited: MathWorks Support Team
on 17 Nov 2021
I have an MATLAB Parallel Server cluster comprised of Linux/Unix worker nodes which uses the MathWorks JobManager (mdce service). I would like to configure the mdce service to start automatically when the nodes boot.
Accepted Answer
MathWorks Support Team
on 15 Nov 2021
Edited: MathWorks Support Team
on 17 Nov 2021
To configure the mdce service to start at system boot, follow the appropriate instructions below depending on your OS distribution type:
=====
Debian Platform
=====
On each cluster node, register the mdce service as a known service and
configure it to start automatically at system boot time by following these steps:
1. Create the following link, if it does not already exist:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/mdce
2. Create the following link to the boot script file:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/init.d/mdce
3. Set the boot script file permissions:
chmod 555 /etc/init.d/mdce
4. Look in /etc/inittab for the default run level. Create a link in the rc
directory associated with that run level. For example, if the run level is 5,
execute these commands:
cd /etc/rc5.d;
ln -s ../init.d/mdce S99MDCE
=====
SUSE Platform
=====
On each cluster node, register the mdce service as a known service and
configure it to start automatically at system boot time by following these steps:
1. Create the following link, if it does not already exist:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/mdce
2. Create the following link to the boot script file:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/init.d/mdce
3. Set the boot script file permissions:
chmod 555 /etc/init.d/mdce
4. Look in /etc/inittab for the default run level. Create a link in the rc
directory associated with that run level. For example, if the run level is 5,
execute these commands:
cd /etc/init.d/rc5.d;
ln -s ../mdce S99MDCE
=====
Red Hat, Fedora Platform
=====
On each cluster node, register the mdce service as a known service and
configure it to start automatically at system boot time by following these steps:
1. Create the following link, if it does not already exist:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/mdce
2. Create the following link to the boot script file:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/init.d/mdce
3. Set boot script file permissions:
chmod 555 /etc/init.d/mdce
4. Look in /etc/inittab for the default run level. Create a link in the rc
directory associated with that run level. For example, if the run level is 5,
execute these commands:
cd /etc/rc.d/rc5.d;
ln -s ../../init.d/mdce S99MDCE
=====
Solaris Platform
=====
On each cluster node, register the mdce service as a known service and
configure it to start automatically at system boot time by following these steps:
1. Create the following link, if it does not already exist:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/mdce
2. Create the following link to the boot script file:
ln -s matlabroot/toolbox/distcomp/bin/mdce /etc/init.d/mdce
3. Set boot script file permissions:
chmod 555 /etc/init.d/mdce
4. Look in /etc/inittab for the default run level. Create a link in the rc
directory associated with that run level. For example, if the run level is 3,
execute these commands:
cd /etc/rc3.d;
ln -s ../init.d/mdce S99MDCE
Instructions for configuring the mdce service to start at boot are included in the Cluster Setup Instructions found at the link below:
NOTE: Starting in R2019a the following name changes occurred:
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!