Translations:Graham/53/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 21: | Line 21: | ||
#SBATCH --account=def-someuser | #SBATCH --account=def-someuser | ||
#SBATCH --nodes=1 | #SBATCH --nodes=1 | ||
#SBATCH --gres=gpu:v100: | #SBATCH --gres=gpu:v100:8 | ||
#SBATCH --cpus-per-task= | #SBATCH --exclusive | ||
#SBATCH --mem= | #SBATCH --cpus-per-task=28 | ||
#SBATCH --mem=150G | |||
#SBATCH --time=1-00:00 | #SBATCH --time=1-00:00 | ||
module load | module load StdEnv/2023 | ||
nvidia-smi | nvidia-smi | ||
}} | }} |
Latest revision as of 16:00, 31 October 2024
Single-GPU example:
File : gpu_single_GPU_job.sh
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --gres=gpu:v100:1
#SBATCH --cpus-per-task=3
#SBATCH --mem=12G
#SBATCH --time=1-00:00
module load arch/avx512 StdEnv/2018.3
nvidia-smi
Full-node example:
File : gpu_single_node_job.sh
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --nodes=1
#SBATCH --gres=gpu:v100:8
#SBATCH --exclusive
#SBATCH --cpus-per-task=28
#SBATCH --mem=150G
#SBATCH --time=1-00:00
module load StdEnv/2023
nvidia-smi