MATLAB Answers

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

1 view (last 30 days)
I'd like to change where the MDCE service stores its logfiles and worker data.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 6 Dec 2019
Edited: MathWorks Support Team on 6 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
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)

Sign in to answer this question.

Tags

No tags entered yet.

Products


Release

R2009a