Skip to content

Commit

Permalink
Update exercise-instructions.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hokkanen authored Jun 30, 2024
1 parent 05c0375 commit 4ac4585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercise-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,15 +304,15 @@ srun --job-name=example --account=project_465001194 --partition=small --reservat

When running GPU programs, few changes need to made to the batch job
script. The `partition` is are now different, and one must also request explicitly given number of GPUs per node with the
`--gpus-per-node=8` option. As an example, in order to use a
`--gpus-per-node=X` option. As an example, in order to use a
single GPU with single MPI task and a single thread use:
```
#!/bin/bash
#SBATCH --job-name=example
#SBATCH --account=project_465001194
#SBATCH --partition=small-g
#SBATCH --reservation=CSC_summer_school_gpu
#SBATCH --gpus-per-node=8
#SBATCH --gpus-per-node=1
#SBATCH --nodes=1
#SBATCH --ntasks=1
#SBATCH --time=00:05:00
Expand Down

0 comments on commit 4ac4585

Please sign in to comment.