nodeInfo module

Defines supported types of instances and the number of cores of each. Currently only certain AWS EC2 types are supported.

nodeInfo.getPPN(instance_type)

Get the number of processors per node for the given instance type.

Parameters

instance_type (string) –

Returns

ppn

Return type

int

Raises

Exception if instance_type is not found