...
The Jupyter server instance will be submitted to the SLURM scheduler as a jobscript requesting resource allocation and launching Jupyter when the allocation is available for your job. Note that all the required modules should have been loaded in your jobscript before submitting.
Reverse connect to the compute node(s) running the Jupyter server
Launching the Jupyter client in your local browser
Terminating/ending the session
Jupyter server Jobscript
Let’s first look at how to launch a Jupyter server on the Ibex GPU node and connect to it.
Ibex compute node
For example, the following is a jobscript requesting GPU resources on Ibex.
...
Be aware that the root directory in your Jupyter file browser is the directory you submitted the job from.
We can now do some computations. Since this Jupyter job asked for, let’s test the GPU. Note that all the required modules should have been loaded in your jobscript before submitting.
...
Shaheen compute node
Running Jupyter on Shaheen compute nodes is not much different, except for one extra step. The jobs script is very similar
...
Code Block |
---|
http://127.0.0.1:58833/lab?token=289c6006ad9547eba18db9926e35657e141d887546deedf3 |
...
Terminating running Interactive sessions
When you have finished computing, it is mandatory that you terminate the session properly, or else the SLURM job on the server side will keep running until it hits the wall time.
...