Skip to content

feature request: dynamic form widget for Slurm generic resources #4502

Description

@simonLeary42

slurm generic resources: https://slurm.schedmd.com/gres.html

GPUs are tracked by Slurm as generic resources. Selecting GPUs in the OOD form can be error prone because the user must also select an account, partition, and QoS such that their job can be scheduled on a node with their requested GPU type. When this happens, the user gets this message:

Image

Which is not very helpful.

The auto_queues and auto_accounts widgets already work together to prevent the user from submitting a job with incompatible parameters, so this feature would be consistent with what's already there.

notes:

  • auto_gres would take an option gres_type, which will usually be "gpu".
  • The auto_gres widget would have to be a select and an input type=number, which might not be straightforward to implement.
  • A new attribute would have to be added to the NodeInfo class in ood_core.
  • Ideally, PartitionInfo could be extended to document which nodes it includes, so that auto_gres can integrate with auto_queues to prevent the error message above.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    Priority

    None yet

    Effort

    None yet

    Impact

    None yet

    Source

    None yet

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions