summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGregory Becker <becker33@llnl.gov>2019-09-18 16:53:08 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2019-09-20 00:51:37 -0700
commitc43f10535941f7dc133e155ff786ff265adeec77 (patch)
tree49bfa236b03084afb9f7ebf4c8f6a8f721a8fc56 /lib
parent7daf8609914d929bbce7cfe8e17e40fc4ae1e01a (diff)
downloadspack-c43f10535941f7dc133e155ff786ff265adeec77.tar.gz
spack-c43f10535941f7dc133e155ff786ff265adeec77.tar.bz2
spack-c43f10535941f7dc133e155ff786ff265adeec77.tar.xz
spack-c43f10535941f7dc133e155ff786ff265adeec77.zip
targets: add mic_knl target to microarchitectures.json
- This is needed to support Cray machines -- we need an architecture mic_knl > x86_64 - We used Cray's naming scheme for this target to make it work seamlessly with the module-based detection sccheme on Cray. mic_knl is pretty much dead, so this will be the last succh target. We will need to work wtih Cray and other vendors in the future.
Diffstat (limited to 'lib')
-rw-r--r--lib/spack/llnl/util/cpu/microarchitectures.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/lib/spack/llnl/util/cpu/microarchitectures.json b/lib/spack/llnl/util/cpu/microarchitectures.json
index 2745f51411..d540d11194 100644
--- a/lib/spack/llnl/util/cpu/microarchitectures.json
+++ b/lib/spack/llnl/util/cpu/microarchitectures.json
@@ -296,6 +296,43 @@
}
}
},
+ "mic_knl": {
+ "from": "broadwell",
+ "vendor": "GenuineIntel",
+ "features": [
+ "mmx",
+ "sse",
+ "sse2",
+ "ssse3",
+ "sse4_1",
+ "sse4_2",
+ "popcnt",
+ "aes",
+ "pclmulqdq",
+ "avx",
+ "rdrand",
+ "f16c",
+ "movbe",
+ "avx2",
+ "fma",
+ "avx2",
+ "bmi1",
+ "bmi2",
+ "rdseed",
+ "adx",
+ "avx512f",
+ "avx512pf",
+ "avx512er",
+ "avx512cd"
+ ],
+ "compilers": {
+ "gcc": {
+ "versions": "5.1:",
+ "name": "knl",
+ "flags": "-march={name} -mtune={name}"
+ }
+ }
+ },
"skylake_avx512": {
"from": "skylake",
"vendor": "GenuineIntel",