Detection of Cray's slingshot detection has relied on the presence of (#35779)
a shared library /lib64/libcxi.so, which seems to also appear on other non-slingshot systems. This patch also checks to make sure that there is a Cray programming enviornment in /opt/cray/pe in addition to the shared library.
This commit is contained in:
parent
ae27df4113
commit
eb29889f6e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
|
|
||||||
def slingshot_network():
|
def slingshot_network():
|
||||||
return os.path.exists("/lib64/libcxi.so")
|
return os.path.exists("/opt/cray/pe") and os.path.exists("/lib64/libcxi.so")
|
||||||
|
|
||||||
|
|
||||||
def _target_name_from_craype_target_name(name):
|
def _target_name_from_craype_target_name(name):
|
||||||
|
|
Loading…
Reference in a new issue