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.
`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.
