Skip to content

wrong gres_length #873

@back2net

Description

@back2net

Hi, in our cluster, we use many devices with long names, and system-status dashboard does'not count number of Active GPUs right.
So, in ood_core/lib/ood_core/job/adapters/slurm.rb:113, I was changed correction value from 2 to 100, and it is work's. I'am not ruby dev, so i can't make right fix.

gres_length = call("sinfo", "-o %G").lines.map(&:strip).map(&:length).max + 2 <= here

OnDemand version: 4.0.1

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