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: | ||
Example for default users. | |||
{{File | |||
|name=gpu_single_node_job.sh | |||
|lang="sh" | |||
|contents= | |||
#!/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 arch/avx512 StdEnv/2018.3 | |||
nvidia-smi | |||
}} | |||
Example for Ontario users who have been granted higher priority access. | |||
{{File | {{File | ||
|name=gpu_single_node_job.sh | |name=gpu_single_node_job.sh |
Revision as of 17:48, 6 May 2019
Example for default users.
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 arch/avx512 StdEnv/2018.3
nvidia-smi
Example for Ontario users who have been granted higher priority access.
File : gpu_single_node_job.sh
#!/bin/bash
#SBATCH --account=ctb-ontario
#SBATCH --partition=c-ontario
#SBATCH --nodes=1
#SBATCH --gres=gpu:v100:8
#SBATCH --exclusive
#SBATCH --cpus-per-task=28
#SBATCH --mem=150G
#SBATCH --time=3-00:00
module load arch/avx512 StdEnv/2018.3
nvidia-smi