How to specify that a job should only run after a certain point in time #3243
-
Ultimate goal: emulate Slurm's This requires:
Beyond just delaying user submissions to a time more conveinent to the user, this could also be useful for settings up large reservations, DATs, system downtimes, etc. |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 12 replies
-
Just to start the discussion with a dumb idea: could the minimum start time be considered a job dependency, and thus be enforced by the job dependency service? This would potentially allow |
Beta Was this translation helpful? Give feedback.
-
I was just re-reading the Slurm documentation of
From this, it sounds like To me, it seems like allowing users to specify an exact begin-time isn't wise, so perhaps I'm not understanding the docs, though. |
Beta Was this translation helpful? Give feedback.
-
This would be better to be exposed as --advanced-reservation=<time> then
--beginat a minimum. And We also probably want to limit the user classes
who can use such an option...
I completely agree. Let's find out if this is even a requirement for
initial system instance
… |
Beta Was this translation helpful? Give feedback.
-
Thanks Ryan!
Sorry, it seems like I was confused by the docs.
…On Tue, May 11, 2021, 12:10 PM Ryan Day ***@***.***> wrote:
I think that by 'eligible to begin' they mean something like 'considered
by the scheduler', so more like the job is in a 'held' state until the time
given by --begin. It's not a guarantee that the job will begin at a certain
time. It's a guarantee that a job will not start before that time. The main
use case is that there is a scheduled down time, DAT, etc. and the user
doesn't want to take a chance on the job getting killed early, so sets
--begin to some time after the down time or DAT is scheduled to start.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3243 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAFVEUUOLIHPMY3X4LP3J43TNF6L7ANCNFSM4SGZFVSQ>
.
|
Beta Was this translation helpful? Give feedback.
-
I have prototype support for this (as a test for multiple jobtap module implementation):
The prototype simply adds
I can't remember if we've updated our thinking here, but it would be nice to keep the "simple" dependencies in flux-core separate from the fully functional directed graph dependency system of Edit: I'm also unsure if the resulting @SteVwonder, any thoughts? |
Beta Was this translation helpful? Give feedback.
-
@grondo: Thoughts on this strawman URI scheme: For the
|
Beta Was this translation helpful? Give feedback.
-
A similar option to Slurm's |
Beta Was this translation helpful? Give feedback.
A similar option to Slurm's
--begin=TIME
has been proposed in #3704. The newflux-mini --begin-time
option works by creating a dependency with thebegin-time
scheme in the generated jobspec. See RFC 26 for a description of thebegin-time
dependency scheme.