Skip to content

Commit 95dd24a

Browse files
committed
avoid using SVE instructions for GROMACS 2024.4 on NVIDIA Grace/Hopper
1 parent f06d063 commit 95dd24a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

eb_hooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def pre_configure_hook_gromacs(self, *args, **kwargs):
630630
"""
631631
if self.name == 'GROMACS':
632632
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
633-
if LooseVersion(self.version) <= LooseVersion('2024.1') and cpu_target == CPU_TARGET_NEOVERSE_V1:
633+
if LooseVersion(self.version) <= LooseVersion('2024.1') and cpu_target == CPU_TARGET_NEOVERSE_V1 or LooseVersion(self.version) <= LooseVersion('2024.4') and CPU_TARGET_NVIDIA_GRACE:
634634
self.cfg.update('configopts', '-DGMX_SIMD=ARM_NEON_ASIMD')
635635
print_msg(
636636
"Avoiding use of SVE instructions for GROMACS %s by using ARM_NEON_ASIMD as GMX_SIMD value",

0 commit comments

Comments
 (0)