Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

  1. Click Interactive Apps
  2. Click OnDemand - Jupyter Notebook
  3. 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
    Image RemovedImage Added`
  4. 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 nothing

    load <package 1> <package 2> # loading packages

    load <package 1> && spack load <package 2> # loading packages, method 2

    env 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

  5. Then, click Launch
  6. If you want, you can check output.log the same way as you can in Jupyter Notebook
  7. Click Connect to VS Code to connect
  8. See https://github.com/cdr/code-server/blob/main/docs/FAQ.md#installing-an-extension if you want to install an extension
  9. When you are done, click Delete

...