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.is_cray()
Visibility: Public
Change Control: Stable
Synopsis: New API to to check whether the platform is an actual Cray cluster.
Details
- Call DshUtils.get_platform(), if hostname specified then call it by passing hostname as a parameter.
- Return True if platform is Actual Cray cluster
- Return False if platform is not an Actual Cray cluster
Interface: DshUtils.is_cray_simulator()
Visibility: Public
Change Control: Stable
Synopsis: New API to to check whether the platform is a Cray simulator.
Details
- Call DshUtils.get_platform(), if hostname specified then call it by passing hostname as a parameter.
- Return True if platform is Cray simulator
- Return False if platform is not a Cray simulator