cc_staff
823
edits
No edit summary |
(Configuration problem for Parallel Server) |
||
Line 217: | Line 217: | ||
= Using the MATLAB Parallel Server = <!--T:41--> | = Using the MATLAB Parallel Server = <!--T:41--> | ||
MATLAB Parallel Server is only worthwhile '''if you need more workers in your parallel MATLAB job than available CPU cores on a single compute node'''. While a regular MATLAB installation (see above sections) allows you to run parallel jobs within one node (up to 64 workers per job, depending on which node and cluster), the MATLAB Parallel Server is the licensed MathWorks solution for running a parallel job on more than one node. | |||
<!--T:42--> | <!--T:42--> | ||
This solution | This solution usually works by submitting MATLAB parallel jobs from a local MATLAB interface on your computer. '''Since May 2023, some mandatory security improvements have been implemented on all clusters. Because MATLAB uses an SSH mode that is no longer permitted, job submission from a local computer is no longer possible until MATLAB uses a new connection method. There is actually no workaround.''' | ||
== Slurm plugin for MATLAB == <!--T:43--> | == Slurm plugin for MATLAB == <!--T:43--> | ||
'''The below procedure no longer works because the Slurm plugin is no longer available and because of the above SSH issue.''' The configuration steps are kept until a workaround is found: | |||
# Have MATLAB R2022a or newer installed, <b>including the Parallel Computing Toolbox</b>. | # Have MATLAB R2022a or newer installed, <b>including the Parallel Computing Toolbox</b>. | ||
# Go to the | # Go to the MathWorks Slurm Plugin page, <b>download and run</b> the <code>*.mlpkginstall</code> file. (i.e., click on the blue <i>Download</i> button on the right side, just above the <i>Overview</i> tab.) | ||
# Enter your MathWorks credentials; if the configuration wizard does not start, run in MATLAB | # Enter your MathWorks credentials; if the configuration wizard does not start, run in MATLAB | ||
#:<code>parallel.cluster.generic.runProfileWizard()</code> | #:<code>parallel.cluster.generic.runProfileWizard()</code> |