mache.MachineInfo.get_partition_specs
- MachineInfo.get_partition_specs() Dict[str, Dict[str, Any]][source]
Get partition policy metadata for the machine.
Partition names are taken from
parallel.partitions. For each partition, this method reads optional values from[partition.<partition_name>]:min_nodes(int)max_nodes(int)max_wallclock(str, e.g.01:00:00)max_wallclock_bins(list of (int, str) tuples, for targets whose wall-clock limit depends on the job size)
- Returns:
partition_specs (dict) – Mapping from partition name to partition metadata. If a partition section is missing, all metadata values are
None.