Skip to content

Commit e2a3110

Browse files
committed
Merge branch 'fix_gromacs_hook' of github.com:bedroge/software-layer into icelake_cclake_batch13
2 parents d88107d + eab6538 commit e2a3110

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

eb_hooks.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,10 @@ def pre_configure_hook_gromacs(self, *args, **kwargs):
615615
"""
616616
if self.name == 'GROMACS':
617617
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
618-
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):
618+
if (
619+
(LooseVersion(self.version) <= LooseVersion('2024.1') and cpu_target == CPU_TARGET_NEOVERSE_V1) or
620+
(LooseVersion(self.version) <= LooseVersion('2024.4') and CPU_TARGET_NVIDIA_GRACE)
621+
):
619622
self.cfg.update('configopts', '-DGMX_SIMD=ARM_NEON_ASIMD')
620623
print_msg(
621624
"Avoiding use of SVE instructions for GROMACS %s by using ARM_NEON_ASIMD as GMX_SIMD value",

0 commit comments

Comments
 (0)