MATLAB
Note that we are not expert in Matlab: feel free to contact Mathworks support directly if you are having any issues with their official Docker image. Because since it's closed source we cannot fix it ourselves.
You can request official support from Matlab at this address after login and connecting your account to the UM license: https://nl.mathworks.com/academia/tah-portal/maastricht-university-31574866.html#get
Use the official Matlab image
Start Matlab with a desktop UI accessible directly using your web browser at a URL automatically generated.
Go to the Catalog, make sure Templates are displayed (box checked), and search for Matlab, and provide the right parameters:
- You will need to provide the password you will use to access the Matlab UI when filling the template. Ensure to use a password length greater than 6.
- You can also change the Matlab image version, see the latest version released in the official Matlab Docker image documentation
Once Matlab start you can access it through 2 routes (URL), which can be accessed when clicking on the Matlab node in the Topology:
- The main
matlabroute to access Matlab desktop UI directly in your web browser. It is recommended to use this route. - The
matlab-vncroute can be used to access Matlab using a VNC client (you will need to use the full URL to your Matlab VNC route). Only use it if you know what you're doing.
Use Matlab in Jupyter
For running Matlab in Jupyter, you need to first install the matlab on your Jupyter pod. if you need assistance ask the DSRI admins
Deploy Matlab on GPU
We use the Matlab template in the DSRI catalog to deploy a pre-built Nvidia Matlab Deep Learning Container on CPU or GPU nodes. See the official documentation from MathWorks for more details about this image.
By default you do not have the permission to run applications on GPU, you need to make a reservation. you can look into GPU applications documentation for more details.
2 options are available to connect to your running Matlab pod terminal:
- Go to the matlab pod page on the DSRI web UI
- Or connect from your terminal with
oc rsh MATLAB_POD_ID
Type bash when first accessing to the terminal to have a better experience.
Type cd /home/matlab/persistent to go in the persistent volume, and use this volume to store all data that should be preserved.
Type matlab to access Matlab from the terminal