How to Use srun 打開 jupyter notebook on a Cluster? Need Help!

16 Replies, 2135 Views

I had the same issue with srun 打開 jupyter notebook. Turns out I needed to specify the python environment. Try this:
`srun --pty --nodes=1 --ntasks=1 --cpus-per-task=4 --mem=8G /path/to/your/python_env/bin/jupyter notebook --no-browser --port=8888`
Also, yeah, port forwarding is a must. Use `ssh -L 8888:localhost:8888 user@cluster`.

Messages In This Thread



Users browsing this thread: 1 Guest(s)