diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/platforms/cray.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py index 70bb45af5f..3d88285f70 100644 --- a/lib/spack/spack/platforms/cray.py +++ b/lib/spack/spack/platforms/cray.py @@ -37,7 +37,7 @@ _xc_craype_dir = "/opt/cray/pe/cdt" 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): |