initial implementation of slingshot detection (#33793)

This commit is contained in:
Greg Becker
2022-11-16 15:01:37 -06:00
committed by GitHub
parent 90f0a8eacc
commit 1263b5c444
2 changed files with 7 additions and 2 deletions

View File

@@ -36,6 +36,10 @@
_xc_craype_dir = "/opt/cray/pe/cdt"
def slingshot_network():
return os.path.exists("/lib64/libcxi.so")
def _target_name_from_craype_target_name(name):
return _craype_name_to_target_name.get(name, name)