...
Target Release | 17.2.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
JIRA |
| ||||||||
Document status | Initial version | ||||||||
Document owner | |||||||||
Designer | |||||||||
Developers | |||||||||
QA | |||||||||
Forum Discussion | http://community.pbspro.org/t/pp-740-add-cray-platform-detection-in-ptl/499 |
Interface: DshUtils.get_platform()
Visibility: Public
Change Control: Stable
Synopsis: Modifications to include Cray platform detection changes
Details
- If "/etc/xthostname" and "/proc/cray_xt/cname" these both files exist on a platform then it's an actual Cray cluster and it will return a string as 'cray'.
- If only "/etc/xthostname" file exists on a platform then it's a Cray simulator and it will return a string as 'craysim'.
Interface: DshUtils.is_cray()
Visibility: Public
Change Control: Stable
Synopsis: New API to to check whether the platform is an actual Cray cluster.
Details
...