Translations:CUDA/44/en
Jump to navigation
Jump to search
Submitting jobs
To run the program, create a Slurm job script as shown below. Be sure to replace def-someuser
with your specific account (see Accounts and projects). For options relating to scheduling jobs with GPUs see Using GPUs with Slurm.
File : gpu_job.sh
#!/bin/bash
#SBATCH --account=def-someuser
#SBATCH --gres=gpu:1 # Number of GPUs (per node)
#SBATCH --mem=400M # memory (per node)
#SBATCH --time=0-00:10 # time (DD-HH:MM)
./add #name of your program