diff options
author | marvinbernhardt <marvinbernhardt@users.noreply.github.com> | 2021-02-07 12:37:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-07 12:37:56 +0100 |
commit | d58ed202397a67ab624c4003dfcf765a7eec68a7 (patch) | |
tree | ea22f5d478568bed19fbc2cc395bc4811cce3401 | |
parent | d630d63755a0cf0315a164eb1308c49fb0e5847b (diff) | |
download | spack-d58ed202397a67ab624c4003dfcf765a7eec68a7.tar.gz spack-d58ed202397a67ab624c4003dfcf765a7eec68a7.tar.bz2 spack-d58ed202397a67ab624c4003dfcf765a7eec68a7.tar.xz spack-d58ed202397a67ab624c4003dfcf765a7eec68a7.zip |
handle other architectures than Intel (#21509)
-rw-r--r-- | var/spack/repos/builtin/packages/gromacs/package.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/gromacs/package.py b/var/spack/repos/builtin/packages/gromacs/package.py index 5e8b80e626..68ef10c330 100644 --- a/var/spack/repos/builtin/packages/gromacs/package.py +++ b/var/spack/repos/builtin/packages/gromacs/package.py @@ -211,8 +211,8 @@ class Gromacs(CMakePackage): elif target == 'mic_knl': # Intel KNL options.append('-DGMX_SIMD=AVX_512_KNL') - elif target.vendor == 'GenuineIntel': - # Other Intel architectures + else: + # Other architectures simd_features = [ ('sse2', 'SSE2'), ('sse4_1', 'SSE4.1'), @@ -231,8 +231,8 @@ class Gromacs(CMakePackage): if feature in target: options.append('-DGMX_SIMD:STRING={0}'.format(flag)) break - else: - # Fall back to this for unknown microarchitectures + + # Fall back options.append('-DGMX_SIMD:STRING=None') # Use the 'rtdscp' assembly instruction only on |