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 == True
- mpilibs (list) – A list of MPI libraries for this machine if - e3sm_supported == True
- os (str) – The machine’s operating system if - e3sm_supported == True
- e3sm_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 not- None
- e3sm_unified_activation (str) – The activation script used to activate E3SM-Unified if - e3sm_unifiedis not- None
- diagnostics_base (str) – The base directory for diagnostics data 
- 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_portaland- usernameoption of the- configattribute.
 
 - __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.