Skip to content

[Documentation] Flux add duration to jobspec #929

@mgt16-LANL

Description

@mgt16-LANL

Hi All,

Would it be possible to add duration to the jobspecV1 for flux execution? I was trying to come up with the clean way to enforce a timeout with multiple jobs, and it seems like having a duration set from the flux-side might be a clean way to track this:

Flux-jobspec

Which seems to get referenced by the resource_dict here:
spawner_flux.py

This might clash a bit with the logic for executorlib if the idea with the flux executor is to start all these processes ("jobs") then submit multiple python processes to each one.

Either way, suggestions for how to handle timeouts / killing futures after a set duration after execution begins would be nice.

-Michael.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions