Skip to content

Commit

Permalink
Update slurm_bianca.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dianaiusan authored May 24, 2024
1 parent cf3646c commit 8f5bae9
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions docs/intermediate/slurm_bianca.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,14 +335,16 @@ sd > out.log
### GPU nodes on Bianca

- Nodes with Nvidia A100 40 GB
- All GPU nodes have at least 256 GB RAM (fat nodes) with 16 CPU cores
- 1 or 2 GPUs per node

- All GPU nodes have at least 256 GB RAM (fat nodes) with 16 CPU cores and 2 GPUs per node
- SBATCH options:

- ``#SBATCH -C gpu``
- ``#SBATCH --gres=gpu:1``
- ``#SBATCH --gpus-per-node=1``
```bash
#SBATCH -C gpu
#SBATCH --gpus=2 #number of GPUs requested
#SBATCH --gpus-per-node=2 #number of GPUs per node

nvidia-smi
```

- https://slurm.schedmd.com/gres.html#Running_Jobs

Expand Down Expand Up @@ -392,13 +394,15 @@ srun -n 40 my-program
env
```

- You may use scontrol to modify some of the job arrays.
- You may use ``scontrol`` to modify some of the job arrays.

### Snakemake and Nextflow

- Conceptually similar, but with different flavours
- First define steps, each with an input, an output, and a command that transforms the input into output
- Then just ask for the desired output and the system will handle the rest
- Snakemake hackathon: https://www.naiss.se/event/online-training-snakemake-hackathon-2024-05/ (re-occuring event)
- Nextflow training: https://training.nextflow.io/

???+ question "Hands-on #4: make it your own"

Expand All @@ -407,18 +411,10 @@ env
- paste at least one of the examples in the HackMD
- great if you could add a comment what the job script is about

## Feedback on Slurm

- what did you find useful?
- not so useful?
- what is most challenging while editing your job script / workflows?
- something that was not covered that you’d like to know about?
- please provide your feedback in the HackMD

## Where to go from here?

- Code documentation
- SNIC training newsletter - software-specific training events included
- NAISS training newsletter - software-specific training events included
- <https://coderefinery.org/workshops/upcoming/>
- <https://nbis.se/training/events.html> (bio)
- email <[email protected]> or <https://supr.naiss.se/support/>

0 comments on commit 8f5bae9

Please sign in to comment.