Skip to content

Node in Nodes collection do not report a MIXED state, only IDLE or ALLOCATED #317

@tazend

Description

@tazend

Discussed in https://github.com/orgs/PySlurm/discussions/316

Originally posted by robgics August 25, 2023
I used the collection to load all nodes, and then I print out the state of all of them. They are all either IDLE, ALLOCATED, or some form of DOWN/DRAIN...but no MIXED. Inspecting particular nodes that I know are mixed (via scontrol show node) shows that if a node is MIXED (so even 1 cpu in use, out of 48), then it will appear as ALLOCATED via pyslurm.

I think we can work around this by comparing total cpus and allocated cpus. But I'm just wondering if this simplification is intentional or if I'm missing something.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions