slurm sbatch的输出

如果没有指定–output和–error,sbatch就会使用默认值,即写到文件。但是,是否立即写到文件则取决于具体的应用。

如果用Python,如果print没有加flush,则输出会被缓存,往往等slurm任务结束才会一次性写到文件。

发表评论

电子邮件地址不会被公开。

:wink: :twisted: :roll: :oops: :mrgreen: :lol: :idea: :evil: :cry: :arrow: :?: :-| :-x :-o :-P :-D :-? :) :( :!: 8-O 8)