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

2 Ansichten (letzte 30 Tage)
I'd like to change where the MDCE service stores its logfiles and worker data.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 6 Dez. 2019
Bearbeitet: MathWorks Support Team am 5 Dez. 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 Kommentar
Daniel Lyddy
Daniel Lyddy am 31 Dez. 2013
Bearbeitet: MathWorks Support Team am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by