Get a list of dictionaries with machine names and core counts for the machines available for parallel processing.
Returns information in the following format:
[{'machine-name' : <machine-name-1 (str)>, 'core-count' :
<core-count-1 (int)>}, {'machine-name' : <machine-name-2 (str)>, 'core-count'
: <core-count-2 (int)>}, ... ] |
Note: Returns an empty list when machines and core counts are not specified to System Coupling. You may specify these using the following methods:
Windows / Linux
Use the PartitionParticipants() command's MachineList argument.
Linux
Use the System Coupling GUI's Parallel Partitioning dialog.
Use the --cnf command-line option when starting System Coupling from the command line.
Supported Keyword Arguments
None
Return Type
Dictionary List
Examples
Example 32: Get a list of machine names and core counts
>>>GetMachines() [{'machine-name' : machine-name-1, 'core-count' : 4}, {'machine-name' : machine-name-2, 'core-count' : 12 }, ... ]