Skip to content

Jupyter Notebook from Engaging in Browser

wilke0818 edited this page Sep 5, 2025 · 2 revisions

Setup on Engaging

on engaging (importantly in a compute node):

  1. Activate any environments you're wanting to use (the environment should include jupyter packages)
  2. 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.
  3. Run jupyter-lab --ip=0.0.0.0 --port=XXXX
  4. 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]

Local Setup

locally

  1. 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
  2. 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)
Clone this wiki locally