...
- Click Interactive Apps
- Click OnDemand - Jupyter Notebook
- Then, enter the your SLURM account, the number of hours you want to keep the interactive session alive for, the number of cores you need, and your working directory
` In the Spack command to pre-run box, enter any spack commands you want to run before the notebook app starts. Examples (note that everything after a '#' will be ignored):
<blank or starts with #> # do nothingload <package 1> <package 2> # loading packagesload <package 1> && spack load <package 2> # loading packages, method 2env activate <environment> # activating an environment (must contain code-server for this to work)@<code-server version number> # change just the version of code-server loaded/<code-server hash> # specify a spack hash for code-server (don't specify a hash that doesn't point to code-server)See also the Advanced Spack Pre-Run section
- Then, click Launch
- If you want, you can check output.log the same way as you can in Jupyter Notebook
- Click Connect to VS Code to connect
- See https://github.com/cdr/code-server/blob/main/docs/FAQ.md#installing-an-extension if you want to install an extension
- When you are done, click Delete
...

