(see also eb --avail-easyconfig-constants )
Constants that can be used in easyconfigs¶
| Constant name | Constant value | Description |
|---|---|---|
OS_NAME |
UNKNOWN |
System name (e.g. ‘fedora’ or ‘RHEL’) |
SYSTEM |
{'version': 'system', 'name': 'system'} |
System toolchain |
EXTERNAL_MODULE |
EXTERNAL_MODULE |
External module marker |
OS_VERSION |
UNKNOWN |
System version |
HOME |
/home/example |
Home directory ($HOME) |
OS_TYPE |
Darwin |
System type (e.g. ‘Linux’ or ‘Darwin’) |
SYS_PYTHON_VERSION |
2.7.10 |
System Python version (platform.python_version()) |