InfuseAI has provided the PrimeHub-compatible image of MATLAB environment on DockerHub, the upstream image is from https://ngc.nvidia.com/catalog/containers/partners:matlab. Which we could launch a MATLAB environment on PrimeHub.
The steps of launching MATLAB by using the image is below,
Add a new image (e.g. name: matlab) with this image url,
infuseai/custom-image:matlab-proxy-r2020b, via Images (Admin/Group admin).
Add a volume of type
envwith the following information, replace
<your_PrimeHub_domain>with the full domain name of PrimeHub in your circumstance, e.g.
At Notebook, select the newly added image (e.g. matlab) with an instance type to start a Notebook. If you are unfamiliar with launching a Notebook. Please see Notebook.
Image-pulling could take a while due toe the image size, please retry it if timeout at the very firs time.
Once Notebook is launched, start a Terminal session from Launcher.
start-matlaband press Enter; the output looks like below, just skip to check the last line at the bottom showing a url. e.g.
$ start-matlab Would you like to enter a view-only password (y/n)? Welcome to the MATLAB Deep Learning Container on NVIDIA GPU Cloud ...(skipped) ...(skipped) ...(skipped) RUNNING: cat "/home/matlab/MATLAB.txt" Please use the follow URL to access Matlab Desktop, after ssh tunnel stepped up https://
Browse the url
https://<your_domain>/user/<username>/proxy/6080/matlab.htmlin a new tab.
This ia a commercial software, a valid license is compulsory for the use.
This container includes commercial software products of The MathWorks, Inc. ("MathWorks Programs") and related materials. MathWorks Programs are licensed under the MathWorks Software License Agreement, available in the MATLAB installation in this container. Related materials in this container are licensed under separate licenses which can be found in their respective folders.