MATLAB: Difference between revisions

Jump to navigation Jump to search
Updated instructions for Matlab 2022a
(Marked this version for translation)
(Updated instructions for Matlab 2022a)
Line 224: Line 224:
== Slurm plugin for MATLAB == <!--T:43-->
== Slurm plugin for MATLAB == <!--T:43-->
On your computer:
On your computer:
# Have MATLAB R2020a or newer installed, '''including the Parallel Computing Toolbox'''.
# Have MATLAB R2022a or newer installed, '''including the Parallel Computing Toolbox'''.
# Go to the [https://www.mathworks.com/matlabcentral/fileexchange/52807-parallel-computing-toolbox-plugin-for-matlab-parallel-server-with-slurm MathWorks Slurm Plugin page], '''download and run''' the <tt>*.mlpkginstall</tt> file. (i.e. click on the blue ''Download'' button on the right side, just above the ''Overview'' tab.)
# Go to the [https://www.mathworks.com/matlabcentral/fileexchange/52807-parallel-computing-toolbox-plugin-for-matlab-parallel-server-with-slurm MathWorks Slurm Plugin page], '''download and run''' the <tt>*.mlpkginstall</tt> file. (i.e. click on the blue ''Download'' button on the right side, just above the ''Overview'' 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
Line 236: Line 236:
#* Username (optional): Enter your Compute Canada username (the identity file can be set later, if needed)
#* Username (optional): Enter your Compute Canada username (the identity file can be set later, if needed)
#* Remote job storage: '''/scratch'''
#* Remote job storage: '''/scratch'''
#** Keep ''Use unique subfolders'' checked
#* Maximum number of workers: '''960'''
#* Maximum number of workers: '''960'''
#* Matlab installation: both local and remote versions must match:
#* Matlab installation folder for workers: both local and remote versions must match:
#** For local R2020a: '''/cvmfs/restricted.computecanada.ca/easybuild/software/2020/Core/matlab/2020a'''
#** For local R2022a: '''/cvmfs/restricted.computecanada.ca/easybuild/software/2020/Core/matlab/2022a'''
#** For local R2020b: '''/cvmfs/restricted.computecanada.ca/easybuild/software/2020/Core/matlab/2020b'''
#* License type: '''Network license manager'''
#* License type: '''Network license manager'''
#* Profile Name: '''beluga''' or '''narval'''
#* Profile Name: '''beluga''' or '''narval'''
cc_staff
823

edits

Navigation menu