Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Target Release17.2.1
JIRA

Jira Legacy
serverJIRA (pbspro.atlassian.net)
serverId32008a99-7831-3ff8-9638-3db0cd01164d
keyPP-740

Document statusInitial version
Document owner
Designer
Developers
QA
Forum Discussionhttp://community.pbspro.org/t/pp-740-add-cray-platform-detection-in-ptl/499


Interface: DshUtils.isget_crayplatform()
Visibility: Public
Change Control: Stable Stable
Synopsis: New API to to check whether the platform is an actual Cray cluster.
Details

  • 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

...

 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'.