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

16 Replies, 2107 Views

Hey, I struggled with srun 打開 jupyter notebook too. One thing that helped was using `salloc` first to allocate resources, then running jupyter in the allocated session. Like this:
`salloc --nodes=1 --ntasks=1 --cpus-per-task=4 --mem=8G`
Then, once you’re in, run `jupyter notebook --no-browser --port=8888`. It’s a bit extra, but it works.

Messages In This Thread



Users browsing this thread: 2 Guest(s)