在 slurm 上指定特定的机器名称

Specify a particular machine name on slurm

你好,有人知道如何在 slurm 文件上指定我想使用哪个工作器(机器)吗?

感谢您的帮助

您可以使用 --nodelist 选项指定您想要 select 的节点:

sbatch --nodelist=myHosts[1-5,7] script.sh

描述了更多细节here--nodelist 的 shorthand 版本是 -w.