In order to use the Matlab licenses into the cluster, the Slurm queue system provides resources to use this license:

  • To show the current status of licenses:

         scontrol show lic

  • If you want to use 2 licenses as resource:

         sbatch -L matlab:2 <job-script>.sh

      or inside the bash script:

         #SBATCH -L matlab:2