Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tools:slurm [2023/11/16 10:03] – created will | tools:slurm [2024/04/26 11:09] (current) – [''sbatch'' options] will | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== slurm ====== | ====== slurm ====== | ||
- | [[: | + | For HPC (High performance computing) environments where there are many users who have more computation to do than the computers can handle at one time, a job queue scheduling |
+ | This means we can not simply run an iterative terminal (e.g. matlab, R, ipython) or even a script. Instead we need to wrap our computation in scripts that are formatted to enter the job queue and submit them with '' | ||
- | ===== Resources ===== | + | |
- | See | + | Both [[: |
+ | |||
+ | |||
+ | ===== Resources | ||
+ | |||
+ | There are many guides to using slurm, some written specifically for the super computer we use. | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | ===== sbatch options ===== | ||
+ | |||
+ | Jobs are submitted with options given to '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
===== Usage ===== | ===== Usage ===== | ||
+ | from a " | ||
< | < | ||
export SUBJECT=ABCD | export SUBJECT=ABCD | ||
Line 29: | Line 51: | ||
* You're charged walltime*requested cores. Even if you don't use the cores, you're blocking others from them. | * You're charged walltime*requested cores. Even if you don't use the cores, you're blocking others from them. | ||
- | Use '' | + | The script given to '' |
< | < | ||
#!/bin/bash | #!/bin/bash |