ligo-ex ligo-ds
  Richardson Lab Data Science Log  Not logged in ELOG logo
Entry  Sat Feb 24 18:18:02 2024, Rutuja Gurav, Infrastructure, Computers, MATLAB on JupyterHub richardsonlab_jupyter_matlab_proxy__user_rutuja.png
    Reply  Sun Feb 25 08:27:00 2024, Jon, Infrastructure, Computers, MATLAB on JupyterHub MATLAB_window.png
       Reply  Sun Feb 25 14:06:48 2024, Rutuja Gurav, Infrastructure, Computers, MATLAB on JupyterHub richardsonlab_jupyter_matlab_proxy_HowTo__user_rutuja__FAILED.pngrichardsonlab_jupyter_matlab_proxy_HowTo__user_rutuja.png
Message ID: 6     Entry time: Sun Feb 25 14:06:48 2024     In reply to: 5
Author: Rutuja Gurav 
Type: Infrastructure 
Category: Computers 
Subject: MATLAB on JupyterHub 

I was incorrect about Prof. Jon needing to activate the MATLAB license for JupyterHub for all users to use the Jupyter MATLAB Proxy. Turns out the license on Chimay cannot be used by multiple users. But no worries, a user can click on Open MATLAB tab and then on the Online License Manager window login to your Mathworks account to use your UCR-provided license. If you instead click on Existing License tab and try to use the currently active license, your startup will eventually fail. See attached screenshots.

Quote:
I activated the MATLAB license. All appears to be working now. The attached screenshot is what I now see upon clicking the Open MATLAB tab.

Quote:

Followed the instructions in this installation guide - https://github.com/mathworks/jupyter-matlab-proxy - to install the jupyter-matlab-proxy in the jupyterhub python environment using command

sudo /opt/jupyterhub/bin/python3 -m pip install jupyter-matlab-proxy

But upon first execution I have to provide Mathworks accounts details.

The license on Chimay belongs to Prof. Jon. So, he'll have to insert those.

Right now MATLAB kernels for jupyter notebook as well as console show up (as shown in screenshot below) but code will not execute.

If I click on Open MATLAB tab, it will ask for Mathworks account login details.

The installation guide mentioned above says,
"When you execute MATLAB code in a notebook for the first time, enter your MATLAB license information in the dialog box that appears. See Licensing for details. The MATLAB session can take a few minutes to start."

Follow-up with Prof. Jon needed.

 

 

Attachment 1: richardsonlab_jupyter_matlab_proxy_HowTo__user_rutuja__FAILED.png  95 kB  | Show | Show all
Attachment 2: richardsonlab_jupyter_matlab_proxy_HowTo__user_rutuja.png  210 kB  | Show | Show all
ELOG V3.1.3-7933898