Matlab
It is possible to run MATLAB in AI Cloud
First, build your MATLAB image, e.g. like
Example
srun --cpus-per-task=6 singularity build matlab.sif docker://nvcr.io/partners/matlab:r2021b
Then we need to set an environment variable such that MATLAB knows your license. In this case its convenient to point to the AAU license server:
Info
export MLM_LICENSE_FILE=27000@matlab.srv.aau.dk
Now you can start MATLAB with command line imnterface only as:
Example
srun --pty --gres=gpu:1 singularity exec --nv matlab.sif matlab -nodesktop
Please note that it is not possible to run MATLAB with a graphical user interface, because Slurm is not configured for X-forwarding in AI Cloud.