Hi Team, I'm looking to increase the timelimit of single job beyond the partition time limit which is set to 10 days now in slurm.conf. How do I do that. Also I would like to understand about maximum walltime allowed for each time. Please let me know PartitionName=roma Nodes=romaromes Default=YES Priority=50 MaxTime=10-00:00:00 DefaultTime=1-00:00:00 PreemptMode=OFF State=UP Thank you Ramya
(In reply to RAMYA ERANNA from comment #0) > I'm looking to increase the timelimit of single job beyond the partition > time limit which is set to 10 days now in slurm.conf. How do I do that. > > Also I would like to understand about maximum walltime allowed for each > time. Please let me know I suggest reviewing our documentation first: > https://slurm.schedmd.com/slurm.conf.html#OPT_MaxTime
Hi Ramya, As Nate alluded to, normal users are not allowed to increase the time limit of a job past the defined MaxTime for a partition. However, an administrator can bypass these restrictions. Here's a quick example where I submit a job as 'user3', which doesn't have any administrative privileges. My request to increase the time limit is rejected when making the request as this user: user3@kitt:~$ sinfo -p short PARTITION AVAIL TIMELIMIT NODES STATE NODELIST short up 1:00:00 10 idle node[01-10] user3@kitt:~$ sbatch -pshort -n1 -t1:00:00 --wrap='srun sleep 3600' Submitted batch job 9296 user3@kitt:~$ scontrol update jobid=9296 timelimit=2:00:00 Access/permission denied for job 9296 When I become 'user1', who does have administrative privileges, I'm able to make this change. user1@kitt:~$ scontrol update jobid=9296 timelimit=2:00:00 user1@kitt:~$ scontrol show jobs 9296 | grep -i timelimit RunTime=00:02:11 TimeLimit=02:00:00 TimeMin=N/A Let me know if you have any questions about this. Thanks, Ben
Hi Ramya, The information I sent should have helped and I haven't heard any follow up questions, so I'll close this ticket. Thanks, Ben