Skip to content

Commit

Permalink
Update warm_up.md
Browse files Browse the repository at this point in the history
  • Loading branch information
willGuimont authored Jan 15, 2024
1 parent cf484c6 commit 31fed44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/warm_up.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ echo "Exiting"
Créer un script qui va lancer plusieurs jobs, `allocate_all_gpu.sh`

```shell
#!/bin/bash

for i in $(seq 1 30);
do
sbatch allocate_gpu.sh
Expand All @@ -31,6 +33,8 @@ done
Pour annuler toutes les jobs, `cancel_all.sh`:

```shell
#!/bin/bash

squeue | awk 'NR>1 {print $1}' | xargs scancel
rm *.out
```

0 comments on commit 31fed44

Please sign in to comment.