-
Notifications
You must be signed in to change notification settings - Fork 41
Jupyter Notebook from Engaging in Browser
wilke0818 edited this page Sep 5, 2025
·
2 revisions
on engaging (importantly in a compute node):
- Activate any environments you're wanting to use (the environment should include jupyter packages)
- Change directory to the directory you're interested in working in. I find it helpful if this directory contains the data you might want to view/visualize.
- Run
jupyter-lab --ip=0.0.0.0 --port=XXXX
- Note the node that is running [NOTE: it might be possible to use the instructions for automatically updating the node for VS Code found in method 1 for this process but that is beyond my expertise and it is such a small step I don't bother]
locally
- Run
ssh -L YYYY:nodeZZZZ:XXXX [email protected]
replacing XXXX with the port chosen on engaging, YYYY with a port of your choice (though using the same as engaging is simpler), and ZZZZ with node number from engaging - In a browser, open the URL provided after running the
jupyter-lab
command on engaging (this should typically begin with http://127.0.0.1:YYYY)