From d0220a990c488fdee227c5f9fa40a3cfd5206376 Mon Sep 17 00:00:00 2001 From: Greg Becker Date: Wed, 6 May 2020 12:10:08 -0700 Subject: fix underscore/dash problems for mic_knl and skylake_avx512 (#16491) --- lib/spack/spack/platforms/cray.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/spack/spack/platforms/cray.py b/lib/spack/spack/platforms/cray.py index 8c5fe525e6..2fccf2fe55 100644 --- a/lib/spack/spack/platforms/cray.py +++ b/lib/spack/spack/platforms/cray.py @@ -21,7 +21,8 @@ _craype_name_to_target_name = { 'x86-cascadelake': 'cascadelake', 'x86-naples': 'zen', 'x86-rome': 'zen', # Cheating because we have the wrong modules on rzcrayz - 'x86-skylake': 'skylake-avx512' + 'x86-skylake': 'skylake_avx512', + 'mic-knl': 'mic_knl' } -- cgit v1.2.3-60-g2f50