diff --git a/exercise-instructions.md b/exercise-instructions.md index 6c8c3552..3db79bf2 100644 --- a/exercise-instructions.md +++ b/exercise-instructions.md @@ -304,7 +304,7 @@ 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 @@ -312,7 +312,7 @@ single GPU with single MPI task and a single thread use: #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