For Matlab, Parallel Computing Toolbox is available on the cluster while distributed computing is not supported. Therefore, in the SLURM submission file we request 1 node with multiple CPUs.
- Learn some basic SLURM and file transfer commands
- Go to
/example/MATLAB/
in this repository, and copysubmit.sh
andtemplate.s
to the folder where your Matlab function resides - Run
bash submit.sh YOUR_FUNCTION_NAME
An example is provided in this repository under /example/MATLAB/
. More references and official support from ComputeCanada on Matlab.