ansys.fluent.core.scheduler.machine_list.MachineList#
- class ansys.fluent.core.scheduler.machine_list.MachineList(machinesIn=[])#
Provides an interface to list of machines allocated by a queue system.
Methods
__init__
([machinesIn])Constructs and initializes an empty machine file object.
add
(m)Moves the local host machine to the front of the machine list, creating it if it does not exist.
remove
(m)Removes all machines with 0 cores.
reset
()Resets the machine file data to the initial values.
Sorts the machines by core count, reordering the existing data.
Sorts the machines by core count, reordering the existing data.
Attributes
machines
Returns the entire list of machines.
max_cores
Returns the maximum number of cores.
min_cores
Returns the minimum number of cores.
num_machines
Returns the total number of machines.
number_of_cores
Returns the total number of cores.