问题
I have a job running a linux machine managed by slurm.
Now that the job is running for a few hours I realize that I underestimated the time required for it to finish and thus the value of the --time
argument I specified is not enough. Is there a way to add time to an existing running job through slurm?
回答1:
Use the scontrol command to modify a job
scontrol update jobid=<job_id> TimeLimit=<new_timelimit>
Requires admin privileges on some machines.
来源:https://stackoverflow.com/questions/28413418/adding-time-to-a-running-slurm-job