mache.MachineInfo.get_qos_specs

MachineInfo.get_qos_specs() Dict[str, Dict[str, int | str | None]][source]

Get quality-of-service (QOS) policy metadata for the machine.

QOS names are taken from parallel.qos. For each QOS, this method reads optional values from [qos.<qos_name>]:

  • min_nodes (int)

  • max_nodes (int)

  • max_wallclock (str, e.g. 01:00:00)

Returns:

qos_specs (dict) – Mapping from QOS name to QOS metadata. If a QOS section is missing, all metadata values are None.