Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
doku:vsc5quickstart [2023/02/17 17:45] – msiegel | doku:vsc5quickstart [2023/05/17 14:54] – msiegel | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Quick start guide for VSC-5 ====== | ====== Quick start guide for VSC-5 ====== | ||
- | |||
- | **Status: 2023/01** | ||
- | |||
- | This page is under construction. | ||
===== Connecting ===== | ===== Connecting ===== | ||
Line 23: | Line 19: | ||
- | ===== Loading Modules & Spack Environments ===== | + | ==== New SPACK without environments |
- | Different CPUs come with different compilers, so we use | + | Having worked |
- | the new spack feature '' | + | |
- | package. | + | |
- | On login the default '' | + | There are now three separate spack installation trees corresponding to the CPU/GPU architectures |
- | automatically, | + | |
- | with '' | + | |
- | On VSC5 no default modules are loaded. Please do that by yourself | + | * skylake - Intel CPUs; works on Intel Skylake and Cascadelake CPUs |
- | using '' | + | * zen - AMD CPUs; works on Zen 2 and 3 CPUs |
+ | * cuda-zen - AMD CPUs + NVIDIA GPUs; works on all nodes equipped with graphics cards | ||
- | Find the official SPACK documentation at https://spack.readthedocs.io/ | + | By default |
- | + | ||
- | + | ||
- | ==== List Spack Environments ==== | + | |
- | + | ||
- | Type '' | + | |
- | which one is active. | + | |
- | + | ||
- | < | + | |
- | $ spack env list | + | |
- | ==> 2 environments | + | |
- | cascadelake | + | |
- | </ | + | |
- | + | ||
- | The current | + | |
- | + | ||
- | < | + | |
- | (zen3) [myname@l55 ~]# | + | |
- | </code> | + | |
- | + | ||
- | Mind that if your prompt | + | |
- | environment'' | + | |
- | not be shown correctly in your prompt. | + | |
- | + | ||
- | When a spack environment is activated, | + | |
- | environment. | + | |
- | + | ||
- | The command '' | + | |
- | spack environment. | + | |
- | + | ||
- | + | ||
- | ==== Change Spack Environment ==== | + | |
- | + | ||
- | If you want to look for a certain package that belongs to another | + | |
- | architecture, first change the spack environment: | + | |
- | + | ||
- | < | + | |
- | $ spacktivate < | + | |
- | $ spacktivate cascadelake | + | |
- | </ | + | |
- | + | ||
- | Only then '' | + | |
- | + | ||
- | + | ||
- | ==== Save Spack Environment ==== | + | |
- | + | ||
- | The following creates a load script for your current spack environment | + | |
- | with all loaded modules: | + | |
< | < | ||
- | $ spack env loads -r | + | zen [user@l51 ~]$ |
</ | </ | ||
- | This creates a file called '' | + | Read more about SPACK at: |
- | directory. Sourcing that file in bash will make the environment | + | * [[doku: |
- | available | + | * [[doku: |
- | '' | + | * [[https:// |
- | environment, | + | |
- | ==== Load a Module | + | ==== Load a module |
Please always use spack, see [[doku: | Please always use spack, see [[doku: | ||
HPC systems]]. | HPC systems]]. | ||
+ | Of course '' | ||
- | ===== Compile | + | |
+ | ===== Compile | ||
A program needs to be compiled on the hardware it will later run | A program needs to be compiled on the hardware it will later run | ||
Line 157: | Line 104: | ||
===== SLURM ===== | ===== SLURM ===== | ||
- | **For the exact partition/ | + | For the partition/ |
- | + | type '' | |
- | type '' | + | |
- | + | ||
- | ^partition ^nodes ^description^ | + | |
- | | zen2_0256_a40x2 | | AMD CPU nodes with 2x AMD Epyc (Milan) and 2x NIVIDA A40 and 256GB RAM | | + | |
- | | jupyter | | reserved for the jupyterhub | | + | |
- | | login5 | | login nodes, not an actual slurm partition | | + | |
- | | zen3_2048 | | AMD CPU nodes with 2x AMD Epyc (Milan) and 2TB RAM | | + | |
- | | zen3_1024 | | AMD CPU nodes with 2x AMD Epyc (Milan) and 1TB RAM | | + | |
- | | zen3_0512* | | The default partition. AMD CPU nodes with 2x AMD Epyc (Milan) and 512GB RAM | | + | |
- | | cascadelake_0384 | | Intel CPU nodes with 2x Intel Cascadelake and 384GB RAM | | + | |
- | | zen3_0512_a100x2 | | AMD CPU nodes with 2x AMD Epyc (Milan) and 2x NIVIDA A100 and 512GB RAM | | + | |
- | + | ||
- | + | ||
- | ==== QoS ==== | + | |
- | + | ||
- | The following QoS are available for normal (=non private) projects: | + | |
- | + | ||
- | ^QOS name ^ gives access to partition ^description^ | + | |
- | |zen3_0512 | zen3_0512 | default | | + | |
- | |zen3_1024 | zen3_1024 | | + | |
- | |zen3_2048 | zen3_2048 | | + | |
- | |cascadelake_0384 | cascadelake_0384 | | + | |
- | |zen2_0256_a40x2 | zen2_0256_a40x2 | | + | |
- | |zen3_0512_a100x2 | zen3_0512_a100x2 | | + | |
- | |zen3_0512_devel | 5 nodes on zen3_0512 | | + | |
==== Submit a Job ==== | ==== Submit a Job ==== |