diff options
author | Greg Becker <becker33@llnl.gov> | 2022-11-16 15:01:37 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 13:01:37 -0800 |
commit | 1263b5c4449200facdbfe8266267b51ce6fcf97e (patch) | |
tree | 85d3c1651172d7af091d2437766e5b461903e392 /lib | |
parent | 90f0a8eacccd84499a8a8a15eff1ab2ece2a7a6a (diff) | |
download | spack-1263b5c4449200facdbfe8266267b51ce6fcf97e.tar.gz spack-1263b5c4449200facdbfe8266267b51ce6fcf97e.tar.bz2 spack-1263b5c4449200facdbfe8266267b51ce6fcf97e.tar.xz spack-1263b5c4449200facdbfe8266267b51ce6fcf97e.zip |
initial implementation of slingshot detection (#33793)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/platforms/cray.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py index dadf114d90..d266f26284 100644 --- a/lib/spack/spack/platforms/cray.py +++ b/lib/spack/spack/platforms/cray.py @@ -36,6 +36,10 @@ _ex_craype_dir = "/opt/cray/pe/cpe" _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) |