How can I change where the MDCE service stores its logfiles and worker data?

2 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Dec 2019
Edited: MathWorks Support Team on 5 Dec 2019
You can change these locations by editing the $MATLAB/toolbox/parallel/bin/mjs_def.sh (Linux) or mjs_def.bat file (Windows).
(where $MATLAB is the MATLAB installation directory)
1.) Open the file in a text editor and locate the CHECKPOINTBASE and LOGBASE variables.
2.) Set them to the location you would like. Ensure that the user starting the MDCE service has full access to these directories.
  • NOTE: Starting in R2019a the following name changes occurred:
  • MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
  • mdce_def was renamed to mjs_def
  • mdce binary was renamed to mjs
  • mjs_def.bat file is in $MATLAB/R20XXx/toolbox/distcomp/bin for R2019a and earlier.
  1 Comment
Daniel Lyddy
Daniel Lyddy on 31 Dec 2013
Edited: MathWorks Support Team on 24 Nov 2020
This approach just doesn't work for most end users on a networked/shared system. As German points out in this post, most end users just don't have write access to system/root level files like $MATLAB/toolbox/distcomp/bin/mdce_def.sh on a Linux system. As German also points out, changing that file changes the settings for all users.
There needs to be a way to change this location on a per-user, per-job basis.
Please 'un-accept' this answer, or answer German's question.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2009a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!