...
Interface: DshUtils.get_platform()
Visibility: Public
Change Control: Stable Stable
Synopsis: Modifications Modifications to include Cray platform detection changes
Details
- If "<path to xthostname>" and "<path to cname>Assumption: "/etc/xthostname" will be present by default on Cray ALPS simulator.
- 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 "<path to xthostname>/etc/xthostname" file exists on a platform then it's a Cray simulator .
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()
- 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()
- Return True if platform is Cray simulator
- Return False if platform is not a Cray simulatorand it will return a string as 'craysim'.