Skip to content

Commit d88107d

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

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
@@ -615,7 +615,7 @@ 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 (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):
619619
self.cfg.update('configopts', '-DGMX_SIMD=ARM_NEON_ASIMD')
620620
print_msg(
621621
"Avoiding use of SVE instructions for GROMACS %s by using ARM_NEON_ASIMD as GMX_SIMD value",

0 commit comments

Comments
 (0)