mache.MachineInfo
- class mache.MachineInfo(machine=None, quiet=False)[source]
An object containing information about an E3SM supported machine
- Variables:
machine (str) – The name of an E3SM supported machine
config (configparser.ConfigParser) – Config options for this machine
e3sm_supported (bool) – Whether this machine supports running E3SM itself, and therefore has a list of compilers, MPI libraries, and the modules needed to load them
compilers (list) – A list of compilers for this machine if
e3sm_supported == Truempilibs (list) – A list of MPI libraries for this machine if
e3sm_supported == Trueos (str) – The machine’s operating system if
e3sm_supported == Truee3sm_unified_mpi ({'nompi', 'system', None}) – Which MPI type is included in the E3SM-Unified environment (if one is loaded)
e3sm_unified_base (str) – The base path where E3SM-Unified and its activation scripts are installed if
e3sm_unifiedis notNonee3sm_unified_activation (str) – The activation script used to activate E3SM-Unified if
e3sm_unifiedis notNonediagnostics_base (str) – The base directory for diagnostics data
inputdata_base (str) – The base directory for inputdata
web_portal_base (str) – The base directory for the web portal
web_portal_url (str) – The base URL for the web portal
username (str) – The name of the current user, for use in web-portal directories. This value is also added to the
web_portalandusernameoption of theconfigattribute.
- __init__(machine=None, quiet=False)[source]
Create an object with information about the E3SM supported machine
Methods
__init__([machine, quiet])Create an object with information about the E3SM supported machine
Get default account, partition and quality of service (QOS) for this machine.
Get partition policy metadata for the machine.
Get quality-of-service (QOS) policy metadata for the machine.
Get queue policy metadata for the machine.
get_scheduler_specs(target_type)Get scheduler target metadata for queues or partitions.