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 1: | Line 1: | ||
Single-GPU example | Single-GPU example: | ||
{{File | {{File | ||
|name=gpu_single_GPU_job.sh | |name=gpu_single_GPU_job.sh | ||
Line 13: | Line 13: | ||
nvidia-smi | nvidia-smi | ||
}} | }} | ||
Full-node example | Full-node example: | ||
{{File | {{File | ||
|name=gpu_single_node_job.sh | |name=gpu_single_node_job.sh |
Revision as of 19:29, 7 October 2020
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:1
#SBATCH --cpus-per-task=3
#SBATCH --mem=12G
#SBATCH --time=1-00:00
module load arch/avx512 StdEnv/2018.3
nvidia-smi