I'm not sure what your use-case is, so the following might not be
relevant.
Our Jupyter Notebook users don't want to submit jobs from their
notebooks. Instead they want to run their notebooks interactively, but
make use of cluster resources. To do this, they submit a job on the
login node which sets up an SSH tunnel between the compute node and
their local machine and then starts jupyter-lab. The users can then can
point the browsers on their local machines to a local port and be
connected to the session on the compute node.
Cheers,
Loris
--
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin