Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
slurm [2023/01/19 15:44] vodrazka [gpu-ms] |
slurm [2023/03/15 17:30] rosa [Batch mode] Rudolfs template |
||
---|---|---|---|
Line 99: | Line 99: | ||
< | < | ||
man sbatch | man sbatch | ||
+ | </ | ||
+ | |||
+ | === Rudolf' | ||
+ | |||
+ | The main point is for log files to have the job name and job id in them automatically. | ||
+ | |||
+ | < | ||
+ | #SBATCH -J RuRjob | ||
+ | #SBATCH -o %x.%j.out | ||
+ | #SBATCH -e %x.%j.err | ||
+ | #SBATCH -p gpu-troja | ||
+ | #SBATCH --gres=gpu: | ||
+ | #SBATCH --mem=16G | ||
+ | #SBATCH --constraint=" | ||
+ | |||
+ | # Print each command to STDERR before executing (expanded), prefixed by "+ " | ||
+ | set -o xtrace | ||
</ | </ | ||