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

2 vues (au cours des 30 derniers jours)
I'd like to change where the MDCE service stores its logfiles and worker data.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 6 Déc 2019
Modifié(e) : MathWorks Support Team le 5 Déc 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 commentaire
Daniel Lyddy
Daniel Lyddy le 31 Déc 2013
Modifié(e) : MathWorks Support Team le 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2009a

Community Treasure Hunt

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

Start Hunting!

Translated by