Score:0

Slurm Config for limit the endtime for all new jobs on the cluster to a certain date

vn flag

Our cluster has to be shutdown for an update in two weeks. We would like to let users use the cluster until the last day, but we want to make sure, no job can be started, which would end after the shutdown date. Is there an easy way to limit the runtime of slurm jobs to a certain date instead of a fixed period of time (like the usual 5 days).

Is there a way to do this easily, or do have a change the slurm config each day and restart the slurm daemon?

Score:2
pl flag

SLURM has a feature to make this easier. The feature is called Resource Reservation, and in particular, it's the Maintenance functionality of Resource Reservation.

The following example using the scontrol command is taken directly from the SLURM documentation for Reservation Creation :

scontrol create reservation starttime=2009-02-06T16:00:00 \
   duration=120 user=root flags=maint,ignore_jobs nodes=ALL
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.