使用SBATCH,您可以使用以下语法在自动生成的输出文件中使用作业ID:%j
:
#!/bin/bash
# omitting some other sbatch commands here ...
#SBATCH -o slurm-%j.out-%N # name of the stdout, using the job number (%j) and the first node (%N)
#SBATCH -e slurm-%j.err-%N # name of the stderr, using job and first node values
我一直在寻找一种类似的语法,可以使用作业名称而不是作业ID。有没有人知道其他 slurm/sbatch 值可以在 %j
样式语法中引用的参考资料?