- Install the latest version of MATLAB Parallel Server on your cluster. You must use this version to run MATLAB Job Scheduler on your cluster.
- Install MATLAB Parallel Server for each release that you want to support with the cluster. For example, to use Parallel Computing Toolbox R2016a and R2016b with your cluster, install both the R2016a and R2016b releases of MATLAB Parallel Server on all nodes.
- Configure MATLAB Job Scheduler with the location of these installations. In the mjs_def configuration file, specify the location of each installation of MATLAB Parallel Server in the MJS_ADDITIONAL_MATLABROOTS variable. You can find this file in matlabroot/toolbox/parallel/bin for Linux (mjs_def.sh) and Windows (mjs_def.bat). For more information, see mjs.If you have multiple older releases of Parallel Server installed, the MJS_ADDITIONAL_MATLABROOTS variable can be set as follows:
Can I submit to a MATLAB Parallel Server cluster that is at a different release number than my MATLAB and PCT setup?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 19 de Ag. de 2014
Editada: MathWorks Support Team
el 28 de Mzo. de 2023
I have a MATLAB Parallel Server cluster that is either newer or older than the version of MATLAB I have installed on my client machine. Can I still utilize this client machine to submit jobs to my MATLAB Parallel Server setup?
Respuesta aceptada
MathWorks Support Team
el 4 de Oct. de 2022
Editada: MathWorks Support Team
el 28 de Mzo. de 2023
For R2015b and earlier, in order to submit a job to the cluster, the versions of MATLAB on the client machine and MATLAB Parallel Server on the cluster must match.
From MATLAB R2016a onwards, you can upgrade your MATLAB Job Scheduler-based clusters to a more recent Release of MATLAB Parallel Server but continue to use older versions of Parallel Computing Toolbox to submit jobs to it . To take advantage of this backward compatibility feature:
set MJS_ADDITIONAL_MATLABROOTS=C:\Program Files\MATLAB\R2018b;C:\Program Files\MATLAB\R2021a
cd "C:\Program Files\MATLAB\R2023a\toolbox\parallel\bin"mjs stopmjs start -cleanPreserveJobs
With this configuration, the MATLAB Job Scheduler allows MATLAB clients from the installed releases to submit jobs to the cluster. The MATLAB Job Scheduler dynamically starts the right version of the MATLAB worker to run the job.
0 comentarios
Más respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!