Skip to content

Commit 6e6e819

Browse files
authored
Merge pull request EESSI#291 from TopRichard/nessi-2023.06-GROMACS/2024.1-foss/2023b
{2023.06}[foss/2023b] GROMACS V2024.1
2 parents b5dbc80 + 0f30581 commit 6e6e819

3 files changed

Lines changed: 22 additions & 0 deletions

File tree

easystacks/pilot.nessi.no/2023.06/eessi-2023.06-eb-4.9.1-2023b.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@ easyconfigs:
1919
- EveryBeam-0.5.2-foss-2023b.eb
2020
- DP3-6.0-foss-2023b.eb
2121
- WSClean-3.4-foss-2023b.eb
22+
- GROMACS-2024.1-foss-2023b.eb:
23+
options:
24+
from-pr: 20439

eb_hooks.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,21 @@ def pre_configure_hook(self, *args, **kwargs):
391391
PRE_CONFIGURE_HOOKS[self.name](self, *args, **kwargs)
392392

393393

394+
def pre_configure_hook_gromacs(self, *args, **kwargs):
395+
"""
396+
Pre-configure hook for GROMACS:
397+
- avoid building with SVE instructions on Neoverse V1 as workaround for failing tests,
398+
see https://gitlab.com/gromacs/gromacs/-/issues/5057 + https://gitlab.com/eessi/support/-/issues/47
399+
"""
400+
if self.name == 'GROMACS':
401+
cpu_target = get_eessi_envvar('EESSI_SOFTWARE_SUBDIR')
402+
if LooseVersion(self.version) <= LooseVersion('2024.1') and cpu_target == CPU_TARGET_NEOVERSE_V1:
403+
self.cfg.update('configopts', '-DGMX_SIMD=ARM_NEON_ASIMD')
404+
print_msg("Avoiding use of SVE instructions for GROMACS %s by using ARM_NEON_ASIMD as GMX_SIMD value", self.version)
405+
else:
406+
raise EasyBuildError("GROMACS-specific hook triggered for non-GROMACS easyconfig?!")
407+
408+
394409
def pre_configure_hook_openblas_optarch_generic(self, *args, **kwargs):
395410
"""
396411
Pre-configure hook for OpenBLAS: add DYNAMIC_ARCH=1 to build/test/install options when using --optarch=GENERIC
@@ -724,6 +739,7 @@ def inject_gpu_property(ec):
724739
}
725740

726741
PRE_CONFIGURE_HOOKS = {
742+
'GROMACS': pre_configure_hook_gromacs,
727743
'libfabric': pre_configure_hook_libfabric_disable_psm3_x86_64_generic,
728744
'MetaBAT': pre_configure_hook_metabat_filtered_zlib_dep,
729745
'OpenBLAS': pre_configure_hook_openblas_optarch_generic,

eessi-2023.06-known-issues.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
- FFTW.MPI-3.3.10-gompi-2023b:
2020
- issue: https://github.com/EESSI/software-layer/issues/325
2121
- info: "Flaky FFTW tests, random failures"
22+
- GROMACS-2024.1-foss-2023b:
23+
- issue: https://github.com/EESSI/software-layer/issues/557
24+
- info: "SVE disabled due to known bug which causes test failures"
2225
- Highway-1.0.3-GCCcore-12.2.0.eb:
2326
- issue: https://github.com/EESSI/software-layer/issues/469
2427
- info: "failing SVE test due to wrong expected value"

0 commit comments

Comments
 (0)