Skip to content

how (not) to specify job runtimes #3273

Answered by grondo
andre-merzky asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @andre-merzky, sorry the documentation for this jobspec attribute is not very easy to find. Here's the current description of the duration attribute from RFC 14:

The value of the duration attribute is a floating-point number greater than or equal to zero representing time span in seconds. A duration of 0 SHALL be interpreted as “unlimited” or “not set” by the system. The scheduler will make an effort to allocate the requested resources for the number of seconds specified in duration.

So if I understand your question correctly, I think you want to set a value of 0 for your jobs, which will be considered "unlimited" by Flux.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@andre-merzky
Comment options

@dongahn
Comment options

@dongahn
Comment options

Answer selected by andre-merzky
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants