TUM-DAML / seml

SEML: Slurm Experiment Management Library
Other
165 stars 29 forks source link

Access to "seml jupyter" #121

Closed grigorn closed 12 months ago

grigorn commented 1 year ago

How can I access to jupyter instance from "seml jupyter"? It does provide the hostname and port, but as I cannot ssh into the host, I cannot forward the port. Thanks.

n-gao commented 12 months ago

This setup depends on the specific cluster setup. But, generally, you have a login node (from where you start your slurm/seml jobs). You can port forward to the compute node typically via:

ssh -L 8888:compute.cluster:8888 login.cluster

where login.cluster is your login node and compute.cluster is the compute node on which the job has been scheduled.